fix css and write_count
This commit is contained in:
parent
58e4b7004b
commit
6dbc841037
5 changed files with 182 additions and 133 deletions
|
|
@ -33,4 +33,4 @@ EventHandler::triggerEvent("amber.admin.community_form_update");
|
||||||
|
|
||||||
sql_query($sql);
|
sql_query($sql);
|
||||||
|
|
||||||
goto_url('./community_form.php');
|
goto_url(G5_ADMIN_URL . '/community_form.php');
|
||||||
|
|
|
||||||
|
|
@ -16,7 +16,11 @@ html>body #container {
|
||||||
padding: 0;
|
padding: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
#container section.addon_config {
|
.addon_conf_form {
|
||||||
|
height: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
|
#container .addon_config {
|
||||||
display: flex;
|
display: flex;
|
||||||
height: auto;
|
height: auto;
|
||||||
gap: 8px;
|
gap: 8px;
|
||||||
|
|
|
||||||
|
|
@ -71,7 +71,6 @@
|
||||||
|
|
||||||
html,
|
html,
|
||||||
body {
|
body {
|
||||||
background: var(--theme-gray-900);
|
|
||||||
padding: 0;
|
padding: 0;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
font-family: 'Noto Sans KR', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji';
|
font-family: 'Noto Sans KR', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji';
|
||||||
|
|
@ -82,6 +81,7 @@ body {
|
||||||
}
|
}
|
||||||
|
|
||||||
body.popup-body {
|
body.popup-body {
|
||||||
|
background: var(--theme-gray-100);
|
||||||
min-width: 0px;
|
min-width: 0px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -1107,7 +1107,7 @@ th a {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
vertical-align: middle;
|
vertical-align: middle;
|
||||||
padding: 3px 10px;
|
padding: 3px 10px;
|
||||||
background: var(--theme-color-a);
|
font-weight: 500;
|
||||||
color: #fff;
|
color: #fff;
|
||||||
margin: 5px 0 0;
|
margin: 5px 0 0;
|
||||||
}
|
}
|
||||||
|
|
@ -1415,15 +1415,6 @@ span.empty {
|
||||||
text-indent: 0;
|
text-indent: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.btn_confirm {
|
|
||||||
display: block;
|
|
||||||
position: absolute;
|
|
||||||
top: 0;
|
|
||||||
right: 0;
|
|
||||||
z-index: 9999;
|
|
||||||
padding: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
.list_confirm {
|
.list_confirm {
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: end;
|
justify-content: end;
|
||||||
|
|
@ -1444,39 +1435,6 @@ span.empty {
|
||||||
border: 0;
|
border: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.btn_confirm>* {
|
|
||||||
display: block;
|
|
||||||
position: relative;
|
|
||||||
height: 64px;
|
|
||||||
width: 64px;
|
|
||||||
float: left;
|
|
||||||
border: none;
|
|
||||||
color: #fff;
|
|
||||||
cursor: pointer;
|
|
||||||
}
|
|
||||||
|
|
||||||
.btn_confirm .btn>span {
|
|
||||||
display: block;
|
|
||||||
position: absolute;
|
|
||||||
top: 50%;
|
|
||||||
left: 0;
|
|
||||||
right: 0;
|
|
||||||
text-align: center;
|
|
||||||
transform: translateY(-50%);
|
|
||||||
-webkit-transform: translateY(-50%);
|
|
||||||
z-index: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
.btn_confirm .btn>input {
|
|
||||||
display: block;
|
|
||||||
position: absolute;
|
|
||||||
width: 100%;
|
|
||||||
height: 100%;
|
|
||||||
opacity: 0;
|
|
||||||
z-index: 1;
|
|
||||||
cursor: pointer;
|
|
||||||
}
|
|
||||||
|
|
||||||
#gnb {
|
#gnb {
|
||||||
display: block;
|
display: block;
|
||||||
position: relative;
|
position: relative;
|
||||||
|
|
@ -1576,7 +1534,7 @@ form .btn_submit {
|
||||||
.new_win_desc {
|
.new_win_desc {
|
||||||
padding: 10px;
|
padding: 10px;
|
||||||
margin: 20px 0;
|
margin: 20px 0;
|
||||||
background: var(--theme-color-0);
|
background: var(--theme-gray-500);
|
||||||
color: #fff;
|
color: #fff;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -1685,7 +1643,7 @@ body #header ul {
|
||||||
body #wrapper {
|
body #wrapper {
|
||||||
display: block;
|
display: block;
|
||||||
position: relative;
|
position: relative;
|
||||||
margin: 8px 0 8px 248px;
|
margin: 0 0 0 248px;
|
||||||
height: calc(100vh - 16px);
|
height: calc(100vh - 16px);
|
||||||
width: calc(100% - 256px);
|
width: calc(100% - 256px);
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
|
|
@ -1810,3 +1768,88 @@ body #container {
|
||||||
right: 0;
|
right: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.btn_confirm {
|
||||||
|
display: block;
|
||||||
|
position: absolute;
|
||||||
|
top: 0;
|
||||||
|
right: 0;
|
||||||
|
z-index: 9999;
|
||||||
|
padding: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.btn_confirm>* {
|
||||||
|
display: block;
|
||||||
|
position: relative;
|
||||||
|
height: 64px;
|
||||||
|
width: 64px;
|
||||||
|
float: left;
|
||||||
|
border: none;
|
||||||
|
color: #fff;
|
||||||
|
cursor: pointer;
|
||||||
|
}
|
||||||
|
|
||||||
|
.btn_confirm .btn {
|
||||||
|
display: flex;
|
||||||
|
justify-content: center;
|
||||||
|
align-items: center;
|
||||||
|
border: 2px solid transparent;
|
||||||
|
box-sizing: border-box;
|
||||||
|
transition: .25s;
|
||||||
|
}
|
||||||
|
|
||||||
|
.btn_confirm .btn>span {
|
||||||
|
position: relative;
|
||||||
|
text-align: center;
|
||||||
|
z-index: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.btn_confirm .btn>.btn_submit {
|
||||||
|
position: absolute;
|
||||||
|
display: block;
|
||||||
|
width: 100%;
|
||||||
|
height: 100%;
|
||||||
|
opacity: 0;
|
||||||
|
z-index: 1;
|
||||||
|
cursor: pointer;
|
||||||
|
}
|
||||||
|
|
||||||
|
.btn_confirm .btn,
|
||||||
|
.btn_confirm a,
|
||||||
|
.btn_confirm button {
|
||||||
|
background: var(--theme-gray-600);
|
||||||
|
margin-left: 1px;
|
||||||
|
}
|
||||||
|
.btn_confirm .btn>span,
|
||||||
|
.btn_confirm a>*,
|
||||||
|
.btn_confirm button>* {
|
||||||
|
pointer-events: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
.btn_confirm a,
|
||||||
|
.btn_confirm button {
|
||||||
|
box-sizing: border-box;
|
||||||
|
border: 2px solid transparent;
|
||||||
|
display: flex;
|
||||||
|
justify-content: center;
|
||||||
|
align-items: center;
|
||||||
|
padding: 0;
|
||||||
|
transition: .25s;
|
||||||
|
}
|
||||||
|
|
||||||
|
.btn_confirm a:hover,
|
||||||
|
.btn_confirm button:hover,
|
||||||
|
.btn_confirm .btn:hover {
|
||||||
|
text-decoration: none;
|
||||||
|
color: var(--white);
|
||||||
|
background-color: var(--theme-sub-700);
|
||||||
|
}
|
||||||
|
|
||||||
|
#wrap {
|
||||||
|
display: block;
|
||||||
|
position: relative;
|
||||||
|
margin: 0;
|
||||||
|
padding: 8px 0;
|
||||||
|
box-sizing: border-box;
|
||||||
|
background: var(--theme-gray-900);
|
||||||
|
height: 100%;
|
||||||
|
}
|
||||||
|
|
|
||||||
|
|
@ -19,6 +19,7 @@ include_once G5_ADMIN_PATH . '/admin.head.php';
|
||||||
|
|
||||||
add_stylesheet(get_embed_file("css", G5_PATH . "/adm/css/addon_config.css"), 1);
|
add_stylesheet(get_embed_file("css", G5_PATH . "/adm/css/addon_config.css"), 1);
|
||||||
?>
|
?>
|
||||||
|
<form method="POST" action="./addon_config_update.php" class="addon_conf_form">
|
||||||
<section class="addon_config">
|
<section class="addon_config">
|
||||||
<nav><span>설치된 애드온 목록</span><?php
|
<nav><span>설치된 애드온 목록</span><?php
|
||||||
if (!empty(AddonLoader::$addons)) {
|
if (!empty(AddonLoader::$addons)) {
|
||||||
|
|
@ -81,20 +82,12 @@ add_stylesheet(get_embed_file("css", G5_PATH . "/adm/css/addon_config.css"), 1);
|
||||||
</div>
|
</div>
|
||||||
</header>
|
</header>
|
||||||
<content>
|
<content>
|
||||||
<form method="POST" action="./addon_config_update.php">
|
|
||||||
<input type="hidden" name="addon" value="<?= $addon->className ?>" />
|
<input type="hidden" name="addon" value="<?= $addon->className ?>" />
|
||||||
<?php
|
<?php
|
||||||
if (method_exists($addon, "printConfigForm")) {
|
if (method_exists($addon, "printConfigForm")) {
|
||||||
$addon->printConfigForm();
|
$addon->printConfigForm();
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
<div class="btn_confirm">
|
|
||||||
<div class="btn">
|
|
||||||
<span class="material-icons">save</span>
|
|
||||||
<input type="submit" value="저장" class="btn_submit" accesskey="s">
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</form>
|
|
||||||
</content><?php
|
</content><?php
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
|
@ -103,5 +96,12 @@ add_stylesheet(get_embed_file("css", G5_PATH . "/adm/css/addon_config.css"), 1);
|
||||||
?>
|
?>
|
||||||
</section>
|
</section>
|
||||||
</section>
|
</section>
|
||||||
|
<div class="btn_confirm">
|
||||||
|
<div class="btn">
|
||||||
|
<span class="material-icons">save</span>
|
||||||
|
<input type="submit" value="저장" class="btn_submit" accesskey="s">
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</form>
|
||||||
<?php
|
<?php
|
||||||
include_once G5_ADMIN_PATH . '/admin.tail.php';
|
include_once G5_ADMIN_PATH . '/admin.tail.php';
|
||||||
|
|
|
||||||
|
|
@ -198,8 +198,10 @@ switch ($day) {
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
|
</div>
|
||||||
<?php
|
<?php
|
||||||
}
|
}
|
||||||
|
|
||||||
include_once "./admin.tail.php";
|
|
||||||
?>
|
?>
|
||||||
|
</div>
|
||||||
|
<?php
|
||||||
|
include_once "./admin.tail.php";
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue