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:
@@ -51,3 +51,7 @@
|
||||
.margin-top-none {
|
||||
margin-top: 0!important;
|
||||
}
|
||||
|
||||
.opacity-50 {
|
||||
opacity: .5;
|
||||
}
|
||||
|
@@ -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();"
|
||||
|
Reference in New Issue
Block a user