Poprawienie wyglądu tytułu dokumentu w document_details.html.
[redakcja.git] / platforma / templates / wiki / document_details.html
index 8a05589..64fc89a 100644 (file)
@@ -2,6 +2,7 @@
 {% load toolbar_tags %}
 
 {% block extrahead %}
 {% load toolbar_tags %}
 
 {% block extrahead %}
+    <link rel="stylesheet" href="{{STATIC_URL}}css/html.css" type="text/css" media="screen" charset="utf-8">
     <script src="{{STATIC_URL}}js/lib/codemirror/codemirror.js" type="text/javascript" charset="utf-8"></script>
     <script src="{{STATIC_URL}}js/lib/jquery.splitter.js" type="text/javascript" charset="utf-8"></script>
     <script src="{{STATIC_URL}}js/lib/jquery.form.js" type="text/javascript" charset="utf-8"></script>
     <script src="{{STATIC_URL}}js/lib/codemirror/codemirror.js" type="text/javascript" charset="utf-8"></script>
     <script src="{{STATIC_URL}}js/lib/jquery.splitter.js" type="text/javascript" charset="utf-8"></script>
     <script src="{{STATIC_URL}}js/lib/jquery.form.js" type="text/javascript" charset="utf-8"></script>
@@ -57,7 +58,7 @@
                 result.push('>');
             }
             
                 result.push('>');
             }
             
-            if (element.tagName == 'akap' || element.tagName == 'akap_dialog') {
+            if (element.tagName == 'akap' || element.tagName == 'akap_dialog' || element.tagName == 'akap_cd') {
                 result.push('\n\n\n');
             } else if (element.tagName == 'rdf:RDF') {
                 result.push('\n\n\n\n\n');
                 result.push('\n\n\n');
             } else if (element.tagName == 'rdf:RDF') {
                 result.push('\n\n\n\n\n');
             margin: 0;
             overflow: hidden;
             padding: 0;
             margin: 0;
             overflow: hidden;
             padding: 0;
+            min-width: 960px;
         }
         
         .vsplitbar {
         }
         
         .vsplitbar {
             float: left;
             padding: 3px 6px 2px 6px;
             color: #222;
             float: left;
             padding: 3px 6px 2px 6px;
             color: #222;
+            line-height: 20px;
         }
         
         #tabs {
         }
         
         #tabs {
             border-radius: 10px;
         }
         
             border-radius: 10px;
         }
         
+        /* Remove extra padding in Firefox */
+        button::-moz-focus-inner { 
+            border: 0;
+            padding: 0;
+        }
+        
         p { margin: 0;}
     </style>
 {% endblock %}
         p { margin: 0;}
     </style>
 {% endblock %}
                     <input type="hidden" name="comment" value="no comment" />
                     <input type="hidden" name="revision" value="{{ document.revision }}" />
                 </div>
                     <input type="hidden" name="comment" value="no comment" />
                     <input type="hidden" name="revision" value="{{ document.revision }}" />
                 </div>
-                <div id="simple-editor" style="display: none">
+                <div id="simple-editor" class="htmlview" style="display: none">
                 </div>
             </div>
 
                 </div>
             </div>