diff --git a/site/plugins/admin/views/templates/extends/snippets/add.html b/site/plugins/admin/views/templates/extends/snippets/add.html new file mode 100644 index 00000000..9b6ff31d --- /dev/null +++ b/site/plugins/admin/views/templates/extends/snippets/add.html @@ -0,0 +1,18 @@ +{% extends "plugins/admin/views/partials/base.html" %} + +{% block content %} +
+ {{ csrf() }} +
+
+
+ + +
+
+ +
+
+
+
+{% endblock %} diff --git a/site/plugins/admin/views/templates/extends/snippets/edit.html b/site/plugins/admin/views/templates/extends/snippets/edit.html new file mode 100644 index 00000000..662b5021 --- /dev/null +++ b/site/plugins/admin/views/templates/extends/snippets/edit.html @@ -0,0 +1,16 @@ +{% extends "plugins/admin/views/partials/base.html" %} + +{% block content %} +
+ {{ csrf() }} + + +
+
+
+ +
+
+
+
+{% endblock %} diff --git a/site/plugins/admin/views/templates/extends/snippets/index.html b/site/plugins/admin/views/templates/extends/snippets/index.html new file mode 100644 index 00000000..64df2369 --- /dev/null +++ b/site/plugins/admin/views/templates/extends/snippets/index.html @@ -0,0 +1,50 @@ +{% extends "plugins/admin/views/partials/base.html" %} + +{% block content %} +{% if snippets_list|length > 0 %} + + + + + + + + + {% if snippets_list|length > 0 %} + {% for id in snippets_list %} + + + + + {% endfor %} + {% endif %} + +
{{ tr('admin_name') }}
+ {{ id }} + + + + + {{ tr('admin_delete') }} +
+{% endif %} +{% endblock %} diff --git a/site/plugins/admin/views/templates/extends/snippets/rename.html b/site/plugins/admin/views/templates/extends/snippets/rename.html new file mode 100644 index 00000000..66868b84 --- /dev/null +++ b/site/plugins/admin/views/templates/extends/snippets/rename.html @@ -0,0 +1,20 @@ +{% extends "plugins/admin/views/partials/base.html" %} + +{% block content %} +
+ {{ csrf() }} + + +
+
+
+ + +
+
+ +
+
+
+
+{% endblock %}