diff --git a/ejs/manage.ejs b/ejs/manage.ejs index 66c25fc..39dd941 100644 --- a/ejs/manage.ejs +++ b/ejs/manage.ejs @@ -137,154 +137,22 @@ -
+
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +
- 管理员账号: - - -
- 管理员密码: - - -
- 离线模式: - - -
- 允许自助注册: - - -
- 允许离线数据: - - -
- HTTP 端口: - - -
- HTTPS 端口: - - -
- MQTT 端口: - - -
- WS 端口: - - -
- WSS 端口: - - -
- SSL证书私钥: - - -
- SSL证书公钥: - - -
- 单用户最大项目数: - - -
- 单用户最大消息数: - - -
- 消息频率限制(次/秒): - - -
- 百度地图开发者AK(客户端应用): - - -
- 百度地图开发者AK(服务端应用): - - -
- 百度统计链接AK: - - -
+ + + + + + + + + + +
配置项含义数据类型
@@ -343,6 +211,61 @@ td{ min-height: 30px; } + table { + border-collapse: separate; + border-spacing: 0; + width: 100%; + } + th { + background-color: #2c3e50; + color: white; + font-weight: 500; + } + th:first-child { + border-top-left-radius: 8px; + } + th:last-child { + border-top-right-radius: 8px; + } + tr:nth-child(even) { + background-color: #f8f9fa; + } + tr:hover { + background-color: #e8f4fc; + } + td, th { + padding: 12px 15px; + vertical-align: middle; + } + .action-buttons { + display: flex; + justify-content: flex-end; + gap: 10px; + margin-top: 25px; + } + .badge-type { + font-size: 0.8em; + padding: 4px 8px; + border-radius: 4px; + } + .badge-string { + background-color: #3498db; + } + .badge-number { + background-color: #2ecc71; + } + .badge-boolean { + background-color: #e74c3c; + } + .form-control:focus, .form-select:focus { + box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.3); + border-color: #3498db; + } + .table-responsive { + border-radius: 8px; + overflow: hidden; + box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05); + }