mirror of
https://github.com/midoks/mdserver-web.git
synced 2026-10-10 04:19:26 +08:00
update
This commit is contained in:
@@ -27,8 +27,7 @@ LANDING_PAGE = home
|
||||
|
||||
[mailer]
|
||||
ENABLED = false
|
||||
SUBJECT_PREFIX = GOGS
|
||||
HOST = smtp.163.com:25
|
||||
HOST = smtp.163.com:465
|
||||
USER = midoks@163.com
|
||||
PASSWD = ***
|
||||
USE_PLAIN_TEXT = true
|
||||
|
||||
@@ -6,7 +6,9 @@
|
||||
<p onclick="pluginConfig('gogs',null, 'init_conf');">自启动配置</p>
|
||||
<p onclick="pluginConfig('gogs',null, 'conf');">配置文件</p>
|
||||
<p onclick="gogsSetConfig();">配置修改</p>
|
||||
<p onclick="gogsUserList();">用户列表</p>
|
||||
<p onclick="pluginLogs('gogs',null,'run_log');">运行日志</p>
|
||||
<p onclick="gogsRead();">使用说明</p>
|
||||
</div>
|
||||
<div class="bt-w-con pd15">
|
||||
<div class="soft-man-con"></div>
|
||||
|
||||
@@ -109,4 +109,11 @@ function submitGogsConf() {
|
||||
layer.msg(rdata.msg, { icon: rdata.status ? 1 : 2 });
|
||||
gogsSetConfig();
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
function gogsRead(){
|
||||
var readme = '<p>* 默认使用MySQL,第一个启动加载各种配置,并修改成正确的数据库配置</p>';
|
||||
readme += '<p>* 邮件端口使用456,gogs仅支持使用STARTTLS的SMTP协议</p>';
|
||||
$('.soft-man-con').html(readme);
|
||||
}
|
||||
Reference in New Issue
Block a user