forked from MarseyWorld/MarseyWorld
verified fixes again
parent
099639b4d8
commit
af696a2f9c
|
@ -373,7 +373,7 @@ def gumroad(v):
|
||||||
@limiter.limit("1/second;30/minute;200/hour;1000/day", key_func=lambda:f'{SITE}-{session.get("lo_user")}')
|
@limiter.limit("1/second;30/minute;200/hour;1000/day", key_func=lambda:f'{SITE}-{session.get("lo_user")}')
|
||||||
@auth_required
|
@auth_required
|
||||||
def titlecolor(v):
|
def titlecolor(v):
|
||||||
return set_color(v, "title", request.values.get("titlecolor"))
|
return set_color(v, "titlecolor", request.values.get("titlecolor"))
|
||||||
|
|
||||||
@app.post("/settings/verifiedcolor")
|
@app.post("/settings/verifiedcolor")
|
||||||
@limiter.limit("1/second;30/minute;200/hour;1000/day")
|
@limiter.limit("1/second;30/minute;200/hour;1000/day")
|
||||||
|
|
|
@ -28,7 +28,7 @@
|
||||||
<input autocomplete="off" type="radio" name="{{form_name}}" id="{{id}}-{{themecolor}}" value="{{themecolor}}" {% if current_color == themecolor %}checked{% endif %} onclick="document.getElementById('{{id}}-form').submit()">
|
<input autocomplete="off" type="radio" name="{{form_name}}" id="{{id}}-{{themecolor}}" value="{{themecolor}}" {% if current_color == themecolor %}checked{% endif %} onclick="document.getElementById('{{id}}-form').submit()">
|
||||||
<label class="color-radio" for="{{id}}-{{themecolor}}">
|
<label class="color-radio" for="{{id}}-{{themecolor}}">
|
||||||
<span style="background-color: #{{themecolor}}">
|
<span style="background-color: #{{themecolor}}">
|
||||||
{% if current_color.lower() == themecolor %}
|
{% if current_color and current_color.lower() == themecolor %}
|
||||||
<i class="fas fa-check text-white"></i>
|
<i class="fas fa-check text-white"></i>
|
||||||
{% else %}
|
{% else %}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue