slightly improve book.publish
[redakcja.git] / redakcja / templates / base.html
index 3e725d4..65174e4 100644 (file)
@@ -1,10 +1,10 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
-    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!DOCTYPE html >
 {% load i18n %}
 {% 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 %}{% trans "Platforma Redakcyjna" %}{% block subtitle %}{% endblock subtitle %}{% endblock title%}</title>
+<html>
+    <head lang="{{ LANGUAGE_CODE }}">
+        <meta charset="utf-8" />
+        <title>{% block title %}{% trans "Platforma Redakcyjna" %} ::
+            {% block titleextra %}{% endblock titleextra %}{% endblock title%}</title>
         {% block extrahead %}
         {% endblock %}
     </head>
         {% block extrahead %}
         {% endblock %}
     </head>
@@ -12,7 +12,7 @@
 
     <div id="loading-overlay">
        <div id="loading-message">
 
     <div id="loading-overlay">
        <div id="loading-message">
-               <img src="{{STATIC_URL}}img/spinner.gif" />
+               <img src="{{STATIC_URL}}img/spinner.gif" alt="Loading" />
                <p>{% trans "Loading" %}</p>
        </div>
        </div>
                <p>{% trans "Loading" %}</p>
        </div>
        </div>
@@ -21,7 +21,7 @@
                <!-- version: {{ APP_VERSION }} -->
         <div id="content">{% block maincontent %} {% endblock %}</div>
         </div>
                <!-- version: {{ APP_VERSION }} -->
         <div id="content">{% block maincontent %} {% endblock %}</div>
         </div>
-    <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.6.4/jquery.min.js"></script>
+    <script type="text/javascript" src="//ajax.googleapis.com/ajax/libs/jquery/1.6.4/jquery.min.js"></script>
     {% block extrabody %}{% endblock %}
     </body>
 </html>
     {% block extrabody %}{% endblock %}
     </body>
 </html>