From c8812dd27cd5d1374b706cee87cfb032dc32e1d8 Mon Sep 17 00:00:00 2001 From: qing <1776177662@qq.com> Date: Tue, 4 Aug 2026 19:23:57 +0800 Subject: [PATCH] =?UTF-8?q?static:=20=E8=BF=81=E7=A7=BB=20mgmt=20=E5=89=8D?= =?UTF-8?q?=E7=AB=AF=E5=88=B0=20static/public=20=E5=B9=B6=E7=A7=BB?= =?UTF-8?q?=E9=99=A4=E9=9D=99=E6=80=81=E5=88=97=E8=A1=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 将 mgmt Jinja2 模板原封不动迁移为纯静态 HTML/CSS, 删除用户列表与模块列表,改为静态提示文字。 --- static/public/mgmt/features/log.css | 0 static/public/mgmt/features/log.html | 12 ++++ static/public/mgmt/features/module.css | 35 ++++++++++ static/public/mgmt/features/module.html | 21 ++++++ static/public/mgmt/features/process.css | 74 ++++++++++++++++++++ static/public/mgmt/features/process.html | 75 ++++++++++++++++++++ static/public/mgmt/features/user.css | 41 +++++++++++ static/public/mgmt/features/user.html | 39 +++++++++++ static/public/mgmt/index.css | 39 +++++++++++ static/public/mgmt/index.html | 88 ++++++++++++++++++++++++ static/public/mgmt/mgmt.css | 54 +++++++++++++++ static/public/mgmt/mgmt.html | 87 +++++++++++++++++++++++ 12 files changed, 565 insertions(+) create mode 100644 static/public/mgmt/features/log.css create mode 100644 static/public/mgmt/features/log.html create mode 100644 static/public/mgmt/features/module.css create mode 100644 static/public/mgmt/features/module.html create mode 100644 static/public/mgmt/features/process.css create mode 100644 static/public/mgmt/features/process.html create mode 100644 static/public/mgmt/features/user.css create mode 100644 static/public/mgmt/features/user.html create mode 100644 static/public/mgmt/index.css create mode 100644 static/public/mgmt/index.html create mode 100644 static/public/mgmt/mgmt.css create mode 100644 static/public/mgmt/mgmt.html diff --git a/static/public/mgmt/features/log.css b/static/public/mgmt/features/log.css new file mode 100644 index 0000000..e69de29 diff --git a/static/public/mgmt/features/log.html b/static/public/mgmt/features/log.html new file mode 100644 index 0000000..0a0389e --- /dev/null +++ b/static/public/mgmt/features/log.html @@ -0,0 +1,12 @@ + + + + + + Document + + + + log + + \ No newline at end of file diff --git a/static/public/mgmt/features/module.css b/static/public/mgmt/features/module.css new file mode 100644 index 0000000..6f768e1 --- /dev/null +++ b/static/public/mgmt/features/module.css @@ -0,0 +1,35 @@ +.top-bar-con { + width: 230px; + display: flex; + justify-content: space-between; +} + +.newBtn, +.flushBtn, +.removeBtn { + width: 84px; + height: 42px; + font-size: 16px; + font-weight: bold; + letter-spacing: 1px; + cursor: pointer; +} + +.newBtn { + background-color: #5cff007d; +} + +.flushBtn { + background-color: #5757577d; +} + +.removeBtn { + background-color: #ff00007d; + color: #000000b8; +} + +td { + width: 180px; + text-align: center; + font-size: 20px; +} \ No newline at end of file diff --git a/static/public/mgmt/features/module.html b/static/public/mgmt/features/module.html new file mode 100644 index 0000000..e86b5de --- /dev/null +++ b/static/public/mgmt/features/module.html @@ -0,0 +1,21 @@ + + + + + + + Document + + + + + +
+ + +
+ +

模块列表需 mgmt Flask 后端 API 提供,静态页面不展示。

+ + + \ No newline at end of file diff --git a/static/public/mgmt/features/process.css b/static/public/mgmt/features/process.css new file mode 100644 index 0000000..ad10d6b --- /dev/null +++ b/static/public/mgmt/features/process.css @@ -0,0 +1,74 @@ +.newBtn, +.flushBtn, +.stopBtn { + width: 84px; + height: 42px; + font-size: 16px; + font-weight: bold; + letter-spacing: 1px; + cursor: pointer; +} + +.newBtn { + background-color: #5cff007d; +} + +.flushBtn { + background-color: #5757577d; + margin-left: 60px; +} + +.stopBtn { + background-color: #ff00007d; +} + +.text, +.title { + font-size: 20px; +} + +td, +th { + width: 180px; + text-align: center; +} + +#inProgressText { + font-size: 20px; + margin-top: 5px; + letter-spacing: 2px; +} + +/* modal window style */ +.modal-con { + width: 100%; + height: 100%; + background-color: rgba(68, 94, 65, 0.77); + position: absolute; + left: 0px; + top: 0px; + display: none; + justify-content: center; + z-index: 1; +} + +.modal-con .window { + width: 200px; + height: 120px; + background-color: #5cff007d; + padding: 0px 10px; +} + +.modal-con .window .top-bar { + display: flex; + justify-content: end; +} + +.modal-con .window .top-bar .close-btn { + cursor: pointer; +} + +.modal-con .window .create-btn, +.modal-con .window .input .input-area { + margin-top: 5px; +} \ No newline at end of file diff --git a/static/public/mgmt/features/process.html b/static/public/mgmt/features/process.html new file mode 100644 index 0000000..27241ee --- /dev/null +++ b/static/public/mgmt/features/process.html @@ -0,0 +1,75 @@ + + + + + + + Document + + + + + + + + + + + + + + + + + + +
PID状态命令操作
+
+ + + + + + + \ No newline at end of file diff --git a/static/public/mgmt/features/user.css b/static/public/mgmt/features/user.css new file mode 100644 index 0000000..faff9c6 --- /dev/null +++ b/static/public/mgmt/features/user.css @@ -0,0 +1,41 @@ +.top-bar-con { + width: 230px; + display: flex; + justify-content: space-between; +} + +td { + width: 180px; + text-align: center; + font-size: 20px; +} + +.addUserBtn, +.flushBtn, +.changePasswdBtn, +.deleteUserBtn { + width: 84px; + height: 42px; + font-size: 16px; + font-weight: bold; + letter-spacing: 1px; + cursor: pointer; +} + +.addUserBtn { + background-color: #5cff007d; +} + +.flushBtn { + background-color: #5757577d; +} + +.changePasswdBtn { + background-color: #e6db407d; + color: #fb0202b0; +} + +.deleteUserBtn { + background-color: #ff00007d; + color: #000000b8; +} \ No newline at end of file diff --git a/static/public/mgmt/features/user.html b/static/public/mgmt/features/user.html new file mode 100644 index 0000000..213ae66 --- /dev/null +++ b/static/public/mgmt/features/user.html @@ -0,0 +1,39 @@ + + + + + + + Document + + + + + +
+ + +
+ +

用户列表需 mgmt Flask 后端 API 提供,静态页面不展示。

+ + + + + \ No newline at end of file diff --git a/static/public/mgmt/index.css b/static/public/mgmt/index.css new file mode 100644 index 0000000..b41eba1 --- /dev/null +++ b/static/public/mgmt/index.css @@ -0,0 +1,39 @@ +body { + display: flex; + justify-content: center; +} + +.main { + background-color: rgb(233, 233, 233); + padding: 20px 10px; +} + +.main .title { + font-weight: bold; +} + +.main .name-con, +.main .passwd-con { + display: flex; + justify-content: center; +} + +.main .name-con { + margin-top: 20px; +} + +.main .passwd-con { + margin-top: 10px; +} + +.main .name-con .user-name-text, +.main .passwd-con .user-passwd-text { + width: 100px; +} + +.main .login-con { + width: 100%; + display: flex; + justify-content: center; + margin-top: 10px; +} diff --git a/static/public/mgmt/index.html b/static/public/mgmt/index.html new file mode 100644 index 0000000..34c1203 --- /dev/null +++ b/static/public/mgmt/index.html @@ -0,0 +1,88 @@ + + + + + + + pmc management + + + + + +
+
Welcome to pmc management system
+
+
Name:
+ +
+
+
Password:
+ +
+
+ +
+
+ + + + + \ No newline at end of file diff --git a/static/public/mgmt/mgmt.css b/static/public/mgmt/mgmt.css new file mode 100644 index 0000000..607dc05 --- /dev/null +++ b/static/public/mgmt/mgmt.css @@ -0,0 +1,54 @@ +:root { + --listMargin: 15%; +} + +* { + margin: 0px; + padding: 0px; +} + +.top-con { + display: flex; +} + +.top-con >*{ + margin-left: 25px; + font-size: 20px; +} + +.top-con div button { + font-size: 16px; +} + +.main { + width: 100%; + height: 600px; + display: flex; +} + +.feature-list { + width: 150px; + height: 100%; + background-color: #FFFFCC; + padding: 0px 10px 0px 10px; + overflow-y: scroll; +} + +.feature-list .item { + width: 100%; + height: 50px; + display: flex; + justify-content: center; + align-items: center; + background-color: #0066cc; + color: #fff; + font-size: 18px; + font-weight: bold; + margin-top: var(--listMargin); + cursor: pointer; +} + +.pages { + width: 100%; + height: 100%; +} \ No newline at end of file diff --git a/static/public/mgmt/mgmt.html b/static/public/mgmt/mgmt.html new file mode 100644 index 0000000..dd54a8a --- /dev/null +++ b/static/public/mgmt/mgmt.html @@ -0,0 +1,87 @@ + + + + + + + management page + + + + + + + +
+
当前用户: 未登录
+
当前角色: 未知
+
+ +
+
+
+
+
+ +
+
+ + + + + \ No newline at end of file