diff --git a/.gitignore b/.gitignore index 52e1acef9..9c0f0f946 100644 --- a/.gitignore +++ b/.gitignore @@ -5,4 +5,4 @@ runtime composer.lock public/upload -/nbproject/private/ \ No newline at end of file +/nbproject/private/ diff --git a/app/admin/view/config/index.html b/app/admin/view/config/index.html index ab65d863c..57b6bf689 100644 --- a/app/admin/view/config/index.html +++ b/app/admin/view/config/index.html @@ -1,20 +1,23 @@ {extend name="main"} +{block name="button"} + +{if auth('system')} +修改系统配置 +{/if} + +{/block} + {block name="content"} -{if auth('config')}
文件将存储在本地服务器,需确保服务器的 public/upload 目录有写入权限,有足够的存储空间!
设置系统允许上传文件的后缀,多个以英文逗号隔开。如:png,jpg,rar,doc
diff --git a/app/admin/view/config/storage-qiniu.html b/app/admin/view/config/storage-qiniu.html index 47beaeb2c..9dfbca5ce 100644 --- a/app/admin/view/config/storage-qiniu.html +++ b/app/admin/view/config/storage-qiniu.html @@ -5,14 +5,14 @@ 完成实名认证后可获得10G免费存储空间哦!我要免费申请设置系统允许上传文件的后缀,多个以英文逗号隔开。如:png,jpg,rar,doc
填写七牛云存储空间名称,如:static
填写七牛云存储访问域名,如:static.ctolog.com
可以在 [ 七牛云 > 个人中心 ] 设置并获取到访问密钥。
可以在 [ 七牛云 > 个人中心 ] 设置并获取到安全密钥。
diff --git a/public/static/theme/css/console.custom.css b/public/static/theme/css/console.custom.css index 04c4939f5..eb536dfdf 100644 --- a/public/static/theme/css/console.custom.css +++ b/public/static/theme/css/console.custom.css @@ -431,6 +431,16 @@ margin-bottom: 40px; background-color: #E90D24; } +.input-right-icon { + top: 0; + right: 0; + width: 38px; + height: 38px; + display: inline-block; + position: absolute; + text-align: center; + line-height: 38px; +} /** 加载进度 */ .pace-inactive { display: none; diff --git a/public/static/theme/css/console.custom.css.map b/public/static/theme/css/console.custom.css.map index a8c1b1bef..3b1668c20 100644 --- a/public/static/theme/css/console.custom.css.map +++ b/public/static/theme/css/console.custom.css.map @@ -1 +1 @@ -{"version":3,"sources":["console.cust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,IAAG;EACD,mBAAA;EACA,qBAAA;;AAMR;EACE,eAAA;;AAGF;EACE,eAAA;EACA,mBAAA;;AAFF,uBAIE;EACE,QAAA;EACA,SAAA;EACA,eAAA;EACA,kBAAA;EACA,+BAAA;;AATJ,uBAYE;EACE,WAAA;EACA,gBAAA;EACA,kBAAA;EACA,kBAAA;;AAhBJ,uBAYE,mBAME,MAAK,UAAU;EACb,eAAA;EACA,iBAAA","file":"console.custom.css"} \ No newline at end of file +{"version":3,"sources":["console.custom.less"],"names":[],"mappings":"AAAA;EACE,aAAA;EACA,cAAA;EACA,eAAA;EACA,kBAAA;EACA,iBAAA;EACA,mBAAA;EACA,yBAAA;EACA,yBAAA;EACA,0BAAA;;AAGF;EACE,iBAAA;EACA,qBAAA;EACA,sBAAA;EACA,yBAAA;;AAGF;EACE,2BAAA;EACA,8BAAA;EACA,gCAAA;EACA,mCAAA;;AAGF;EACE,kBAAA;;AAGF;EACE,kBAAA;;AAGF;EACE,cAAA;;AAGF;EACE,eAAA;;AAGF;EACE,mBAAA;;AAGF;EACE,WAAA;EACA,eAAA;;AAGF;EACE,qBAAA;;AAKA,MAAC;EACC,WAAA;;AAGF,MAAC;EACC,YAAA;;AAKF,MAAC;EACC,WAAA;;AAGF,MAAC;EACC,YAAA;;AAKF,OAAC;EACC,cAAA;;AAGF,OAAC;EACC,cAAA;;AAGF,OAAC;EACC,WAAA;;AAGF,OAAC;EACC,WAAA;;AAGF,OAAC;EACC,WAAA;;AAKF,MAAC;EACC,mBAAA;;AAGF,MAAC;EACC,gBAAA;;AAGF,MAAC;EACC,iBAAA;;AAGF,MAAC;EACC,kBAAA;;AAGF,MAAC;EACC,sBAAA;;AAGF,MAAC;EACC,sBAAA;;AAKF,UAAC;EACC,iBAAA;;AAGF,UAAC;EACC,YAAY,0CAAZ;;AAGF,UAAC;EACC,YAAY,0CAAZ;;AAGF,UAAC;EACC,YAAY,0CAAZ;;AAGF,UAAC;EACC,YAAY,0CAAZ;;;AAMF,SAAC;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A,qBAAA;EACA,SAAA;EACA,UAAA;;AAZJ,qBAQE,KAME;EACE,UAAA;EACA,qBAAA;;AAEA,qBAVJ,KAME,KAIG;EACC,UAAA;;AADF,qBAVJ,KAME,KAIG,OAGC;EACE,WAAA;EACA,kBAAA;EACA,kBAAA;EACA,mBAAA;;AAzBV,qBAQE,KAME,KAeE;AA7BN,qBAQE,KAME,KAeO;EACH,WAAA;EACA,WAAA;EACA,YAAA;EACA,yBAAA;EACA,qBAAA;EACA,iBAAA;EACA,kBAAA;EACA,iBAAA;;AArCR,qBAQE,KAME,KA0BE;EACE,mBAAA;EACA,eAAA;;AA1CR,qBAQE,KAME,KA+BE,IAAG;EACD,mBAAA;EACA,qBAAA;;AAMR;EACE,eAAA;;AAGF;EACE,eAAA;EACA,mBAAA;;AAFF,uBAIE;EACE,QAAA;EACA,SAAA;EACA,eAAA;EACA,kBAAA;EACA,+BAAA;;AATJ,uBAYE;EACE,WAAA;EACA,gBAAA;EACA,kBAAA;EACA,kBAAA;;AAhBJ,uBAYE,mBAME,MAAK,UAAU;EACb,eAAA;EACA,iBAAA","file":"console.custom.css"} \ No newline at end of file