mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-14 00:39:57 +09:00
git-svn-id: http://xe-core.googlecode.com/svn/trunk@1011 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
21ec50abfe
commit
ce2f0a583b
3 changed files with 12 additions and 4 deletions
|
|
@ -53,9 +53,15 @@
|
|||
margin:5px 0px 5px 20px;
|
||||
}
|
||||
|
||||
.poll_detail_box .bar_box {
|
||||
width:80%;
|
||||
margin-bottom:10px;
|
||||
}
|
||||
|
||||
.poll_detail_box .bar {
|
||||
margin:5px 0px 15px 20px;
|
||||
background-color:#444444;
|
||||
border-bottom:1px solid #AAAAAA;
|
||||
margin:0px 5px 5px 35px;
|
||||
height:5px;
|
||||
}
|
||||
|
||||
|
|
|
|||
BIN
modules/poll/tpl/images/blank.gif
Normal file
BIN
modules/poll/tpl/images/blank.gif
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 43 B |
|
|
@ -18,13 +18,15 @@
|
|||
{@$per = (int)(( $item->poll_count / $val->poll_count)*100) }
|
||||
|
||||
<div class="text">
|
||||
{$item->title} : {$item->poll_count} ({$per}%)
|
||||
{$item_srl+1}. {$item->title} : {$item->poll_count} ({$per}%)
|
||||
</div>
|
||||
<div class="bar_box">
|
||||
<!--@if($per)-->
|
||||
<div class="bar" style="width:{$per}%;"></div>
|
||||
<div class="bar" style="width:{$per}%;"><img src="./images/blank.gif" alt="bar" width="1" height="5" /></div>
|
||||
<!--@else-->
|
||||
<div class="bar" style="width:2px;"></div>
|
||||
<div class="bar" style="width:2px;"><img src="./images/blank.gif" alt="bar" width="1" height="5" /></div>
|
||||
<!--@end-->
|
||||
</div>
|
||||
<!--@end-->
|
||||
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue