Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
midterm_robo_mommy
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
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Raul Jarod Conanan
midterm_robo_mommy
Commits
83cd6652
Commit
83cd6652
authored
May 14, 2023
by
Lance Dominic B. Santuyo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Edited the HTML templates for Dashboard to use CSS
parent
3bbae7af
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
66 additions
and
38 deletions
+66
-38
dashboard.html
...t_robo_mommy/Dashboard/templates/dashboard/dashboard.html
+34
-0
widgetuser-add.html
...o_mommy/Dashboard/templates/dashboard/widgetuser-add.html
+10
-15
widgetuser-details.html
...mmy/Dashboard/templates/dashboard/widgetuser-details.html
+12
-13
widgetuser-edit.html
..._mommy/Dashboard/templates/dashboard/widgetuser-edit.html
+10
-10
No files found.
widget_robo_mommy/Dashboard/templates/dashboard/dashboard.html
0 → 100644
View file @
83cd6652
{% extends 'base.html' %}
{% block title %} Widget v2 {% endblock %}
{% block header %} Welcome to Widget! {% endblock %}
{% block content %}
<div
id =
"object_container"
>
<h2>
Widget Users:
</h2>
<ul
id =
"object_list"
>
{% for user in users %}
<a
href=
"/widgetusers/{{ user.pk }}/details/"
class=
"item"
>
{{ user.last_name }}, {{ user.first_name }}
</a><br>
{% endfor %}
<br>
<li>
<a
href=
"/widgetusers/add/"
class=
"item"
>
Add Widget User
</a>
</li>
</ul>
</div>
{% endblock %}
{% block navbar %}
<div
id =
"navbar"
>
<a
href=
"/announcements/"
>
Announcement Board
</a>
<a
href=
"/forum/"
>
Forum
</a>
<a
href =
"/assignments/"
>
Assignments
</a>
<a
href =
"/calendar/"
>
Calendar
</a>
</div>
{% endblock %}
\ No newline at end of file
widget_robo_mommy/Dashboard/templates/dashboard/widgetuser-add.html
View file @
83cd6652
{%
extends "base.html"
%}
{%
extends 'base.html'
%}
{%
load static
%}
{%
block title %} Add Widget User {% endblock
%}
{% block content %}
{% block header %} Add a new Widget user: {% endblock %}
<h1>
Add Widget User
</h1>
<form
method=
"post"
>
{% csrf_token %}
{{ form.as_p }}
{% block content %}
<form
action=
""
method=
POST
>
{% csrf_token %}
<a
href=
"/Widgetusers/{{WidgetUser.pk}}/details"
>
{{ form.as_p }}
<button
type=
"submit"
>
Add Widget User
</button>
</a>
</form>
<input
type=
"submit"
value=
"Add Widget User"
>
{% endblock content %}
</form>
\ No newline at end of file
{% endblock %}
widget_robo_mommy/Dashboard/templates/dashboard/widgetuser-details.html
View file @
83cd6652
{%
extends "base.html"
%}
{%
extends 'base.html'
%}
{%
load static
%}
{%
block title %} {{ object.last_name }}, {{ object.first_name }} {% endblock
%}
{% block content %}
{% block header %} {{ object.first_name }} {{ object.middle_name }} {{ object.last_name }} {% endblock %}
<title>
Widget User
</title>
<br><br>
<h2>
{{object.first_name}} {{object.middle_name}} {{object.last_name}}
</h2>
<h3>
{{object.department}}
</h3>
<h3>
{{object.department.home_unit}}
</h3>
<a
href=
"/Widgetusers/{{ object.id }}/edit"
>
{% block content %}
<input
type=
"button"
value=
"Edit Widget User"
>
<p>
</a>
"
{{ object.department.dept_name }}
<br>
{% endblock content %}
{{ object.department.home_unit }}
<br>
\ No newline at end of file
</p>
<li>
<a
href =
"/widgetusers/{{ object.pk }}/edit/"
class=
"item"
>
Edit Widget User
</a>
</li>
{% endblock %}
widget_robo_mommy/Dashboard/templates/dashboard/widgetuser-edit.html
View file @
83cd6652
{%
extends "base.html"
%}
{%
extends 'base.html'
%}
{% load static %}
{% block title %} Edit Widget User {% endblock %}
{% block header %} Edit Widget User: {% endblock %}
{% block content %}
{% block content %}
<h1>
Edit Widget User
</h1>
<form
action=
""
method=
POST
>
{% csrf_token %}
<form
method=
"post"
>
{{ form.as_p }}
{% csrf_token %}
{{ form.as_p }}
<input
type=
"submit"
value=
"Edit Widget User"
/>
<input
type=
"submit"
value=
"Save Changes to Widget User"
>
</a>
</form>
</form>
{% endblock %}
{% endblock content %}
\ 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