diff options
author | Michael Palimaka <kensington@gentoo.org> | 2017-07-30 01:18:23 +1000 |
---|---|---|
committer | Michael Palimaka <kensington@gentoo.org> | 2017-07-30 01:28:04 +1000 |
commit | 88d96cc6bafbed6cdd63b077821e2b1cbfb7df58 (patch) | |
tree | 0578c4070b677fd47f48008f691a3890f1885529 /frontend/templates/maintainers.html | |
parent | frontend: add package page (diff) | |
download | grumpy-88d96cc6bafbed6cdd63b077821e2b1cbfb7df58.tar.gz grumpy-88d96cc6bafbed6cdd63b077821e2b1cbfb7df58.tar.bz2 grumpy-88d96cc6bafbed6cdd63b077821e2b1cbfb7df58.zip |
frontend: add maintainer listing
Diffstat (limited to 'frontend/templates/maintainers.html')
-rw-r--r-- | frontend/templates/maintainers.html | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/frontend/templates/maintainers.html b/frontend/templates/maintainers.html new file mode 100644 index 0000000..d24a239 --- /dev/null +++ b/frontend/templates/maintainers.html @@ -0,0 +1,53 @@ +{% extends "base.html" %} +{% block content %} + +<div class="panel panel-default"> + <div class="panel-heading"> + <h3 class="panel-title"> + <span class="fa fa-fw fa-cubes"></span>Maintainers + </h3> + </div> + <ul class="nav nav-tabs nav-justified" id="tabnav"> + <li><a href="#people" data-toggle="tab"><strong>People</strong></a></li> + <li><a href="#projects" data-toggle="tab"><strong>Projects</strong></a></li> + </ul> + <div class="table-responsive"> + <div class="tab-content"> + <div class="tab-pane active" id="people"> + <table class="table table-striped"> + <thead> + <tr> + <th>Email</th> + <th>Name</th> + </tr> + </thead> + {% for person in people -%} + <tr> + <td class="text-nowrap"><a href="maintainer/{{ person.email }}">{{ person.email }}</a></td> + <td>{{ person.name }}</td> + </tr> + {%- endfor %} + </table> + </div> + <div class="tab-pane active" id="projects"> + <table class="table table-striped"> + <thead> + <tr> + <th>Email</th> + <th>Name</th> + <th>Descriptions</th> + </tr> + </thead> + {% for project in projects -%} + <tr> + <td class="text-nowrap"><a href="maintainer/{{ project.email }}">{{ project.email }}</a></td> + <td>{{ project.name }}</td> + <td>{{ project.description }}</td> + </tr> + {%- endfor %} + </table> + </div> + </div> +</div> + +{% endblock %} |