diff options
author | Jannik Schönartz | 2017-03-05 17:43:29 +0100 |
---|---|---|
committer | Jannik Schönartz | 2017-03-05 17:43:29 +0100 |
commit | 70c3039846a4f04fe4ea9691f23a949035395a05 (patch) | |
tree | 104060c4ff8369fb199d03984011c75179ff6124 /modules-available/locationinfo/templates | |
parent | ServerList: Fixed a bug while editing the list would not show the not selecte... (diff) | |
download | slx-admin-70c3039846a4f04fe4ea9691f23a949035395a05.tar.gz slx-admin-70c3039846a4f04fe4ea9691f23a949035395a05.tar.xz slx-admin-70c3039846a4f04fe4ea9691f23a949035395a05.zip |
Admin-panel: Credentials Button is now red/green if the connection failed/succeeded. Also an error msg is shown if the connection failed.
Diffstat (limited to 'modules-available/locationinfo/templates')
-rw-r--r-- | modules-available/locationinfo/templates/location-info.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules-available/locationinfo/templates/location-info.html b/modules-available/locationinfo/templates/location-info.html index c7db6c66..65a7a0dc 100644 --- a/modules-available/locationinfo/templates/location-info.html +++ b/modules-available/locationinfo/templates/location-info.html @@ -37,7 +37,7 @@ </td> <td align="center" id="credentials-{{id}}" onclick="event.cancelBubble = true;"> - <button class="btn btn-sm btn-primary" id="credentials-btn-{{id}}" type="button" title="credentials" onclick="loadCredentialModal({{id}},'{{name}}');" id="credentials">{{lang_credentials}}</button> + <button {{#auth}}class="btn btn-sm btn-success"{{/auth}}{{^auth}}class="btn btn-sm btn-danger"{{/auth}} id="credentials-btn-{{id}}" type="button" title="credentials" onclick="loadCredentialModal({{id}},'{{name}}');" id="credentials">{{lang_credentials}}</button> </td> <td align="center" id="btncell-{{id}}"> <button class="btn btn-sm btn-primary table-edit" title="{{lang_edit}}" onclick="editButtonClick({{id}});" id="edit">✎</button> |