Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
W
widget_someone here is possessed by an owl
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Laetitia de Castro
widget_someone here is possessed by an owl
Commits
b6a73bb1
Commit
b6a73bb1
authored
May 25, 2022
by
Titia de Castro
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
added styles to save announcement button
parent
44d17cc2
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
5 additions
and
2 deletions
+5
-2
urls.cpython-310.pyc
announcements/__pycache__/urls.cpython-310.pyc
+0
-0
views.cpython-310.pyc
announcements/__pycache__/views.cpython-310.pyc
+0
-0
new_announcement.html
announcements/templates/announcements/new_announcement.html
+1
-1
announcements.css
static/announcements.css
+4
-1
No files found.
announcements/__pycache__/urls.cpython-310.pyc
View file @
b6a73bb1
No preview for this file type
announcements/__pycache__/views.cpython-310.pyc
View file @
b6a73bb1
No preview for this file type
announcements/templates/announcements/new_announcement.html
View file @
b6a73bb1
...
@@ -13,7 +13,7 @@
...
@@ -13,7 +13,7 @@
{% csrf_token %}
{% csrf_token %}
{{ form.as_p }}
{{ form.as_p }}
<button
class=
"announcement-button save-button"
type=
"submit"
>
Save Announcement
</button>
<button
class=
"announcement-button back-button"
type=
"button"
><a
href=
"/announcements"
>
Back to Announcements
</a></button>
<button
class=
"announcement-button back-button"
type=
"button"
><a
href=
"/announcements"
>
Back to Announcements
</a></button>
<button
class=
"announcement-button save-button"
type=
"submit"
>
Save Announcement
</button>
</form>
</form>
{% endblock %}
{% endblock %}
\ No newline at end of file
static/announcements.css
View file @
b6a73bb1
...
@@ -42,12 +42,15 @@
...
@@ -42,12 +42,15 @@
}
}
.save-button
{
.save-button
{
background-color
:
#11b272
!important
;
color
:
white
;
border
:
1.5px
solid
#11b272
;
margin-top
:
32px
;
margin-top
:
32px
;
margin-left
:
24px
;
}
}
.back-button
{
.back-button
{
margin-top
:
32px
;
margin-top
:
32px
;
margin-left
:
24px
;
}
}
.announcement-image
{
.announcement-image
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment