diff options
| author | Gertjan van den Burg <gertjanvandenburg@gmail.com> | 2019-03-19 14:51:04 +0000 |
|---|---|---|
| committer | Gertjan van den Burg <gertjanvandenburg@gmail.com> | 2019-03-19 14:51:04 +0000 |
| commit | 20cc8eab24191902394316519f4889e55bdec1c6 (patch) | |
| tree | 60c408804444a265f0eaac34519e8f8c9537ff26 /app/templates/admin | |
| parent | Add instance directories (diff) | |
| download | AnnotateChange-20cc8eab24191902394316519f4889e55bdec1c6.tar.gz AnnotateChange-20cc8eab24191902394316519f4889e55bdec1c6.zip | |
Allow admin to add datasets
Diffstat (limited to 'app/templates/admin')
| -rw-r--r-- | app/templates/admin/add.html | 11 | ||||
| -rw-r--r-- | app/templates/admin/index.html | 13 |
2 files changed, 24 insertions, 0 deletions
diff --git a/app/templates/admin/add.html b/app/templates/admin/add.html new file mode 100644 index 0000000..5c613c4 --- /dev/null +++ b/app/templates/admin/add.html @@ -0,0 +1,11 @@ +{% extends 'base.html' %} +{% import 'bootstrap/wtf.html' as wtf %} + +{% block app_content %} +<h1>Add Dataset</h1> +<div class="row"> + <div class="col-md-4"> + {{ wtf.quick_form(form) }} + </div> +</div> +{% endblock %} diff --git a/app/templates/admin/index.html b/app/templates/admin/index.html new file mode 100644 index 0000000..76ec3ff --- /dev/null +++ b/app/templates/admin/index.html @@ -0,0 +1,13 @@ +{% extends "base.html" %} + +{% block app_content %} +<h1>Admin Home</h1> +<ul> + <li> + <a href="/admin/add">Add dataset</a> + </li> + <li> + <a href="/admin/assign">Assign and view tasks</a> + </li> +</ul> +{% endblock %} |
