Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
#147 backend functionality for roster roles
- Loading branch information
1 parent
f0400f8
commit 393190e
Showing
5 changed files
with
93 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
{% extends 'staff/staffbase.html' %} | ||
{% load static %} | ||
<link rel="stylesheet" href="{% static "css/staff.css" %}"> | ||
|
||
{% block title %} | ||
<a href="{% url 'staff:teamindex' %}">Teams</a> / Roster Role List | ||
{% endblock %} | ||
|
||
{% block body %} | ||
<div style="overflow-x:auto;"> | ||
<table class="table table-hover"> | ||
<tr id="header"> | ||
<thead> | ||
<th scope="row">Name</th> | ||
</thead> | ||
</tr> | ||
{% for role in roles %} | ||
<tbody> | ||
<tr scope=""> | ||
<td scope="row"><a href="{% url 'staff:edit_roster_role' pk=role.pk %}">{{ role.name }}</a></td> | ||
</tr> | ||
</tbody> | ||
{% endfor %} | ||
</table> | ||
</div> | ||
{% endblock %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters