1
0
mirror of https://gitee.com/zoujingli/ThinkAdmin.git synced 2025-04-06 03:58:04 +08:00

更新模板

This commit is contained in:
邹景立 2017-02-16 18:52:38 +08:00
parent 452429a944
commit e910af3f77
2 changed files with 4 additions and 3 deletions
application/admin/controller
public/static/theme/default/css

@ -55,8 +55,8 @@ class Index extends BasicAdmin {
* @return \think\response\View
*/
public function main() {
$version = Db::query('select version() as ver');
$version = array_pop($version);
$_version = Db::query('select version() as ver');
$version = array_pop($_version);
$this->assign('mysql_ver', $version['ver']);
if (session('user.username') === 'admin' && session('user.password') === '662af1cd1976f09a9f8cecc868ccc0a2') {
$alert = [
@ -64,6 +64,7 @@ class Index extends BasicAdmin {
'title' => '安全提示',
'content' => '超级管理员默认密码未修改,建议马上修改!'
];
$this->assign('title', '后台首页');
$this->assign('alert', $alert);
}
return view();

@ -199,7 +199,7 @@ td .text-explode:first-child {opacity:0;display:none}
.ibox-title {border-bottom:1px solid #e7eaec;color:inherit;margin-bottom:0;padding:0px 15px 0px 15px;min-height:48px}
.ibox-content {background-color:#ffffff;color:inherit;padding:15px}
.ibox-footer {color:inherit;border-top:1px solid #e7eaec;font-size:90%;background:#ffffff;padding:10px 15px}
.ibox-title h5 {display:inline-block;font-size:14px;margin:16px 0px;font-weight:500;text-indent:8px;text-overflow:ellipsis;border-left:2px solid #88B7E0}
.ibox-title h5 {display:inline-block;font-size:16px;margin:16px 0px;font-weight:500;text-indent:8px;text-overflow:ellipsis;border-left:2px solid #88B7E0}
/** 分页样式 */
.pagination > li > a {background-color:#FFFFFF !important;border:1px solid #DDDDDD !important;color:inherit !important;float:left;line-height:1.42857;margin-left:-1px;padding:4px 10px;position:relative;text-decoration:none}