diff options
author | Simon Rettberg | 2018-02-27 13:05:21 +0100 |
---|---|---|
committer | Simon Rettberg | 2018-02-27 13:05:21 +0100 |
commit | 47d1e28478a78eb8d275553cb44693a61b597307 (patch) | |
tree | 447bbbd333f19db716e6f0a1b773f21d01d72301 /modules-available/runmode/templates/module-machine-list.html | |
parent | [dnbd3] Add permissions (diff) | |
download | slx-admin-47d1e28478a78eb8d275553cb44693a61b597307.tar.gz slx-admin-47d1e28478a78eb8d275553cb44693a61b597307.tar.xz slx-admin-47d1e28478a78eb8d275553cb44693a61b597307.zip |
[runmode] Support permissions supplied by module; fix handling of deleteUrl modules
Diffstat (limited to 'modules-available/runmode/templates/module-machine-list.html')
-rw-r--r-- | modules-available/runmode/templates/module-machine-list.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules-available/runmode/templates/module-machine-list.html b/modules-available/runmode/templates/module-machine-list.html index 283fb393..89424922 100644 --- a/modules-available/runmode/templates/module-machine-list.html +++ b/modules-available/runmode/templates/module-machine-list.html @@ -36,12 +36,12 @@ </td> <td class="text-center"> {{#canedit}} - <button type="submit" class="btn btn-danger btn-sm" name="machineuuid" value="{{machineuuid}}"> + <button type="submit" class="btn btn-danger btn-sm" name="machineuuid" value="{{machineuuid}}" {{disabled}}> <span class="glyphicon glyphicon-trash"></span> </button> {{/canedit}} {{#deleteUrl}} - <a class="btn btn-default btn-sm" href="?do={{module}}&{{deleteUrl}}{{modeid}}"> + <a class="btn btn-default btn-sm {{disabled}}" href="?do={{module}}&{{deleteUrl}}{{modeid}}"> <span class="glyphicon glyphicon-edit"></span> </a> {{/deleteUrl}} |