修改三江源子平台后台UI

This commit is contained in:
Li Jianxuan 2014-06-12 09:16:30 +00:00
parent d928c3f573
commit 40f2fc8d04
24 changed files with 2549 additions and 2466 deletions

View File

@ -2651,11 +2651,10 @@ class Admin_DataController extends Zend_Controller_Action
{ {
$uuid = $this->_getParam('uuid'); $uuid = $this->_getParam('uuid');
$submit = $this->_getParam('submit'); $submit = $this->_getParam('submit');
$visual = new Visual\Visual;
if(!empty($uuid)) if(!empty($uuid))
{ {
$visual = new Visual\Visual;
$this->_helper->viewRenderer('visual-add'); $this->_helper->viewRenderer('visual-add');
$this->view->data = ['uuid' => $uuid]; $this->view->data = ['uuid' => $uuid];
@ -2689,6 +2688,9 @@ class Admin_DataController extends Zend_Controller_Action
return true; return true;
} }
} }
view::addPaginator($visual->getVisualMetadata(),$this,10);
return;
} }

View File

@ -48,7 +48,7 @@ class Admin_UserController extends Zend_Controller_Action
$paginator->setCurrentPageNumber($this->_getParam('page')); $paginator->setCurrentPageNumber($this->_getParam('page'));
$paginator->setItemCountPerPage(30); $paginator->setItemCountPerPage(30);
$paginator->setView($this->view); $paginator->setView($this->view);
Zend_View_Helper_PaginationControl::setDefaultViewPartial('pagination.phtml'); Zend_View_Helper_PaginationControl::setDefaultViewPartial('pagination_param.phtml');
$this->view->paginator=$paginator; $this->view->paginator=$paginator;
}//listAction }//listAction
@ -127,7 +127,7 @@ class Admin_UserController extends Zend_Controller_Action
$paginator->setCurrentPageNumber($this->_getParam('page')); $paginator->setCurrentPageNumber($this->_getParam('page'));
$paginator->setItemCountPerPage(30); $paginator->setItemCountPerPage(30);
$paginator->setView($this->view); $paginator->setView($this->view);
Zend_View_Helper_PaginationControl::setDefaultViewPartial('pagination.phtml'); Zend_View_Helper_PaginationControl::setDefaultViewPartial('pagination_param.phtml');
$this->view->paginator=$paginator; $this->view->paginator=$paginator;
$ac = $this->_getParam('ac'); $ac = $this->_getParam('ac');

View File

@ -1,5 +1,7 @@
<ul class="nav nav-pills nav-stacked well"> <div class="well" style="padding:8px 0">
<span class="label"><h4>数据管理</h4></span> <ul class="nav nav-list">
<li class="nav-header"><h4>数据管理</h4></li>
<li class="divider"></li>
<li><a href="/admin/data/md">元数据管理</a></li> <li><a href="/admin/data/md">元数据管理</a></li>
<li><a href="/admin/data/newdata">新建元数据</a></li> <li><a href="/admin/data/newdata">新建元数据</a></li>
<li><a href="/admin/data/author">数据作者管理</a></li> <li><a href="/admin/data/author">数据作者管理</a></li>
@ -9,3 +11,4 @@
<li><a href="/admin/data/fund">支持项目</a></li> <li><a href="/admin/data/fund">支持项目</a></li>
<li><a href="/admin/data/visual">可视化数据</a></li> <li><a href="/admin/data/visual">可视化数据</a></li>
</ul> </ul>
</div>

View File

@ -2,7 +2,6 @@
$this->headTitle($this->config->title->site); $this->headTitle($this->config->title->site);
$this->headTitle('后台管理'); $this->headTitle('后台管理');
$this->headTitle()->setSeparator(' - '); $this->headTitle()->setSeparator(' - ');
$this->headLink()->appendStylesheet('/css/admin.css');
$this->breadcrumb('<a href="/">首页</a>'); $this->breadcrumb('<a href="/">首页</a>');
$this->breadcrumb('<a href="/admin">后台首页</a>'); $this->breadcrumb('<a href="/admin">后台首页</a>');
$this->breadcrumb('<a href="/admin/data">数据管理</a>'); $this->breadcrumb('<a href="/admin/data">数据管理</a>');
@ -10,10 +9,15 @@
$this->breadcrumb()->setSeparator(' > '); $this->breadcrumb()->setSeparator(' > ');
$this->theme->AppendPlus($this,'colorbox'); $this->theme->AppendPlus($this,'colorbox');
?> ?>
<div id="leftPanel"> <div class="row-fluid">
<div class="span2">
<?= $this->partial('data/left.phtml'); ?> <?= $this->partial('data/left.phtml'); ?>
</div> </div>
<div id="rightPanel"> <div class="span10">
<h3>元数据管理</h3>
<hr />
<?php if ($this->msg or $this->messages) :?> <?php if ($this->msg or $this->messages) :?>
<div id="message"> <div id="message">
<?php if ($this->msg) : ?> <?php if ($this->msg) : ?>
@ -24,26 +28,32 @@
</div> </div>
<?php endif; ?> <?php endif; ?>
<div class="right_title">元数据管理</div> <div class="search" style="overflow:hidden;">
<div class="span6">
<div class="search"> <form action="" method="get" class="form-search">
<form action="" method="get"> <div class="input-append">
<div class="input-prepend">
<input type="hidden" name="search" value='1' /> <input type="hidden" name="search" value='1' />
<input class="span2 search-query" type="text" name="keyword" value="<?php echo $this->keyword; ?>" placeholder="搜索关键字"/> <input class="span12" type="text" name="keyword" value="<?php echo $this->keyword; ?>" placeholder="搜索关键字"/>
<input type="submit" class="btn" value="搜索" /> <button type="submit" class="btn">搜索</button>
</div> </div>
</form> </form>
</div>
<div class="span6 text-right">
<a href="/admin/data/md/down/1">下载全部xml元数据</a>
</div>
</div><!-- search DIV --> </div><!-- search DIV -->
<a href="/admin/data/md/down/1">下载全部xml元数据</a>
<?php if (count($this->paginator)): ?> <?php if (count($this->paginator)): ?>
<div class="datalist"> <div class="datalist">
<ul> <ul class="unstyled">
<?php foreach ($this->paginator as $item): ?> <?php foreach ($this->paginator as $item): ?>
<li class="well well-small"> <li class="well well-small">
<h4><a href="/data/<?= $item['uuid']; ?>" class="title"><?= $item['title']; ?></a></h4> <h4><a href="/data/<?= $item['uuid']; ?>" class="title"><?= $item['title']; ?></a></h4>
<p>大小:<?= $item['filesize']; ?>M创建时间<?= date('Y-m-d',strtotime($item['ts_created'])); ?>,查看:<?= $item['viewed']; ?>次。</p> <p>大小:<?= $item['filesize']; ?>M创建时间<?= date('Y-m-d',strtotime($item['ts_created'])); ?>,查看:<?= $item['viewed']; ?>次。</p>
<?php if($item['author']) :?>
<p>数据贡献者:<?= $item['author']; ?></p>
<?php endif;?>
<p class="content"><?= $item['description']; ?></p>
<p> <p>
操作: 操作:
<a href="/service/geonetwork?url=metadata.edit?id=<?= $item['gid']; ?>" target="_blank">编辑</a> | <a href="/service/geonetwork?url=metadata.edit?id=<?= $item['gid']; ?>" target="_blank">编辑</a> |
@ -65,10 +75,6 @@
<a href="/admin/data/fund/uuid/<?php echo $item['uuid'];?>">支持项目</a> | <a href="/admin/data/fund/uuid/<?php echo $item['uuid'];?>">支持项目</a> |
<a href="/admin/data/visual/uuid/<?php echo $item['uuid'];?>">数据可视化</a> <a href="/admin/data/visual/uuid/<?php echo $item['uuid'];?>">数据可视化</a>
</p> </p>
<?php if($item['author']) :?>
<p>数据贡献者:<?= $item['author']; ?></p>
<?php endif;?>
<p class="content"><?= $item['description']; ?></p>
</li> </li>
<?php endforeach; ?> <?php endforeach; ?>
</ul> </ul>
@ -76,6 +82,7 @@
<?php endif; ?> <?php endif; ?>
<?php echo $this->paginator; ?> <?php echo $this->paginator; ?>
</div> </div>
</div>
<script> <script>
$(".iframe").colorbox({iframe:true, width:"50%", height:"50%"}); $(".iframe").colorbox({iframe:true, width:"50%", height:"50%"});
$(".inline").colorbox({inline:true, width:"50%"}); $(".inline").colorbox({inline:true, width:"50%"});

View File

@ -2,19 +2,38 @@
$this->headTitle($this->config->title->site); $this->headTitle($this->config->title->site);
$this->headTitle('后台管理'); $this->headTitle('后台管理');
$this->headTitle()->setSeparator(' - '); $this->headTitle()->setSeparator(' - ');
$this->headLink()->appendStylesheet('/css/admin.css');
$this->breadcrumb('<a href="/">首页</a>'); $this->breadcrumb('<a href="/">首页</a>');
$this->breadcrumb('<a href="/admin">后台首页</a>'); $this->breadcrumb('<a href="/admin">后台首页</a>');
$this->breadcrumb('<a href="/admin/data">数据管理</a>'); $this->breadcrumb('<a href="/admin/data">数据管理</a>');
$this->breadcrumb('同步GEONETWORK元数据</a>'); $this->breadcrumb('同步GEONETWORK元数据</a>');
$this->breadcrumb()->setSeparator(' > '); $this->breadcrumb()->setSeparator(' > ');
?> ?>
<div class="row"> <div class="row-fluid">
<div class="span3"> <div class="span2">
<?= $this->partial('data/left.phtml'); ?> <?= $this->partial('data/left.phtml'); ?>
</div> </div>
<div class="span9"> <div class="span10">
<?php if (count($this->paginator)): ?>
<div class="datalist">
<ul class="unstyled">
<?php foreach ($this->paginator as $item): ?>
<li class="well well-small">
<h4><a href="/data/<?= $item['uuid']; ?>" class="title"><?= $item['title']; ?></a></h4>
<p>大小:<?= $item['filesize']; ?>M创建时间<?= date('Y-m-d',strtotime($item['ts_created'])); ?></p>
<?php if($item['author']) :?>
<p>数据贡献者:<?= $item['author']; ?></p>
<?php endif;?>
<p class="content"><?= $item['description']; ?></p>
<p>
操作:
<a href="/admin/data/visual/uuid/<?php echo $item['uuid'];?>">编辑可视化要素</a>
</p>
</li>
<?php endforeach; ?>
</ul>
</div>
<?php endif; ?>
<?php echo $this->paginator; ?>
</div> </div>
</div> </div>

View File

@ -2,7 +2,6 @@
$this->headTitle($this->config->title->site); $this->headTitle($this->config->title->site);
$this->headTitle('后台管理'); $this->headTitle('后台管理');
$this->headTitle()->setSeparator(' - '); $this->headTitle()->setSeparator(' - ');
$this->headLink()->appendStylesheet('/css/admin.css');
$this->breadcrumb('<a href="/">首页</a>'); $this->breadcrumb('<a href="/">首页</a>');
$this->breadcrumb('<a href="/admin">后台管理首页</a>'); $this->breadcrumb('<a href="/admin">后台管理首页</a>');
$this->breadcrumb('<a href="/admin/down">申请管理</a>'); $this->breadcrumb('<a href="/admin/down">申请管理</a>');
@ -10,13 +9,17 @@
$this->breadcrumb()->setSeparator(' > '); $this->breadcrumb()->setSeparator(' > ');
$this->headScript()->appendFile('/js/prototype.js'); $this->headScript()->appendFile('/js/prototype.js');
?> ?>
<div class="row-fluid">
<div id="leftPanel"> <div class="span2">
<?= $this->partial('down/left.phtml'); ?> <?= $this->partial('down/left.phtml'); ?>
</div> </div>
<div id="rightPanel"> <div class="span10">
<h3><?php if(!empty($this->title)) echo $this->title;?><?php echo $this->count;?> 数据下载记录</h3>
<hr />
<?php if ($this->msg or $this->messages) :?> <?php if ($this->msg or $this->messages) :?>
<div id="message"> <div class="alert">
<?php if ($this->msg) : ?> <?php if ($this->msg) : ?>
<p><?php echo $this->msg; ?></p> <p><?php echo $this->msg; ?></p>
<?php endif; if ($this->messages): foreach($this->messages as $msg): ?> <?php endif; if ($this->messages): foreach($this->messages as $msg): ?>
@ -25,24 +28,26 @@
</div> </div>
<?php endif; ?> <?php endif; ?>
<div class="right_title"><?php if(!empty($this->title)) echo $this->title;?><?php echo $this->count;?> 数据下载记录</div> <div class="row-fluid">
<div class="span12">
<div class="search"> <form action="/admin/down/data/" method="get" class="form-search">
<form action="/admin/down/data/" method="get"> <div class="input-append">
<input type="hidden" name="search" value='1' /> <input type="hidden" name="search" value='1' />
<ul> <input type="text" name="keyword" value="<?php echo $this->keyword; ?>" class="span8 search-query"/>
<li><label>搜索关键字</label><input type="text" name="keyword" value="<?php echo $this->keyword; ?>" /></li> <button type="submit" class="btn">搜索</button>
<li><input type="submit" class="searchbtn" value="搜索" /></li> </div>
</ul>
</form> </form>
</div>
</div><!-- search DIV --> </div><!-- search DIV -->
<table><thead> <table class="table table-hover">
<thead>
<tr> <tr>
<td width='350'>数据</td> <td width='350'>数据</td>
<td width='150'>下载次数</td> <td width='150'>下载次数</td>
<td width='150'>操作</td> <td width='150'>操作</td>
</tr></thead> </tr>
</thead>
<?php if (count($this->paginator)): ?> <?php if (count($this->paginator)): ?>
<?php $autoindex=0;?> <?php $autoindex=0;?>
<?php foreach ($this->paginator as $item): ?> <?php foreach ($this->paginator as $item): ?>
@ -60,3 +65,4 @@
</table> </table>
<div class="pagenavi"><?= $this->paginator; ?></div> <div class="pagenavi"><?= $this->paginator; ?></div>
</div> </div>
</div>

View File

@ -2,15 +2,16 @@
$this->headTitle($this->config->title->site); $this->headTitle($this->config->title->site);
$this->headTitle('后台管理'); $this->headTitle('后台管理');
$this->headTitle()->setSeparator(' - '); $this->headTitle()->setSeparator(' - ');
$this->headLink()->appendStylesheet('/css/admin.css');
$this->breadcrumb('<a href="/">首页</a>'); $this->breadcrumb('<a href="/">首页</a>');
$this->breadcrumb('<a href="/admin">后台首页</a>'); $this->breadcrumb('<a href="/admin">后台首页</a>');
$this->breadcrumb('申请管理'); $this->breadcrumb('申请管理');
$this->breadcrumb()->setSeparator(' > '); $this->breadcrumb()->setSeparator(' > ');
?> ?>
<div id="leftPanel"> <div class="row-fluid">
<div class="span2">
<?= $this->partial('down/left.phtml'); ?> <?= $this->partial('down/left.phtml'); ?>
</div> </div>
<div id="rightPanel"> <div class="span10">
</div> </div>
</div>

View File

@ -1,8 +1,11 @@
<ul class="nav nav-pills nav-stacked well"> <div class="well" style="padding:8px 0">
<span class="label"><h4>申请管理与记录</h4></span> <ul class="nav nav-list">
<li class="nav-header"><h4>申请管理与记录</h4></li>
<li class="divider"></li>
<li><a href="/admin/down/offlineapp">离线数据申请管理</a></li> <li><a href="/admin/down/offlineapp">离线数据申请管理</a></li>
<li><a href="/admin/down/offline">离线数据服务记录</a></li> <li><a href="/admin/down/offline">离线数据服务记录</a></li>
<li><a href="/admin/down/online">在线数据下载记录</a></li> <li><a href="/admin/down/online">在线数据下载记录</a></li>
<li><a href="/admin/down/user">用户下载记录</a></li> <li><a href="/admin/down/user">用户下载记录</a></li>
<li><a href="/admin/down/data">数据下载记录</a></li> <li><a href="/admin/down/data">数据下载记录</a></li>
</ul> </ul>
</div>

