From efb1664443b3270ef760730fb39d740f62760855 Mon Sep 17 00:00:00 2001 From: Hide_D Date: Fri, 15 Apr 2022 02:00:51 +0900 Subject: [PATCH] =?UTF-8?q?refac:=20=EA=B0=90=EC=B0=B0=EB=B6=80=20500px=20?= =?UTF-8?q?=EB=AA=A8=EB=93=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- hwe/b_battleCenter.php | 141 +++++++++++++++++-------------------- hwe/scss/battleCenter.scss | 35 +++++++++ hwe/ts/battleCenter.ts | 10 +++ hwe/ts/build_exports.json | 1 + 4 files changed, 112 insertions(+), 75 deletions(-) create mode 100644 hwe/scss/battleCenter.scss create mode 100644 hwe/ts/battleCenter.ts diff --git a/hwe/b_battleCenter.php b/hwe/b_battleCenter.php index d34bb05e..2c26e4e2 100644 --- a/hwe/b_battleCenter.php +++ b/hwe/b_battleCenter.php @@ -74,7 +74,7 @@ if ($testGeneralNationID != $nationID) { $gen = 0; } -if ($btn == '정렬하기') { +if ($btn == '정렬') { $gen = 0; } @@ -118,21 +118,20 @@ $showGeneral = General::createGeneralObjFromDB($gen); <?= UniqueConst::$serverName ?>: 감찰부 - + - - + - - - - - - - -
감 찰 부
+
+
+
감 찰 부
+
+
+
정렬순서 : - + 대상장수 : - +
-
- - - - - - - - - - - - - - - - - - getNPCType() > 1 || $permission >= 2) : ?> - - - - - - - - - -
- 장 수 정 보 - - 장 수 열 전 -
- - - -
- 전투 기록 - - 전투 결과 -
- - - -
- 개인 기록 - -   -
- - -
- - - - - - - -
+ +
+
+
장수 정보
+
+
+
+
+
+ +
+
+
장수 열전
+
+
+
+
+
+ +
+
+
전투 기록
+
+
+
+
+
+ +
+
+
전투 결과
+
+
+
+
+
+ + getNPCType() > 1 || $permission >= 2) : ?> +
+
+
개인 기록
+
+
+
+
+
+ + +
+
+
+
+
+
+ \ No newline at end of file diff --git a/hwe/scss/battleCenter.scss b/hwe/scss/battleCenter.scss new file mode 100644 index 00000000..b639deb3 --- /dev/null +++ b/hwe/scss/battleCenter.scss @@ -0,0 +1,35 @@ +@import "./common/bootstrap5.scss"; +@import "./common_legacy.scss"; + +@include media-1000px{ + #container { + width: 1000px; + margin: 0 auto; + + > .row > .col, .layout-block{ + border-left: solid 1px gray; + border-right: solid 1px gray; + border-top: solid 1px gray; + } + + + } +} +@include media-500px{ + body { + overflow-x: hidden; + } + + #container { + width: 500px; + margin: 0 auto; + margin-bottom: 100px; + } +} + +.header-cell { + color: orange; + font-size:1.3em; + text-align: center; + border: 1px gray solid; +} \ No newline at end of file diff --git a/hwe/ts/battleCenter.ts b/hwe/ts/battleCenter.ts new file mode 100644 index 00000000..51fbf110 --- /dev/null +++ b/hwe/ts/battleCenter.ts @@ -0,0 +1,10 @@ +import "@scss/battleCenter.scss"; + +import { auto500px } from "./util/auto500px"; +import { insertCustomCSS } from "./util/customCSS"; +import { htmlReady } from "./util/htmlReady"; + +auto500px(); +htmlReady(() => { + insertCustomCSS(); +}); \ No newline at end of file diff --git a/hwe/ts/build_exports.json b/hwe/ts/build_exports.json index 6f4fb652..a706f584 100644 --- a/hwe/ts/build_exports.json +++ b/hwe/ts/build_exports.json @@ -5,6 +5,7 @@ "install_db": "install_db.ts", "install": "install.ts", "battle_simulator": "battle_simulator.ts", + "battleCenter": "battleCenter.ts", "recent_map": "recent_map.ts", "select_npc": "select_npc.ts", "betting": "betting.ts",