1
0
mirror of https://github.com/flextype/flextype.git synced 2025-08-24 13:52:56 +02:00

style(admin-plugin): dimm status input for default plugins #268

This commit is contained in:
Awilum
2019-10-24 22:41:22 +03:00
parent 085fc67ff8
commit fdcbdeeed2
2 changed files with 5 additions and 1 deletions

View File

@@ -51,3 +51,7 @@
.margin-top-none {
margin-top: 0!important;
}
.opacity-50 {
opacity: .5;
}

View File

@@ -15,7 +15,7 @@
<td style="padding-left:0px;"><a href="{{ path_for('admin.plugins.edit') }}?id={{ key }}">{{ plugin.name }}</a></td>
<td class="text-right" style="width: 50px;">
<div class="form-group no-margin">
<span class="switch switch-sm">
<span class="switch switch-sm {% if key == 'admin' or key == 'site' or key == '' %}opacity-50{% endif %}">
<input id="switch-sm-{{ key }}"
onclick="event.preventDefault();
document.getElementById('update-status-{{ key }}').submit();"