Update info.html

This commit is contained in:
Anyon 2019-10-08 14:13:07 +08:00
parent 23f5eb6466
commit 36e22d1a56

View File

@ -2,8 +2,15 @@
{block name="content"}
{if auth('config')}
<div class="think-box-shadow margin-bottom-15">
<span class="color-green font-w7">文件存储引擎:</span>
<span class="color-green font-w7 text-middle">系统参数配置:</span>
<a class="layui-btn layui-btn-sm" data-modal="{:url('config')}">修改系统配置</a>
</div>
{/if}
<div class="think-box-shadow margin-bottom-15">
<span class="color-green font-w7 text-middle">文件存储引擎:</span>
{foreach ['local'=>'本地服务器存储','qiniu'=>'七牛云对象存储','oss'=>'阿里云OSS存储'] as $k=>$v}
{if sysconf('storage_type') eq $k}
{if auth('file')}<a data-modal="{:url('file')}?type={$k}" class="layui-btn layui-btn-sm">{$v}</a>{else}<a class="layui-btn layui-btn-sm">{$v}</a>{/if}
@ -11,13 +18,6 @@
{/foreach}
</div>
{if auth('config')}
<div class="think-box-shadow margin-bottom-15">
<span class="color-green font-w7">系统参数配置:</span>
<a class="layui-btn layui-btn-sm" data-modal="{:url('config')}">修改系统配置</a>
</div>
{/if}
<div class="think-box-shadow padding-40">
<div class="layui-form-item">
<span class="color-green font-w7">网站名称 Website</span>