X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/eb77cf373a37d609fcf39626c36d2878d4a60e6c..e823ad27e90d5cba05fb2ea8ac2a0d258be2f707:/project/templates/explorer/editor.html diff --git a/project/templates/explorer/editor.html b/project/templates/explorer/editor.html index d3c51966..f7e827fe 100644 --- a/project/templates/explorer/editor.html +++ b/project/templates/explorer/editor.html @@ -44,30 +44,7 @@ </script> {% endblock extrahead %} -{% block extrabody %} - <script type="text/javascript" charset="utf-8"> - $(function() { - {% for scriptlet in scriptlets %} - editor.registerScriptlet("{{scriptlet.name}}", - function(editor, panel, params) { - {{ scriptlet.code|safe }} - }); - {% endfor %} - }); - </script> -{% endblock extrabody %} - -{% load explorer_tags %} - -{% block breadcrumbs %}<a href="{% url file_list %}">Platforma Redakcyjna</a> > {{ fileid|bookname }}{% endblock breadcrumbs %} - -{% block header-toolbar %} -<button type="button" class="requires-save toolbar-button" id="toolbar-button-commit">Merge</button> -<button type="button" class="requires-save toolbar-button" id="toolbar-button-update" - ui:ajax-action="{% url file_update fileid %}">Update</button> -<button type="button" class="provides-save toolbar-button" id="toolbar-button-save" disabled="disabled">Commit</button> -<button type="button" class="provides-save toolbar-button" id="toolbar-button-quick-save" disabled="disabled">Quick Save</button> -{% endblock %} +{% block breadcrumbs %}<a href="{% url file_list %}">Platforma Redakcyjna</a> > {{ fileid }}{% endblock breadcrumbs %} {% block message-box %} <div class="msg-info" id="save-waiting"><p>ZapisujÄ dane na serwerze.</p><p class="data"></p></div>