mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-26 22:02:13 +09:00
#19185512 관리자 페이지 접속통계 픽셀너비 버그 수정
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@8054 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
69debfb382
commit
3dbcc572a2
2 changed files with 12 additions and 10 deletions
3
modules/counter/tpl/counter.css
Normal file
3
modules/counter/tpl/counter.css
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
.barContainer{margin-right:103px;position:relative;height:100%;}
|
||||
.graphHr{position:relative; display:inline-block; background:transparent url(images/iconBar.gif) 4px 0 repeat-x; top:5px; height:5px; }
|
||||
.graphHr span{position:absolute; top:-5px; left:100%; padding-left:3px; width:100px; }
|
||||
|
|
@ -1,5 +1,5 @@
|
|||
<!--%import("js/counter_admin.js")-->
|
||||
<!--%import("css/counter.css")-->
|
||||
<load target="js/counter_admin.js" />
|
||||
<load target="counter.css" />
|
||||
|
||||
<!--// datepicker javascript plugin load -->
|
||||
<!--%load_js_plugin("ui.datepicker")-->
|
||||
|
|
@ -87,7 +87,7 @@
|
|||
<table cellspacing="0" class="rowTable">
|
||||
<!--@foreach($detail_status->list as $key => $val)-->
|
||||
<!--@if($detail_status->sum>0)-->
|
||||
{@$percent = sprintf("%0.2f", $val / $detail_status->sum * 100 )}
|
||||
{@$percent = sprintf("%0.2f", $val / $detail_status->sum * 100 )}
|
||||
{@$img_width = sprintf("%d", $val / $detail_status->max * 100 )}
|
||||
<!--@else-->
|
||||
{@$percent = 0}
|
||||
|
|
@ -125,14 +125,13 @@
|
|||
</div>
|
||||
</th>
|
||||
<!--@end-->
|
||||
{@ $img_width = (int)$percent; $img_width = $img_width?$img_width.'%':'3px'; }
|
||||
<td class="wide">
|
||||
{@$img_percent = $img_width-30}
|
||||
<!--@if($img_percent<1)-->
|
||||
<img class="graphHr" style="width:3px;" alt="" src="./images/iconBar.gif" />
|
||||
<!--@else-->
|
||||
<img class="graphHr" style="width:{$img_percent}%;" alt="" src="./images/iconBar.gif" />
|
||||
<!--@end-->
|
||||
{number_format($val)}({$percent}%)
|
||||
<div class="barContainer">
|
||||
<span class="graphHr" style="width:{$img_width}">
|
||||
<span>{number_format($val)}({$percent}%)</span>
|
||||
</span>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<!--@end-->
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue