Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Blizzard Blast
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
Martina Therese R. Reyes
Blizzard Blast
Commits
686e1d01
Commit
686e1d01
authored
Dec 12, 2021
by
Martina Therese R. Reyes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Created new html files for the queried views.
parent
7b8e0d88
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
142 additions
and
0 deletions
+142
-0
manager_query.html
blizzardblast/templates/queries/manager_query.html
+38
-0
role_query.html
blizzardblast/templates/queries/role_query.html
+57
-0
week_query.html
blizzardblast/templates/queries/week_query.html
+47
-0
No files found.
blizzardblast/templates/queries/manager_query.html
0 → 100644
View file @
686e1d01
{% extends 'blizzardblast\templates\base.html' %}
{% load static %}
{% block title %}Schedule{% endblock %}
{% block styles %}
{% endblock %}
{% block content %}
<h1
class=
'view-title'
>
Schedule
</h1>
<div
id=
"filter-system-navbar"
>
<ul
class=
"navigation"
>
<li
class=
"navbar-item"
><a
href=
"{% url 'schedule' %}"
>
Show All
</a></li>
<li
class=
"navbar-item"
><a
href=
"{% url 'manager_query' %}"
>
Manager (Y/N)
</a></li>
<li
class=
"navbar-item"
><a
href=
"{% url 'week_query' %}"
>
Week
</a></li>
<li
class=
"navbar-item"
><a
href=
"{% url 'role_query' %}"
>
Role
</a></li>
</ul>
</div>
<table
id=
"scheduling-table"
>
<tr>
<th>
Week
</th>
<th>
Staff
</th>
<th>
Role
</th>
<th>
Day-Mgr
</th>
</tr>
{% for m in manager%}
<tr>
<td>
{{m.role_date}}
</td>
<td>
{{m.employee.employee_name}}
</td>
<td>
{{m.role_description}}
</td>
<td>
{{m.is_manager}}
</td>
</tr>
{% endfor %}
</table>
{% endblock %}
blizzardblast/templates/queries/role_query.html
0 → 100644
View file @
686e1d01
{% extends 'blizzardblast\templates\base.html' %}
{% load static %}
{% block title %}Schedule{% endblock %}
{% block styles %}
{% endblock %}
{% block content %}
<h1
class=
'view-title'
>
Schedule
</h1>
<div
id=
"filter-system-navbar"
>
<ul
class=
"navigation"
>
<li
class=
"navbar-item"
><a
href=
"{% url 'schedule' %}"
>
Show All
</a></li>
<li
class=
"navbar-item"
><a
href=
"{% url 'manager_query' %}"
>
Manager (Y/N)
</a></li>
<li
class=
"navbar-item"
><a
href=
"{% url 'week_query' %}"
>
Week
</a></li>
<li
class=
"navbar-item"
><a
href=
"{% url 'role_query' %}"
>
Role
</a></li>
</ul>
</div>
<table
id=
"scheduling-table"
>
<tr>
<th>
Week
</th>
<th>
Staff
</th>
<th>
Role
</th>
<th>
Day-Mgr
</th>
</tr>
{% for c in cashier%}
<tr>
<td>
{{c.role_date}}
</td>
<td>
{{c.employee.employee_name}}
</td>
<td>
{{c.role_description}}
</td>
<td>
{{c.is_manager}}
</td>
</tr>
{% endfor %}
{% for p in preparation %}
<tr>
<td>
{{p.role_date}}
</td>
<td>
{{p.employee.employee_name}}
</td>
<td>
{{p.role_description}}
</td>
<td>
{{p.is_manager}}
</td>
</tr>
{% endfor %}
{% for cl in cleaning %}
<tr>
<td>
{{cl.role_date}}
</td>
<td>
{{cl.employee.employee_name}}
</td>
<td>
{{cl.role_description}}
</td>
<td>
{{cl.is_manager}}
</td>
</tr>
{% endfor %}
</table>
{% endblock %}
blizzardblast/templates/queries/week_query.html
0 → 100644
View file @
686e1d01
{% extends 'blizzardblast\templates\base.html' %}
{% load static %}
{% block title %}Schedule{% endblock %}
{% block styles %}
{% endblock %}
{% block content %}
<h1
class=
'view-title'
>
Schedule
</h1>
<div
id=
"filter-system-navbar"
>
<ul
class=
"navigation"
>
<li
class=
"navbar-item"
><a
href=
"{% url 'schedule' %}"
>
Show All
</a></li>
<li
class=
"navbar-item"
><a
href=
"{% url 'manager_query' %}"
>
Manager (Y/N)
</a></li>
<li
class=
"navbar-item"
><a
href=
"{% url 'week_query' %}"
>
Week
</a></li>
<li
class=
"navbar-item"
><a
href=
"{% url 'role_query' %}"
>
Role
</a></li>
</ul>
</div>
<table
id=
"scheduling-table"
>
<tr>
<th>
Week
</th>
<th>
Staff
</th>
<th>
Role
</th>
<th>
Day-Mgr
</th>
</tr>
{% for q1 in week_query1%}
<tr>
<td>
{{q1.role_date}}
</td>
<td>
{{q1.employee.employee_name}}
</td>
<td>
{{q1.role_description}}
</td>
<td>
{{q1.is_manager}}
</td>
</tr>
{% endfor %}
{% for q2 in week_query2 %}
<tr>
<td>
{{q2.role_date}}
</td>
<td>
{{q2.employee.employee_name}}
</td>
<td>
{{q2.role_description}}
</td>
<td>
{{q2.is_manager}}
</td>
</tr>
{% endfor %}
</table>
{% 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