assigning tickets, new ui
[redakcja.git] / apps / wiki / templates / wiki / base.html
index f88fac3..85abaaf 100644 (file)
@@ -1,18 +1,36 @@
-{% extends "base.html" %}
 {% load compressed i18n %}
+{% load wiki %}
+<!DOCTYPE html>
+<html>
+<head>
+    <meta http-equiv="Content-type" content="text/html; charset=utf-8" />
+    {% compressed_css 'listing' %}
+    <link rel="stylesheet" type="text/css" href="{{ STATIC_URL }}style.css" />
+    <title>{% block title %}{% trans "Platforma Redakcyjna" %}{% endblock title %}</title>
+</head>
+<body>
 
-{% block title %}{{ document_name }} - {{ block.super }}{% endblock %}
+<div id="tabs-nav">
 
-{% block extrahead %}
-{% compressed_css 'listing' %}
-{% endblock %}
+    <img id="logo" src="{{ STATIC_URL }}img/wl-orange.png" />
 
-{% block extrabody %}
-{% compressed_js 'listing' %}
-{% endblock %}
+    <div id="tabs-nav-left">
+        {% main_tabs %}
+        <!--a {% ifequal active_tab "user" %}class="active" {% endifequal %}href="{% url wiki_user %}">{% trans "User" %}</a>
+        <a {% ifequal active_tab "all" %}class="active" {% endifequal %}href="{% url wiki_document_list %}">{% trans "All" %}</a>
+        <a {% ifequal active_tab "create" %}class="active" {% endifequal %}href="{% url wiki_create_missing %}">{% trans "Add" %}</a>
+        <a {% ifequal active_tab "upload" %}class="active" {% endifequal %}href="{% url wiki_upload %}">{% trans "Upload" %}</a-->
+    </div>
+
+    <span id="login-box">
+        {% include "registration/head_login.html" %}
+    </span>
+
+    <div class='clr' ></div>
+</div>
+
+<div id="content">
 
-{% block maincontent %}
-<h1><img src="{{ STATIC_URL }}img/logo.png">{% trans "Platforma Redakcyjna" %}</h1>
 <div id="wiki_layout_left_column">
        {% block leftcolumn %}
        {% endblock leftcolumn %}
        {% block rightcolumn %}
        {% endblock rightcolumn %}
 </div>
-{% endblock maincontent %}
\ No newline at end of file
+
+</div>
+
+{% compressed_js 'listing' %}
+{% block extrabody %}
+{% endblock %}
+</body>
+</html>