mirror of
https://gitee.com/zoujingli/ThinkAdmin.git
synced 2025-04-06 03:58:04 +08:00
修改系统存储配置
This commit is contained in:
parent
1cbed30dac
commit
65c399f478
@ -1,10 +1,10 @@
|
||||
<div class="layui-form-item">
|
||||
<label class="layui-form-label label-required">
|
||||
<span class="color-green font-w7">LinkType</span><br><span class="nowrap color-desc">链接类型</span>
|
||||
<span class="color-green font-w7">链接类型</span><br><span class="nowrap color-desc">LinkType</span>
|
||||
</label>
|
||||
<div class="layui-input-block">
|
||||
{foreach ['none'=>'简洁链接','full'=>'完整链接'] as $k=>$v}
|
||||
<label class="think-radio">
|
||||
<label class="think-radio notselect">
|
||||
{if sysconf('storage.link_type') eq $k}
|
||||
<input checked type="radio" name="storage.link_type" value="{$k}" lay-ignore> {$v}
|
||||
{else}
|
||||
@ -18,7 +18,7 @@
|
||||
|
||||
<div class="layui-form-item">
|
||||
<label class="layui-form-label" for="storage.allow_exts">
|
||||
<span class="color-green font-w7">AllowExts</span><br><span class="nowrap color-desc">允许类型</span>
|
||||
<span class="color-green font-w7">允许类型</span><br><span class="nowrap color-desc">AllowExts</span>
|
||||
</label>
|
||||
<div class="layui-input-block">
|
||||
<input id="storage.allow_exts" type="text" name="storage.allow_exts" required value="{:sysconf('storage.allow_exts')}" placeholder="请输入系统文件上传后缀" class="layui-input">
|
||||
|
@ -10,7 +10,7 @@
|
||||
|
||||
<div class="layui-form-item">
|
||||
<label class="layui-form-label label-required">
|
||||
<span class="color-green font-w7">Protocol</span><br><span class="nowrap color-desc">访问协议</span>
|
||||
<span class="color-green font-w7">访问协议</span><br><span class="nowrap color-desc">Protocol</span>
|
||||
</label>
|
||||
<div class="layui-input-block">
|
||||
{foreach ['http','https','auto'] as $protocol}
|
||||
@ -28,7 +28,7 @@
|
||||
|
||||
<div class="layui-form-item">
|
||||
<label class="layui-form-label">
|
||||
<span class="color-green font-w7">Point</span><br><span class="nowrap color-desc label-required">存储区域</span>
|
||||
<span class="color-green font-w7">存储区域</span><br><span class="nowrap color-desc label-required">Region</span>
|
||||
</label>
|
||||
<div class="layui-input-block">
|
||||
<select class="layui-select" name="storage.alioss_point" lay-search>
|
||||
@ -46,7 +46,7 @@
|
||||
|
||||
<div class="layui-form-item">
|
||||
<label class="layui-form-label" for="storage.alioss_bucket">
|
||||
<span class="color-green font-w7">Bucket</span><br><span class="nowrap color-desc">空间名称</span>
|
||||
<span class="color-green font-w7">空间名称</span><br><span class="nowrap color-desc">Bucket</span>
|
||||
</label>
|
||||
<div class="layui-input-block">
|
||||
<input id="storage.alioss_bucket" type="text" name="storage.alioss_bucket" required value="{:sysconf('storage.alioss_bucket')}" placeholder="请输入阿里云OSS存储 Bucket (空间名称)" class="layui-input">
|
||||
@ -56,7 +56,7 @@
|
||||
|
||||
<div class="layui-form-item">
|
||||
<label class="layui-form-label" for="storage.alioss_http_domain">
|
||||
<span class="color-green font-w7">Domain</span><br><span class="nowrap color-desc">访问域名</span>
|
||||
<span class="color-green font-w7">访问域名</span><br><span class="nowrap color-desc">Domain</span>
|
||||
</label>
|
||||
<div class="layui-input-block">
|
||||
<input id="storage.alioss_http_domain" type="text" name="storage.alioss_http_domain" required value="{:sysconf('storage.alioss_http_domain')}" placeholder="请输入阿里云OSS存储 Domain (访问域名)" class="layui-input">
|
||||
@ -66,7 +66,7 @@
|
||||
|
||||
<div class="layui-form-item">
|
||||
<label class="layui-form-label" for="storage.alioss_access_key">
|
||||
<span class="color-green font-w7">AccessKey</span><br><span class="nowrap color-desc">访问密钥</span>
|
||||
<span class="color-green font-w7">访问密钥</span><br><span class="nowrap color-desc">AccessKey</span>
|
||||
</label>
|
||||
<div class="layui-input-block">
|
||||
<input id="storage.alioss_access_key" type="text" name="storage.alioss_access_key" required value="{:sysconf('storage.alioss_access_key')}" placeholder="请输入阿里云OSS存储 AccessKey (访问密钥)" class="layui-input">
|
||||
@ -76,7 +76,7 @@
|
||||
|
||||
<div class="layui-form-item">
|
||||
<label class="layui-form-label" for="storage.alioss_secret_key">
|
||||
<span class="color-green font-w7">SecretKey</span><br><span class="nowrap color-desc">安全密钥</span>
|
||||
<span class="color-green font-w7">安全密钥</span><br><span class="nowrap color-desc">SecretKey</span>
|
||||
</label>
|
||||
<div class="layui-input-block">
|
||||
<input id="storage.alioss_secret_key" type="text" name="storage.alioss_secret_key" required value="{:sysconf('storage.alioss_secret_key')}" maxlength="43" placeholder="请输入阿里云OSS存储 SecretKey (安全密钥)" class="layui-input">
|
||||
|
@ -10,7 +10,7 @@
|
||||
|
||||
<div class="layui-form-item">
|
||||
<label class="layui-form-label label-required">
|
||||
<span class="color-green font-w7">Protocol</span><br><span class="nowrap color-desc">访问协议</span>
|
||||
<span class="color-green font-w7">访问协议</span><br><span class="nowrap color-desc">Protocol</span>
|
||||
</label>
|
||||
<div class="layui-input-block">
|
||||
{foreach ['follow','http','https','path','auto'] as $pro}
|
||||
|
@ -10,7 +10,7 @@
|
||||
|
||||
<div class="layui-form-item">
|
||||
<label class="layui-form-label label-required">
|
||||
<span class="color-green font-w7">Protocol</span><br><span class="nowrap color-desc">访问协议</span>
|
||||
<span class="color-green font-w7">访问协议</span><br><span class="nowrap color-desc">Protocol</span>
|
||||
</label>
|
||||
<div class="layui-input-block">
|
||||
{foreach ['http','https','auto'] as $pro}
|
||||
@ -28,7 +28,7 @@
|
||||
|
||||
<div class="layui-form-item">
|
||||
<label class="layui-form-label">
|
||||
<span class="color-green font-w7">Region</span><br><span class="nowrap color-desc label-required">存储区域</span>
|
||||
<span class="color-green font-w7">存储区域</span><br><span class="nowrap color-desc label-required">Region</span>
|
||||
</label>
|
||||
<div class="layui-input-block">
|
||||
{foreach ['华东','华北','华南','北美'] as $area}
|
||||
@ -47,7 +47,7 @@
|
||||
|
||||
<div class="layui-form-item">
|
||||
<label class="layui-form-label" for="storage.qiniu_bucket">
|
||||
<span class="color-green font-w7">Bucket</span><br><span class="nowrap color-desc">空间名称</span>
|
||||
<span class="color-green font-w7">空间名称</span><br><span class="nowrap color-desc">Bucket</span>
|
||||
</label>
|
||||
<div class="layui-input-block">
|
||||
<input id="storage.qiniu_bucket" type="text" name="storage.qiniu_bucket" required value="{:sysconf('storage.qiniu_bucket')}" placeholder="请输入七牛云存储 Bucket (空间名称)" class="layui-input">
|
||||
@ -57,7 +57,7 @@
|
||||
|
||||
<div class="layui-form-item">
|
||||
<label class="layui-form-label" for="storage.qiniu_http_domain">
|
||||
<span class="color-green font-w7">Domain</span><br><span class="nowrap color-desc">访问域名</span>
|
||||
<span class="color-green font-w7">访问域名</span><br><span class="nowrap color-desc">Domain</span>
|
||||
</label>
|
||||
<div class="layui-input-block">
|
||||
<input id="storage.qiniu_http_domain" type="text" name="storage.qiniu_http_domain" required value="{:sysconf('storage.qiniu_http_domain')}" placeholder="请输入七牛云存储 Domain (访问域名)" class="layui-input">
|
||||
@ -67,7 +67,7 @@
|
||||
|
||||
<div class="layui-form-item">
|
||||
<label class="layui-form-label" for="storage.qiniu_access_key">
|
||||
<span class="color-green font-w7">AccessKey</span><br><span class="nowrap color-desc">访问密钥</span>
|
||||
<span class="color-green font-w7">访问密钥</span><br><span class="nowrap color-desc">AccessKey</span>
|
||||
</label>
|
||||
<div class="layui-input-block">
|
||||
<input id="storage.qiniu_access_key" type="text" name="storage.qiniu_access_key" required value="{:sysconf('storage.qiniu_access_key')}" placeholder="请输入七牛云 AccessKey (访问密钥)" class="layui-input">
|
||||
@ -77,7 +77,7 @@
|
||||
|
||||
<div class="layui-form-item">
|
||||
<label class="layui-form-label" for="storage.qiniu_secret_key">
|
||||
<span class="color-green font-w7">SecretKey</span><br><span class="nowrap color-desc">安全密钥</span>
|
||||
<span class="color-green font-w7">安全密钥</span><br><span class="nowrap color-desc">SecretKey</span>
|
||||
</label>
|
||||
<div class="layui-input-block">
|
||||
<input id="storage.qiniu_secret_key" type="text" name="storage.qiniu_secret_key" required value="{:sysconf('storage.qiniu_secret_key')}" maxlength="43" placeholder="请输入七牛云 SecretKey (安全密钥)" class="layui-input">
|
||||
|
Loading…
x
Reference in New Issue
Block a user