Basic changes, to display nicer names.
[redakcja.git] / redakcja / templates / base.html
index ac728d0..bcdbcc3 100644 (file)
@@ -1,13 +1,22 @@
 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
     "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+{% load i18n %}
 <html xmlns="http://www.w3.org/1999/xhtml">
     <head>
         <meta http-equiv="Content-type" content="text/html; charset=utf-8" />
-        <title>{% block title %}Platforma Redakcyjna{% block subtitle %}{% endblock subtitle %}{% endblock title%}</title>
+        <title>{% block title %}{% trans "Platforma Redakcyjna" %}{% block subtitle %}{% endblock subtitle %}{% endblock title%}</title>
         {% block extrahead %}
         {% endblock %}
     </head>
     <body id="{% block bodyid %}base{% endblock %}">
+    
+    <div id="loading-overlay" style="display: none;">
+       <div id="loading-message">
+               <img src="{{STATIC_URL}}img/spinner.gif" />
+               <p>{% trans "Loading" %}</p>
+       </div>
+       </div>
+       
        <div id="body-wrap">
         <div id="content">{% block maincontent %} {% endblock %}</div>
         </div>