Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
midterm-group3
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
John Michael T. Amador
midterm-group3
Commits
fdfecaf4
Commit
fdfecaf4
authored
May 15, 2023
by
Marco Anton O. Paeldon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed minor cosmetic errors in the websites
parent
048fe3f4
Changes
6
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
37 additions
and
57 deletions
+37
-57
dashboard.html
widget_group3/dashboard/templates/dashboard/dashboard.html
+20
-26
widgetuser-add.html
..._group3/dashboard/templates/dashboard/widgetuser-add.html
+1
-5
widgetuser-details.html
...up3/dashboard/templates/dashboard/widgetuser-details.html
+11
-15
widgetuser-edit.html
...group3/dashboard/templates/dashboard/widgetuser-edit.html
+1
-6
db.sqlite3
widget_group3/db.sqlite3
+0
-0
forum.html
widget_group3/forum/templates/forum/forum.html
+4
-5
No files found.
widget_group3/dashboard/templates/dashboard/dashboard.html
View file @
fdfecaf4
{% extends 'base.html' %}
{% load static %}
{% block title %}
Widget v2
Widget v2
{% endblock %}
{% block header %}
<h1>
Welcome to Widget!
</h1>
{% endblock %}
{% block content %}
Widget Users:
<br
>
<ul>
{% for object in users %}
<h1>
Welcome to Widget!
</h1>
<h2>
Widget Users:
</h2
>
<ul>
{% for object in users %}
<li>
<a
href =
"{{ object.get_absolute_url }}"
>
{{ object.last_name }}, {{ object.first_name }}
</a>
</li>
{% endfor %}
</ul>
<form
action =
"http://127.0.0.1:8000/dashboard/widgetusers/add"
>
{% endfor %}
</ul>
<form
action =
"http://127.0.0.1:8000/dashboard/widgetusers/add"
>
<input
type =
"submit"
value =
"Add Widget User"
/>
</form>
<p>
<a
href =
"http://127.0.0.1:8000/announcements"
>
Announcements
</a>
<a
href =
"http://127.0.0.1:8000/forum"
>
Forum
</a>
<a
href =
"http://127.0.0.1:8000/assignments"
>
Assignments
</a>
<a
href =
"http://127.0.0.1:8000/calendar"
>
Calendar
</a>
</p>
</form>
<p>
<a
href =
"http://127.0.0.1:8000/announcements"
>
Announcements
</a>
<a
href =
"http://127.0.0.1:8000/forum"
>
Forum
</a>
<a
href =
"http://127.0.0.1:8000/assignments"
>
Assignments
</a>
<a
href =
"http://127.0.0.1:8000/calendar"
>
Calendar
</a>
</p>
{% endblock %}
\ No newline at end of file
widget_group3/dashboard/templates/dashboard/widgetuser-add.html
View file @
fdfecaf4
...
...
@@ -6,12 +6,8 @@
{% endblock %}
{% block header %}
<h1>
Add a new Widget User:
</h1>
{% endblock %}
{% block content %}
<h1>
Add a new Widget User:
</h1>
{{ form.non_field_errors }}
{% for field in form %}
{% if field.errors %}
...
...
widget_group3/dashboard/templates/dashboard/widgetuser-details.html
View file @
fdfecaf4
...
...
@@ -2,26 +2,22 @@
{% block title %}
{{ object.last_name }}, {{ object.first_name }}
{{ object.last_name }}, {{ object.first_name }}
{% endblock %}
{% block header %}
<h1>
{{ object.first_name }} {{ object.middle_name }} {{ object.last_name }}
</h1>
{% endblock %}
{% block content %}
<ul>
{% block content %}
<h1>
{{ object.first_name }} {{ object.middle_name }} {{ object.last_name }}
</h1>
<ul>
<li>
{{ object.department.dept_name }}
</li>
<li>
{{ object.department.home_unit }}
</li>
<br>
</ul>
<p>
<button
onclick=
"window.location.href='../../../dashboard/widgetusers/{{object.pk}}/edit';"
>
Edit Widget User
</button><br/>
</p>
<br>
</ul>
<p>
<button
onclick=
"window.location.href='../../../dashboard/widgetusers/{{object.pk}}/edit';"
>
Edit Widget User
</button><br/>
</p>
{% endblock %}
\ No newline at end of file
widget_group3/dashboard/templates/dashboard/widgetuser-edit.html
View file @
fdfecaf4
...
...
@@ -6,13 +6,8 @@
{% endblock %}
{% block header %}
<h1>
Edit Widget User:
</h1>
{% endblock %}
{% block content %}
<h1>
Edit Widget User:
</h1>
{{ form.non_field_errors }}
{% for field in form %}
{% if field.errors %}
...
...
widget_group3/db.sqlite3
View file @
fdfecaf4
No preview for this file type
widget_group3/forum/templates/forum/forum.html
View file @
fdfecaf4
...
...
@@ -20,14 +20,13 @@ Widget's Forum
<br><br><br>
<a
href =
"{% url 'forum:addPost' %}"
><button>
New Post
</button></a>
<br><br>
<a
href=
"/dashboard"
>
Dashboard
</a>
<a
href=
"/dashboard"
>
Dashboard
</a>
<br>
<a
href=
"
announcements"
>
Announcements
</a>
<a
href=
"
/announcements"
>
Announcements
</a>
<br>
<a
href=
"
assignments"
>
Assignments
</a>
<a
href=
"
/assignments"
>
Assignments
</a>
<br>
<a
href=
"
calendar"
>
Calendar
</a>
<a
href=
"
/calendar"
>
Calendar
</a>
<br>
</div>
{% 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