mirror of
https://github.com/midoks/mdserver-web.git
synced 2026-10-18 23:45:52 +08:00
update
This commit is contained in:
@@ -27,8 +27,7 @@ LANDING_PAGE = home
|
|||||||
|
|
||||||
[mailer]
|
[mailer]
|
||||||
ENABLED = false
|
ENABLED = false
|
||||||
SUBJECT_PREFIX = GOGS
|
HOST = smtp.163.com:465
|
||||||
HOST = smtp.163.com:25
|
|
||||||
USER = midoks@163.com
|
USER = midoks@163.com
|
||||||
PASSWD = ***
|
PASSWD = ***
|
||||||
USE_PLAIN_TEXT = true
|
USE_PLAIN_TEXT = true
|
||||||
|
|||||||
@@ -6,7 +6,9 @@
|
|||||||
<p onclick="pluginConfig('gogs',null, 'init_conf');">自启动配置</p>
|
<p onclick="pluginConfig('gogs',null, 'init_conf');">自启动配置</p>
|
||||||
<p onclick="pluginConfig('gogs',null, 'conf');">配置文件</p>
|
<p onclick="pluginConfig('gogs',null, 'conf');">配置文件</p>
|
||||||
<p onclick="gogsSetConfig();">配置修改</p>
|
<p onclick="gogsSetConfig();">配置修改</p>
|
||||||
|
<p onclick="gogsUserList();">用户列表</p>
|
||||||
<p onclick="pluginLogs('gogs',null,'run_log');">运行日志</p>
|
<p onclick="pluginLogs('gogs',null,'run_log');">运行日志</p>
|
||||||
|
<p onclick="gogsRead();">使用说明</p>
|
||||||
</div>
|
</div>
|
||||||
<div class="bt-w-con pd15">
|
<div class="bt-w-con pd15">
|
||||||
<div class="soft-man-con"></div>
|
<div class="soft-man-con"></div>
|
||||||
|
|||||||
@@ -109,4 +109,11 @@ function submitGogsConf() {
|
|||||||
layer.msg(rdata.msg, { icon: rdata.status ? 1 : 2 });
|
layer.msg(rdata.msg, { icon: rdata.status ? 1 : 2 });
|
||||||
gogsSetConfig();
|
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