summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLV-426 <lv-426@taproot.org.il>2015-02-01 19:13:39 +0200
committerLV-426 <lv-426@taproot.org.il>2015-02-01 19:13:39 +0200
commit60b850a1257065fa2c953fea80c4e89e358b7415 (patch)
tree3643bb579126d648828662acd3100da8e39cef75
parentb29003fa36006ea274f9a9794054e044fd170d22 (diff)
index.html: use base template
-rw-r--r--res/templates/index.html26
1 files changed, 10 insertions, 16 deletions
diff --git a/res/templates/index.html b/res/templates/index.html
index 2212751b..15f656d9 100644
--- a/res/templates/index.html
+++ b/res/templates/index.html
@@ -1,16 +1,12 @@
-<!DOCTYPE html>
-<head>
- <title>Rhizi Prototype </title>
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
- <link href="/static/css/feedback.css" rel="stylesheet" type="text/css">
- <link href="/static/css/style.css" rel="stylesheet" type="text/css">
- <link rel="shortcut icon" href="/static/img/favicon2.ico" />
-
- <script src="/static/local_config.js"></script>
- <script data-main='/static/app.js' src="/static/lib/require.js"></script>
-
-</head>
-
+{% extends "base.html" %}
+{% block title %}Rhizi Prototype{% endblock %}
+{% block head %}
+{{ super() }}
+<link href="/static/css/feedback.css" rel="stylesheet" type="text/css">
+<script data-main='/static/app.js' src="/static/lib/require.js"></script>
+<script src="/static/local_config.js"></script>
+{% endblock %}
+{% block content %}
<body>
<script type="text/javascript">
var logged_username = "{{ username }}";
@@ -128,6 +124,4 @@
<img src="/static/img/rhizi-logo.png"/></a>
</div>
</div>
-
-</body>
-</html>
+{% endblock %}