43 lines
1.2 KiB
PHTML
43 lines
1.2 KiB
PHTML
|
<?php
|
|||
|
$this->headTitle($this->config->title->site);
|
|||
|
$this->headTitle('后台管理');
|
|||
|
$this->headTitle()->setSeparator(' - ');
|
|||
|
$this->headLink()->appendStylesheet('/css/admin.css');
|
|||
|
$this->breadcrumb('<a href="/">首页</a>');
|
|||
|
$this->breadcrumb('<a href="/admin">后台首页</a>');
|
|||
|
$this->breadcrumb('<a href="/admin/watermd">WATER元数据工具</a>');
|
|||
|
$this->breadcrumb('文件大小处理');
|
|||
|
$this->breadcrumb()->setSeparator(' > ');
|
|||
|
?>
|
|||
|
<div id="leftPanel">
|
|||
|
<?= $this->partial('watermd/left.phtml'); ?>
|
|||
|
</div>
|
|||
|
<div id="rightPanel">
|
|||
|
<?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; ?>
|
|||
|
|
|||
|
<?php if ($this->deal) : ?>
|
|||
|
<div id="mdlist">
|
|||
|
已处理数据:
|
|||
|
<?php foreach ($this->deal as $deal): ?>
|
|||
|
<ul>
|
|||
|
<li>UUID:<?php echo $deal['uuid']; ?></li>
|
|||
|
<li><a href="/water/<?= $deal['uuid']; ?>"><?= $deal['title']; ?></a></li>
|
|||
|
</ul>
|
|||
|
<?php endforeach; ?>
|
|||
|
</div>
|
|||
|
<?php endif; ?>
|
|||
|
</div>
|
|||
|
<?php echo $this->form; ?>
|
|||
|
<?php if ($this->test) : ?>
|
|||
|
<div>测试结果:<br />
|
|||
|
<?= $this->escape($this->test) ?>
|
|||
|
</div>
|
|||
|
<?php endif; ?>
|