Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
W
widget_jupert
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
Joseph Izon
widget_jupert
Commits
9c871bca
Commit
9c871bca
authored
May 25, 2022
by
Joseph Izon
💀
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add the base.html, detail.html, and index.html files like no ciap
parent
34954a08
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
63 additions
and
0 deletions
+63
-0
base.html
widget_jupert/homepage/templates/homepage/base.html
+22
-0
detail.html
widget_jupert/homepage/templates/homepage/detail.html
+18
-0
index.html
widget_jupert/homepage/templates/homepage/index.html
+23
-0
No files found.
widget_jupert/homepage/templates/homepage/base.html
0 → 100644
View file @
9c871bca
{% load static %}
<!DOCTYPE html>
<html
lang=
"en"
>
<head>
<meta
charset=
"UTF-8"
>
<meta
http-equiv=
"X-UA-Compatible"
content=
"IE=edge"
>
<meta
name=
"viewport"
content=
"width=device-width, initial-scale=1.0"
>
<link
rel=
"stylesheet"
type=
"text/css"
href =
{%
static
'
homepage
/
style
.
css
'
%}
>
<title>
Project Jupert
</title>
</head>
<body>
{% block content %}
{% endblock %}
</body>
</html>
\ No newline at end of file
widget_jupert/homepage/templates/homepage/detail.html
0 → 100644
View file @
9c871bca
{% extends "homepage/base.html" %}
{% block content %}
<h1>
{{ users.last_name }}, {{ users.first_name }} {{users.middle_name}}
</h1>
{% for dept in dept_list %}
{% if dept.user.last_name == users.last_name %}
<p>
{{dept.user.id_num}}
</p>
<p>
{{dept.user.email}}
</p>
<p>
{{dept.dept_name}}
</p>
<p>
{{dept.home_unit}}
</p>
{% endif %}
{% endfor %}
<img
src=
{{users.image.url}}
>
{% endblock %}
\ No newline at end of file
widget_jupert/homepage/templates/homepage/index.html
0 → 100644
View file @
9c871bca
{% extends "homepage/base.html" %}
{% block content %}
<h1>
Welcome to Widget!
</h1>
<h3>
Widget Users:
</h3>
{% if user_list %}
<ol>
{% for user in user_list %}
<li><a
href=
"{% url 'homepages:detail' user.id %}"
>
{{user.last_name}}, {{user.first_name}} {{user.middle_name}}
</a>
</li>
{% endfor %}
</ol>
{% else %}
<p>
No articles are available.
</p>
{% endif %}
{% 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