hobo/hobo/theme/templates/hobo/theme_home.html

33 lines
927 B
HTML

{% extends "hobo/base.html" %}
{% load i18n %}
{% block breadcrumb %}
{{ block.super }}
<a href="{% url 'theme-home' %}">{% trans 'Theme' %}</a>
{% endblock %}
{% block appbar %}
<h2>{% trans 'Theme' %}</h2>
<span class="actions">
<a rel="popup" href="{% url 'theme-options' %}">{% trans 'Options' %}</a>
</span>
{% endblock %}
{% block content %}
<form action="{% url 'theme-select' %}" method="post">
{% csrf_token %}
<div class="objects-list" id="themes-list">
{% for theme in themes %}
<div data-id="{{theme.id}}">
<label style="border-color: {{theme.variables.theme_color}}"><input type="radio" name="theme" value="{{theme.id}}" {% if theme.id == selected_theme %}checked="checked"{% endif %}/>{{theme.label}}</label>
</div>
{% endfor %}
</div>
<div class="buttons">
<button>{% trans "Submit" %}</button>
</div>
</form>
{% endblock %}