aboutsummaryrefslogtreecommitdiffstats
path: root/qtip/web/templates/bench/repo_form.html
diff options
context:
space:
mode:
authorakhilbatra898 <akhil.batra@research.iiit.ac.in>2017-07-15 09:44:23 +0530
committerakhilbatra898 <akhil.batra@research.iiit.ac.in>2017-07-15 09:57:26 +0530
commit0fd661ea6bae299b69e65f90966304012eb794d2 (patch)
tree73bcd903e77fc656863b5241df39f028f8e528f5 /qtip/web/templates/bench/repo_form.html
parent2e4a3dfc8b45ae6dc72aa85510ce920dbafe54ad (diff)
Add Authentication and Basic CRUD for Repos
- Map urls to the CRUD views - Add html templates for the views - Set authentication settings Change-Id: Ifcfe39a8341d44376e322d195e995fcaa1716d7d Signed-off-by: akhilbatra898 <akhil.batra@research.iiit.ac.in>
Diffstat (limited to 'qtip/web/templates/bench/repo_form.html')
-rw-r--r--qtip/web/templates/bench/repo_form.html15
1 files changed, 15 insertions, 0 deletions
diff --git a/qtip/web/templates/bench/repo_form.html b/qtip/web/templates/bench/repo_form.html
new file mode 100644
index 00000000..109436a9
--- /dev/null
+++ b/qtip/web/templates/bench/repo_form.html
@@ -0,0 +1,15 @@
+{% extends 'bench/base.html' %}
+{% block content %}
+ <div>
+ <h3>Repos</h3>
+ {% for repo in repos %}
+ <li>{{ repo.name }}</li>
+ {% endfor %}
+ </div>
+ <form role="form" method="post" action="">{% csrf_token %}
+ {{ form }}
+ <div class=input-field" style="margin:30px 20px">
+ <button type="submit" value="Login"/>Submit</button>
+ </div>
+ </form>
+{% endblock %}