X-Git-Url: https://git.mdrn.pl/fnpeditor.git/blobdiff_plain/635d44e05306b5bd5f5238a31a122528fee1e779..25dbd250996753d1fbd63201fe75a87949c106d6:/src/editor/modules/mainBar/template.html diff --git a/src/editor/modules/mainBar/template.html b/src/editor/modules/mainBar/template.html index eeecd62..59f0708 100644 --- a/src/editor/modules/mainBar/template.html +++ b/src/editor/modules/mainBar/template.html @@ -1,8 +1,12 @@ <div class="rng-module-mainBar"> - <ul> - <li>wersja: <span class="version"></span></li> - <li><a href="#" data-cmd="drop-draft"><%= 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 class="top"> + <%= userName %> (<a href="/"><%= gettext('Exit') %></a>) + </div> + <div style="clear:both;"></div> + <div class="bottom"> + <ul> + <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> + </ul> + </div> </div> \ No newline at end of file