aboutsummaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorFilipp Lepalaan <f@230.to>2013-11-08 09:31:01 +0200
committerFilipp Lepalaan <f@230.to>2013-11-08 09:31:01 +0200
commitf077badf3163fc36c111dc45fe8d7d6f57d8712a (patch)
treef2b83bdc836f8a8035badb0d401ee0ea86eafa55 /templates
parentb9fc1060406a433473faa70c236ba3e177640d26 (diff)
downloadmotor.old-f077badf3163fc36c111dc45fe8d7d6f57d8712a.tar.gz
motor.old-f077badf3163fc36c111dc45fe8d7d6f57d8712a.tar.bz2
motor.old-f077badf3163fc36c111dc45fe8d7d6f57d8712a.zip
Merged motor and checkin
Diffstat (limited to 'templates')
-rw-r--r--templates/default.html29
-rw-r--r--templates/login.html10
-rw-r--r--templates/manage.html1
3 files changed, 40 insertions, 0 deletions
diff --git a/templates/default.html b/templates/default.html
new file mode 100644
index 0000000..ca5829a
--- /dev/null
+++ b/templates/default.html
@@ -0,0 +1,29 @@
+<!DOCTYPE html>
+<html>
+ <head>
+ <title>{{ title }}</title>
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
+ <!-- Bootstrap -->
+ <link href="{{ STATIC_URL }}bootstrap/css/bootstrap.min.css" rel="stylesheet" media="screen">
+ <link href="{{ STATIC_URL }}css/signin.css" rel="stylesheet" media="screen">
+ <!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
+ <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
+ <!--[if lt IE 9]>
+ <script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
+ <script src="https://oss.maxcdn.com/libs/respond.js/1.3.0/respond.min.js"></script>
+ <![endif]-->
+ </head>
+ <body>
+ <div class="container">
+
+ {% block main %}
+
+ {% endblock main %}
+
+ </div> <!-- /container -->
+ <!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
+ <script src="https://code.jquery.com/jquery.js"></script>
+ <!-- Include all compiled plugins (below), or include individual files as needed -->
+ <script src="{{ STATIC_URL }}bootstrap/js/bootstrap.min.js"></script>
+ </body>
+</html>
diff --git a/templates/login.html b/templates/login.html
new file mode 100644
index 0000000..2167d15
--- /dev/null
+++ b/templates/login.html
@@ -0,0 +1,10 @@
+{% extends "default.html" %}
+
+{% block main %}
+ <form class="form-signin" method="post">
+ {% csrf_token %}
+ <h2 class="form-signin-heading">Please sign in</h2>
+ {{ form.as_p }}
+ <button class="btn btn-lg btn-primary btn-block" type="submit">Sign in</button>
+ </form>
+{% endblock main %}
diff --git a/templates/manage.html b/templates/manage.html
new file mode 100644
index 0000000..67b0352
--- /dev/null
+++ b/templates/manage.html
@@ -0,0 +1 @@
+{% extends "default.html" %}