46 lines
1.3 KiB
HTML
46 lines
1.3 KiB
HTML
{% extends "organization/base.html" %}
|
|
{% load i18n %}
|
|
|
|
{% block page-title %}
|
|
{% trans 'Theme management' %}
|
|
{% endblock %}
|
|
|
|
{% block appbar %}
|
|
<h2>{% trans "Theme" %}</h2>
|
|
<a href="{% url "static-upload" organization.slug %}" rel="popup">{% trans "Upload static" %}</a>
|
|
<a href="{% url "template-upload" organization.slug %}" rel="popup">{% trans "Upload template" %}</a>
|
|
|
|
<h3>{% trans "Templates" %}</h3>
|
|
<form action='{% url "template-delete" organization.slug %}'>
|
|
<table>
|
|
<thead>
|
|
<tr><td>{% trans "Filename" %}</td><td></td></tr>
|
|
</thead>
|
|
<tbody>
|
|
{% for template in templates %}
|
|
<tr><td>{{ template }}</td><td> <button name="template" value="{{ template }}" class="icon-delete">{% trans "Remove" %}</button></td></tr>
|
|
{% empty %}
|
|
<tr><td colspan=2>{% trans "No templates uploaded yet" %}</td></tr>
|
|
{% endfor %}
|
|
</tbody>
|
|
</table>
|
|
</form>
|
|
|
|
<h3>{% trans "Statics" %}</h3>
|
|
<form action='{% url "static-delete" organization.slug %}'>
|
|
<table>
|
|
<thead>
|
|
<tr><td>{% trans "Filename" %}</td><td></td></tr>
|
|
</thead>
|
|
<tbody>
|
|
{% for static in statics %}
|
|
<tr><td>{{ static }}</td><td><button name="static" value="{{ static }}" class="icon-delete">{% trans "Remove" %}</button></td></tr>
|
|
{% empty %}
|
|
<tr><td>{% trans "No statics uploaded yet" %}</td></tr>
|
|
{% endfor %}
|
|
</tbody>
|
|
</table>
|
|
</form>
|
|
{% endblock %}
|
|
|