View File

@ -15,10 +15,14 @@ table thead tr th {background:#EBF2F6;color:#444;}
.high{background:#444;color:#FFF;} .high{background:#444;color:#FFF;}
</style> </style>
<div class="row-fluid"> <div class="row-fluid">
<div class="span3"> <div class="span2">
<?= $this->partial('down/left.phtml'); ?> <?= $this->partial('down/left.phtml'); ?>
</div> </div>
<div class="span9"> <div class="span10">
<h3>离线数据服务记录</h3>
<hr />
<?php if ($this->msg or $this->messages) :?> <?php if ($this->msg or $this->messages) :?>
<div id="message"> <div id="message">
<?php if ($this->msg) : ?> <?php if ($this->msg) : ?>
@ -28,9 +32,6 @@ table thead tr th {background:#EBF2F6;color:#444;}
<?php endforeach;endif; ?> <?php endforeach;endif; ?>
</div> </div>
<?php endif; ?> <?php endif; ?>
<h4>离线数据服务记录</h4>
<div class="pull-left"> <div class="pull-left">
<a href="/admin/down/offline/add/1" class="btn btn-info">添加新的离线服务记录</a> <a href="/admin/down/offline/add/1" class="btn btn-info">添加新的离线服务记录</a>
<a href="/admin/down/offline/down/1" class="btn btn-info">下载所有离线服务记录</a> <a href="/admin/down/offline/down/1" class="btn btn-info">下载所有离线服务记录</a>

View File

@ -11,10 +11,13 @@
$this->breadcrumb()->setSeparator(' > '); $this->breadcrumb()->setSeparator(' > ');
?> ?>
<div class="row-fluid"> <div class="row-fluid">
<div class="span3"> <div class="span2">
<?= $this->partial('down/left.phtml'); ?> <?= $this->partial('down/left.phtml'); ?>
</div> </div>
<div class="span9"> <div class="span10">
<h3>离线数据申请管理</h3>
<hr />
<?php if ($this->msg or $this->messages) :?> <?php if ($this->msg or $this->messages) :?>
<div id="message"> <div id="message">
<?php if ($this->msg) : ?> <?php if ($this->msg) : ?>
@ -25,8 +28,6 @@
</div> </div>
<?php endif; ?> <?php endif; ?>
<h4>离线数据申请管理</h4>
<div style="overflow:hidden"> <div style="overflow:hidden">
<div class="pull-left"> <div class="pull-left">
<a href="/admin/down/offlineapp/status/4" class="btn btn-info">已收到的申请</a> <a href="/admin/down/offlineapp/status/4" class="btn btn-info">已收到的申请</a>

View File

@ -2,16 +2,22 @@
$this->headTitle($this->config->title->site); $this->headTitle($this->config->title->site);
$this->headTitle('后台管理'); $this->headTitle('后台管理');
$this->headTitle()->setSeparator(' - '); $this->headTitle()->setSeparator(' - ');
$this->headLink()->appendStylesheet('/css/admin.css');
$this->breadcrumb('<a href="/">首页</a>'); $this->breadcrumb('<a href="/">首页</a>');
$this->breadcrumb('<a href="/admin">后台首页</a>'); $this->breadcrumb('<a href="/admin">后台首页</a>');
$this->breadcrumb('<a href="/admin/down">申请管理</a>'); $this->breadcrumb('<a href="/admin/down">申请管理</a>');
$this->breadcrumb('在线数据下载记录</a>'); $this->breadcrumb('在线数据下载记录</a>');
$this->breadcrumb()->setSeparator(' > '); $this->breadcrumb()->setSeparator(' > ');
?> ?>
<div id="leftPanel"> <div class="row-fluid">
<div class="span2">
<?= $this->partial('down/left.phtml'); ?> <?= $this->partial('down/left.phtml'); ?>
</div> </div>
<div class="span10">
<h3><?php if(!empty($this->title)) echo $this->title;?>共有 <?php echo $this->count;?> 条在线下载记录</h3>
<hr />
<?php if ($this->msg or $this->messages) :?> <?php if ($this->msg or $this->messages) :?>
<div id="message"> <div id="message">
<?php if ($this->msg) : ?> <?php if ($this->msg) : ?>
@ -22,22 +28,17 @@
</div> </div>
<?php endif; ?> <?php endif; ?>
<div id="rightPanel">
<div class="right_title"><?php if(!empty($this->title)) echo $this->title;?>共有 <?php echo $this->count;?> 条在线下载记录</div>
<div class="search"> <div class="search">
<form action="/admin/down/search/" method="get"> <form action="/admin/down/search/" method="get">
<div class="input-append">
<input type="hidden" name="search" value='1' /> <input type="hidden" name="search" value='1' />
<ul> <input type="text" name="keyword" value="<?php echo $this->keyword; ?>" />
<li><label>搜索关键字</label><input type="text" name="keyword" value="<?php echo $this->keyword; ?>" /></li> <button class="btn" type="submit">搜索</button>
<li><input type="submit" class="searchbtn" value="搜索" /></li> </div>
</ul>
</form> </form>
</div><!-- search DIV --> </div><!-- search DIV -->
<table> <table class="table table-hover">
<thead> <thead>
<tr> <tr>
<td width='100'>姓名</td> <td width='100'>姓名</td>
@ -68,3 +69,4 @@
</table> </table>
<div class="pagenavi"><?= $this->paginator; ?></div> <div class="pagenavi"><?= $this->paginator; ?></div>
</div> </div>
</div>

View File

@ -2,7 +2,6 @@
$this->headTitle($this->config->title->site); $this->headTitle($this->config->title->site);
$this->headTitle('后台管理'); $this->headTitle('后台管理');
$this->headTitle()->setSeparator(' - '); $this->headTitle()->setSeparator(' - ');
$this->headLink()->appendStylesheet('/css/admin.css');
$this->breadcrumb('<a href="/">首页</a>'); $this->breadcrumb('<a href="/">首页</a>');
$this->breadcrumb('<a href="/admin">后台管理首页</a>'); $this->breadcrumb('<a href="/admin">后台管理首页</a>');
$this->breadcrumb('<a href="/admin/down">申请管理</a>'); $this->breadcrumb('<a href="/admin/down">申请管理</a>');
@ -10,12 +9,17 @@
$this->breadcrumb()->setSeparator(' > '); $this->breadcrumb()->setSeparator(' > ');
$this->headScript()->appendFile('/js/prototype.js'); $this->headScript()->appendFile('/js/prototype.js');
?> ?>
<div id="leftPanel"> <div class="row-fluid">
<div class="span2">
<?= $this->partial('down/left.phtml'); ?> <?= $this->partial('down/left.phtml'); ?>
</div> </div>
<div id="rightPanel"> <div class="span10">
<h3><?php if(!empty($this->title)) echo $this->title;?><?php echo $this->count;?> 数据下载记录</h3>
<hr />
<?php if ($this->msg or $this->messages) :?> <?php if ($this->msg or $this->messages) :?>
<div id="message"> <div class="alert">
<?php if ($this->msg) : ?> <?php if ($this->msg) : ?>
<p><?php echo $this->msg; ?></p> <p><?php echo $this->msg; ?></p>
<?php endif; if ($this->messages): foreach($this->messages as $msg): ?> <?php endif; if ($this->messages): foreach($this->messages as $msg): ?>
@ -24,19 +28,19 @@
</div> </div>
<?php endif; ?> <?php endif; ?>
<div class="right_title"><?php if(!empty($this->title)) echo $this->title;?><?php echo $this->count;?> 数据下载记录</div> <div class="row-fluid">
<div class="span12">
<div class="search"> <form action="/admin/down/user/" method="get" class="form-search">
<form action="/admin/down/user/" method="get"> <div class="input-append">
<input type="hidden" name="search" value='1' /> <input type="hidden" name="search" value='1' />
<ul> <input type="text" name="keyword" value="<?php echo $this->keyword; ?>" class="span8 search-query"/>
<li><label>搜索关键字</label><input type="text" name="keyword" value="<?php echo $this->keyword; ?>" /></li> <button type="submit" class="btn">搜索</button>
<li><input type="submit" class="searchbtn" value="搜索" /></li> </div>
</ul>
</form> </form>
</div>
</div><!-- search DIV --> </div><!-- search DIV -->
<table><thead> <table class="table table-hover"><thead>
<tr> <tr>
<td width='150'>姓名</td> <td width='150'>姓名</td>
<td width='350'>单位</td> <td width='350'>单位</td>
@ -60,3 +64,4 @@
</table> </table>
<div class="pagenavi"><?= $this->paginator; ?></div> <div class="pagenavi"><?= $this->paginator; ?></div>
</div> </div>
</div>

View File

@ -2,7 +2,6 @@
$this->headTitle($this->config->title->site); $this->headTitle($this->config->title->site);
$this->headTitle('后台管理'); $this->headTitle('后台管理');
$this->headTitle()->setSeparator(' - '); $this->headTitle()->setSeparator(' - ');
$this->headLink()->appendStylesheet('/css/admin.css');
$this->headLink()->appendStylesheet('/static/css/jquery.jgrowl.css'); $this->headLink()->appendStylesheet('/static/css/jquery.jgrowl.css');
$this->headScript()->appendFile('/js/jquery-1.7.min.js'); $this->headScript()->appendFile('/js/jquery-1.7.min.js');
$this->headScript()->appendFile('/static/js/jquery.jgrowl_minimized.js'); $this->headScript()->appendFile('/static/js/jquery.jgrowl_minimized.js');
@ -10,14 +9,26 @@
$this->breadcrumb('后台管理首页'); $this->breadcrumb('后台管理首页');
$this->breadcrumb()->setSeparator(' > '); $this->breadcrumb()->setSeparator(' > ');
?> ?>
<div id="OneColumn"> <div class="row-fluid">
<div class="span2">
<?= $this->partial('data/left.phtml'); ?> <?= $this->partial('data/left.phtml'); ?>
</div>
<div class="span2">
<?= $this->partial('down/left.phtml'); ?> <?= $this->partial('down/left.phtml'); ?>
</div>
<div class="span2">
<?= $this->partial('user/left.phtml'); ?> <?= $this->partial('user/left.phtml'); ?>
</div>
<div class="span2">
<?= $this->partial('review/left.phtml'); ?> <?= $this->partial('review/left.phtml'); ?>
</div>
<div class="span2">
<?= $this->partial('news/left.phtml'); ?> <?= $this->partial('news/left.phtml'); ?>
</div>
<div class="span2">
<?= $this->partial('stat/left.phtml'); ?> <?= $this->partial('stat/left.phtml'); ?>
</div> </div>
</div>
<!-- <!--
<script> <script>
$.getJSON("/admin/sys/getmsg", function(data) { $.getJSON("/admin/sys/getmsg", function(data) {

View File

@ -3,7 +3,6 @@
$this->headTitle('后台管理'); $this->headTitle('后台管理');
$this->headTitle()->setSeparator(' - '); $this->headTitle()->setSeparator(' - ');
$this->headScript()->appendFile('/js/jquery-1.7.min.js'); $this->headScript()->appendFile('/js/jquery-1.7.min.js');
$this->headLink()->appendStylesheet('/css/admin.css');
$this->breadcrumb('<a href="/">首页</a>'); $this->breadcrumb('<a href="/">首页</a>');
$this->breadcrumb('<a href="/admin">后台首页</a>'); $this->breadcrumb('<a href="/admin">后台首页</a>');
$this->breadcrumb('<a href="/admin/news">新闻中心</a>'); $this->breadcrumb('<a href="/admin/news">新闻中心</a>');
@ -12,27 +11,20 @@
.listingDetails{position:absolute;width:650px; z-index:999;} .listingDetails{position:absolute;width:650px; z-index:999;}
.pad{position:absolute;background:#FFF;border:2px solid #444;border-radius:5px;padding:5px;display:none;} .pad{position:absolute;background:#FFF;border:2px solid #444;border-radius:5px;padding:5px;display:none;}
</style> </style>
<div id="leftPanel"> <div class="row-fluid">
<div class="span2">
<?= $this->partial('news/left.phtml'); ?> <?= $this->partial('news/left.phtml'); ?>
</div> </div>
<div id="rightPanel"> <div class="span10">
<?php if ($this->msg or $this->messages) :?>
<div id="message">
<?php if ($this->msg) : ?>
<p><?php echo $this->msg; ?></p>
<?php endif; if ($this->messages): foreach($this->messages as $msg): ?>
<p><?php echo $msg; ?></p>
<?php endforeach;endif; ?>
</div>
<?php endif; ?>
<h3>统计</h3> <h3>统计</h3>
<hr/> <hr/>
<ul> <ul class="unstyled">
<li><?php echo $this->totle['c'];?> 条档案</li> <li><?php echo $this->totle['c'];?> 条档案</li>
<li>栏目 <?php echo $this->typec['c'];?></li> <li>栏目 <?php echo $this->typec['c'];?></li>
</ul> </ul>
</div> </div>
</div>
<script type="text/javascript"> <script type="text/javascript">
$(document).ready(function(){ $(document).ready(function(){
$('.title').bind('click', function() { $('.title').bind('click', function() {

View File

@ -1,6 +1,9 @@
<ul class="nav nav-pills nav-stacked well"> <div class="well" style="padding:8px 0">
<span class="label"><h4>新闻中心</h4></span> <ul class="nav nav-list">
<li class="nav-header"><h4>新闻中心</h4></li>
<li class="divider"></li>
<li><a href="/admin/news">新闻中心首页</a></li> <li><a href="/admin/news">新闻中心首页</a></li>
<li><a href="/admin/news/newslist">新闻管理</a></li> <li><a href="/admin/news/newslist">新闻管理</a></li>
<li><a href="/admin/news/newsadd">新闻发布</a></li> <li><a href="/admin/news/newsadd">新闻发布</a></li>
</ul> </ul>
</div>

View File

@ -2,7 +2,6 @@
$this->headTitle($this->config->title->site); $this->headTitle($this->config->title->site);
$this->headTitle('后台管理'); $this->headTitle('后台管理');
$this->headTitle()->setSeparator(' - '); $this->headTitle()->setSeparator(' - ');
$this->headLink()->appendStylesheet('/css/admin.css');
$this->headScript()->appendFile('/js/jquery.colorbox-min.js'); $this->headScript()->appendFile('/js/jquery.colorbox-min.js');
$this->headLink()->appendStylesheet('/css/author.css'); $this->headLink()->appendStylesheet('/css/author.css');
$this->headLink()->appendStylesheet('/css/colorbox.css'); $this->headLink()->appendStylesheet('/css/colorbox.css');
@ -18,10 +17,16 @@
<script> <script>
$('#divFooter').css('position','absolute'); $('#divFooter').css('position','absolute');
</script> </script>
<div id="leftPanel"> <div class="row-fluid">
<div class="span2">
<?= $this->partial('news/left.phtml'); ?> <?= $this->partial('news/left.phtml'); ?>
</div> </div>
<div id="rightPanel">
<div class="span10">
<h3>新闻管理</h3>
<hr />
<?php if ($this->msg or $this->messages) :?> <?php if ($this->msg or $this->messages) :?>
<div id="message"> <div id="message">
<?php if ($this->msg) : ?> <?php if ($this->msg) : ?>
@ -31,7 +36,9 @@ $('#divFooter').css('position','absolute');
<?php endforeach;endif; ?> <?php endforeach;endif; ?>
</div> </div>
<?php endif; ?> <?php endif; ?>
<div> <div>
<select id="navigation"> <select id="navigation">
<option>按栏目查看</option> <option>按栏目查看</option>
<?php <?php
@ -53,7 +60,7 @@ $('#divFooter').css('position','absolute');
&nbsp; &nbsp;
<a href="/admin/news/newslist">所有新闻列表</a> <a href="/admin/news/newslist">所有新闻列表</a>
</div> </div>
<table id="report" class="stylized full"> <table id="report" class="table table-bordered table-striped table-hover">
<thead> <thead>
<tr> <tr>
<th width="50%">新闻标题</th> <th width="50%">新闻标题</th>
@ -116,6 +123,7 @@ $('#divFooter').css('position','absolute');
</table> </table>
<div class="pagenavi"><?= $this->paginator; ?></div> <div class="pagenavi"><?= $this->paginator; ?></div>
</div> </div>
</div>
<script type="text/javascript"> <script type="text/javascript">
$(document).ready(function(){ $(document).ready(function(){
$('.title').bind('click', function() { $('.title').bind('click', function() {

View File

@ -2,16 +2,16 @@
$this->headTitle($this->config->title->site); $this->headTitle($this->config->title->site);
$this->headTitle('后台管理'); $this->headTitle('后台管理');
$this->headTitle()->setSeparator(' - '); $this->headTitle()->setSeparator(' - ');
$this->headLink()->appendStylesheet('/css/admin.css');
$this->breadcrumb('<a href="/">首页</a>'); $this->breadcrumb('<a href="/">首页</a>');
$this->breadcrumb('<a href="/admin">后台首页</a>'); $this->breadcrumb('<a href="/admin">后台首页</a>');
$this->breadcrumb('元数据评审'); $this->breadcrumb('元数据评审');
$this->breadcrumb()->setSeparator(' > '); $this->breadcrumb()->setSeparator(' > ');
?> ?>
<div id="leftPanel"> <div class="row-fluid">
<div class="span2">
<?= $this->partial('review/left.phtml'); ?> <?= $this->partial('review/left.phtml'); ?>
</div> </div>
<div id="rightPanel"> <div class="span10">
<?php if ($this->msg or $this->messages) :?> <?php if ($this->msg or $this->messages) :?>
<div id="message"> <div id="message">
<?php if ($this->msg) : ?> <?php if ($this->msg) : ?>
@ -22,8 +22,9 @@
</div> </div>
<?php endif; ?> <?php endif; ?>
最近十条元数据 <h3>最近十条元数据</h3>
<table><thead> <hr />
<table class="table table-bordered"><thead>
<tr> <tr>
<td width='500'>元数据标题</td> <td width='500'>元数据标题</td>
<td width='150'>管理员</td> <td width='150'>管理员</td>
@ -42,8 +43,9 @@
<?php endif; ?> <?php endif; ?>
</table> </table>
<br /> <br />
我管理的最近十条元数据 <h3>我管理的最近十条元数据</h3>
<table><thead> <hr />
<table class="table table-bordered"><thead>
<tr> <tr>
<td width='500'>元数据标题</td> <td width='500'>元数据标题</td>
<td width='150'>状态</td> <td width='150'>状态</td>
@ -60,3 +62,4 @@
<?php endif; ?> <?php endif; ?>
</table> </table>
</div> </div>
</div>

View File

@ -1,5 +1,7 @@
<ul class="nav nav-pills nav-stacked well"> <div class="well" style="padding:8px 0">
<span class="label"><h4>元数据评审</h4></span> <ul class="nav nav-list">
<li class="nav-header"><h4>元数据评审</h4></li>
<li class="divider"></li>
<li id="Nav-review-draft"><a href="/admin/review/draft">投稿元数据</a></li> <li id="Nav-review-draft"><a href="/admin/review/draft">投稿元数据</a></li>
<li id="Nav-review-editor"><a href="/admin/review/editor">分配责任编辑</a></li> <li id="Nav-review-editor"><a href="/admin/review/editor">分配责任编辑</a></li>
<li id="Nav-review-accept"><a href="/admin/review/accept">待审元数据</a></li> <li id="Nav-review-accept"><a href="/admin/review/accept">待审元数据</a></li>
@ -10,3 +12,4 @@
<li id="Nav-review-canceled"><a href="/admin/review/canceled">已取消评审的元数据</a></li> <li id="Nav-review-canceled"><a href="/admin/review/canceled">已取消评审的元数据</a></li>
<li id="Nav-review-comments"><a href="/admin/review/comments">元数据评审管理</a></li> <li id="Nav-review-comments"><a href="/admin/review/comments">元数据评审管理</a></li>
</ul> </ul>
</div>

View File

@ -2,20 +2,23 @@
$this->headTitle($this->config->title->site); $this->headTitle($this->config->title->site);
$this->headTitle('后台管理'); $this->headTitle('后台管理');
$this->headTitle()->setSeparator(' - '); $this->headTitle()->setSeparator(' - ');
$this->headLink()->appendStylesheet('/css/admin.css');
$this->breadcrumb('<a href="/">首页</a>'); $this->breadcrumb('<a href="/">首页</a>');
$this->breadcrumb('<a href="/admin">后台首页</a>'); $this->breadcrumb('<a href="/admin">后台首页</a>');
$this->breadcrumb()->setSeparator(' > '); $this->breadcrumb()->setSeparator(' > ');
$this->headScript()->appendFile('/js/jquery-1.6.4.min.js'); $this->headScript()->appendFile('/js/jquery-1.6.4.min.js');
$this->headScript()->appendFile('/js/jquery.masonry.min.js'); $this->headScript()->appendFile('/js/jquery.masonry.min.js');
?> ?>
<div id="leftPanel"> <div class="row-fluid">
<div class="span2">
<?= $this->partial('stat/left.phtml'); ?> <?= $this->partial('stat/left.phtml'); ?>
</div> </div>
<div id="rightPanel"> <div class="span10">
<div class="tables"> <div class="row-fluid">
<div class="stitle">概况</div> <div class="span6">
<table> <h3>概况</h3>
<hr />
<table class="table table-bordered">
<tr> <tr>
<td>用户总数:</td> <td>用户总数:</td>
<td><?php echo $this->stat['alluser']; ?></td> <td><?php echo $this->stat['alluser']; ?></td>
@ -51,9 +54,10 @@
</table> </table>
</div> </div>
<div class="tables"> <div class="span6">
<div class="stitle">数据下载量概况</div> <h3>数据下载量概况</h3>
<table> <hr />
<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>
@ -74,3 +78,4 @@
</div> </div>
</div> </div>
</div>

View File

@ -1,7 +1,10 @@
<ul class="nav nav-pills nav-stacked well"> <div class="well" style="padding:8px 0">
<span class="label"><h4>信息统计</h4></span> <ul class="nav nav-list">
<li class="nav-header"><h4>信息统计</h4></li>
<li class="divider"></li>
<li><a href="/admin/stat/">统计概况</a></li> <li><a href="/admin/stat/">统计概况</a></li>
<li><a href="/admin/stat/unit">分单位统计</a></li> <li><a href="/admin/stat/unit">分单位统计</a></li>
<li><a href="/admin/stat/month">分月统计</a></li> <li><a href="/admin/stat/month">分月统计</a></li>
<li><a href="/admin/stat/user">按用户统计</a></li> <li><a href="/admin/stat/user">按用户统计</a></li>
</ul> </ul>
</div>

View File

@ -2,19 +2,20 @@
$this->headTitle($this->config->title->site); $this->headTitle($this->config->title->site);
$this->headTitle('后台管理'); $this->headTitle('后台管理');
$this->headTitle()->setSeparator(' - '); $this->headTitle()->setSeparator(' - ');
$this->headLink()->appendStylesheet('/css/admin.css');
$this->breadcrumb('<a href="/">首页</a>'); $this->breadcrumb('<a href="/">首页</a>');
$this->breadcrumb('<a href="/admin/">后台首页</a>'); $this->breadcrumb('<a href="/admin/">后台首页</a>');
$this->breadcrumb('<a href="/admin/user">用户管理</a>'); $this->breadcrumb('<a href="/admin/user">用户管理</a>');
$this->breadcrumb()->setSeparator(' > '); $this->breadcrumb()->setSeparator(' > ');
?> ?>
<div id="leftPanel"> <div class="row-fluid">
<div class="span2">
<?= $this->partial('user/left.phtml'); ?> <?= $this->partial('user/left.phtml'); ?>
</div> </div>
<div id="rightPanel"> <div class="span10">
<div class="title">管理员列表</div> <h3>管理员列表</h3>
<table> <hr />
<table class="table table-bordered table-hover">
<thead> <thead>
<tr> <tr>
<td width='150'>用户名</td> <td width='150'>用户名</td>
@ -44,3 +45,4 @@
</table> </table>
<div class="pagenavi"><?= $this->paginator; ?></div> <div class="pagenavi"><?= $this->paginator; ?></div>
</div> </div>
</div>

View File

@ -7,11 +7,11 @@
$this->breadcrumb()->setSeparator(' > '); $this->breadcrumb()->setSeparator(' > ');
?> ?>
<div class="row-fluid"> <div class="row-fluid">
<div class="span3"> <div class="span2">
<?= $this->partial('user/left.phtml'); ?> <?= $this->partial('user/left.phtml'); ?>
</div> </div>
<div class="span9"> <div class="span10">
<h3>用户总数: <?php echo $this->su['total'];?>,其中管理员: <?php echo $this->suadmin['total'];?></h3> <h3>用户总数: <?php echo $this->su['total'];?>,其中管理员: <?php echo $this->suadmin['total'];?></h3>
<hr /> <hr />

View File

@ -1,6 +1,9 @@
<ul class="nav nav-pills nav-stacked well"> <div class="well" style="padding:8px 0">
<span class="label"><h4>用户管理</h4></span> <ul class="nav nav-list">
<li class="nav-header"><h4>用户管理</h4></li>
<li class="divider"></li>
<li><a href="/admin/user/">用户管理首页</a></li> <li><a href="/admin/user/">用户管理首页</a></li>
<li><a href="/admin/user/adminlist">管理员列表</a></li> <li><a href="/admin/user/adminlist">管理员列表</a></li>
<li><a href="/admin/user/list">查看所有账户</a></li> <li><a href="/admin/user/list">查看所有账户</a></li>
</ul> </ul>
</div>

View File

@ -8,11 +8,11 @@
$this->breadcrumb()->setSeparator(' > '); $this->breadcrumb()->setSeparator(' > ');
?> ?>
<div class="row-fluid"> <div class="row-fluid">
<div class="span3"> <div class="span2">
<?= $this->partial('user/left.phtml'); ?> <?= $this->partial('user/left.phtml'); ?>
</div> </div>
<div class="span9"> <div class="span10">
<h3>用户列表</h3> <h3>用户列表</h3>
<hr /> <hr />
<?php if ($this->msg or $this->messages) :?> <?php if ($this->msg or $this->messages) :?>