X-Git-Url: https://git.mdrn.pl/fnpeditor.git/blobdiff_plain/c734aa55a5d6186bfc87dd89ef7efafdbc20dacd..76cceaee5424e76b3e260e53821e6f7fee6b31f2:/src/editor/modules/mainBar/template.html

diff --git a/src/editor/modules/mainBar/template.html b/src/editor/modules/mainBar/template.html
index d4746d2..f862c5b 100644
--- a/src/editor/modules/mainBar/template.html
+++ b/src/editor/modules/mainBar/template.html
@@ -1,9 +1,11 @@
 <div class="rng-module-mainBar">
-    <ul>
+    <div class="top">
+        <%= userName %> (<a href="/"><%= gettext('Exit') %></a>)
+    </div>
+    <div style="clear:both;"></div>
+    <ul class="bottom">
         <li>wersja: <span class="version"></span></li>
-        <li><a href="#" data-cmd="drop-draft"><%= gettext('drop a working draft') %></a></li>
-        <li><%= userName %></li>
+        <li><a href="#" data-cmd="drop-draft" data-disabled-text="<%= gettext('no draft exists') %>"><%= gettext('drop a working draft') %></a></li>
         <li><button class="btn btn-mini btn-info" data-cmd="save"><%= gettext('Save') %></button></li>
-        <li><a class="btn btn-mini btn-danger" href="/"><%= gettext('Exit') %></a></li>
     </ul>
 </div>
\ No newline at end of file