diff options
author | Simon Rettberg | 2017-04-14 11:37:51 +0200 |
---|---|---|
committer | Simon Rettberg | 2017-04-14 11:37:51 +0200 |
commit | 3467c4f211c679af71ba201b8e69acffbb4dbdba (patch) | |
tree | 56f5d21de1e498a60998cd3945faf924c5781b79 /modules-available/locationinfo/templates | |
parent | [locationinfo] Refactor the main view (diff) | |
download | slx-admin-3467c4f211c679af71ba201b8e69acffbb4dbdba.tar.gz slx-admin-3467c4f211c679af71ba201b8e69acffbb4dbdba.tar.xz slx-admin-3467c4f211c679af71ba201b8e69acffbb4dbdba.zip |
[locationinfo] page.inc.php: More simplification, error checks, formatting
Diffstat (limited to 'modules-available/locationinfo/templates')
-rw-r--r-- | modules-available/locationinfo/templates/location-info.html | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/modules-available/locationinfo/templates/location-info.html b/modules-available/locationinfo/templates/location-info.html index c27b4b12..321ca83e 100644 --- a/modules-available/locationinfo/templates/location-info.html +++ b/modules-available/locationinfo/templates/location-info.html @@ -26,13 +26,13 @@ <td id="url-{{serverid}}" nowrap>{{serverurl}}</td> <td align="center" id="credentials-{{serverid}}" style="white-space:nowrap;"> - <button class="btn btn-sm {{^autherror}}btn-success{{/autherror}}{{#autherror}}btn-danger{{/autherror}}" - id="credentials-btn-{{serverid}}" type="button" onclick="loadSettingsModal({{serverid}},'{{servername}}');"> + <button class="btn btn-sm {{^autherror}}btn-success{{/autherror}}{{#autherror}}btn-danger{{/autherror}}" {{disabled}} + id="credentials-btn-{{serverid}}" type="button" onclick="loadSettingsModal({{serverid}},'{{servername}}');"> <span style="margin-right: 5px;" class="glyphicon glyphicon-cog"></span> {{lang_locationSettings}} </button> - <button class="btn btn-sm btn-primary table-refresh" id="refresh-btn-{{serverid}}" - title="{{lang_refresh_title}}" onclick="refreshButtonClick({{serverid}});"> + <button class="btn btn-sm btn-primary table-refresh" id="refresh-btn-{{serverid}}" {{disabled}} + title="{{lang_refresh_title}}" onclick="refreshButtonClick({{serverid}});"> <span id="refresh-btn-animate-{{serverid}}" style="margin-right: 5px;" class="glyphicon glyphicon-refresh"></span> {{lang_refresh}} |