在数据恢复中直接修改路径
This commit is contained in:
parent
b10eef0164
commit
178b938896
|
@ -7,7 +7,8 @@ class Admin_SysController extends Zend_Controller_Action
|
||||||
$this->view->config = Zend_Registry::get('config');
|
$this->view->config = Zend_Registry::get('config');
|
||||||
$this->messenger=$this->_helper->getHelper('FlashMessenger');
|
$this->messenger=$this->_helper->getHelper('FlashMessenger');
|
||||||
$this->view->messages = $this->messenger->getMessages();
|
$this->view->messages = $this->messenger->getMessages();
|
||||||
$this->_helper->layout->setLayout('administry');//新UI
|
$this->_helper->layout->setLayout('administry');//新UI
|
||||||
|
$this->view->theme = new Theme();
|
||||||
}
|
}
|
||||||
|
|
||||||
function postDispatch()
|
function postDispatch()
|
||||||
|
|
|
@ -2,7 +2,8 @@
|
||||||
$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('/css/admin.css');
|
||||||
|
$this->theme->AppendPlus($this,'colorbox');
|
||||||
?>
|
?>
|
||||||
<div id="leftPanel">
|
<div id="leftPanel">
|
||||||
<?= $this->partial('sys/left.phtml'); ?>
|
<?= $this->partial('sys/left.phtml'); ?>
|
||||||
|
@ -22,7 +23,8 @@
|
||||||
<th>FTP主机</th>
|
<th>FTP主机</th>
|
||||||
<th>路径</th>
|
<th>路径</th>
|
||||||
<th>大小</th>
|
<th>大小</th>
|
||||||
<th>文件数</th>
|
<th>文件数</th>
|
||||||
|
<th>操作</th>
|
||||||
</tr></thead><tbody>
|
</tr></thead><tbody>
|
||||||
<?php
|
<?php
|
||||||
if (count($this->paginator)):
|
if (count($this->paginator)):
|
||||||
|
@ -35,7 +37,8 @@ if (count($this->paginator)):
|
||||||
<td><?php echo $item['host'];?></td>
|
<td><?php echo $item['host'];?></td>
|
||||||
<td><?php echo $item['path'];?></td>
|
<td><?php echo $item['path'];?></td>
|
||||||
<td><?php echo $item['filesize'];?></td>
|
<td><?php echo $item['filesize'];?></td>
|
||||||
<td><?php echo $item['filecount'];?></td>
|
<td><?php echo $item['filecount'];?></td>
|
||||||
|
<td><a href="/admin/data/dataset/ac/getdataset/uuid/<?php echo $item['uuid'];?>" class="iframe">数据路径</a></td>
|
||||||
</tr>
|
</tr>
|
||||||
<?php endforeach; endif; ?>
|
<?php endforeach; endif; ?>
|
||||||
</tbody></table>
|
</tbody></table>
|
||||||
|
@ -43,4 +46,11 @@ if (count($this->paginator)):
|
||||||
</div>
|
</div>
|
||||||
<?php if(!empty($this->activeID)) : ?>
|
<?php if(!empty($this->activeID)) : ?>
|
||||||
<script>$('#<?= $this->activeID?>').addClass("btn-primary");</script>
|
<script>$('#<?= $this->activeID?>').addClass("btn-primary");</script>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
|
<script>
|
||||||
|
$(".iframe").colorbox({iframe:true, width:"50%", height:"50%"});
|
||||||
|
$(".inline").colorbox({inline:true, width:"50%"});
|
||||||
|
function Alert(html){
|
||||||
|
$.colorbox({'innerWidth':'50%','html':'<h4 style="font-size:16px;font-weight:bold;">'+html+'</h4>'});
|
||||||
|
}
|
||||||
|
</script>
|
Loading…
Reference in New Issue