Dodanie skryptu do przycinania obrazków.
[redakcja.git] / project / templates / base.html
index 89ebe66..5480999 100644 (file)
@@ -4,19 +4,23 @@
     <head>
         <meta http-equiv="Content-type" content="text/html; charset=utf-8" />
         <title>{% block title %}Platforma Redakcyjna{% block subtitle %}{% endblock subtitle %}{% endblock title%}</title>
     <head>
         <meta http-equiv="Content-type" content="text/html; charset=utf-8" />
         <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> 
+        <link rel="stylesheet" href="{{ STATIC_URL }}css/master.css" type="text/css" />
+        <script src="{{ STATIC_URL }}js/jquery.js" type="text/javascript" charset="utf-8"></script>
+               <script src="{{ STATIC_URL }}js/jquery.logging.js" type="text/javascript" charset="utf-8"></script>
         {% block extrahead %}
         {% endblock %}
     </head>
     <body id="{% block bodyid %}base{% endblock %}">
        <div id="header">
         {% block extrahead %}
         {% endblock %}
     </head>
     <body id="{% block bodyid %}base{% endblock %}">
        <div id="header">
-          <span id="breadcrumbs">{% block breadcrumbs %}Platforma Redakcyjna{% endblock breadcrumbs %}</span>
-          <span id="login_info">{% include "registration/head_login.html" %}</span>
+               <span id="breadcrumbs">{% block breadcrumbs %}<a href="{% url file_list %}">Platforma Redakcyjna</a>{% endblock breadcrumbs %}</span>
+               <span id="header-right-toolbar">
+                       {% block header-toolbar %}{% endblock %}
+                       <span id="login_info">{% include "registration/head_login.html" %}</span>
+               </span>
+        <div id="message-box">{% block message-box %} {% endblock %}</div>
        </div>
        </div>
-        {% block maincontent %}
-            
-        {% endblock %}
+    <div id="content">{% block maincontent %} {% endblock %}</div>
+
+    {% block extrabody %} {% endblock %}
     </body>
 </html>
     </body>
 </html>