summaryrefslogtreecommitdiffstats
path: root/modules-available/locationinfo/templates/page-servers.html
diff options
context:
space:
mode:
authorSimon Rettberg2018-03-05 14:17:36 +0100
committerSimon Rettberg2018-03-05 14:17:36 +0100
commitda8870e85f59dc8e83d2c4f50432f688080cb1d1 (patch)
treea36e939019e32ae8954137c02334bcf4b332f170 /modules-available/locationinfo/templates/page-servers.html
parent[locationinfo] Add permission entry to runmode config (diff)
downloadslx-admin-da8870e85f59dc8e83d2c4f50432f688080cb1d1.tar.gz
slx-admin-da8870e85f59dc8e83d2c4f50432f688080cb1d1.tar.xz
slx-admin-da8870e85f59dc8e83d2c4f50432f688080cb1d1.zip
[locationinfo] Add permissions
Diffstat (limited to 'modules-available/locationinfo/templates/page-servers.html')
-rw-r--r--modules-available/locationinfo/templates/page-servers.html9
1 files changed, 5 insertions, 4 deletions
diff --git a/modules-available/locationinfo/templates/page-servers.html b/modules-available/locationinfo/templates/page-servers.html
index dbf18b5f..3edb0e66 100644
--- a/modules-available/locationinfo/templates/page-servers.html
+++ b/modules-available/locationinfo/templates/page-servers.html
@@ -22,18 +22,19 @@
<td align="center" nowrap>
<button class="btn btn-xs {{^autherror}}btn-default{{/autherror}}{{#autherror}}btn-danger{{/autherror}}"
- data-server-edit="{{serverid}}" {{disabled}} type="button">
+ data-server-edit="{{serverid}}" {{disabled}} {{perms.backend.edit.disabled}} type="button">
<span class="glyphicon glyphicon-cog"></span>
{{lang_edit}}
</button>
- <button class="btn btn-xs btn-primary server-check" {{disabled}} name="action" value="checkConnection"
- type="submit">
+ <button class="btn btn-xs btn-primary server-check" {{disabled}} {{perms.backend.check.disabled}}
+ name="action" value="checkConnection" type="submit">
<span class="glyphicon glyphicon-refresh"></span>
{{lang_checkConnection}}
</button>
</td>
<td align="center" nowrap>
- <button class="btn btn-xs btn-danger server-delete" type="submit" name="action" value="deleteServer">
+ <button class="btn btn-xs btn-danger server-delete" type="submit" name="action" value="deleteServer"
+ {{perms.backend.edit.disabled}}>
<span class="glyphicon glyphicon-trash"></span>
{{lang_delete}}
</button>