summaryrefslogtreecommitdiffstats
path: root/modules-available/sysconfig/templates/list-configs.html
diff options
context:
space:
mode:
Diffstat (limited to 'modules-available/sysconfig/templates/list-configs.html')
-rw-r--r--modules-available/sysconfig/templates/list-configs.html12
1 files changed, 11 insertions, 1 deletions
diff --git a/modules-available/sysconfig/templates/list-configs.html b/modules-available/sysconfig/templates/list-configs.html
index 83feeaa6..b5367f8b 100644
--- a/modules-available/sysconfig/templates/list-configs.html
+++ b/modules-available/sysconfig/templates/list-configs.html
@@ -22,9 +22,19 @@
{{#configs}}
<tr>
<td data-id="{{configid}}" data-modlist="{{modlist}}" class="confrow slx-pointer" width="100%" title="{{dateline_s}}">
- <table class="slx-ellipsis"><tr><td>{{config}}</td></tr></table>
+ <table class="slx-ellipsis"><tr><td>
+ {{#warnings}}
+ <button type="button" class="btn btn-xs btn-default" data-confirm="#confirm-mod-{{configid}}">
+ <span class="glyphicon glyphicon-exclamation-sign text-danger"></span>
+ </button>
+ {{/warnings}}
+ {{config}}
+ </td></tr></table>
</td>
<td>
+ {{#warnings}}
+ <pre id="confirm-mod-{{configid}}" class="hidden">{{.}}</pre>
+ {{/warnings}}
{{^current}}
<button class="btn btn-primary btn-xs" name="activate" value="{{configid}}" {{perms.config.assign.disabled}}>
<span class="glyphicon glyphicon-flag"></span>