diff --git a/site/plugins/admin/app/Controllers/EntriesController.php b/site/plugins/admin/app/Controllers/EntriesController.php index 9f790fc4..184fe5e8 100644 --- a/site/plugins/admin/app/Controllers/EntriesController.php +++ b/site/plugins/admin/app/Controllers/EntriesController.php @@ -642,7 +642,7 @@ class EntriesController extends Controller 'save_entry' => [ 'link' => 'javascript:;', 'title' => __('admin_save'), - 'attributes' => ['class' => 'js-save-editor-form-submit float-right btn'] + 'attributes' => ['class' => 'js-save-form-submit float-right btn'] ], ] ] @@ -684,7 +684,7 @@ class EntriesController extends Controller 'save_entry' => [ 'link' => 'javascript:;', 'title' => __('admin_save'), - 'attributes' => ['class' => 'js-save-editor-form-submit float-right btn'] + 'attributes' => ['class' => 'js-save-form-submit float-right btn'] ], ] ] @@ -725,7 +725,7 @@ class EntriesController extends Controller 'save_entry' => [ 'link' => 'javascript:;', 'title' => __('admin_save'), - 'attributes' => ['class' => 'js-save-editor-form-submit float-right btn'] + 'attributes' => ['class' => 'js-save-form-submit float-right btn'] ], ] ] diff --git a/site/plugins/admin/views/partials/base.html b/site/plugins/admin/views/partials/base.html index db45d72c..754864dd 100644 --- a/site/plugins/admin/views/partials/base.html +++ b/site/plugins/admin/views/partials/base.html @@ -252,91 +252,9 @@ {% include "plugins/admin/views/partials/clipboard.html" %} {% include "plugins/admin/views/partials/custom-file-input.html" %} {% include "plugins/admin/views/partials/trumbowyg.html" %} + {% include "plugins/admin/views/partials/codemirror.html" %} + {% include "plugins/admin/views/partials/forms-save.html" %} - + {% block tail %}{% endblock %} diff --git a/site/plugins/admin/views/partials/codemirror.html b/site/plugins/admin/views/partials/codemirror.html new file mode 100644 index 00000000..9fc5fd52 --- /dev/null +++ b/site/plugins/admin/views/partials/codemirror.html @@ -0,0 +1,51 @@ + diff --git a/site/plugins/admin/views/partials/forms-save.html b/site/plugins/admin/views/partials/forms-save.html new file mode 100644 index 00000000..12c8f9fc --- /dev/null +++ b/site/plugins/admin/views/partials/forms-save.html @@ -0,0 +1,5 @@ + diff --git a/site/plugins/admin/views/templates/content/entries/media.html b/site/plugins/admin/views/templates/content/entries/media.html index b1acd89b..76fca3bc 100644 --- a/site/plugins/admin/views/templates/content/entries/media.html +++ b/site/plugins/admin/views/templates/content/entries/media.html @@ -72,3 +72,15 @@ {% endblock %} + +{% block tail %} + +{% endblock %} diff --git a/site/plugins/admin/views/templates/content/entries/source.html b/site/plugins/admin/views/templates/content/entries/source.html index 1ae6e564..26a913ba 100644 --- a/site/plugins/admin/views/templates/content/entries/source.html +++ b/site/plugins/admin/views/templates/content/entries/source.html @@ -9,7 +9,7 @@
- +
diff --git a/site/plugins/admin/views/templates/extends/fieldsets/edit.html b/site/plugins/admin/views/templates/extends/fieldsets/edit.html index a9874288..209493c2 100644 --- a/site/plugins/admin/views/templates/extends/fieldsets/edit.html +++ b/site/plugins/admin/views/templates/extends/fieldsets/edit.html @@ -8,7 +8,7 @@
- +
diff --git a/site/plugins/admin/views/templates/extends/plugins/index.html b/site/plugins/admin/views/templates/extends/plugins/index.html index 5785ea20..ef536ec0 100644 --- a/site/plugins/admin/views/templates/extends/plugins/index.html +++ b/site/plugins/admin/views/templates/extends/plugins/index.html @@ -73,5 +73,21 @@ - +{% endblock %} + +{% block tail %} + {% endblock %} diff --git a/site/plugins/admin/views/templates/extends/snippets/edit.html b/site/plugins/admin/views/templates/extends/snippets/edit.html index 662b5021..a3241a4c 100644 --- a/site/plugins/admin/views/templates/extends/snippets/edit.html +++ b/site/plugins/admin/views/templates/extends/snippets/edit.html @@ -8,7 +8,7 @@
- +
diff --git a/site/plugins/admin/views/templates/extends/snippets/index.html b/site/plugins/admin/views/templates/extends/snippets/index.html index 3d7cc509..2547bd59 100644 --- a/site/plugins/admin/views/templates/extends/snippets/index.html +++ b/site/plugins/admin/views/templates/extends/snippets/index.html @@ -86,3 +86,13 @@ {% endblock %} + +{% block tail %} + +{% endblock %} diff --git a/site/plugins/admin/views/templates/extends/themes/templates/edit.html b/site/plugins/admin/views/templates/extends/themes/templates/edit.html index 48b31b05..bf7bbcab 100644 --- a/site/plugins/admin/views/templates/extends/themes/templates/edit.html +++ b/site/plugins/admin/views/templates/extends/themes/templates/edit.html @@ -10,7 +10,7 @@
- +