2018-04-25 22:45:46 +02:00
|
|
|
{% extends "base.html" %}
|
|
|
|
{% load widget_tweaks %}
|
|
|
|
|
|
|
|
{% block content %}
|
2018-08-28 18:22:20 +02:00
|
|
|
<div class="container">
|
|
|
|
<h1 class="title">Settings</h1>
|
|
|
|
<form method="post" action="{% url "settings" %}" >
|
|
|
|
{% csrf_token %}
|
|
|
|
</div>
|
|
|
|
<div class="field">
|
|
|
|
<label class="label" for="theme">{{ form.theme.label }}</label>
|
|
|
|
<div class="control has-icons-left">
|
|
|
|
<div class="select">
|
|
|
|
{% render_field form.theme class+="select" %}
|
|
|
|
<span class="icon is-small is-left">
|
|
|
|
<span class="fa fa-paint-brush"></span>
|
|
|
|
</div>
|
2018-08-17 20:50:37 +02:00
|
|
|
</div>
|
2018-08-28 18:22:20 +02:00
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="field">
|
|
|
|
<label class="label checkbox">
|
|
|
|
{% render_field form.filter_replies %}
|
|
|
|
{{ form.filter_replies.label }}
|
|
|
|
</label>
|
|
|
|
</div>
|
|
|
|
<div class="field">
|
|
|
|
<label class="label checkbox"">
|
|
|
|
{% render_field form.filter_boosts %}
|
|
|
|
{{ form.filter_boosts.label }}
|
|
|
|
</label>
|
|
|
|
</div>
|
|
|
|
<div class="field">
|
|
|
|
<label class="label" for="timezone">{{ form.timezone.label }}</label>
|
|
|
|
<div class="control has-icons-left">
|
|
|
|
<div class="select">
|
|
|
|
{% render_field form.timezone class+="select" %}
|
|
|
|
<span class="icon is-small is-left">
|
|
|
|
<span class="fa fa-clock-o"></span>
|
2018-08-21 19:15:10 +02:00
|
|
|
</div>
|
2018-04-25 22:45:46 +02:00
|
|
|
</div>
|
2018-08-28 18:22:20 +02:00
|
|
|
</div>
|
|
|
|
<div class="field">
|
|
|
|
<input type="submit" name="submit"
|
|
|
|
value="Save" class="button is-primary" >
|
|
|
|
</div>
|
|
|
|
</form>
|
|
|
|
</div>
|
2018-04-25 22:45:46 +02:00
|
|
|
{% endblock %}
|