fix(host): 主机列表页设为只读

Remove add/edit/delete buttons and auth attributes from host list page. Hosts are auto-registered via heartbeat, manual CRUD is meaningless. Keep only setMaster operation.

Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent)

Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
This commit is contained in:
augushong
2026-05-26 18:28:50 +08:00
parent e558a97e91
commit b7094eee8a
2 changed files with 3 additions and 9 deletions

View File

@@ -2,12 +2,8 @@
<div class="layuimini-main">
<table id="currentTable" class="layui-table layui-hide"
data-auth-index="{:auth('system.host/index')}"
data-auth-add="{:auth('system.host/add')}"
data-auth-edit="{:auth('system.host/edit')}"
data-auth-delete="{:auth('system.host/delete')}"
data-auth-export="{:auth('system.host/export')}"
data-auth-modify="{:auth('system.host/modify')}"
data-auth-set-master="{:auth('system.host/setMaster')}"
data-auth-modify="{:auth('system.host/modify')}"
lay-filter="currentTable">
</table>
</div>