diff --git a/app/__pycache__/routes.cpython-313.pyc b/app/__pycache__/routes.cpython-313.pyc index cfd31be..f55cb1e 100644 Binary files a/app/__pycache__/routes.cpython-313.pyc and b/app/__pycache__/routes.cpython-313.pyc differ diff --git a/app/templates/admin/_menu-edit.html b/app/templates/admin/_menu-edit.html index 8673e1d..8b13789 100644 --- a/app/templates/admin/_menu-edit.html +++ b/app/templates/admin/_menu-edit.html @@ -1,62 +1 @@ -
- -
- - - - - - - diff --git a/app/templates/edit-tools/css/toolbar.css b/app/templates/edit-tools/css/toolbar.css new file mode 100644 index 0000000..1c533b9 --- /dev/null +++ b/app/templates/edit-tools/css/toolbar.css @@ -0,0 +1,18 @@ + + diff --git a/app/templates/edit-tools/css/toolbar.css~ b/app/templates/edit-tools/css/toolbar.css~ new file mode 100644 index 0000000..326726f --- /dev/null +++ b/app/templates/edit-tools/css/toolbar.css~ @@ -0,0 +1,17 @@ + + +.msginfo +{ + color: white; + font-weight:bold; +} + +.msginfo .success +{ + background-color: green; + +} + +.msginfo .error{ + background-color: red +} diff --git a/app/templates/edit-tools/js/dropzone b/app/templates/edit-tools/js/dropzone index 150bba4..e69de29 100644 --- a/app/templates/edit-tools/js/dropzone +++ b/app/templates/edit-tools/js/dropzone @@ -1,27 +0,0 @@ - - - diff --git a/app/templates/edit-tools/toolbar.html b/app/templates/edit-tools/toolbar.html new file mode 100644 index 0000000..1c533b9 --- /dev/null +++ b/app/templates/edit-tools/toolbar.html @@ -0,0 +1,18 @@ + + diff --git a/app/templates/edit.html.tpl~ b/app/templates/edit.html.tpl~ new file mode 100644 index 0000000..7a4215c --- /dev/null +++ b/app/templates/edit.html.tpl~ @@ -0,0 +1,35 @@ +{% extends 'index.html.tpl' %} + +{% block css %} +{% include 'edit-tools/css/dropzone' %} + +{% endblock %} + +{% block body %} + +{% include config.theme+'/_nav.html' %} +{% include config.theme+'/_navtool.html' %} + +{% for bloc in myblocs.values() %} + +{% if blocEdit == bloc.name %} +{% include config.theme+'/_'+bloc.type+'-edit.html' %} +{% else %} +{% include config.theme+'/_'+bloc.type+'.html' %} + + + +{% endif %} +{% endfor %} +{% include '_flash_msgs.html' %} + +{% endblock %} + +{% block js %} + +{% endblock %}