src/main/resources/templates/ospfMonitor/list.html
@@ -67,6 +67,7 @@ <th title="设备IP">设备IP</th> <th title="用户名">用户名</th> <th title="密码">密码</th> <th title="连接方式">连接方式</th> </tr> </th:block> </thead> @@ -79,6 +80,7 @@ <td th:text="${item.hostname}"></td> <td th:text="${item.username}"></td> <td th:text="${item.password}"></td> <td th:text="${item.remoteType}"></td> <td> <th:block th:if="${session.LOGIN_KEY.role != 'guest'}"> <button type="button" th:onclick="del([[${item.id}]])" class="btn bg-gradient-danger btn-sm">删除</button>