update about page

This commit is contained in:
jack 2018-05-16 10:19:36 +08:00
parent 649ffb97a8
commit 3b0912dd39
4 changed files with 105 additions and 134 deletions

View File

@ -11,6 +11,8 @@
?> ?>
<div class="hidden-sm hidden-xs col-md-2"> <div class="hidden-sm hidden-xs col-md-2">
<?= $this->partial('stat/left.phtml'); ?> <?= $this->partial('stat/left.phtml'); ?>
</div>
<div class="col-md-10 col-sm-12">
<ul> <ul>
<li class="title">概况</li> <li class="title">概况</li>
<li>用户总数:<?php echo $this->stat['alluser']; ?></li> <li>用户总数:<?php echo $this->stat['alluser']; ?></li>
@ -22,28 +24,25 @@
<li>被拒绝的离线数据:<?php echo $this->stat['offlinedenied']; ?></li> <li>被拒绝的离线数据:<?php echo $this->stat['offlinedenied']; ?></li>
<li>有记录的在线下载数:<?php echo $this->stat['onlineapp']; ?></li> <li>有记录的在线下载数:<?php echo $this->stat['onlineapp']; ?></li>
</ul> </ul>
</div>
<div class="col-md-10 col-sm-12">
<div class="tables"> <div class="tables">
<div class="stitle">数据下载量概况</div> <div class="stitle">数据下载量概况</div>
<table> <table class="table table-bordered">
<thead> <thead>
<tr><td width="200"></td><td width="100">单位:GB</td></tr> <tr><td width="200"></td><td width="100">单位:GB</td></tr>
</thead> </thead>
<tr> <tr>
<td>总下载数据量(估计量,偏大)</td> <td>总下载数据量</td>
<td><?php echo round($this->allsize['num'],2);?></td> <td><?php echo round($this->allsize['num'],2);?></td>
</tr> </tr>
<tr> <tr>
<td>离线下载数据量从09年4月</td> <td>离线下载数据量</td>
<td><?php echo round($this->offlinesize['num'],2);?></td> <td><?php echo round($this->offlinesize['num'],2);?></td>
</tr> </tr>
<tr> <tr>
<td>在线下载数据量(估计量,偏大)</td> <td>在线下载数据量</td>
<td><?php echo round($this->onlinesize['num'],2);?></td> <td><?php echo round($this->onlinesize['num'],2);?></td>
</tr> </tr>
</table> </table>
</div> </div>
</div> </div>

View File

@ -6,11 +6,5 @@
<li id="Nav-stat-unit"><a href="/admin/stat/unit">分单位统计</a></li> <li id="Nav-stat-unit"><a href="/admin/stat/unit">分单位统计</a></li>
<li id="Nav-stat-month"><a href="/admin/stat/month">分月统计</a></li> <li id="Nav-stat-month"><a href="/admin/stat/month">分月统计</a></li>
<li id="Nav-stat-user"><a href="/admin/stat/user">按用户统计</a></li> <li id="Nav-stat-user"><a href="/admin/stat/user">按用户统计</a></li>
<li id="Nav-stat-awstatsweb"><a href="/admin/stat/awstatsweb">awstats westdc统计</a></li>
<li id="Nav-stat-awstatsweb2"><a href="/admin/stat/awstatsweb2">awstats geodata统计</a></li>
<li id="Nav-stat-awstatsftp"><a href="/admin/stat/awstatsftp">awstats ftp1统计</a></li>
<li id="Nav-stat-awstatsftp2"><a href="/admin/stat/awstatsftp2">awstats ftp2统计</a></li>
<li id="Nav-stat-webalizer"><a href="/admin/stat/webalizer">webalizer统计</a></li>
<li id="Nav-stat-water"><a href="/admin/stat/water">WATER项目</a></li>
</ul> </ul>
</div> </div>

View File

