diff options
Diffstat (limited to 'templates')
-rw-r--r-- | templates/default.html | 29 | ||||
-rw-r--r-- | templates/login.html | 10 | ||||
-rw-r--r-- | templates/manage.html | 1 |
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" %} |