Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
W
widgets_FEKK
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
Kyla Martin
widgets_FEKK
Commits
d5f12d3e
Commit
d5f12d3e
authored
May 15, 2022
by
Kyla Martin
❓
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add static image, remove unnecessary lines
parent
ef6517e9
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
6 deletions
+10
-6
header.png
WidgetFEKK/Announcements/static/Announcements/header.png
+0
-0
styles.css
WidgetFEKK/Announcements/static/Announcements/styles.css
+4
-1
details.html
...etFEKK/Announcements/templates/announcements/details.html
+6
-5
No files found.
WidgetFEKK/Announcements/static/Announcements/header.png
0 → 100644
View file @
d5f12d3e
45.8 KB
WidgetFEKK/Announcements/static/Announcements/styles.css
View file @
d5f12d3e
...
@@ -10,6 +10,10 @@ h1{
...
@@ -10,6 +10,10 @@ h1{
text-align
:
center
;
text-align
:
center
;
}
}
#back
{
padding
:
2rem
0
;
}
#title
{
#title
{
margin
:
20px
0
10px
0
;
margin
:
20px
0
10px
0
;
}
}
...
@@ -19,7 +23,6 @@ h1{
...
@@ -19,7 +23,6 @@ h1{
text-align
:
center
;
text-align
:
center
;
}
}
.reactions
{
.reactions
{
background-color
:
gainsboro
;
background-color
:
gainsboro
;
padding
:
5px
;
padding
:
5px
;
...
...
WidgetFEKK/Announcements/templates/announcements/details.html
View file @
d5f12d3e
...
@@ -2,7 +2,6 @@
...
@@ -2,7 +2,6 @@
{% load static %}
{% load static %}
{% block styles %}
{% block styles %}
<link
rel=
"stylesheet"
type=
"text/css"
href=
"{% static 'Announcements/index.css' %}"
>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"{% static 'Announcements/styles.css' %}"
>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"{% static 'Announcements/styles.css' %}"
>
{% endblock %}
{% endblock %}
...
@@ -13,15 +12,17 @@
...
@@ -13,15 +12,17 @@
{% block content %}
{% block content %}
<article>
<article>
<div
id=
"back"
><a
href=
"/announcements"
>
Back to all announcements
</a></div>
<div
id=
"back"
><a
href=
"/announcements"
>
Back to all announcements
</a></div>
<div
align=
"center"
><img
id=
"header"
src=
"{% static 'Announcements/header.png' %}"
alt=
"a header"
></div>
<h1
id=
"title"
>
{{ announcement.announcement_title}}
</h1>
<h1
id=
"title"
>
{{ announcement.announcement_title}}
</h1>
<h4
id=
"subtitle"
>
by {{ announcement.author.first_name}} {{ announcement.author.last_name }}, {{ announcement.pub_date|date:"d/m/Y" }}
</h4>
<h4
id=
"subtitle"
>
by {{ announcement.author.first_name}} {{ announcement.author.last_name }}, {{ announcement.pub_date|date:"d/m/Y" }}
</h4>
<p
class=
"body"
>
{{ announcement.announcement_body }}
</p>
<p
class=
"body"
>
{{ announcement.announcement_body }}
</p>
<
p
class=
"reactions
"
>
<
div
id=
"reactions-container"
align=
"center
"
>
{% for reactions in reaction_sorted %}
<p
class=
"reactions"
>
{% for reactions in reaction_sorted %}
<strong>
{{ reactions.reaction_name }}
</strong>
: {{ reactions.tally }}
<strong>
{{ reactions.reaction_name }}
</strong>
: {{ reactions.tally }}
{% endfor %}
{% endfor %}
</p>
</p>
</div>
</article>
</article>
{% endblock %}
{% endblock %}
\ 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