모바일: 상단 페이지 작업

This commit is contained in:
whitedot
2013-02-27 18:25:05 +09:00
parent 6368c0a39f
commit a7bf7a571d
8 changed files with 57 additions and 50 deletions

View File

@ -245,6 +245,7 @@ if (is_checked('chk_use_list_view')) $fields .= " , bo_use_list_view = '{$bo_
if (is_checked('chk_use_list_content')) $fields .= " , bo_use_list_content = '{$bo_use_list_content}' ";
if (is_checked('chk_use_email')) $fields .= " , bo_use_email = '{$bo_use_email}' ";
if (is_checked('chk_skin')) $fields .= " , bo_skin = '{$bo_skin}' ";
if (is_checked('chk_mobile_skin')) $fields .= " , bo_mobile_skin = '{$bo_mobile_skin}' ";
if (is_checked('chk_gallery_cols')) $fields .= " , bo_gallery_cols = '{$bo_gallery_cols}' ";
if (is_checked('chk_table_width')) $fields .= " , bo_table_width = '{$bo_table_width}' ";
if (is_checked('chk_page_rows')) $fields .= " , bo_page_rows = '{$bo_page_rows}' ";

View File

@ -99,14 +99,11 @@ $sql = " update {$g4['config_table']}
cf_privacy = '{$_POST['cf_privacy']}',
cf_open_modify = '{$_POST['cf_open_modify']}',
cf_memo_send_point = '{$_POST['cf_memo_send_point']}',
<<<<<<< HEAD
cf_mobile_new_skin = '{$_POST['cf_mobile_new_skin']}',
cf_mobile_search_skin = '{$_POST['cf_mobile_search_skin']}',
cf_mobile_connect_skin = '{$_POST['cf_mobile_connect_skin']}',
cf_mobile_member_skin = '{$_POST['cf_mobile_member_skin']}',
=======
cf_adult_check = '{$_POST['cf_adult_check']}',
>>>>>>> aa1bdc7e789bc4b81151546f1180d34939329093
cf_1_subj = '{$_POST['cf_1_subj']}',
cf_2_subj = '{$_POST['cf_2_subj']}',
cf_3_subj = '{$_POST['cf_3_subj']}',

View File

