diff options
author | Udo Walter | 2017-12-14 14:40:53 +0100 |
---|---|---|
committer | Udo Walter | 2017-12-14 14:40:53 +0100 |
commit | 1a4fa4f756c9b58a5a4da6b4511ac9ceda866326 (patch) | |
tree | 45fe23b29be375f235c8d4861fff3b2edc69bc06 /modules-available/backup/templates/_page.html | |
parent | [webinterface] added permissions to edit https, password and design settings (diff) | |
download | slx-admin-1a4fa4f756c9b58a5a4da6b4511ac9ceda866326.tar.gz slx-admin-1a4fa4f756c9b58a5a4da6b4511ac9ceda866326.tar.xz slx-admin-1a4fa4f756c9b58a5a4da6b4511ac9ceda866326.zip |
[backup] added permissions to create and restore backups
Diffstat (limited to 'modules-available/backup/templates/_page.html')
-rw-r--r-- | modules-available/backup/templates/_page.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules-available/backup/templates/_page.html b/modules-available/backup/templates/_page.html index 88815897..41e73091 100644 --- a/modules-available/backup/templates/_page.html +++ b/modules-available/backup/templates/_page.html @@ -3,7 +3,7 @@ <form action="?do=Backup" method="post"> <input type="hidden" name="token" value="{{token}}"> <input type="hidden" name="action" value="backup"> - <div class="panel panel-default"> + <div class="panel panel-default {{^createAllowed}}disabledPanel{{/createAllowed}}"> <div class="panel-heading">{{lang_backup}}</div> <div class="panel-body"> <p>{{lang_backupDescription}}</p> @@ -20,7 +20,7 @@ <form action="?do=Backup" method="post" enctype="multipart/form-data"> <input type="hidden" name="token" value="{{token}}"> <input type="hidden" name="action" value="restore"> - <div class="panel panel-default"> + <div class="panel panel-default {{^restoreAllowed}}disabledPanel{{/restoreAllowed}}"> <div class="panel-heading">{{lang_restore}}</div> <div class="panel-body"> <p>{{lang_restoreDescription}}</p> |