mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-08-26 12:46:08 +00:00
letsencrypt: UI: Fix checkbox disabling
Disable checkboxes using HTML attribute instead of CSS class Signed-off-by: Joseph Nuthalapati <njoseph@thoughtworks.com> Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
This commit is contained in:
parent
0564dc558b
commit
df978ce8ee
@ -163,8 +163,7 @@
|
|||||||
{% trans "Update config" %}</button>
|
{% trans "Update config" %}</button>
|
||||||
</noscript>
|
</noscript>
|
||||||
{% else %}
|
{% else %}
|
||||||
<input type="checkbox" name="toggle_hooks" id="id_toggle_hooks"
|
<input type="checkbox" name="toggle_hooks" id="id_toggle_hooks" disabled></input>
|
||||||
class="disabled"></input>
|
|
||||||
<noscript>
|
<noscript>
|
||||||
<button class="btn btn-sm btn-default disabled" type="submit">
|
<button class="btn btn-sm btn-default disabled" type="submit">
|
||||||
{% trans "Update config" %}</button>
|
{% trans "Update config" %}</button>
|
||||||
@ -210,8 +209,7 @@
|
|||||||
{% trans "Update config" %}</button>
|
{% trans "Update config" %}</button>
|
||||||
</noscript>
|
</noscript>
|
||||||
{% else %}
|
{% else %}
|
||||||
<input type="checkbox" name="ejabberd" id="ejabberd"
|
<input type="checkbox" name="ejabberd" id="ejabberd" disabled></input>
|
||||||
class="disabled"></input>
|
|
||||||
<noscript>
|
<noscript>
|
||||||
<button class="btn btn-sm btn-default disabled" type="submit">
|
<button class="btn btn-sm btn-default disabled" type="submit">
|
||||||
{% trans "Update config" %}</button>
|
{% trans "Update config" %}</button>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user