更新界面描述

This commit is contained in:
邹景立 2017-02-24 17:29:11 +08:00
parent 245676f9e9
commit 3f59967629
3 changed files with 8 additions and 2 deletions

View File

@ -58,6 +58,12 @@ class Config extends BasicAdmin {
* 文件存储配置
*/
public function file() {
$alert = [
'type' => 'info',
'title' => '操作提示',
'content' => '文件引擎参数影响全局文件上传功能,请勿随意修改!'
];
$this->assign('alert', $alert);
$this->title = '文件存储配置';
$this->index();
}

View File

@ -76,8 +76,8 @@ class Index extends BasicAdmin {
'title' => '安全提示',
'content' => '超级管理员默认密码未修改,建议马上<a href="javascript:void(0)">修改</a>'
];
$this->assign('title', '后台首页');
$this->assign('alert', $alert);
$this->assign('title', '后台首页');
}
return view();
}

View File

@ -11,7 +11,7 @@
<span aria-hidden="true">&times;</span>
</button>
{if isset($alert['title'])}<p style="font-size:18px;padding-bottom:10px">{$alert.title}</p>{/if}
{if isset($alert['content'])}<p>{$alert.content}</p>{/if}
{if isset($alert['content'])}<p style="font-size:14px">{$alert.content}</p>{/if}
</div>
{/if}
{block name="content"}