X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/38343a3fc11f5509c8522fec94c0ae7085b7244f..759c804d6c3b8db0ad99dcd5d155396b29ebedd7:/project/templates/base.html?ds=inline diff --git a/project/templates/base.html b/project/templates/base.html index 7e2457bd..06fbc628 100644 --- a/project/templates/base.html +++ b/project/templates/base.html @@ -1,17 +1,28 @@ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"> +<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> - <link rel="stylesheet" href="/static/css/master.css" type="text/css" /> + <title>{% block title %}Platforma Redakcyjna{% block subtitle %}{% endblock subtitle %}{% endblock title%}</title> + <link rel="stylesheet" href="{{ STATIC_URL }}css/master.css" type="text/css" /> + <script src="{{ STATIC_URL }}js/lib/jquery.js" type="text/javascript" charset="utf-8"></script> + <script src="{{ STATIC_URL }}js/lib/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="body-wrap"> + <div id="header"> + <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 id="content">{% block maincontent %} {% endblock %}</div> + + {% block extrabody %}{% endblock %} + </div> </body> </html>