summaryrefslogtreecommitdiffstats
path: root/qtip/web/templates
diff options
context:
space:
mode:
Diffstat (limited to 'qtip/web/templates')
-rw-r--r--qtip/web/templates/bench/base.html10
-rw-r--r--qtip/web/templates/bench/repo_form.html15
-rw-r--r--qtip/web/templates/registration/login.html18
3 files changed, 43 insertions, 0 deletions
diff --git a/qtip/web/templates/bench/base.html b/qtip/web/templates/bench/base.html
new file mode 100644
index 00000000..f0d3610e
--- /dev/null
+++ b/qtip/web/templates/bench/base.html
@@ -0,0 +1,10 @@
+<!DOCTYPE html>
+<html lang="en">
+ <head>
+ <title>QTIP Benchmarking Services</title>
+ </head>
+ <body>
+ {% block content %}
+ {% endblock %}
+ </body>
+</html> \ No newline at end of file
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 %}
diff --git a/qtip/web/templates/registration/login.html b/qtip/web/templates/registration/login.html
new file mode 100644
index 00000000..53da9376
--- /dev/null
+++ b/qtip/web/templates/registration/login.html
@@ -0,0 +1,18 @@
+<!DOCTYPE html>
+<html lang="en">
+ <head>
+ <meta charset="utf-8">
+ <title>QTIP Benchmarking Services</title>
+ </head>
+ <body>
+ {% block content %}
+ <form role="form" method="post" action= "/bench/login/">{% csrf_token %}
+ {{ form }}
+ <div class=input-field" style="margin:30px 20px">
+ <button type="submit" value="Login"/>Login</button>
+ <input type="hidden" name="next" value = "{{ next }}"/>
+ </div>
+ </form>
+ {% endblock %}
+ </body>
+</html> \ No newline at end of file