UI cleaning.

git-svn-id: http://xe-core.googlecode.com/svn/branches/maserati@12287 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
ChanMyeong 2012-11-22 10:10:20 +00:00
parent d2bffa188b
commit 695693f66f
16 changed files with 47 additions and 72 deletions

View file

@ -25,7 +25,7 @@
<div class="x_control-group">
<label class="x_control-label" for="adminTitle">{$lang->admin_title}</label>
<div class="x_controls">
<input type="text" name="adminTitle" id="adminTitle" value="{$config_object->adminTitle}" />
<input type="text" name="adminTitle" id="adminTitle" value="{$config_object->adminTitle}" placeholder="XE Admin" />
</div>
</div>
<div class="x_clearfix btnArea">

View file

@ -1,12 +1,12 @@
<load target="./js/config.js" usecdn="true" />
<load target="../install/lang/lang.xml" usecdn="true" />
<load target="../../session/tpl/js/session.js" usecdn="true" />
<div cond="$XE_VALIDATOR_MESSAGE" class="message {$XE_VALIDATOR_MESSAGE_TYPE}">
<p>{$XE_VALIDATOR_MESSAGE}</p>
</div>
<div class="x_page-header">
<h1>{$lang->menu_gnb_sub['adminConfigurationFtp']}</h1>
</div>
<div cond="$XE_VALIDATOR_MESSAGE" class="message {$XE_VALIDATOR_MESSAGE_TYPE}">
<p>{$XE_VALIDATOR_MESSAGE}</p>
</div>
<p class="x_help-block">{$lang->detail_about_ftp_info}</p>
<form action="./" id="ftp_form" method="post" enctype="multipart/form-data" class="x_form-horizontal" ruleset="installFtpInfo">
<input type="hidden" name="module" value="install" />
@ -50,7 +50,7 @@
<div class="x_control-group">
<label class="x_control-label" for="ftp_port">{$lang->ftp_port}</label>
<div class="x_controls">
<input type="text" name="ftp_port" id="ftp_port" value="{$ftp_info->ftp_port ? $ftp_info->ftp_port : '21'}" /> Default : 21
<input type="number" name="ftp_port" id="ftp_port" value="{$ftp_info->ftp_port ? $ftp_info->ftp_port : '21'}" style="width:50px" /> Default : 21
</div>
</div>
<div class="x_control-group">

View file

@ -48,7 +48,7 @@
<div class="x_control-group">
<label class="x_control-label" for="time_zone">{$lang->timezone}</label>
<div class="x_controls">
<select name="time_zone" id="time_zone">
<select name="time_zone" id="time_zone" style="width:auto">
<option value="{$key}" selected="selected"|cond="$time_zone==$key" loop="$time_zone_list=>$key,$val">{$val}</option>
</select>
</div>
@ -118,7 +118,7 @@
</section>
<section class="section collapse">
<h1>{$lang->subtitle_advanced}</h1>
<form action="./" method="post" enctype="multipart/form-data" class="x_form-horizontal" style="display:none">
<form action="./" method="post" enctype="multipart/form-data" class="x_form-horizontal">
<input type="hidden" name="module" value="install" />
<input type="hidden" name="act" value="procInstallAdminSaveTimeZone" />
<div class="x_control-group">
@ -151,8 +151,8 @@
<div class="x_control-group">
<label class="x_control-label">{$lang->server_ports}</label>
<div class="x_controls">
<label for="http_port" class="x_inline">HTTP: <input type="text" name="http_port" id="http_port" size="5" value="{$http_port}" style="width:40px" /></label>
<label for="https_port" class="x_inline">HTTPS: <input type="text" name="https_port" id="https_port" size="5" value="{$https_port}" style="width:40px" /></label>
<label for="http_port" class="x_inline">HTTP: <input type="number" name="http_port" id="http_port" size="5" value="{$http_port}" style="width:50px" /></label>
<label for="https_port" class="x_inline">HTTPS: <input type="number" name="https_port" id="https_port" size="5" value="{$https_port}" style="width:50px" /></label>
</div>
</div>
<div class="x_control-group" cond="__XE_CDN_VERSION__!='%__XE_CDN_VERSION__%'">

View file

@ -66,6 +66,7 @@ body>.x,
.x .x_btn-group>.x_btn:first-child{border-bottom-left-radius:2px;border-top-left-radius:2px}
.x input[type="radio"],
.x input[type="checkbox"]{margin:0}
.x input[type="file"]{height:auto}
.x td select,
.x td textarea,
.x td input{margin-bottom:0}
@ -83,7 +84,7 @@ body>.x,
.x .x_inline{display:inline-block;*display:inline;*zoom:1}
.x label.checked,
.x input:checked+label,
.x .x_form-horizontal .x_control-label{font-weight:bold}
.x .x_form-horizontal .x_control-label{font-weight:bold;word-break:keep-all}
.x .x_form-horizontal .x_controls>label{padding-top:5px}
.x input[type="radio"]+label,
.x input[type="checkbox"]+label{font-weight:normal}
@ -96,7 +97,7 @@ body>.x,
.x.x_modal,
.x_modal-backdrop{display:none}
.x.x_modal{padding:0;width:90%;margin:-250px 0 0 -45%;max-width:none;border-radius:6px;box-shadow:none}
.x_modal>form{margin:0}
.x.x_modal>form{margin:0}
.x .x_control-group{padding-top:8px;margin-bottom:10px;border-top:1px dotted #ddd;clear:both}
.x .x_control-group:before{content:"";display:block;clear:both}
.x .x_control-group:first-child,