diff --git a/cfp/templates/cfp/admin/category_form.html b/cfp/templates/cfp/admin/category_form.html new file mode 100644 index 0000000..1fb03bb --- /dev/null +++ b/cfp/templates/cfp/admin/category_form.html @@ -0,0 +1,33 @@ +{% extends 'cfp/admin/base.html' %} + +{% load bootstrap3 i18n %} + +{% block categoriestab %} class="active"{% endblock %} + +{% block css %} +{{ block.super }} +{{ form.media.css }} +{% endblock %} + +{% block content %} + +

+ {% if tag %} + {% trans "Edit category" %} + {% else %} + {% trans "New category" %} + {% endif %} +

+ +
+
+{% include "_form.html" %} +
+
+ +{% endblock %} + +{% block js_end %} +{{ block.super }} +{{ form.media.js }} +{% endblock %} diff --git a/cfp/templates/cfp/admin/category_list.html b/cfp/templates/cfp/admin/category_list.html new file mode 100644 index 0000000..3fec586 --- /dev/null +++ b/cfp/templates/cfp/admin/category_list.html @@ -0,0 +1,26 @@ +{% extends 'cfp/admin/base.html' %} + +{% load bootstrap3 cfp_tags i18n %} + +{% block categoriestab %} class="active"{% endblock %} + +{% block content %} + +

{% trans "Categories" %}

+ +

{% trans "Add a category" %}

+ +

+ +{% endblock %} diff --git a/cfp/templates/cfp/admin/tag_form.html b/cfp/templates/cfp/admin/tag_form.html new file mode 100644 index 0000000..79d7d1c --- /dev/null +++ b/cfp/templates/cfp/admin/tag_form.html @@ -0,0 +1,33 @@ +{% extends 'cfp/admin/base.html' %} + +{% load bootstrap3 i18n %} + +{% block tagstab %} class="active"{% endblock %} + +{% block css %} +{{ block.super }} +{{ form.media.css }} +{% endblock %} + +{% block content %} + +

+ {% if tag %} + {% trans "Edit tag" %} + {% else %} + {% trans "New tag" %} + {% endif %} +

+ +
+
+{% include "_form.html" %} +
+
+ +{% endblock %} + +{% block js_end %} +{{ block.super }} +{{ form.media.js }} +{% endblock %} diff --git a/cfp/templates/cfp/admin/tag_list.html b/cfp/templates/cfp/admin/tag_list.html new file mode 100644 index 0000000..26455c9 --- /dev/null +++ b/cfp/templates/cfp/admin/tag_list.html @@ -0,0 +1,26 @@ +{% extends 'cfp/admin/base.html' %} + +{% load bootstrap3 cfp_tags i18n %} + +{% block tagstab %} class="active"{% endblock %} + +{% block content %} + +

{% trans "Tags" %}

+ +

{% trans "Add a tag" %}

+ +

+ +{% endblock %}