UI refactoring counter module

git-svn-id: http://xe-core.googlecode.com/svn/branches/maserati@11986 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
flyskyko 2012-10-31 06:03:44 +00:00
parent f66e3373d3
commit cff257e30e

View file

@ -10,19 +10,25 @@
return true;
}
</script>
<h3 class="h3">{$lang->counter} {$lang->cmd_management}</h3>
<div class="x_page-header">
<h1>{$lang->counter} {$lang->cmd_management}</h1>
</div>
<form action="./index.php" method="get" name="calendar" id="fo_calendar">
<input type="hidden" name="module" value="{$module}" />
<input type="hidden" name="act" value="{$act}" />
<input type="hidden" name="selected_date" id="selected_date" value="{zDate('Ymd',$selected_date)}" />
<table class="x_table x_table-striped x_table-hover">
<thead>
<tr>
<th scope="row">{$lang->total_counter}</th>
<th scope="row"> <span id="str_selected_date">{zdate($selected_date, "Y-m-d")}</span>
<th scope="row">
<span id="str_selected_date">{zdate($selected_date, "Y-m-d")}</span>
<input type="hidden" class="inputDate" value="{zdate($selected_date,'Y-m-d')}" />
<script>
(function($){
<script>
(function($){
$(function(){
var option = {
changeMonth: true
@ -44,8 +50,9 @@
$.extend(option,$.datepicker.regional['{$lang_type}']);
$(".inputDate").datepicker(option);
});
})(jQuery);
</script> </th>
})(jQuery);
</script>
</th>
</tr>
</thead>
<tbody>
@ -55,11 +62,13 @@
</tr>
</tbody>
</table>
</form>
<p>
<a loop="$lang->cmd_select_counter_type => $key, $val" href="{getUrl('type',$key)}" class="active"|cond="$type==$key || (!$type && $key == "hour")">{$val}</a> <i>|</i>
</p>
</form>
<p>
<block loop="$lang->cmd_select_counter_type => $key, $val">
<a href="{getUrl('type',$key)}" class="active"|cond="$type==$key || (!$type && $key == 'hour')">{$val}</a> <i class="vr">|</i>
</block>
</p>
<!-- 일자를 옮기는 form -->
<form action="./" method="get" id="fo_counter">
@ -68,7 +77,6 @@
<input type="hidden" name="selected_date" value="{$selected_date}" />
</form>
<!-- unique visitor 그래프 -->
<table class="x_table x_table-striped x_table-hover">
<!--@foreach($detail_status->list as $key => $val)-->