Updated schedule html files and css file accordingly.

parent cfbc4269
...@@ -24,7 +24,7 @@ ul { ...@@ -24,7 +24,7 @@ ul {
padding: 0; padding: 0;
} }
#nav-bar { #filter-system-navbar, #nav-bar {
display: flex; display: flex;
justify-content: center; justify-content: center;
border-top: 1px #3B3355 solid; border-top: 1px #3B3355 solid;
......
...@@ -9,6 +9,16 @@ ...@@ -9,6 +9,16 @@
{% block content %} {% block content %}
<h1 class='view-title'>Schedule </h1> <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"> <table id="scheduling-table">
<tr> <tr>
<th>Week</th> <th>Week</th>
...@@ -17,14 +27,16 @@ ...@@ -17,14 +27,16 @@
<th>Day-Mgr</th> <th>Day-Mgr</th>
</tr> </tr>
{% for m in manager%} {% for a in all_values%}
<tr> <tr>
<td> {{m.role_date}}</td> <td> {{a.role_date}}</td>
<td> {{m.employee.employee_name}} </td> <td> {{a.employee.employee_name}} </td>
<td> {{m.role_description}} </td> <td> {{a.role_description}} </td>
<td> {{m.is_manager}} </td> <td> {{a.is_manager}} </td>
</tr> </tr>
{% endfor %} {% endfor %}
</table> </table>
{% endblock %} {% endblock %}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment