mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-05 19:42:12 +09:00
Issue 2907 fixed. Dashboard graph cosmetic issue.
git-svn-id: http://xe-core.googlecode.com/svn/branches/maserati@12713 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
6823f75f45
commit
0841f7be53
1 changed files with 3 additions and 21 deletions
|
|
@ -46,7 +46,7 @@
|
|||
<div>
|
||||
<section class="status">
|
||||
<h2>{$lang->uv}</h2>
|
||||
<div style="margin:10px 15px; height:142px" id="visitors"></div>
|
||||
<div style="margin:10px 15px;height:142px" id="visitors"></div>
|
||||
<div class="more">
|
||||
<dl>
|
||||
<dt>{$lang->menu_gnb['user']}:</dt><dd><a href="{getUrl('', 'module', 'admin', 'act', 'dispMemberAdminList')}">{number_format($status->member->totalCount)}(<!--@if($status->member->todayCount > 0)-->+<!--@end-->{number_format($status->member->todayCount)})</a></dd>
|
||||
|
|
@ -56,7 +56,7 @@
|
|||
</section>
|
||||
<section class="status">
|
||||
<h2>{$lang->pv}</h2>
|
||||
<div style="margin:10px 15px; height:142px" id="page_views"></div>
|
||||
<div style="margin:10px 15px;height:142px" id="page_views"></div>
|
||||
<div class="more">
|
||||
<dl>
|
||||
<dt>{$lang->menu_gnb_sub['document']}:</dt><dd><a href="{getUrl('', 'module', 'admin', 'act', 'dispDocumentAdminList')}">{number_format($status->document->totalCount)}(<!--@if($status->document->todayCount > 0)-->+<!--@end-->{number_format($status->document->todayCount)})</a></dd>
|
||||
|
|
@ -64,6 +64,7 @@
|
|||
<a href="{getUrl('', 'module', 'admin', 'act', 'dispCounterAdminIndex')}"><i>›</i> {$lang->details}</a>
|
||||
</div>
|
||||
</section>
|
||||
<style scoped>.jqplot-table-legend{background:#fff;top:13px!important}</style>
|
||||
</div>
|
||||
<div>
|
||||
<section class="document">
|
||||
|
|
@ -202,24 +203,5 @@ function drawChart(sContainerId, sTitle, aLastWeek, aThisWeek)
|
|||
}
|
||||
}
|
||||
});
|
||||
|
||||
// jpplot resize
|
||||
jQuery(function($)
|
||||
{
|
||||
$(window).resize(function()
|
||||
{
|
||||
var targetWidth = $('.jqplot-target').width();
|
||||
$('.jqplot-base-canvas, .jqplot-grid-canvas').width(targetWidth).height(142);
|
||||
$('.jqplot-series-shadowCanvas, .jqplot-series-canvas, .jqplot-barRenderer-highlight-canvas, .jqplot-event-canvas,').width(targetWidth/10 * 8).height(109);
|
||||
$('.jqplot-xaxis').width(targetWidth/10 * 8).css('left','17px');
|
||||
$('.jqplot-xaxis-tick').css({
|
||||
position: 'static',
|
||||
left: '0',
|
||||
display: 'inline-block',
|
||||
width: '14.285714%',
|
||||
textAlign: 'center'
|
||||
});
|
||||
}).resize();
|
||||
});
|
||||
};
|
||||
</script>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue