clean code

This commit is contained in:
wlx 2011-10-12 14:12:20 +00:00
parent 15c6fa7d03
commit 7db4e52a47
5 changed files with 3 additions and 32 deletions

View File

@ -7,11 +7,9 @@
$this->breadcrumb('<a href="/admin">后台首页</a>');
$this->breadcrumb()->setSeparator(' > ');
?>
<div id="divContent">
<div id="leftPanel">
<?= $this->partial('stat/left.phtml'); ?>
</div>
<div id="rightPanel">
<iframe src="http://westdc.westgis.ac.cn/awstats/awstats.pl?config=proftp" style="width:100%;height:700px;border:none;"></iframe>
</div>
</div>

View File

@ -7,11 +7,9 @@
$this->breadcrumb('<a href="/admin">后台首页</a>');
$this->breadcrumb()->setSeparator(' > ');
?>
<div id="divContent">
<div id="leftPanel">
<?= $this->partial('stat/left.phtml'); ?>
</div>
<div id="rightPanel">
<iframe src="http://westdc.westgis.ac.cn/awstats/awstats.pl?config=westdc" style="width:100%;height:700px;border:none;"></iframe>
</div>
</div>

View File

@ -13,7 +13,6 @@
.tables{width:320px;float:left;}
.tables .stitle{width:100%;font-size:16px;font-weight:bold;}
</style>
<div id="divContent">
<div id="leftPanel">
<?= $this->partial('stat/left.phtml'); ?>
</div>
@ -23,7 +22,7 @@
<div class="stitle">概况</div>
<table>
<thead>
<tr><td width="200">key</td><td width="100">value</td></tr>
<tr><td width="200">说明</td><td width="100"></td></tr>
</thead>
<tr>
<td>用户总数</td>
@ -119,17 +118,5 @@
}
?>
</table>
</div>
</div>
</div>
</div>
<script type="text/javascript" language="javascript">
$(function(){
$('#rightPanel').masonry({
itemSelector : '.tables',
columnWidth : 340
});
});
</script>

View File

@ -13,7 +13,6 @@
.tables{width:320px;float:left;}
.tables .stitle{width:100%;font-size:16px;font-weight:bold;}
</style>
<div id="divContent">
<div id="leftPanel">
<?= $this->partial('stat/left.phtml'); ?>
</div>
@ -166,13 +165,4 @@
</div>
</div>
</div>
<script type="text/javascript" language="javascript">
$(function(){
$('#rightPanel').masonry({
itemSelector : '.tables',
columnWidth : 340
});
});
</script>
</div>

View File

@ -7,11 +7,9 @@
$this->breadcrumb('<a href="/admin">后台首页</a>');
$this->breadcrumb()->setSeparator(' > ');
?>
<div id="divContent">
<div id="leftPanel">
<?= $this->partial('stat/left.phtml'); ?>
</div>
<div id="rightPanel">
<iframe src="http://westdc.westgis.ac.cn/webalizer/index.html" style="width:100%;height:700px;border:none;"></iframe>
</div>
</div>