2018-03-13 15:37:38 +08:00

82 lines
3.7 KiB
PHP
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{extend name="admin@public/content"}
{block name="content"}
<form onsubmit="return false;" action="{:request()->url()}" data-auto="true" method="post" class='form-horizontal layui-form padding-top-20'>
<div class="form-group">
<label class="col-sm-2 control-label">
AppName<br><span class="nowrap color-desc">程序名称</span>
</label>
<div class='col-sm-8'>
<input name="app_name" required="required" title="请输入程序名称" placeholder="请输入程序名称" value="{:sysconf('app_name')}" class="layui-input">
<p class="help-block">当前程序名称,在后台主标题上显示</p>
</div>
</div>
<div class="form-group">
<label class="col-sm-2 control-label">
AppVersion<br><span class="nowrap color-desc">程序版本</span>
</label>
<div class='col-sm-8'>
<input name="app_version" required="required" title="请输入程序版本" placeholder="请输入程序版本" value="{:sysconf('app_version')}" class="layui-input">
<p class="help-block">当前程序版本号,在后台主标题上标显示</p>
</div>
</div>
<div class="hr-line-dashed"></div>
<div class="form-group">
<label class="col-sm-2 control-label">
SiteName<br><span class="nowrap color-desc">网站名称</span>
</label>
<div class='col-sm-8'>
<input name="site_name" required="required" title="请输入网站名称" placeholder="请输入网站名称" value="{:sysconf('site_name')}" class="layui-input">
<p class="help-block">网站名称,显示在浏览器标签上</p>
</div>
</div>
<div class="form-group">
<label class="col-sm-2 control-label">
Copyright<br><span class="nowrap color-desc">版权信息</span>
</label>
<div class='col-sm-8'>
<input name="site_copy" required="required" title="请输入版权信息" placeholder="请输入版权信息" value="{:sysconf('site_copy')}" class="layui-input">
<p class="help-block">程序的版权信息设置,在后台登录页面显示</p>
</div>
</div>
<div class="hr-line-dashed"></div>
<div class="form-group">
<label class="col-sm-2 control-label">
Browser<br><span class="nowrap color-desc">浏览器图标</span>
</label>
<div class='col-sm-8'>
<img data-tips-image style="height:auto;max-height:32px;min-width:32px" src="{:sysconf('browser_icon')}"/>
<input type="hidden" name="browser_icon" onchange="$(this).prev('img').attr('src', this.value)" value="{:sysconf('browser_icon')}" class="layui-input">
<a class="btn btn-link" data-file="one" data-uptype="local" data-type="ico,png" data-field="browser_icon">上传图片</a>
<p class="help-block">建议上传ICO图标的尺寸为128x128px此图标用于网站标题前ICON在线制作</p>
</div>
</div>
<div class="form-group">
<label class="col-sm-2 control-label">
Miitbeian<br><span class="nowrap color-desc">网站备案</span>
</label>
<div class='col-sm-8'>
<input name="miitbeian" title="请输入网站备案号" placeholder="请输入网站备案号" value="{:sysconf('miitbeian')}" class="layui-input">
<p class="help-block">网站备案号,可以在<a target="_blank" href="http://www.miitbeian.gov.cn">备案管理中心</a>查询获取</p>
</div>
</div>
<div class="hr-line-dashed"></div>
<div class="col-sm-4 col-sm-offset-2">
<div class="layui-form-item text-center">
<button class="layui-btn" type="submit">保存配置</button>
</div>
</div>
</form>
{/block}