diff options
author | 2016-12-04 09:09:18 +0200 | |
---|---|---|
committer | 2016-12-04 09:09:18 +0200 | |
commit | 40953ed104a9f49316360e261fa45bf7ff8ed57b (patch) | |
tree | c4df7a91c655bcbf146df81d69aa40dc399dfd6e /frontend/templates | |
parent | sync: Project members and subprojects syncing to DB (diff) | |
download | grumpy-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.html | 40 |
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 %} |