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

View File

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

View File

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

View File

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