aboutsummaryrefslogtreecommitdiffstats
path: root/accounts/templates
diff options
context:
space:
mode:
authorAndrea Lepori <aleporia@gmail.com>2024-11-12 15:53:42 +0100
committerAndrea Lepori <aleporia@gmail.com>2024-11-12 15:53:42 +0100
commitac2845b70d7e5a5ab0b9af0610910bc8e59a1fda (patch)
tree10fec1166a85538b26942efb2471faef4575cdf9 /accounts/templates
parentadd new materialize v2 (diff)
downloadscout-subs-ac2845b70d7e5a5ab0b9af0610910bc8e59a1fda.tar.gz
scout-subs-ac2845b70d7e5a5ab0b9af0610910bc8e59a1fda.zip
add option to change to new css
Diffstat (limited to 'accounts/templates')
-rw-r--r--accounts/templates/accounts/index.html27
1 files changed, 27 insertions, 0 deletions
diff --git a/accounts/templates/accounts/index.html b/accounts/templates/accounts/index.html
index 921cc81..aaba6a8 100644
--- a/accounts/templates/accounts/index.html
+++ b/accounts/templates/accounts/index.html
@@ -59,6 +59,33 @@
</div>
</div>
</div>
+ <div class="card-panel">
+ <form action="{% url 'personal'%}" id="form3" method="post">
+ {% csrf_token %}
+ <input type="hidden" name="action" id="action" value="css">
+ <div class="row">
+ <div class="col s12">
+ <h5>Opzioni di visualizzazione</h5>
+ </div>
+ </div>
+ <div class="row">
+ <div class="switch col s12">
+ Stile
+ <label>
+ Vecchio
+ <input name="css" type="checkbox" {{css_check}}>
+ <span class="lever"></span>
+ Nuovo (beta, potrebbero esserci problemi di visualizzazione)
+ </label>
+ </div>
+ </div>
+ <div class="row">
+ <div class="col s12">
+ <button onclick="document.getElementById(form3).submit()" class="btn waves-effect waves-light {{color}}">Applica</button>
+ </div>
+ </div>
+ </form>
+ </div>
</div>
</div>
{% endblock %}