@ -10,24 +10,18 @@
$this->breadcrumb('<a href="/admin">后台首页</a>'); $this->breadcrumb('<a href="/admin">后台首页</a>');
$this->breadcrumb()->setSeparator(' > '); $this->breadcrumb()->setSeparator(' > ');
?> ?>
<style>
.charts{margin:30px 0px;} <div class="row">
.charts .title{color:#003366;}
.cp {line-height:24px;}
.cp ul li{float:left;margin:0px 0px;}
.cp a{color:#4bb2c5;line-height:24px;padding:5px;}
.cp a.active,.cp a:hover{color:#FFF;background:#4bb2c5;}
</style>
<div class="hidden-sm hidden-xs col-md-2"> <div class="hidden-sm hidden-xs col-md-2">
<?= $this->partial('stat/left.phtml'); ?> <?= $this->partial('stat/left.phtml'); ?>
</div> </div>
<div class="col-md-10 col-sm-12">
<div class="col-md-10 col-sm-12">
<div class="cp"> <div class="cp">
<span>按年查看:</span> <span>按年查看:</span>
<ul> <ul class="nav nav-pills">
<?php $active=""; if(empty($this->y)) { $active = "active"; }?> <?php $active=""; if(empty($this->y)) { $active = "active"; }?>
<li><a href="/admin/stat/unit/" class="<?= $active?>">总体查看(默认)</a></li> <li class="<?= $active?>"><a href="/admin/stat/unit/">总体查看(默认)</a></li>
<?php <?php
$active=""; $active="";
for($i=2004; $i<=date("Y",time()); $i++) for($i=2004; $i<=date("Y",time()); $i++)
@ -45,7 +39,7 @@
} }
?> ?>
</ul> </ul>
<ul> <ul class="nav nav-pills">
<?php <?php
$url_param = ""; $url_param = "";
if(!empty($this->y)) { if(!empty($this->y)) {
@ -56,9 +50,11 @@
<li><a href="/admin/stat/unit/type/json/ac/out<?= $url_param ?>">导出json格式</a></li> <li><a href="/admin/stat/unit/type/json/ac/out<?= $url_param ?>">导出json格式</a></li>
</ul> </ul>
</div> </div>
<div id="unitdata"> <div id="unitdata">
<b>点击列名进行排序</b> <b>点击列名进行排序</b>
</div> </div>
<div class="dataTables_wrapper"> <div class="dataTables_wrapper">
<table id="datatable" class="table table-bordered table-striped table_vam dataTable"> <table id="datatable" class="table table-bordered table-striped table_vam dataTable">
<thead> <thead>
@ -86,7 +82,7 @@
</tbody> </tbody>
</table> </table>
</div> </div>
</div>
</div> </div>
<script> <script>
$(document).ready(function() { $(document).ready(function() {

View File

@ -382,20 +382,11 @@ $this->breadcrumb()->setSeparator(' > ');
</div> </div>
<!--友情链接--> <!--友情链接-->
<div class="box1 box3"> <div class="box1 box3">
<h4><i></i>我们维护的科学数据中心</h4>
<ul>
<li>
<a href="http://westdc.westgis.ac.cn" target="_blank" style="line-height:1.5;">寒区旱区科学数据中心</a><span style="line-height:1.5;">,原中国西部环境与生态科学数据中心</span>
</li>
<li>
<a href="http://www.heihedata.org" target="_blank" style="line-height:1.5;">黑河计划数据管理中心</a><span style="line-height:1.5;"> 负责黑河流域生态水文集成研究重大研究计划科学数据的收集、整理、发布、共享</span>
</li>
<li>
<a href="http://card.westgis.ac.cn/" target="_blank" style="line-height:1.5;">Cold and Arid Regions Science Data Center at Lanzhou</a><span style="line-height:1.5;"> (CARD)</span><span style="line-height:1.5;">, a member of World Data System (WDS)</span>
</li>
</ul>
<h4><i></i>科学数据友站</h4> <h4><i></i>科学数据友站</h4>
<ul> <ul>
<li>
<a href="http://westdc.westgis.ac.cn/" target="_blank">寒区旱区科学数据中心</a>
</li>
<li> <li>
<a href="http://www.geodata.cn" target="_blank">国家地球系统科学数据平台</a> <a href="http://www.geodata.cn" target="_blank">国家地球系统科学数据平台</a>
</li> </li>
@ -403,15 +394,6 @@ $this->breadcrumb()->setSeparator(' > ');
<a href="http://www.chinare.org.cn/" target="_blank">极地科学数据共享平台</a> <a href="http://www.chinare.org.cn/" target="_blank">极地科学数据共享平台</a>
</li> </li>
</ul> </ul>
<h4><i></i>其他相关网站</h4>
<ul>
<li>
<a href="http://heihe.westgis.ac.cn" target="_blank" style="line-height:1.5;">数字黑河</a>
</li>
<li>
<a href="http://www.westgis.ac.cn" target="_blank" style="line-height:1.5;">遥感室</a>
</li>
</ul>
<h4><i></i>科学数据出版</h4> <h4><i></i>科学数据出版</h4>
<ul> <ul>
<li> <li>