fix: 서버 페이지에서 버튼을 bootstrap 버튼으로 변경

This commit is contained in:
2022-05-13 20:27:31 +09:00
parent e0d5c44184
commit 5d499bbfbe
3 changed files with 20 additions and 41 deletions
+7 -2
View File
@@ -36,16 +36,21 @@ body {
height: 130px; height: 130px;
} }
#user_info button { #user_info .btn {
width: 200px; width: 200px;
height: 50px;
margin: 10px 50px; margin: 10px 50px;
padding: 10px;
} }
.center_ordered_items { .center_ordered_items {
text-align: center; text-align: center;
} }
.server-action{
padding-top: 16px;
padding-bottom: 16px;
}
.Entrance_ServerList { .Entrance_ServerList {
width: 800px; width: 800px;
height: 64px; height: 64px;
+11 -37
View File
@@ -44,54 +44,28 @@ const serverFullTemplate = "\
<td colspan='4' class='server_full'>- 장수 등록 마감 -</td>\ <td colspan='4' class='server_full'>- 장수 등록 마감 -</td>\
"; ";
// eslint-disable-next-line @typescript-eslint/no-unused-vars
const serverSelectPoolTemplate = "\
<td colspan='2' class='not_registered'>- 미 등 록 -</td>\
<td class='ignore_border'>\
<a href='<%serverPath%>/select_general_from_pool.php'><button type='button' class='general_select with_skin'>장수선택</button></a>\
</td>\
";
// eslint-disable-next-line @typescript-eslint/no-unused-vars
const serverLoginBtn = "<a href='<%serverPath%>/' class='item'\
><button type='button' class='fill_box with_skin'>입장</button\
></a>";
// eslint-disable-next-line @typescript-eslint/no-unused-vars
const serverCreateBtn = "<a href='<%serverPath%>/v_join.php' class='item'\
><button type='button' class='fill_box with_skin'>장수생성</button\
></a>";
// eslint-disable-next-line @typescript-eslint/no-unused-vars
const serverSelectNPCBtn = "<a href='<%serverPath%>/select_npc.php' class='item'\
><button type='button' class='fill_box with_skin'>장수빙의</button\
></a>";
// eslint-disable-next-line @typescript-eslint/no-unused-vars
const serverSelectPoolBtn = "<a href='<%serverPath%>/select_general_from_pool.php' class='item'\
><button type='button' class='fill_box with_skin'>장수선택</button\
></a>";
const serverCreateTemplate = "\ const serverCreateTemplate = "\
<td colspan='2' class='not_registered'>- 미 등 록 -</div>\ <td colspan='2' class='not_registered'>- 미 등 록 -\
<td class='ignore_border vertical_flex BtnPlate'>\ <td class='ignore_border'>\
<div class='d-grid'>\
<%if(canCreate) {%>\ <%if(canCreate) {%>\
<a href='<%serverPath%>/v_join.php' class='item'><button type='button' class='fill_box with_skin'>장수생성</button></a>\ <a class='btn btn-secondary server-action' href='<%serverPath%>/v_join.php'>장수생성</a>\
<%}%>\ <%}%>\
<%if(canSelectNPC) {%>\ <%if(canSelectNPC) {%>\
<a href='<%serverPath%>/select_npc.php' class='item'><button type='button' class='fill_box with_skin'>장수빙의</button></a>\ <a class='btn btn-secondary server-action' href='<%serverPath%>/select_npc.php'>장수빙의</a>\
<%}%>\ <%}%>\
<%if(canSelectPool) {%>\ <%if(canSelectPool) {%>\
<a href='<%serverPath%>/select_general_from_pool.php' class='item'><button type='button' class='fill_box with_skin'>장수선택</button></a>\ <a class='btn btn-secondary server-action' href='<%serverPath%>/select_general_from_pool.php'>장수선택</a>\
<%}%>\ <%}%>\
</td>"; </div></td>";
const serverLoginTemplate = "\ const serverLoginTemplate = "\
<td style='background:url(\"<%picture%>\");background-size: 64px 64px;'></td>\ <td style='background:url(\"<%picture%>\");background-size: 64px 64px;'></td>\
<td><%name%></td>\ <td><%name%></td>\
<td class='ignore_border vertical_flex BtnPlate'>\ <td class='ignore_border'>\
<a href='<%serverPath%>/' class='item'><button type='button' class='fill_box with_skin'>입장</button></a>\ <div class='d-grid'>\
</td>\ <a href='<%serverPath%>/' class='btn btn-secondary server-action'>입장</a>\
</div></td>\
"; ";
// eslint-disable-next-line @typescript-eslint/no-unused-vars // eslint-disable-next-line @typescript-eslint/no-unused-vars
+2 -2
View File
@@ -103,8 +103,8 @@ $acl = $session->acl;
<div id="user_info"> <div id="user_info">
<div class="bg2 section_title with_border">계 정 관 리</div> <div class="bg2 section_title with_border">계 정 관 리</div>
<div class="center_ordered_items with_border bg0"> <div class="center_ordered_items with_border bg0">
<a href="user_info.php"><button type="button" id="btn_user_manage" class="with_skin">비밀번호 &amp; 전콘 &amp; 탈퇴</button></a> <a class="btn btn-dark" href="user_info.php" id="btn_user_manage">비밀번호 &amp; 전콘 &amp; 탈퇴</a>
<button type="button" id="btn_logout" class="with_skin">로 그 아 웃</button> <button type="button" id="btn_logout"class="btn btn-dark">로 그 아 웃</button>
</div> </div>
</div> </div>