修改 版权信息年份至 2020

This commit is contained in:
Suwings 2020-01-25 21:44:44 +08:00
parent 4b1b1f0c84
commit aa182ffa61
6 changed files with 22 additions and 13 deletions

View File

@ -6,5 +6,5 @@ _ / / / / /___ ____/ /_ / / / / /_/ /_ / / / /_/ /_ /_/ // __/ /
/_/ /_/ \____/ /____/ /_/ /_/ \__,_/ /_/ /_/\__,_/ _\__, / \___//_/
/____/
+ Version 8
+ Copyright 2013-2019 Suwings All rights reserved.
+ Copyright 2020 Suwings All rights reserved.
----------------------------------------------------------------------------

View File

@ -16,7 +16,7 @@ var UUID = require('uuid');
app.use(session({
secret: UUID.v4(),
name: 'IFM_session',
//1小时
// Cookie 默认时间:一小时
cookie: {
maxAge: 1000 * 60 * 60
},
@ -24,6 +24,7 @@ app.use(session({
saveUninitialized: true,
}));
// public 公开目录
app.use('/public', express.static('./public'));
app.post('/', function (req, res) {

View File

@ -14,6 +14,8 @@ const fs = require("fs");
const os = require('os');
// 压缩 & 解压任务计数器 暂无用
let CompressDecompressCounter = 0;
router.post('/mkdir', (req, res) => {
let name = parseHandle(req.body, "string");

View File

@ -4,7 +4,7 @@
<head>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>MCSM - 验证界面</title>
<title>验证界面 | MCSM</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link href="../common/bootstrap/css/bootstrap.min.css" rel="stylesheet">
<link href="./static/main.css" rel="stylesheet">
@ -28,7 +28,7 @@
</div>
<p class="mlogin_context_footer">
<span>©2013-2018 Suwings. All rights reserved.</span>
<span>©2020 Suwings. All rights reserved.</span>
</p>
<!-- 登录 -->
<div id="mlogin_right">
@ -37,9 +37,11 @@
<p>使用您的 MCSM 账户 </p>
<div id="mlogin_form">
<p>用户名</p>
<input id="login-userid" type="text" class="minput" placeholder="普通账号 | 管理用户" onkeypress="enKeyPress()" />
<input id="login-userid" type="text" class="minput" placeholder="普通账号 | 管理用户"
onkeypress="enKeyPress()" />
<p>密码</p>
<input id="login-passwd" type="password" class="minput" placeholder="账号密码" onkeypress="enKeyPress()" />
<input id="login-passwd" type="password" class="minput" placeholder="账号密码"
onkeypress="enKeyPress()" />
<button id="login-button" class="mbutton" onclick="MCSERVER.btnLogin()">验证</button>
<a href="#" class="mlogin_forge" onclick="alert('请联系管理员更改密码如果您是管理员请删除user/文件夹下的所有#开头的管理用户')">
忘记密码?
@ -49,7 +51,7 @@
</a>
</div>
<p class="mlogin_context_footer phone">
<span>©2013-2018 Suwings. All rights reserved.</span>
<span>©2020 Suwings. All rights reserved.</span>
</p>
</div>
</div>

View File

@ -39,26 +39,30 @@
<form class="form-horizontal" role="form">
<div class="form-group has-feedback">
<div class="col-sm-12">
<input type="text" class="form-control border-1 minput" id="login-userid" placeholder="普通用户 | 管理用户">
<input type="text" class="form-control border-1 minput" id="login-userid"
placeholder="普通用户 | 管理用户">
<span class="glyphicon glyphicon-user form-control-feedback" aria-hidden="true"></span>
</div>
</div>
<div class="form-group has-feedback">
<div class="col-sm-12">
<input type="password" class="form-control border-1 minput" id="login-passwd" placeholder="密码" onkeypress="enKeyPress()">
<input type="password" class="form-control border-1 minput" id="login-passwd"
placeholder="密码" onkeypress="enKeyPress()">
<span class="glyphicon glyphicon-th form-control-feedback" aria-hidden="true"></span>
</div>
</div>
<div class="form-group">
<div class="col-xs-4 col-sm-6"></div>
<div class="col-xs-8 col-sm-6">
<a href="/" id="form-help" class="text-right help-text" onclick="alert('请联系管理员更改密码如果您是管理员请删除user/文件夹下的所有#开头的管理用户')">忘记密码?</a>
<a href="/" id="form-help" class="text-right help-text"
onclick="alert('请联系管理员更改密码如果您是管理员请删除user/文件夹下的所有#开头的管理用户')">忘记密码?</a>
</div>
</div>
<div class="form-group">
<div class="col-sm-12">
<div id='login-button' class="btn btn-default btn-info border-1" onclick="MCSERVER.btnLogin()">
<div id='login-button' class="btn btn-default btn-info border-1"
onclick="MCSERVER.btnLogin()">
<b>验证</b>
</div>
</div>
@ -68,7 +72,7 @@
</div>
<div id="copyright" class="row text-justify">
<!-- 你可以删除这里的版权,添加你自己的版权 -->
<span>©2013-2018 Suwings. All rights reserved.</span>
<span>©2020 Suwings. All rights reserved.</span>
</div>
</div>
</div>

View File

@ -46,7 +46,7 @@
</p>
<div id="copyright" class="">
<span>©2013-2018 Suwings. All rights reserved.</span>
<span>©2020 Suwings. All rights reserved.</span>
</div>
</div>