|
@@ -44,8 +44,6 @@
|
|
|
</th>
|
|
</th>
|
|
|
<th class="sortable" data-field="appName">应用</th>
|
|
<th class="sortable" data-field="appName">应用</th>
|
|
|
<th class="sortable" data-field="machineIpv4">机器地址</th>
|
|
<th class="sortable" data-field="machineIpv4">机器地址</th>
|
|
|
- <!--<th class="sortable" data-field="httpPort">HTTP 端口</th>
|
|
|
|
|
- <th class="sortable" data-field="healthCheck">健康检查地址</th>-->
|
|
|
|
|
<th class="sortable" data-field="packagePath">包路径</th>
|
|
<th class="sortable" data-field="packagePath">包路径</th>
|
|
|
<th class="sortable" data-field="status">运行状态</th>
|
|
<th class="sortable" data-field="status">运行状态</th>
|
|
|
<th class="sortable" data-field="startTime">启动时间</th>
|
|
<th class="sortable" data-field="startTime">启动时间</th>
|
|
@@ -63,8 +61,6 @@
|
|
|
th:text="${item.appName}" th:attr="data-url=@{'/app/config/app/detail/'+${item.appId}}"></a>
|
|
th:text="${item.appName}" th:attr="data-url=@{'/app/config/app/detail/'+${item.appId}}"></a>
|
|
|
</td>
|
|
</td>
|
|
|
<td th:text="${item.machineIpv4}">机器地址</td>
|
|
<td th:text="${item.machineIpv4}">机器地址</td>
|
|
|
- <!--<td th:text="${item.httpPort}">HTTP 端口</td>
|
|
|
|
|
- <td th:text="${item.healthCheck}">健康检查地址</td>-->
|
|
|
|
|
<td th:text="${item.packagePath}">包路径</td>
|
|
<td th:text="${item.packagePath}">包路径</td>
|
|
|
<td class="app-status" th:text="${item.status}">运行状态</td>
|
|
<td class="app-status" th:text="${item.status}">运行状态</td>
|
|
|
<td th:text="${item.startTime}">启动时间</td>
|
|
<td th:text="${item.startTime}">启动时间</td>
|
|
@@ -74,9 +70,7 @@
|
|
|
<a class="ajax-post" th:href="@{'/api/app/status/restart/'+${item.appId}+'/'+${item.machineId}}">重启</a>
|
|
<a class="ajax-post" th:href="@{'/api/app/status/restart/'+${item.appId}+'/'+${item.machineId}}">重启</a>
|
|
|
<a class="ajax-post" th:href="@{'/api/app/status/stop/'+${item.appId}+'/'+${item.machineId}}">停止</a>
|
|
<a class="ajax-post" th:href="@{'/api/app/status/stop/'+${item.appId}+'/'+${item.machineId}}">停止</a>
|
|
|
<a class="ajax-post" th:href="@{'/api/app/status/start/'+${item.appId}+'/'+${item.machineId}}">启动</a>
|
|
<a class="ajax-post" th:href="@{'/api/app/status/start/'+${item.appId}+'/'+${item.machineId}}">启动</a>
|
|
|
- <a class="open-popup" data-title="应用日志"
|
|
|
|
|
- th:attr="data-url=@{'/app/status/applog/'+${item.appId}+'/'+${item.machineId}}"
|
|
|
|
|
- data-size="1000,500" href="#">日志</a>
|
|
|
|
|
|
|
+ <a class="ajax-get" th:href="@{'/api/app/status/'+${item.appId}+'/'+${item.machineId}}">当前状态</a>
|
|
|
</td>
|
|
</td>
|
|
|
</tr>
|
|
</tr>
|
|
|
</tbody>
|
|
</tbody>
|