修改后台配置表单

This commit is contained in:
Anyon 2020-04-16 22:08:33 +08:00
parent 116a31f2fe
commit 72d3aa7880

View File

@ -1,12 +1,9 @@
<form onsubmit="return false" data-auto="true" action="{:request()->url()}" method="post" class='layui-form layui-card' autocomplete="off">
<div class="layui-card-body padding-left-40">
<fieldset class="layui-form-item">
<legend class="layui-bg-cyan">网站参数</legend>
<div class="layui-form-item padding-left-15 padding-right-15">
<div class="layui-form-item">
<label class="relative block">
<span class="color-green font-w7">后台入口地址</span>
<span class="color-blue margin-left-5">{:sysuri('admin/index/index',[],false,true)}</span>
<span class="color-green font-w7 label-required-prev">后台登录地址</span>
<span class="color-desc margin-left-5">URL</span>
<span class="layui-input inline-block">
<span>{:sysuri('@',[],false,true)}</span>
<input autofocus required pattern="[a-zA-Z_][a-zA-Z0-9_]+" placeholder="请输入后台入口名称" class="layui-input inline-block padding-0 border-0" style="width:auto;background:none" value="{:trim(sysuri('admin/index/index'),'/')}" name="xpath">
@ -16,18 +13,18 @@
</div>
<div class="layui-form-item">
<label class="relative block">
<span class="color-green font-w7">浏览器图标</span>
<span class="color-green font-w7">浏览器图标</span>
<span class="color-desc margin-left-5">Icon</span>
<input class="layui-input" required pattern="^http" placeholder="请上传浏览器图标  " value="{:sysconf('site_icon')}" name="site_icon">
<a class="input-right-icon layui-icon layui-icon-upload-circle" style="top:25px" data-file="btn" data-type="ico,png" data-field="site_icon"></a>
<span class="help-block">建议上传 ICO 图标的尺寸为 <span class="color-blue">128x128</span>,可以在 <a href="http://www.favicon-icon-generator.com" target="_blank">ICON </a>制作</span>
<span class="help-block">建议上传 <span class="color-blue">128x128</span> 的 ico 或 png 图片,可以通过 <a href="http://www.favicon-icon-generator.com" target="_blank">ICON </a>在线制作</span>
</label>
</div>
<div class="layui-form-item layui-row layui-col-space15">
<div class="layui-col-xs4">
<label class="relative block">
<span class="color-green font-w7">网站名称</span>
<span class="color-desc margin-left-5">Website</span>
<span class="color-desc margin-left-5">SiteName</span>
<input name="site_name" required placeholder="请输入网站名称" value="{:sysconf('site_name')}" class="layui-input">
<span class="help-block">网站名称将显示在浏览器的标签上</span>
</label>
@ -49,11 +46,7 @@
</label>
</div>
</div>
</div>
</fieldset>
<fieldset class="layui-form-item">
<legend class="layui-bg-cyan">网站备案</legend>
<div class="layui-form-item padding-left-15 padding-right-15">
<label class="layui-form-item relative block">
<span class="color-green font-w7">公网安备号</span>
<span class="color-desc margin-left-5">Baian</span>
@ -72,8 +65,7 @@
<input name="site_copy" required placeholder="请输入版权信息" value="{:sysconf('site_copy')}" class="layui-input">
<span class="help-block">网站版权信息,在后台登录页面显示版本信息并链接到备案到信息备案管理系统</span>
</label>
</div>
</fieldset>
<div class="hr-line-dashed "></div>
<div class="layui-form-item text-center">
<button class="layui-btn" type="submit">保存配置</button>