mirror of
https://gitee.com/zoujingli/ThinkAdmin.git
synced 2025-04-05 19:41:44 +08:00
调整基础模板结构
This commit is contained in:
parent
70811efd78
commit
0bb2b96f21
@ -58,6 +58,7 @@ class Index extends BasicAdmin {
|
||||
$version = Db::query('select version() as ver');
|
||||
$version = array_pop($version);
|
||||
$this->assign('mysql_ver', $version['ver']);
|
||||
$this->assign('title', '系统信息');
|
||||
return view();
|
||||
}
|
||||
|
||||
|
@ -1,9 +1,9 @@
|
||||
{extend name="extra@admin/main" /}
|
||||
|
||||
{block name='body'}
|
||||
{include file="extra@admin/top"}
|
||||
{include file="extra@admin/main.top"}
|
||||
<div class="framework-body framework-sidebar-mini">
|
||||
<{include file="extra@admin/left"}>
|
||||
<{include file="extra@admin/main.left"}>
|
||||
<div class="framework-container layer-main-container"></div>
|
||||
</div>
|
||||
{/block}
|
@ -1,75 +1,70 @@
|
||||
<div class="ibox">
|
||||
{if $title}
|
||||
<div class="ibox-title">
|
||||
<h5>{$title}</h5>
|
||||
{extend name='extra@admin/content' /}
|
||||
|
||||
{block name="content"}
|
||||
<div class="row">
|
||||
<div class="col-sm-6">
|
||||
<table class="table table-bordered">
|
||||
<tr>
|
||||
<td>框架版本</td>
|
||||
<td>{$Think.const.THINK_VERSION}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>系统类型</td>
|
||||
<td>{:php_uname('s')}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>运行环境</td>
|
||||
<td>{:php_sapi_name()}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>PHP版本</td>
|
||||
<td>{:phpversion()}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>MySQL版本</td>
|
||||
<td>{$mysql_ver}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>上传限制</td>
|
||||
<td>{:ini_get('upload_max_filesize')}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>POST限制</td>
|
||||
<td>{:ini_get('post_max_size')}</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
{/if}
|
||||
<div class="ibox-content fadeInUp animated">
|
||||
<div class="row">
|
||||
<div class="col-sm-6">
|
||||
<table class="table table-bordered">
|
||||
<tr>
|
||||
<td>框架版本</td>
|
||||
<td>{$Think.const.THINK_VERSION}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>系统类型</td>
|
||||
<td>{:php_uname('s')}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>运行环境</td>
|
||||
<td>{:php_sapi_name()}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>PHP版本</td>
|
||||
<td>{:phpversion()}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>MySQL版本</td>
|
||||
<td>{$mysql_ver}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>上传限制</td>
|
||||
<td>{:ini_get('upload_max_filesize')}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>POST限制</td>
|
||||
<td>{:ini_get('post_max_size')}</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
<div class="col-sm-6">
|
||||
<table class="table table-bordered">
|
||||
<tr>
|
||||
<td>框架版本</td>
|
||||
<td>{$Think.const.THINK_VERSION}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>系统类型</td>
|
||||
<td>{:php_uname('s')}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>运行环境</td>
|
||||
<td>{:php_sapi_name()}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>PHP版本</td>
|
||||
<td>{:phpversion()}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>MySQL版本</td>
|
||||
<td>{$mysql_ver}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>上传限制</td>
|
||||
<td>{:ini_get('upload_max_filesize')}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>POST限制</td>
|
||||
<td>{:ini_get('post_max_size')}</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-sm-6">
|
||||
<table class="table table-bordered">
|
||||
<tr>
|
||||
<td>框架版本</td>
|
||||
<td>{$Think.const.THINK_VERSION}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>系统类型</td>
|
||||
<td>{:php_uname('s')}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>运行环境</td>
|
||||
<td>{:php_sapi_name()}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>PHP版本</td>
|
||||
<td>{:phpversion()}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>MySQL版本</td>
|
||||
<td>{$mysql_ver}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>上传限制</td>
|
||||
<td>{:ini_get('upload_max_filesize')}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>POST限制</td>
|
||||
<td>{:ini_get('post_max_size')}</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{/block}
|
13
application/extra/view/admin.content.html
Normal file
13
application/extra/view/admin.content.html
Normal file
@ -0,0 +1,13 @@
|
||||
{block name="contentTag"}
|
||||
<div class="ibox">
|
||||
{if isset($title)}
|
||||
<div class="ibox-title">
|
||||
<h5>{$title}</h5>
|
||||
</div>
|
||||
{/if}
|
||||
<div class="ibox-content fadeInUp animated">
|
||||
{block name="content"}
|
||||
{/block}
|
||||
</div>
|
||||
</div>
|
||||
{/block}
|
Loading…
x
Reference in New Issue
Block a user