Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
W
widget_father when can i be on my own i have the hello world to see
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
father when can i be on my own i have the hello world to see
widget_father when can i be on my own i have the hello world to see
Commits
03ddadad
Commit
03ddadad
authored
May 19, 2022
by
Charles Lim
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added stylings to each app. Fixed naming convention
parent
69f614a1
Changes
10
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
38 additions
and
8 deletions
+38
-8
announcement_detail.css
...t_board/static/announcement_board/announcement_detail.css
+9
-0
announcement_index.css
...nt_board/static/announcement_board/announcement_index.css
+20
-0
default_announcementpic.png
...ard/static/announcement_board/default_announcementpic.png
+0
-0
announcement_detail.html
...ard/templates/announcement_board/announcement_detail.html
+2
-2
index.html
announcement_board/templates/announcement_board/index.html
+3
-3
default_profilepic.png
homepage/static/homepage/default_profilepic.png
+0
-0
homepage_index.css
homepage/static/homepage/homepage_index.css
+0
-0
widgetuser_detail.css
homepage/static/homepage/widgetuser_detail.css
+0
-0
index.html
homepage/templates/homepage/index.html
+1
-1
widgetuser_detail.html
homepage/templates/homepage/widgetuser_detail.html
+3
-2
No files found.
announcement_board/static/announcement_board/announcement_detail.css
View file @
03ddadad
p
{
margin
:
5px
0
;
font-size
:
25px
;
font-family
:
Khula
;
}
img
{
border
:
1px
solid
black
;
}
\ No newline at end of file
announcement_board/static/announcement_board/announcement_index.css
View file @
03ddadad
.announcement-link
{
text-decoration
:
none
;
color
:
black
;
transition
:
.2s
ease-in-out
;
font-family
:
Khula
;
font-size
:
24px
;
margin
:
10px
0
;
}
.announcement-link
:hover
{
font-weight
:
700
;
font-size
:
24px
;
margin-left
:
20px
;
}
.banner-text
{
font-family
:
Khula
;
font-size
:
30px
;
margin
:
0
}
\ No newline at end of file
announcement_board/static/announcement_board/default_announcementpic.png
0 → 100644
View file @
03ddadad
17 KB
announcement_board/templates/announcement_board/announcement_detail.html
View file @
03ddadad
...
@@ -5,15 +5,15 @@
...
@@ -5,15 +5,15 @@
{% block title %}Homepage{% endblock %}
{% block title %}Homepage{% endblock %}
{% block styles %}
{% block styles %}
<link
rel=
"stylesheet"
href=
"{% static 'announcement_board/
widgetuser_details
.css' %}"
>
<link
rel=
"stylesheet"
href=
"{% static 'announcement_board/
announcement_detail
.css' %}"
>
{% endblock %}
{% endblock %}
{% block header %}
{% block header %}
<img
width=
"50"
height=
"50"
src=
""
/>
{{object.announcement_title}}
{{object.announcement_title}}
{% endblock %}
{% endblock %}
{% block content %}
{% block content %}
<img
width=
1000
height=
200
src=
"{% static 'announcement_board/default_announcementpic.png' %}"
/>
<p>
by {{object.author.first_name}} {{object.author.last_name}}, {{object.pub_date | date:"d/m/o"}}
</p>
<p>
by {{object.author.first_name}} {{object.author.last_name}}, {{object.pub_date | date:"d/m/o"}}
</p>
<p>
Likes: {{reaction_likes}}
</p>
<p>
Likes: {{reaction_likes}}
</p>
<p>
Love: {{reaction_love}}
</p>
<p>
Love: {{reaction_love}}
</p>
...
...
announcement_board/templates/announcement_board/index.html
View file @
03ddadad
...
@@ -5,7 +5,7 @@
...
@@ -5,7 +5,7 @@
{% block title %}Announcements{% endblock %}
{% block title %}Announcements{% endblock %}
{% block styles %}
{% block styles %}
<link
rel=
"stylesheet"
href=
"{% static 'announcement
s
/announcement_index.css' %}"
>
<link
rel=
"stylesheet"
href=
"{% static 'announcement
_board
/announcement_index.css' %}"
>
{% endblock %}
{% endblock %}
{% block header %}
{% block header %}
...
@@ -13,11 +13,11 @@ Announcement Board
...
@@ -13,11 +13,11 @@ Announcement Board
{% endblock %}
{% endblock %}
{% block content %}
{% block content %}
<p>
Important announcements:
</p>
<p
class=
"banner-text"
>
Important announcements:
</p>
<ul>
<ul>
{% for announcement in all_announcements %}
{% for announcement in all_announcements %}
<li>
<li>
<a
class=
"
details
"
href=
"{{announcement.id}}/details"
>
<a
class=
"
announcement-link
"
href=
"{{announcement.id}}/details"
>
{{announcement.announcement_title}} by
{{announcement.announcement_title}} by
{{announcement.author.first_name}},
{{announcement.author.first_name}},
{{announcement.author.last_name}} dated
{{announcement.author.last_name}} dated
...
...
homepage/static/homepage/default_profilepic.png
View replaced file @
69f614a1
View file @
03ddadad
15.1 KB
|
W:
|
H:
4.06 KB
|
W:
|
H:
2-up
Swipe
Onion skin
homepage/static/homepage/homepage.css
→
homepage/static/homepage/homepage
_index
.css
View file @
03ddadad
File moved
homepage/static/homepage/widgetuser_detail
s
.css
→
homepage/static/homepage/widgetuser_detail.css
View file @
03ddadad
File moved
homepage/templates/homepage/index.html
View file @
03ddadad
...
@@ -5,7 +5,7 @@
...
@@ -5,7 +5,7 @@
{% block title %}Homepage{% endblock %}
{% block title %}Homepage{% endblock %}
{% block styles %}
{% block styles %}
<link
rel=
"stylesheet"
href=
"{% static 'homepage/homepage.css' %}"
>
<link
rel=
"stylesheet"
href=
"{% static 'homepage/homepage
_index
.css' %}"
>
{% endblock %}
{% endblock %}
{% block header %}
{% block header %}
...
...
homepage/templates/homepage/widgetuser_detail.html
View file @
03ddadad
...
@@ -5,11 +5,12 @@
...
@@ -5,11 +5,12 @@
{% block title %}Homepage{% endblock %}
{% block title %}Homepage{% endblock %}
{% block styles %}
{% block styles %}
<link
rel=
"stylesheet"
href=
"{% static 'homepage/widgetuser_detail
s
.css' %}"
>
<link
rel=
"stylesheet"
href=
"{% static 'homepage/widgetuser_detail.css' %}"
>
{% endblock %}
{% endblock %}
{% block header %}
{% block header %}
<img
width=
60
height=
60
src=
"{% static 'homepage/default_profilepic.png' %}"
/>
<img
width=
60
height=
60
src=
"{% static 'homepage/default_profilepic.png' %}"
/>
{{object.last_name}}, {{object.first_name}} {{object.middle_name}}
{{object.last_name}}, {{object.first_name}} {{object.middle_name}}
{% endblock %}
{% endblock %}
...
...
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