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
f432467c
Commit
f432467c
authored
May 23, 2022
by
Titia de Castro
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
added announcement index styles
parent
4adf1242
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
24 additions
and
4 deletions
+24
-4
index.html
announcements/templates/index.html
+4
-4
announcements.css
static/announcements.css
+20
-0
No files found.
announcements/templates/index.html
View file @
f432467c
...
@@ -4,13 +4,13 @@
...
@@ -4,13 +4,13 @@
{% block title %}Announcements{% endblock %}
{% block title %}Announcements{% endblock %}
{% block styles %}
{% block styles %}
<link
rel=
"stylesheet"
href=
"{% static '
css/style
s.css' %}"
>
<link
rel=
"stylesheet"
href=
"{% static '
announcement
s.css' %}"
>
{% endblock %}
{% endblock %}
{% block content %}
{% block content %}
<h1>
Announcement Board
</h1>
<h1
class=
"announcement-heading"
>
Announcement Board
</h1>
<h2>
Important Announcements:
</h2>
<h2
class=
"announcement-subheading"
>
Important Announcements:
</h2>
<ul>
<ul
class=
"announcement-list"
>
{% for announcement in announcements %}
{% for announcement in announcements %}
<li>
<li>
<a
href=
"/announcements/{{ announcement.id }}/details"
>
<a
href=
"/announcements/{{ announcement.id }}/details"
>
...
...
static/announcements.css
0 → 100644
View file @
f432467c
@import
url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;500;600;700&display=swap')
;
*
{
font-family
:
'Open Sans'
,
sans-serif
;
box-sizing
:
border-box
;
margin
:
0
;
padding
:
6px
;
}
.announcement-heading
{
text-align
:
center
;
}
.announcement-subheading
{
font-weight
:
500
;
}
.announcement-list
{
margin-left
:
24px
;
}
\ No newline at end of file
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