From 06ee77010890ba204abd40d389dcf65234ba1f8c Mon Sep 17 00:00:00 2001 From: lq Date: Mon, 23 Sep 2024 10:33:17 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A7=A3=E5=86=B3admin=E8=B7=AF=E7=94=B1?= =?UTF-8?q?=E6=97=A0=E6=B3=95=E8=AE=BF=E9=97=AE=E7=9A=84bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- web/admin/assets/.gitignore | 2 + web/admin/css/site.css | 90 ++++++++++++++++++++++++++++++++++++ web/admin/favicon.ico | Bin 0 -> 318 bytes web/admin/index-test.php | 28 +++++++++++ web/admin/index.php | 19 ++++++++ web/admin/robots.txt | 2 + 6 files changed, 141 insertions(+) create mode 100644 web/admin/assets/.gitignore create mode 100644 web/admin/css/site.css create mode 100644 web/admin/favicon.ico create mode 100644 web/admin/index-test.php create mode 100644 web/admin/index.php create mode 100644 web/admin/robots.txt diff --git a/web/admin/assets/.gitignore b/web/admin/assets/.gitignore new file mode 100644 index 0000000..d6b7ef3 --- /dev/null +++ b/web/admin/assets/.gitignore @@ -0,0 +1,2 @@ +* +!.gitignore diff --git a/web/admin/css/site.css b/web/admin/css/site.css new file mode 100644 index 0000000..34c35c6 --- /dev/null +++ b/web/admin/css/site.css @@ -0,0 +1,90 @@ +main > .container { + padding: 70px 15px 20px; +} + +.footer { + background-color: #f5f5f5; + font-size: .9em; + height: 60px; +} + +.footer > .container { + padding-right: 15px; + padding-left: 15px; +} + +.not-set { + color: #c55; + font-style: italic; +} + +/* add sorting icons to gridview sort links */ +a.asc:after, a.desc:after { + content: ''; + left: 3px; + display: inline-block; + width: 0; + height: 0; + border: solid 5px transparent; + margin: 4px 4px 2px 4px; + background: transparent; +} + +a.asc:after { + border-bottom: solid 7px #212529; + border-top-width: 0; +} + +a.desc:after { + border-top: solid 7px #212529; + border-bottom-width: 0; +} + +.grid-view th, +.grid-view td:last-child { + white-space: nowrap; +} + +.grid-view .filters input, +.grid-view .filters select { + min-width: 50px; +} + +.hint-block { + display: block; + margin-top: 5px; + color: #999; +} + +.error-summary { + color: #a94442; + background: #fdf7f7; + border-left: 3px solid #eed3d7; + padding: 10px 20px; + margin: 0 0 15px 0; +} + +/* align the logout "link" (button in form) of the navbar */ +.nav li > form > button.logout { + padding-top: 7px; + color: rgba(255, 255, 255, 0.5); +} + +@media(max-width:767px) { + .nav li > form > button.logout { + display:block; + text-align: left; + width: 100%; + padding: 10px 0; + } +} + +.nav > li > form > button.logout:focus, +.nav > li > form > button.logout:hover { + text-decoration: none; + color: rgba(255, 255, 255, 0.75); +} + +.nav > li > form > button.logout:focus { + outline: none; +} diff --git a/web/admin/favicon.ico b/web/admin/favicon.ico new file mode 100644 index 0000000000000000000000000000000000000000..580ed732e86556ec57f3f3395a210246d679c076 GIT binary patch literal 318 zcmZQzU<5(|0RbS%!l1#(z#zuJz@P!d0zj+)#2|4HXaJKC0wf0lAEr2iX{M9K3=BR0 y!E90pK{x=K$Oz&POT#sS8N$ZKhC)h8ip0_|-T#43{vnSYgXBQCu@O54$pHYIza?e> literal 0 HcmV?d00001 diff --git a/web/admin/index-test.php b/web/admin/index-test.php new file mode 100644 index 0000000..782952a --- /dev/null +++ b/web/admin/index-test.php @@ -0,0 +1,28 @@ +run(); diff --git a/web/admin/index.php b/web/admin/index.php new file mode 100644 index 0000000..964e305 --- /dev/null +++ b/web/admin/index.php @@ -0,0 +1,19 @@ +run(); diff --git a/web/admin/robots.txt b/web/admin/robots.txt new file mode 100644 index 0000000..77470cb --- /dev/null +++ b/web/admin/robots.txt @@ -0,0 +1,2 @@ +User-agent: * +Disallow: / \ No newline at end of file