add missing templates
This commit is contained in:
parent
97498e36b2
commit
6fd141fb7e
2 changed files with 15 additions and 0 deletions
14
src/c3nav/editor/templates/editor/index.html
Normal file
14
src/c3nav/editor/templates/editor/index.html
Normal file
|
@ -0,0 +1,14 @@
|
|||
{% load bootstrap3 %}
|
||||
{% load i18n %}
|
||||
{% include 'editor/fragment_sections.html' %}
|
||||
|
||||
<a class="btn btn-default btn-sm pull-right" accesskey="n" href="{% url 'editor.sections' %}">{% trans 'Edit sections' %}</a>
|
||||
<h3>{{ section.title }}</h3>
|
||||
<div class="list-group">
|
||||
{% for s in sections %}
|
||||
<a href="{% url 'editor.index' section=s.id %}" class="list-group-item">
|
||||
{{ s.title }}
|
||||
</a>
|
||||
{% endfor %}
|
||||
</div>
|
||||
|
1
src/c3nav/editor/templates/editor/redirect.html
Normal file
1
src/c3nav/editor/templates/editor/redirect.html
Normal file
|
@ -0,0 +1 @@
|
|||
<span data-redirect="{{ target }}"></span>
|
Loading…
Add table
Add a link
Reference in a new issue