Rearrange source to src dir.
[redakcja.git] / src / redakcja / templates / base.html
diff --git a/src/redakcja/templates/base.html b/src/redakcja/templates/base.html
new file mode 100644 (file)
index 0000000..fc60995
--- /dev/null
@@ -0,0 +1,28 @@
+<!DOCTYPE html >
+{% load i18n %}
+<html>
+    <head lang="{{ LANGUAGE_CODE }}">
+        <meta charset="utf-8" />
+        <link rel="icon" href="{{ STATIC_URL }}img/pr-icon.png" type="image/png" />
+        <title>{% block title %}{% block titleextra %}{% endblock titleextra %} ::
+            {% trans "Platforma Redakcyjna" %}{% endblock title %}</title>
+        {% block extrahead %}
+        {% endblock %}
+    </head>
+    <body id="{% block bodyid %}base{% endblock %}">
+
+    <div id="loading-overlay">
+       <div id="loading-message">
+               <img src="{{STATIC_URL}}img/spinner.gif" alt="Loading" />
+               <p>{% trans "Loading" %}</p>
+       </div>
+       </div>
+
+       <div id="body-wrap">
+               <!-- version: {{ APP_VERSION }} -->
+        <div id="content">{% block maincontent %} {% endblock %}</div>
+        </div>
+    <script type="text/javascript" src="//ajax.googleapis.com/ajax/libs/jquery/1.6.4/jquery.min.js"></script>
+    {% block extrabody %}{% endblock %}
+    </body>
+</html>