diff --git a/twig/javascript/page-edit.html.twig b/skeleton/novaconium/public/js/tabs.js similarity index 59% rename from twig/javascript/page-edit.html.twig rename to skeleton/novaconium/public/js/tabs.js index a44b722..58a5e5e 100644 --- a/twig/javascript/page-edit.html.twig +++ b/skeleton/novaconium/public/js/tabs.js @@ -1,15 +1,16 @@ - \ No newline at end of file + +// Export switchTab for external use if needed +window.switchTab = switchTab; diff --git a/twig/cp/control-panel.html.twig b/twig/cp/control-panel.html.twig index d186915..2a9ca7f 100644 --- a/twig/cp/control-panel.html.twig +++ b/twig/cp/control-panel.html.twig @@ -2,7 +2,7 @@
- {% include ['@override/head.html.twig', '@novaconium/head.html.twig'] %} + {% include ['@novaconium/cp/head.html.twig'] %} @@ -27,8 +27,6 @@ - - {% include '@novaconium/javascript/page-edit.html.twig' %} {% if editor == 'ace' %} {% include '@novaconium/javascript/ace.html.twig' %} diff --git a/twig/cp/head.html.twig b/twig/cp/head.html.twig new file mode 100644 index 0000000..ce68163 --- /dev/null +++ b/twig/cp/head.html.twig @@ -0,0 +1,60 @@ +{# ============================================================================= + + ============================================================================= +#} + + + +