Panele posiadaja teraz obiekt kontroller, który trzyma ich stan. TODO: lepsza inicjal...
[redakcja.git] / project / templates / base.html
index 6e9c389..db77baa 100644 (file)
@@ -3,16 +3,21 @@
 <html xmlns="http://www.w3.org/1999/xhtml" xmlns:p="http://platforma.wolnelektury.pl/">
     <head>
         <meta http-equiv="Content-type" content="text/html; charset=utf-8" />
-        <title>{% block title %}Platforma Redakcyjna{% endblock %}</title>
+        <title>{% block title %}Platforma Redakcyjna{% block subtitle %}{% endblock subtitle %}{% endblock title%}</title>
         <link rel="stylesheet" href="/static/css/master.css" type="text/css" />
         <script src="/static/js/jquery.js" type="text/javascript" charset="utf-8"></script>
+               <script src="/static/js/jquery.logging.js" type="text/javascript" charset="utf-8"></script> 
         {% block extrahead %}
         {% endblock %}
     </head>
     <body id="{% block bodyid %}base{% endblock %}">
-        <div id="breadcrumbs">{% block breadcrumbs %}Platforma Redakcyjna{% endblock breadcrumbs %}</div>
-        {% block maincontent %}
-            
-        {% endblock %}
+       <div id="header">
+               <span id="breadcrumbs">{% block breadcrumbs %}Platforma Redakcyjna{% endblock breadcrumbs %}</span>
+               <span id="header-right-toolbar">
+                       {% block header-toolbar %}{% endblock %}
+                       <span id="login_info">{% include "registration/head_login.html" %}</span>
+               </span>
+       </div>
+    {% block maincontent %} {% endblock %}  
     </body>
 </html>