Show More
@@ -64,7 +64,9 b' table.dataTable {' | |||
|
64 | 64 | .expired td { |
|
65 | 65 | background-color: @grey7; |
|
66 | 66 | } |
|
67 | ||
|
67 | .inactive td { | |
|
68 | background-color: @grey6; | |
|
69 | } | |
|
68 | 70 | th { |
|
69 | 71 | text-align: left; |
|
70 | 72 | font-weight: @text-semibold-weight; |
@@ -66,7 +66,7 b'' | |||
|
66 | 66 | <th>${_('Plugin ID')}</th> |
|
67 | 67 | <th>${_('Enabled')}</th> |
|
68 | 68 | %for plugin in available_plugins: |
|
69 | <tr> | |
|
69 | <tr class="${'inactive' if (not plugin.is_active() and plugin.get_id() in enabled_plugins) else ''}"> | |
|
70 | 70 | <td> |
|
71 | 71 | <span plugin_id="${plugin.get_id()}" class="toggle-plugin btn ${'btn-success' if plugin.get_id() in enabled_plugins else ''}"> |
|
72 | 72 | ${_('activated') if plugin.get_id() in enabled_plugins else _('not active')} |
@@ -114,8 +114,8 b'' | |||
|
114 | 114 | cur_button.innerHTML = _gettext('not active'); |
|
115 | 115 | } |
|
116 | 116 | else{ |
|
117 | if(elems.indexOf(plugin_id) == -1){ | |
|
118 | elems.push(plugin_id); | |
|
117 | if (elems.indexOf(plugin_id) === -1) { | |
|
118 | elems.push(plugin_id); | |
|
119 | 119 | } |
|
120 | 120 | auth_plugins_input.val(elems.join(',\n')); |
|
121 | 121 | $(cur_button).addClass('btn-success'); |
General Comments 0
You need to be logged in to leave comments.
Login now