aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMart Raudsepp <leio@gentoo.org>2016-12-04 09:09:18 +0200
committerMart Raudsepp <leio@gentoo.org>2016-12-04 09:09:18 +0200
commit40953ed104a9f49316360e261fa45bf7ff8ed57b (patch)
treec4df7a91c655bcbf146df81d69aa40dc399dfd6e /frontend/templates
parentsync: Project members and subprojects syncing to DB (diff)
downloadgrumpy-40953ed104a9f49316360e261fa45bf7ff8ed57b.tar.gz
grumpy-40953ed104a9f49316360e261fa45bf7ff8ed57b.tar.bz2
grumpy-40953ed104a9f49316360e261fa45bf7ff8ed57b.zip
frontend: add a /setup/ page for listing existing projects and devs
Later we can convert this into a form to choose which projects/devs to follow; hence the "setup" naming.
Diffstat (limited to 'frontend/templates')
-rw-r--r--frontend/templates/setup.html40
1 files changed, 40 insertions, 0 deletions
diff --git a/frontend/templates/setup.html b/frontend/templates/setup.html
new file mode 100644
index 0000000..e167c22
--- /dev/null
+++ b/frontend/templates/setup.html
@@ -0,0 +1,40 @@
+{% extends "base.html" %}
+{% block content %}
+
+<div class="panel panel-default">
+ <div class="panel-heading">
+ <h3 class="panel-title">
+ <span class="fa fa-fw fa-users"></span>Known projects
+ </h3>
+ </div>
+ <div class="table-responsive">
+ <table class="table table-striped">
+ {% for maintainer in maintainers if maintainer.is_project -%}
+ <tr>
+ <td class="text-nowrap">{{ maintainer.email }}</td>
+ <td>{{ maintainer.name }}</td>
+ </tr>
+ {%- endfor %}
+ </table>
+ </div>
+</div>
+
+<div class="panel panel-default">
+ <div class="panel-heading">
+ <h3 class="panel-title">
+ <span class="fa fa-fw fa-user"></span>Known developers
+ </h3>
+ </div>
+ <div class="table-responsive">
+ <table class="table table-striped">
+ {% for maintainer in maintainers if not maintainer.is_project -%}
+ <tr>
+ <td class="text-nowrap">{{ maintainer.email }}</td>
+ <td>{{ maintainer.name }}</td>
+ </tr>
+ {%- endfor %}
+ </table>
+ </div>
+</div>
+
+{% endblock %}