chore: template cleanup

!1
This commit is contained in:
2024-05-13 20:00:17 +09:30
parent 30e7c8de42
commit 0d1b31f9f0
11 changed files with 38 additions and 370 deletions

View File

@ -14,6 +14,7 @@
<input type="button" value="<< Back" onclick="window.location='{% url 'Access:Organizations' %}';">
<input type="button" value="New Team" onclick="window.location='{% url 'Access:_team_add' organization.id %}';">
<hr />
<table>
<thead>
<tr>

View File

@ -1,6 +1,6 @@
{% extends 'base.html.j2' %}
{% block title %}{{ team.team_name }} Team{% endblock %}
{% block title %}Team - {{ team.team_name }}{% endblock %}
{% block body%}
<section class="content-header">
@ -43,7 +43,7 @@
{% for field in teamusers %}
<tr>
<td>{{ field.user }}</td>
<td><input type="checkbox" {% if field.manager %}checked{% endif %}></td>
<td><input type="checkbox" {% if field.manager %}checked{% endif %} disabled></td>
<td>{{ field.created }}</td>
<td>{{ field.modified }}</td>
<td><a href="{% url 'Access:_team_user_delete' organization_id=organization.id team_id=field.team_id pk=field.id %}">Delete</a></a></td>