| | |
| | | <!-- <th th:if="${application.userInfoManage == 'true' && session.LOGIN_KEY.role == 'admin'}">账号</th>--> |
| | | <!-- </th:block>--> |
| | | <th:block th:unless="${#strings.indexOf(session.HostListHideColsInfo ,'15') > -1 }"> |
| | | <th>备注</th> |
| | | <th data-trigger="hover" data-container="body" data-toggle="popover">备注</th> |
| | | </th:block> |
| | | <th:block th:unless="${#strings.indexOf(session.HostListHideColsInfo ,'16') > -1 }"> |
| | | <th>操作</th> |
| | |
| | | <th:block th:unless="${#strings.indexOf(session.HostListHideColsInfo ,'12') > -1 }"> |
| | | <td th:text="${item.groupId}" th:if="${application.hostGroup == 'true'}"></td> |
| | | </th:block> |
| | | <th:block th:unless="${#strings.indexOf(session.HostListHideColsInfo ,'13') > -1 }"> |
| | | <th th:text="${item.account}" th:if="${application.userInfoManage == 'true' && session.LOGIN_KEY.role == 'admin'}"></th> |
| | | </th:block> |
| | | <!-- <th:block th:unless="${#strings.indexOf(session.HostListHideColsInfo ,'13') > -1 }">--> |
| | | <!-- <th th:text="${item.account}" th:if="${application.userInfoManage == 'true' && session.LOGIN_KEY.role == 'admin'}"></th>--> |
| | | <!-- </th:block>--> |
| | | <th:block th:unless="${#strings.indexOf(session.HostListHideColsInfo ,'15') > -1 }"> |
| | | <td th:text="${item.remark}"></td> |
| | | </th:block> |
| | | <th:block th:unless="${#strings.indexOf(session.HostListHideColsInfo ,'16') > -1 }"> |
| | | <td> |
| | | |
| | | <button type="button" th:onclick="view([[${item.id}]])" class="btn btn-primary btn-sm">系统</button> |
| | | <button type="button" th:onclick="viewChart([[${item.id}]])" class="btn btn-primary btn-sm">图表</button> |
| | | <button type="button" th:onclick="viewImage([[${item.id}]])" class="btn bg-maroon btn-sm">画像</button> |
| | | <button type="button" th:if="${item.state == '1'}" th:onclick="view([[${item.id}]])" class="btn btn-primary btn-sm">系统</button> |
| | | <button type="button" th:if="${item.state == '1'}" th:onclick="viewChart([[${item.id}]])" class="btn btn-primary btn-sm">图表</button> |
| | | <button type="button" th:if="${item.state == '1'}" th:onclick="viewImage([[${item.id}]])" class="btn bg-maroon btn-sm">画像</button> |
| | | <th:block th:if="${session.LOGIN_KEY.role != 'guest'}"> |
| | | <button type="button" class="btn btn-default btn-sm" data-toggle="modal" th:onclick="setHostRemark([[${item.id}]],[[${item.remark}]])" data-target="#modal-default"> |
| | | <button type="button" th:if="${item.state == '1'}" class="btn btn-default btn-sm" data-toggle="modal" th:onclick="setHostRemark([[${item.id}]],[[${item.remark}]])" data-target="#modal-default"> |
| | | 备注 |
| | | </button> |
| | | <button type="button" th:onclick="del([[${item.id}]])" class="btn bg-gradient-danger btn-sm">删除</button> |
| | |
| | | <button type="button" data-toggle="modal" th:onclick="setWinConsole([[${item.id}]],[[${item.winConsole}]])" class="btn btn-success btn-sm" data-target="#modal-default2">服务</button> |
| | | </th:block> |
| | | <th:block th:unless="${#strings.indexOf(item.image,'windows') > -1 }"> |
| | | <button type="button" th:onclick="viewWebSSH([[${item.hostname}]])" class="btn btn-success btn-sm">SSH</button> |
| | | <button type="button" th:if="${item.state == '1'}" th:onclick="viewWebSSH([[${item.hostname}]])" class="btn btn-success btn-sm">SSH</button> |
| | | </th:block> |
| | | </th:block> |
| | | </th:block> |