@ -8,12 +8,12 @@ h1, h2, h3, h4, h5, h6 {font-size:1em}
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {display:block}
header ul, nav ul, footer ul {margin:0;padding:0;list-style:none}
label, input, select, img {vertical-align:middle}
input {margin:0;padding:0}
input,button {margin:0;padding:0;-webkit-appearance:none}
input[type=text],
input[type=password],
input[type=submit],
input[type=image],
button {border-radius:0 !important;-webkit-appearance:none} /* 모바일에서만 사용 */
button {border-radius:0 !important} /* 모바일에서만 사용 */
p {margin:0;padding:10px 0;line-height:1.7em;word-break:break-all}
hr {display:none}
pre {overflow-x:scroll;font-size:1.1em}
@ -60,6 +60,8 @@ pre {overflow-x:scroll;font-size:1.1em}
/* 중간 레이아웃 */
#wrapper {margin:30px 0}
#wrapper:after {display:block;visibility:hidden;clear:both;content:""}
#wrapper_title {margin-bottom:20px;padding:0 10px;font-size:1.2em}
#lnb {display:none}
@ -95,6 +97,19 @@ pre {overflow-x:scroll;font-size:1.1em}
.btn_admin:focus,
.btn_admin:hover {text-decoration:none !important}
/* 기본테이블 */
.basic_tbl {margin-bottom:10px;width:100%;border-collapse:collapse;border-spacing:0}
.basic_tbl caption {padding:0 0 10px;color:#777;text-align:left}
.basic_tbl thead th {padding:12px 0 8px;background:#565e60;color:#fff}
.basic_tbl thead a {color:#fff}
.basic_tbl thead th input {vertical-align:top} /* middle 로 하면 게시판 읽기에서 목록 사용시 체크박스 라인 깨짐 */
.basic_tbl tfoot th {border-top:1px solid #666;border-bottom:1px solid #666;background:#484848;color:#fff}
.basic_tbl tfoot td {border-color:#666;background:#484848;color:#fff;font-weight:bold;text-align:center}
.basic_tbl td {border-top:1px solid #e9e9e9;border-bottom:1px solid #e9e9e9;line-height:1.5em;word-break:break-all}
.basic_tbl a {display:block;padding:10px 5px;color:#000;text-decoration:none}
.bo_sideview td {padding:6px 4px} /* 사이드뷰 사용하는 테이블 셀 패딩값 */
td.empty_table {padding:85px 0;text-align:center}
/* 필수입력 */
.required {background:url('../img/wrest.gif') #f7f7f7 top right no-repeat !important}
@ -104,7 +119,8 @@ pre {overflow-x:scroll;font-size:1.1em}
.frm_tbl th {padding-left:10px;width:100px;border-top:1px solid #eee;border-bottom:1px solid #eee;font-weight:normal;text-align:left}
.frm_tbl td {padding:7px 10px;border-top:1px solid #e9e9e9;border-bottom:1px solid #e9e9e9;background:transparent}
.frm_tbl textarea,
.frm_input {padding:2px 2px 3px;border:1px solid #b8c9c2;background:#f7f7f7;vertical-align:middle}
.frm_input,
select {padding:2px 2px 3px;border:1px solid #b8c9c2;background:#f7f7f7;vertical-align:middle}
.frm_input:focus,
input.required:focus {padding:3px 3px 4px;border:0;background:#21272e !important;color:#fff}
.frm_tbl textarea {width:90%;height:150px}
@ -156,15 +172,14 @@ sup {display:none !important}
#scrap_do table {margin:0 0 10px;width:100%}
#scrap_do textarea {height:100px}
/* 회원 패스워드 확인 */
#mb_confirm {margin:30px 0}
#mb_confirm h1 {margin:0 0 20px;padding:0 10px;font-size:1.3em}
#mb_confirm p {padding:20px;border:1px solid #cfded8;border-bottom:0;background:#fff}
#mb_confirm p {padding:20px 10px;border:1px solid #cfded8;border-bottom:0;background:#fff}
#mb_confirm p strong {display:block}
#mb_confirm fieldset {margin:0 0 30px;padding:30px 0;border:1px solid #cfded8;background:#f7f7f2;text-align:center}
#mb_confirm label {letter-spacing:-0.1em}
#mb_confirm_id {display:inline-block;margin-right:20px;font-weight:bold}
#mb_confirm fieldset {position:relative;margin:0 0 30px;padding:30px 10px;border:1px solid #cfded8;background:#f7f7f2}
#mb_confirm_pw {display:block;margin-top:10px;padding:0;width:80%;height:25px}
#mb_confirm .btn_submit {position:absolute;bottom:30px;right:10px;width:18%;height:27px}
#mb_login {margin:30px 0}
#mb_login h1 {margin:0 0 20px;padding:0 10px;font-size:1.3em}
@ -195,22 +210,35 @@ sup {display:none !important}
.lt_title:active ~ ul {display:block;position:absolute;top:100px;left:0}
.lt a {color:#000;text-decoration:none}
.lt_more {display:none}
/*
.lt {position:relative;margin-bottom:20px;padding-bottom:10px;width:100%;height:150px;border-bottom:1px solid #ddd}
.lt ul {margin:0 0 10px;padding:0;list-style:none}
.lt li {padding:3px 0}
.lt_title {display:block;padding:10px 0 8px}
.lt_more {position:absolute;top:10px;right:0}
*/
/* 현재접속자 */
#current_connect_tbl {}
#current_connect_tbl th:nth-of-type(1) {width:50px}
#current_connect_tbl th:nth-of-type(2) {width:120px}
#current_connect_tbl td:nth-of-type(1) {padding:10px 0;text-align:center}
#current_connect_tbl .sv {display:none}
/* 새글 */
#new_sch {margin:0 0 5px;padding:5px 10px}
#new_tbl {}
#new_tbl th:nth-of-type(1) {display:none}
#new_tbl th:nth-of-type(4) {display:none}
#new_tbl th:nth-of-type(5) {width:50px}
#new_tbl td:nth-of-type(1) {display:none}
#new_tbl td:nth-of-type(4) {display:none}
#new_tbl td:nth-of-type(5) {text-align:center}
#new_tbl .sv {display:none}
/* 게시판 목록 */
.bo_list table {margin-bottom:20px;width:100%;border-collapse:collapse;border-spacing:0}
.bo_list th {padding:12px 0 8px;background:#565e60;color:#fff}
.bo_list th {}
.bo_list th a {color:#fff;text-decoration:none}
.bo_list td {border-bottom:1px solid #ddd}
.bo_list td a {display:block;padding:10px 5px;color:#000;text-decoration:none}
.bo_list img {margin-right:4px}
.bo_list img:nth-last-of-type(1) {margin-right:0}
@ -218,9 +246,10 @@ sup {display:none !important}
/* 관리자일 때 생략 */
#bo_list_admin th:nth-of-type(1) {display:none}
#bo_list_admin th:nth-of-type(4) {display:none}
#bo_list_admin th:nth-of-type(6) {width:20%}
#bo_list_admin th:nth-of-type(5) {width:100px}
#bo_list_admin th:nth-of-type(6) {display:none}
#bo_list_admin th:nth-of-type(7) {display:none}
#bo_list_admin td:nth-of-type(1) {display:none}
#bo_list_admin td:nth-of-type(2) {text-align:center}
#bo_list_admin td:nth-of-type(4) {display:none}
@ -231,9 +260,10 @@ sup {display:none !important}
/* 관리자가 아닐 때 생략 */
#bo_list th:nth-of-type(1) {display:none}
#bo_list th:nth-of-type(3) {display:none}
#bo_list th:nth-of-type(4) {width:25%}
#bo_list th:nth-of-type(4) {width:100px}
#bo_list th:nth-of-type(5) {display:none}
#bo_list th:nth-of-type(6) {display:none}
#bo_list td:nth-of-type(1) {display:none}
#bo_list td:nth-of-type(3) {display:none}
#bo_list td:nth-of-type(4) {text-align:center}

View File

@ -2,15 +2,7 @@
if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
?>
<h1>모바일 버전</h1>
<h1>모바일 버전</h1>
<h1>모바일 버전</h1>
<h1>모바일 버전</h1>
<h1>모바일 버전</h1>
<h1>모바일 버전</h1>
<table id="current_connect_tbl" class="basic_tbl">
<caption>현재접속자 목록</caption>
<thead>
<tr>
<th scope="col">번호</th>
@ -28,8 +20,8 @@ for ($i=0; $i<count($list); $i++) {
else $display_location = $location;
?>
<tr>
<td class="td_num"><?=$list[$i]['num']?></td>
<td class="td_name"><?=$list[$i]['name']?></td>
<td><?=$list[$i]['num']?></td>
<td><?=$list[$i]['name']?></td>
<td><?=$display_location?></td>
</tr>
<?

View File

@ -9,8 +9,8 @@ if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
<input type="hidden" name="url" value='<?=$login_url?>'>
<fieldset class="cbg">
<input type="text" id="login_id" name="mb_id" class="fs_input" maxLength="20" size="20" required placeholder="아이디">
<input type="password" id="login_pw" class="fs_input" name="mb_password" maxLength="20" size="20" required placeholder="패스워드">
<input type="text" id="login_id" name="mb_id" class="fs_input" maxLength="20" size="20" required placeholder="아이디(필수)">
<input type="password" id="login_pw" class="fs_input" name="mb_password" maxLength="20" size="20" required placeholder="패스워드(필수)">
<input type="submit" class="btn_submit" value="로그인">
<input type="checkbox" id="login_auto_login" name="auto_login">
<label for="login_auto_login">자동로그인</label>

View File

@ -17,10 +17,8 @@ if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
<fieldset>
회원아이디
<span id="mb_confirm_id"><?=$member[mb_id]?></span>
<label for="confirm_mb_password">패스워드<strong class="sound_only">필수</strong></label>
<input type="password" id="confirm_mb_password" name="mb_password" class="fs_input" maxLength="20" size="15" required>
<input type="submit" id="btn_submit" class="fs_submit" value="확인">
<input type="password" id="mb_confirm_pw" name="mb_password" class="fs_input" maxLength="20" size="15" required placeholder="패스워드(필수)">
<input type="submit" id="btn_submit" class="btn_submit" value="확인">
</fieldset>
</form>
@ -32,8 +30,6 @@ if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
</div>
<script>
document.onload = document.fmemberconfirm.mb_password.focus();
function fmemberconfirm_submit(f)
{
document.getElementById("btn_submit").disabled = true;

View File

@ -2,14 +2,6 @@
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
?>
<h1>모바일 버전</h1>
<h1>모바일 버전</h1>
<h1>모바일 버전</h1>
<h1>모바일 버전</h1>
<h1>모바일 버전</h1>
<h1>모바일 버전</h1>
<!-- 검색 -->
<fieldset id="new_sch">
<legend>상세검색</legend>
@ -35,7 +27,7 @@ if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
<!-- 검색 끝 -->
<!-- 제목 시작 -->
<table class="basic_tbl">
<table id="new_tbl" class="basic_tbl">
<thead>
<tr>
<th scope="col">그룹</th>

View File

@ -3,7 +3,6 @@ if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
?>
<table id="current_connect_tbl" class="basic_tbl">
<caption>현재접속자 목록</caption>
<thead>
<tr>
<th scope="col">번호</th>