Browse Source

[#101] A template folder is available in Lodel2's root, containing the common templates for all the websites

Roland Haroutiounian 8 years ago
parent
commit
fcc3c71a27
2 changed files with 28 additions and 0 deletions
  1. 14
    0
      templates/base.html
  2. 14
    0
      templates/base_backend.html

+ 14
- 0
templates/base.html View File

@@ -0,0 +1,14 @@
1
+<!doctype html>
2
+<html lang="en">
3
+<head>
4
+    <meta charset="UTF-8" />
5
+    {% block title %}<title></title>{% endblock %}
6
+    {% block head %}{% endblock %}
7
+</head>
8
+<body>
9
+    <div id="content">
10
+        {% block content %}{% endblock %}
11
+    </div>
12
+    {% block javascript %}{% endblock %}
13
+</body>
14
+</html>

+ 14
- 0
templates/base_backend.html View File

@@ -0,0 +1,14 @@
1
+<!doctype html>
2
+<html lang="en">
3
+<head>
4
+    <meta charset="UTF-8" />
5
+    {% block title %}<title></title>{% endblock %}
6
+    {% block head %}{% endblock %}
7
+</head>
8
+<body>
9
+    <div id="content">
10
+        {% block content %}{% endblock %}
11
+    </div>
12
+    {% block javascript %}{% endblock %}
13
+</body>
14
+</html>

Loading…
Cancel
Save