Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
midterm_OhMyBash
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
Nheo Samson
midterm_OhMyBash
Commits
061e714a
Commit
061e714a
authored
May 15, 2023
by
nheoxoz
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
updated css for all html files
parent
29489cd3
Changes
22
Show whitespace changes
Inline
Side-by-side
Showing
22 changed files
with
208 additions
and
63 deletions
+208
-63
announcement-add.html
...nouncements/templates/announcements/announcement-add.html
+4
-4
announcement-details.html
...cements/templates/announcements/announcement-details.html
+5
-6
announcement-edit.html
...ouncements/templates/announcements/announcement-edit.html
+3
-4
announcements.html
.../announcements/templates/announcements/announcements.html
+7
-5
assignment-add.html
...ash/assignments/templates/assignments/assignment-add.html
+4
-1
assignment-details.html
...assignments/templates/assignments/assignment-details.html
+3
-1
assignment-edit.html
...sh/assignments/templates/assignments/assignment-edit.html
+3
-1
assignments.html
...MyBash/assignments/templates/assignments/assignments.html
+8
-8
dashboard.html
widget_OhMyBash/dashboard/templates/dashboard/dashboard.html
+3
-3
widgetuser-add.html
...hMyBash/dashboard/templates/dashboard/widgetuser-add.html
+3
-1
widgetuser-details.html
...ash/dashboard/templates/dashboard/widgetuser-details.html
+8
-3
widgetuser-edit.html
...MyBash/dashboard/templates/dashboard/widgetuser-edit.html
+3
-1
db.sqlite3
widget_OhMyBash/db.sqlite3
+0
-0
forum.html
widget_OhMyBash/forum/templates/forum/forum.html
+10
-7
forumpost-add.html
widget_OhMyBash/forum/templates/forum/forumpost-add.html
+3
-1
forumpost-details.html
widget_OhMyBash/forum/templates/forum/forumpost-details.html
+6
-4
forumpost-edit.html
widget_OhMyBash/forum/templates/forum/forumpost-edit.html
+3
-1
style.css
widget_OhMyBash/static/style.css
+109
-0
calendar.html
...h/widget_calendar/templates/widget_calendar/calendar.html
+12
-7
event-add.html
.../widget_calendar/templates/widget_calendar/event-add.html
+3
-1
event-details.html
...get_calendar/templates/widget_calendar/event-details.html
+5
-3
event-edit.html
...widget_calendar/templates/widget_calendar/event-edit.html
+3
-1
No files found.
widget_OhMyBash/announcements/templates/announcements/announcement-add.html
View file @
061e714a
...
@@ -9,9 +9,9 @@
...
@@ -9,9 +9,9 @@
<form
method=
"post"
>
<form
method=
"post"
>
{% csrf_token %}
{% csrf_token %}
{{ form.as_p }}
{{ form.as_p }}
<input
type=
"submit"
value=
"Add Announcement"
>
<p
class=
"centerB"
>
<input
class=
"submitB"
type=
"submit"
value=
"Add Announcement"
>
</p>
</form>
</form>
<a
href=
"/announcements/"
>
<button
class=
"btn"
>
Back to Announcement Board
</button>
</a>
{% endblock %}
{% endblock %}
widget_OhMyBash/announcements/templates/announcements/announcement-details.html
View file @
061e714a
...
@@ -18,10 +18,9 @@
...
@@ -18,10 +18,9 @@
Love: {{ object.getLove }}
<br>
Love: {{ object.getLove }}
<br>
Angry: {{ object.getAngry }}
Angry: {{ object.getAngry }}
</p>
</p>
<a
href=
"/announcements/{{object.pk}}/edit"
>
<p
class=
"centerB"
>
<a
href=
"/announcements/{{object.pk}}/edit"
>
<button
class=
"btn"
>
Edit Announcement
</button>
<button
class=
"btn"
>
Edit Announcement
</button>
</a><br>
</a>
<a
href=
"/announcements/"
>
</p>
<button
class=
"btn"
>
Back to Announcement Board
</button>
</a>
{% endblock %}
{% endblock %}
widget_OhMyBash/announcements/templates/announcements/announcement-edit.html
View file @
061e714a
...
@@ -9,9 +9,8 @@
...
@@ -9,9 +9,8 @@
<form
method=
"post"
>
<form
method=
"post"
>
{% csrf_token %}
{% csrf_token %}
{{ form.as_p }}
{{ form.as_p }}
<input
type=
"submit"
value=
"Save Changes to Announcement"
>
<p
class=
"centerB"
>
<input
class=
"submitB"
type=
"submit"
value=
"Save Changes to Announcement"
>
</p>
</form>
</form>
<a
href=
"/announcements/"
>
<button
class=
"btn"
>
Back to Announcement Board
</button>
</a>
{% endblock %}
{% endblock %}
widget_OhMyBash/announcements/templates/announcements/announcements.html
View file @
061e714a
...
@@ -17,14 +17,16 @@
...
@@ -17,14 +17,16 @@
{% endblock %}
{% endblock %}
{% block footing %}
{% block footing %}
<p>
<p
class=
"centerB"
>
<a
href=
"/announcements/add"
>
<a
href=
"/announcements/add"
>
<button
class=
"btn add"
>
New Announcement
</button>
<button
class=
"btn add"
>
New Announcement
</button>
</a>
</a>
</p>
</p>
<a
href=
"/dashboard/"
class=
"link"
>
Dashboard
</a><br>
<p>
<a
href=
"/forum/"
class=
"link"
>
Forum
</a><br>
<a
href=
"/dashboard/"
class=
"link"
>
Dashboard
</a><br>
<a
href=
"/assignments/"
class=
"link"
>
Assignments
</a><br>
<a
href=
"/forum/"
class=
"link"
>
Forum
</a><br>
<a
href=
"/calendar/"
class=
"link"
>
Calendar
</a>
<a
href=
"/assignments/"
class=
"link"
>
Assignments
</a><br>
<a
href=
"/calendar/"
class=
"link"
>
Calendar
</a>
</p>
{% endblock %}
{% endblock %}
widget_OhMyBash/assignments/templates/assignments/assignment-add.html
View file @
061e714a
...
@@ -5,6 +5,9 @@
...
@@ -5,6 +5,9 @@
<form
method=
"POST"
>
<form
method=
"POST"
>
{% csrf_token %}
{% csrf_token %}
{{ form.as_p }}
{{ form.as_p }}
<input
type=
"SUBMIT"
value=
"Save New Assignment"
>
<p
class=
"centerB"
>
<input
class=
"submitB"
type=
"SUBMIT"
value=
"Save New Assignment"
>
</p>
</form>
</form>
{% endblock %}
{% endblock %}
widget_OhMyBash/assignments/templates/assignments/assignment-details.html
View file @
061e714a
...
@@ -8,7 +8,9 @@
...
@@ -8,7 +8,9 @@
Perfert Score: {{ assignment.perfect_score }}
<br>
Perfert Score: {{ assignment.perfect_score }}
<br>
Passing Score: {{ assignment.passing_score }}
Passing Score: {{ assignment.passing_score }}
</p>
</p>
<p>
<a
href=
"{% url 'assignments:assignment-edit' assignment.id %}"
>
<a
href=
"{% url 'assignments:assignment-edit' assignment.id %}"
>
<button>
Edit Assignment
</button>
<button>
Edit Assignment
</button>
</a><br>
</a>
</p>
{% endblock %}
{% endblock %}
widget_OhMyBash/assignments/templates/assignments/assignment-edit.html
View file @
061e714a
...
@@ -5,6 +5,8 @@
...
@@ -5,6 +5,8 @@
<form
method=
"POST"
>
<form
method=
"POST"
>
{% csrf_token %}
{% csrf_token %}
{{ form.as_p }}
{{ form.as_p }}
<input
type=
"SUBMIT"
value=
"Save Changes to Assignment"
>
<p
class=
"centerB"
>
<input
class=
"submitB"
type=
"SUBMIT"
value=
"Save Changes to Assignment"
>
</p>
</form>
</form>
{% endblock %}
{% endblock %}
widget_OhMyBash/assignments/templates/assignments/assignments.html
View file @
061e714a
...
@@ -5,24 +5,24 @@
...
@@ -5,24 +5,24 @@
{% block heading %}
<h1>
Welcome to Widget's Assignments!
</h1>
{% endblock %}
{% block heading %}
<h1>
Welcome to Widget's Assignments!
</h1>
{% endblock %}
{% block content %}
{% block content %}
<div
class=
"main"
>
<p
class=
"list"
>
<div
class=
"list"
>
{% for assignment in assignments %}
{% for assignment in assignments %}
<a
href=
"{{ assignment.get_absolute_url }}"
>
<a
href=
"{{ assignment.get_absolute_url }}"
>
{{assignment.name}}
<br>
{{assignment.name}}
<br>
</a>
</a>
{% endfor %}
{% endfor %}
<br>
</div>
</div>
<button
type=
"button"
>
<p
class=
"centerB"
>
<button
class=
"btn add"
>
<a
href=
"{% url 'assignments:assignment-add' %}"
>
New Assignment
</a>
<a
href=
"{% url 'assignments:assignment-add' %}"
>
New Assignment
</a>
</button>
</button>
</p>
{% endblock %}
{% endblock %}
{% block footing %}
{% block footing %}
<
div
class=
"links"
>
<
p
class=
"links"
>
<a
href=
"/dashboard/"
class=
"btn-primary"
>
Dashboard
</a><br>
<a
href=
"/dashboard/"
class=
"btn-primary"
>
Dashboard
</a><br>
<a
href=
"/announcements/"
class=
"btn-primary"
>
Announcements
</a><br>
<a
href=
"/announcements/"
class=
"btn-primary"
>
Announcements
</a><br>
<a
href=
"/forum/"
class=
"btn-primary"
>
Forum
</a><br>
<a
href=
"/forum/"
class=
"btn-primary"
>
Forum
</a><br>
<a
href=
"/calendar/"
class=
"btn-primary"
>
Calendar
</a>
<a
href=
"/calendar/"
class=
"btn-primary"
>
Calendar
</a>
</
div
>
</
p
>
{% endblock %}
{% endblock %}
widget_OhMyBash/dashboard/templates/dashboard/dashboard.html
View file @
061e714a
...
@@ -17,13 +17,13 @@
...
@@ -17,13 +17,13 @@
{% endblock %}
{% endblock %}
{% block footing %}
{% block footing %}
<p>
<p
class=
"centerB"
>
<a
href=
"{% url 'dashboard:widgetuser-create' %}"
>
<a
href=
"{% url 'dashboard:widgetuser-create' %}"
>
<button
class=
"btn add"
>
Add Widget User
</button>
<button
class=
"btn add"
>
Add Widget User
</button>
</a>
</a>
</p>
</p>
<p>
<p>
<a
href=
"{% url 'announcements:index' %}"
>
Announcement
Board
</a><br>
<a
href=
"{% url 'announcements:index' %}"
>
Announcement
s
</a><br>
<a
href=
"{% url 'forum:forum' %}"
>
Forum
</a><br>
<a
href=
"{% url 'forum:forum' %}"
>
Forum
</a><br>
<a
href=
"{% url 'assignments:assignments' %}"
>
Assignments
</a><br>
<a
href=
"{% url 'assignments:assignments' %}"
>
Assignments
</a><br>
<a
href=
"{% url 'calendar:calendar' %}"
>
Calendar
</a><br>
<a
href=
"{% url 'calendar:calendar' %}"
>
Calendar
</a><br>
...
...
widget_OhMyBash/dashboard/templates/dashboard/widgetuser-add.html
View file @
061e714a
...
@@ -9,6 +9,8 @@
...
@@ -9,6 +9,8 @@
<form
method=
"post"
>
<form
method=
"post"
>
{% csrf_token %}
{% csrf_token %}
{{ form.as_p }}
{{ form.as_p }}
<input
type=
"submit"
value=
"Add Widget User"
>
<p
class=
"centerB"
>
<input
class=
"submitB"
type=
"submit"
value=
"Add Widget User"
>
</p>
</form>
</form>
{% endblock %}
{% endblock %}
\ No newline at end of file
widget_OhMyBash/dashboard/templates/dashboard/widgetuser-details.html
View file @
061e714a
...
@@ -17,7 +17,12 @@
...
@@ -17,7 +17,12 @@
{% endblock %}
{% endblock %}
{% block footing %}
{% block footing %}
<a
href=
"{% url 'dashboard:widgetuser-update' object.pk %}"
>
<p
class=
"centerB"
>
<button
class=
"btn edit"
>
Edit Widget User
</button>
<a
href=
"{% url 'dashboard:widgetuser-update' object.pk %}"
>
</a>
<button
class=
"btn edit"
>
Edit Widget User
</button>
</a>
</p>
{% endblock %}
{% endblock %}
\ No newline at end of file
widget_OhMyBash/dashboard/templates/dashboard/widgetuser-edit.html
View file @
061e714a
...
@@ -9,6 +9,8 @@
...
@@ -9,6 +9,8 @@
<form
method=
"post"
>
<form
method=
"post"
>
{% csrf_token %}
{% csrf_token %}
{{ form.as_p }}
{{ form.as_p }}
<input
type=
"submit"
value=
"Save Changes to Widget User"
>
<p
class=
"centerB"
>
<input
class=
"submitB"
type=
"submit"
value=
"Save Changes to Widget User"
>
</p>
</form>
</form>
{% endblock %}
{% endblock %}
\ No newline at end of file
widget_OhMyBash/db.sqlite3
View file @
061e714a
No preview for this file type
widget_OhMyBash/forum/templates/forum/forum.html
View file @
061e714a
...
@@ -18,12 +18,15 @@
...
@@ -18,12 +18,15 @@
{% endblock %}
{% endblock %}
{% block footing %}
{% block footing %}
<a
href=
"{% url 'forum:forumpost-create' %}"
>
<p
class=
"centerB"
>
<a
href=
"{% url 'forum:forumpost-create' %}"
>
<button
class=
"btn add"
>
New Post
</button>
<button
class=
"btn add"
>
New Post
</button>
</a><br><br>
</a>
</p>
<p><a
href=
"/dashboard/"
class=
"link"
>
Dashboard
</a><br>
<a
href=
"/announcements/"
class=
"link"
>
Announcements
</a><br>
<a
href=
"/assignments/"
class=
"link"
>
Assignments
</a><br>
<a
href=
"/calendar/"
class=
"link"
>
Calendar
</a>
</p>
<a
href=
"/dashboard/"
class=
"link"
>
Dashboard
</a><br>
<a
href=
"/announcements/"
class=
"link"
>
Announcements
</a><br>
<a
href=
"/assignments/"
class=
"link"
>
Assignments
</a><br>
<a
href=
"/calendar/"
class=
"link"
>
Calendar
</a>
{% endblock %}
{% endblock %}
\ No newline at end of file
widget_OhMyBash/forum/templates/forum/forumpost-add.html
View file @
061e714a
...
@@ -9,6 +9,8 @@
...
@@ -9,6 +9,8 @@
<form
method=
"post"
>
<form
method=
"post"
>
{% csrf_token %}
{% csrf_token %}
{{ form.as_p }}
{{ form.as_p }}
<input
type=
"submit"
value=
"Save New Post"
>
<p
class=
"centerB"
>
<input
class=
"submitB"
type=
"submit"
value=
"Save New Post"
>
</p>
</form>
</form>
{% endblock %}
{% endblock %}
\ No newline at end of file
widget_OhMyBash/forum/templates/forum/forumpost-details.html
View file @
061e714a
...
@@ -20,13 +20,15 @@ POST REPLIES:<br>
...
@@ -20,13 +20,15 @@ POST REPLIES:<br>
{% if reply.forumpost == object %}
{% if reply.forumpost == object %}
by {{ reply.author.first_name }} {{ reply.author.last_name }}
<br>
by {{ reply.author.first_name }} {{ reply.author.last_name }}
<br>
{{ reply.pub_datetime|date:"m/d/Y" }}, {{ reply.pub_datetime|time:"g:iA" }}
<br>
{{ reply.pub_datetime|date:"m/d/Y" }}, {{ reply.pub_datetime|time:"g:iA" }}
<br>
{{ reply.body }}
<br>
<br>
{{ reply.body }}
<br>
{% endif %}
{% endif %}
{% endfor %}
{% endfor %}
{% endblock %}
{% endblock %}
{% block footing %}
{% block footing %}
<a
href=
"{% url 'forum:forumpost-update' object.pk %}"
>
<p
class=
"centerB"
>
<a
href=
"{% url 'forum:forumpost-update' object.pk %}"
>
<button
class=
"btn edit"
>
Edit Post
</button>
<button
class=
"btn edit"
>
Edit Post
</button>
</a>
</a>
</p>
{% endblock %}
{% endblock %}
\ No newline at end of file
widget_OhMyBash/forum/templates/forum/forumpost-edit.html
View file @
061e714a
...
@@ -9,6 +9,8 @@
...
@@ -9,6 +9,8 @@
<form
method=
"post"
>
<form
method=
"post"
>
{% csrf_token %}
{% csrf_token %}
{{ form.as_p }}
{{ form.as_p }}
<input
type=
"submit"
value=
"Save Changes to Post"
>
<p
class=
"centerB"
>
<input
class=
"submitB "
type=
"submit"
value=
"Save Changes to Post"
>
</p>
</form>
</form>
{% endblock %}
{% endblock %}
\ No newline at end of file
widget_OhMyBash/static/style.css
View file @
061e714a
@import
url("https://fonts.googleapis.com/css2?family=Nunito:ital,wght@0,300;0,400;1,300&display=swap")
;
body
{
background-color
:
rgb
(
13
,
12
,
29
);
}
p
,
a
,
h1
,
button
,
form
{
color
:
#F1DAC4
;
font-family
:
Nunito
;
}
h1
{
text-align
:
center
;
border
:
0px
solid
rgba
(
100
,
100
,
100
,
1
);
border-radius
:
20px
;
background
:
linear-gradient
(
50deg
,
rgba
(
255
,
255
,
255
,
0.4
)
12%
,
rgba
(
255
,
255
,
255
,
0.1
)
77%
);
background-blend-mode
:
;
box-shadow
:
0px
4px
24px
1px
rgba
(
0
,
0
,
0
,
0.28
);
transition
:
background-color
300ms
ease-out
;
backdrop-filter
:
blur
(
5px
);
-webkit-backdrop-filter
:
blur
(
5px
);
margin-top
:
50px
;
padding-top
:
10px
;
padding-bottom
:
10px
;
margin-left
:
500px
;
margin-right
:
500px
;
}
h1
:hover
{
background-color
:
rgba
(
0
,
0
,
0
,
1
);
}
p
{
text-align
:
center
;
border
:
0px
solid
rgba
(
100
,
100
,
100
,
1
);
border-radius
:
20px
;
background
:
linear-gradient
(
50deg
,
rgba
(
255
,
255
,
255
,
0.4
)
12%
,
rgba
(
255
,
255
,
255
,
0.1
)
77%
);
background-blend-mode
:
;
box-shadow
:
0px
4px
24px
1px
rgba
(
0
,
0
,
0
,
0.28
);
transition
:
background-color
300ms
ease-out
;
backdrop-filter
:
blur
(
5px
);
-webkit-backdrop-filter
:
blur
(
5px
);
margin-top
:
50px
;
padding-top
:
20px
;
padding-bottom
:
20px
;
margin-left
:
500px
;
margin-right
:
500px
;
}
p
:hover
{
background-color
:
rgba
(
0
,
0
,
0
,
1
);
}
.btn
{
text-align
:
center
;
background
:
#474973
;
border-radius
:
28px
;
color
:
#F1DAC4
;
font-size
:
30px
;
padding
:
10px
20px
10px
20px
;
text-decoration
:
none
;
align-content
:
center
;
}
.btn
:hover
{
background-color
:
rgba
(
0
,
0
,
0
,
1
);
}
p
.centerB
{
text-align
:
center
;
border
:
0px
solid
rgba
(
100
,
100
,
100
,
0
);
border-radius
:
45px
;
background
:
linear-gradient
(
50deg
,
rgba
(
255
,
255
,
255
,
0
)
0%
,
rgba
(
255
,
255
,
255
,
0
)
0%
);
background-blend-mode
:
;
box-shadow
:
0px
4px
24px
1px
rgba
(
0
,
0
,
0
,
0
);
transition
:
background-color
300ms
ease-out
;
backdrop-filter
:
blur
(
0px
);
-webkit-backdrop-filter
:
blur
(
0px
);
margin-top
:
50px
;
padding-top
:
10px
;
padding-bottom
:
10px
;
margin-left
:
400px
;
margin-right
:
400px
;
}
input
.submitB
{
text-align
:
center
;
background
:
#474973
;
border-radius
:
28px
;
color
:
#F1DAC4
;
font-size
:
30px
;
padding
:
10px
20px
10px
20px
;
text-decoration
:
none
;
align-content
:
center
;
}
widget_OhMyBash/widget_calendar/templates/widget_calendar/calendar.html
View file @
061e714a
...
@@ -17,12 +17,17 @@
...
@@ -17,12 +17,17 @@
{% endblock %}
{% endblock %}
{% block footing %}
{% block footing %}
<a
href=
"{% url 'widget_calendar:event-add' %}"
>
<p
class=
"centerB"
>
<a
href=
"{% url 'widget_calendar:event-add' %}"
>
<button
class=
"btn add"
>
New Activity
</button><br>
<button
class=
"btn add"
>
New Activity
</button><br>
</a>
</a>
</p>
<p>
<a
href=
"/dashboard/"
>
Dashboard
</a><br>
<a
href=
"/announcements/"
>
Announcements
</a><br>
<a
href=
"/forum/"
>
Forum
</a><br>
<a
href=
"/assignments/"
>
Assignments
</a>
</p>
<a
href=
"/dashboard/"
>
Dashboard
</a><br>
<a
href=
"/announcements/"
>
Announcements
</a><br>
<a
href=
"/forum/"
>
Forum
</a><br>
<a
href=
"/assignments/"
>
Assignments
</a>
{% endblock %}
{% endblock %}
widget_OhMyBash/widget_calendar/templates/widget_calendar/event-add.html
View file @
061e714a
...
@@ -10,6 +10,8 @@
...
@@ -10,6 +10,8 @@
<form
method=
"post"
>
<form
method=
"post"
>
{% csrf_token %}
{% csrf_token %}
{{ form.as_p }}
{{ form.as_p }}
<input
type=
"submit"
value=
"Save New Activity"
>
<p
class=
"centerB"
>
<input
class=
"submitB"
type=
"submit"
value=
"Save New Activity"
>
</p>
</form>
</form>
{% endblock %}
{% endblock %}
\ No newline at end of file
widget_OhMyBash/widget_calendar/templates/widget_calendar/event-details.html
View file @
061e714a
...
@@ -22,7 +22,9 @@
...
@@ -22,7 +22,9 @@
{% endblock %}
{% endblock %}
{% block footing %}
{% block footing %}
<a
href=
"{% url 'widget_calendar:event-edit' object.pk %}"
>
<p
class=
"centerB"
>
<a
href=
"{% url 'widget_calendar:event-edit' object.pk %}"
>
<button
class=
"btn edit"
>
Edit Activity
</button>
<button
class=
"btn edit"
>
Edit Activity
</button>
</a>
</a>
</p>
{% endblock %}
{% endblock %}
widget_OhMyBash/widget_calendar/templates/widget_calendar/event-edit.html
View file @
061e714a
...
@@ -10,6 +10,8 @@
...
@@ -10,6 +10,8 @@
<form
method=
"post"
>
<form
method=
"post"
>
{% csrf_token %}
{% csrf_token %}
{{ form.as_p }}
{{ form.as_p }}
<input
type=
"submit"
value=
"Save New Activity"
>
<p
class=
"centerB"
>
<input
class=
"submitB"
type=
"submit"
value=
"Save New Activity"
>
</p>
</form>
</form>
{% 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