From: zuber Date: Thu, 3 Dec 2009 11:14:22 +0000 (+0100) Subject: Dodanie funkcji do ulepszonej serializacji XMLa. X-Git-Url: https://git.mdrn.pl/redakcja.git/commitdiff_plain/6e769eb123cc216e4ba642d3a6d943dfd3fa0abe?ds=sidebyside Dodanie funkcji do ulepszonej serializacji XMLa. --- diff --git a/platforma/templates/wiki/document_details.html b/platforma/templates/wiki/document_details.html index ebb7242e..e4c69eda 100644 --- a/platforma/templates/wiki/document_details.html +++ b/platforma/templates/wiki/document_details.html @@ -3,7 +3,62 @@ {% block extrahead %} + @@ -38,35 +187,54 @@ body { margin: 0; + overflow: hidden; + padding: 0; } + .vsplitbar { - width: 15px; - background: #C1C1C1 url(/static/img/gallery.png) no-repeat scroll 2px 2px; - border-left: 1px solid #777; + width: 14px; + background: #EEE url(/static/img/gallery.png) no-repeat scroll center center; + border-left: 1px solid #999; + cursor: col-resize; } .active { background-color: #DDD; } - #splitter { -/* height: 200px;*/ -/* width: 500px;*/ -/* border: 2px solid #B3B3B3;*/ + #simple-editor { + overflow: auto; + height: 100%; } #sidebar { overflow: auto; + padding: 5px; } - #sidebar { - background: #989944; + #header { + margin: 0; + padding: 0; + background-color: #C1C1C1; + background-image: -webkit-gradient(linear, left top, left bottom, from(#C1C1C1), color-stop(0.9, #A2A2A2)); + font: 11px Helvetica, Verdana, sans-serif; + font-weight: bold; + } + + #header h1 { + margin: 0; + padding: 0; + font: 17px Helvetica, Verdana, sans-serif; + font-weight: bold; + float: left; + padding: 3px 6px 2px 6px; + color: #222; } #tabs { margin: 0; padding: 0; - background-color: #C1C1C1; + width: 100%; height: 22px; padding-top: 2px; @@ -74,22 +242,21 @@ } #tabs li { + -webkit-user-select: none; + cursor: default; display: block; float: left; -/* width: 140px;*/ padding: 5px 12px 3px 12px; border: 1px solid #999; -webkit-border-radius: 4px; -webkit-border-bottom-left-radius: 0; -webkit-border-bottom-right-radius: 0; - font: 11px Helvetica, Verdana, sans-serif; font-weight: bold; color: #222; /* text-shadow: #CCC 1px 1px 1px;*/ height: 13px; - background-color: #A2A2A2; - background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0.25, #A2A2A2), to(#C1C1C1)); -/* -webkit-box-shadow: 2px 0px 2px #888;*/ + background-color: #C1C1C1; + -webkit-box-shadow: 1px -1px 2px rgba(127, 127, 127, 0.25); margin-left: 4px; margin-bottom: -1px; } @@ -104,26 +271,33 @@ {% endblock %} {% block maincontent %} - -
-
-
- {{ form.text }} - {# #} - {#

Autor: {{ form.author }}

#} - {#

Komentarz: {{ form.comment }}

#} - {#

#} -
+
+ +
+
+
+ {{ form.text }} + + + + +
+ +
- -
+
{% endblock %} \ No newline at end of file