|
@@ -1,7 +1,7 @@
|
|
<!DOCTYPE html>
|
|
<!DOCTYPE html>
|
|
<html>
|
|
<html>
|
|
<head>
|
|
<head>
|
|
- <title>调度中心</title>
|
|
|
|
|
|
+ <title>${I18nUtil.getString("admin_name")}</title>
|
|
<#import "/common/common.macro.ftl" as netCommon>
|
|
<#import "/common/common.macro.ftl" as netCommon>
|
|
<@netCommon.commonStyle />
|
|
<@netCommon.commonStyle />
|
|
<link rel="stylesheet" href="${request.contextPath}/static/adminlte/plugins/iCheck/square/blue.css">
|
|
<link rel="stylesheet" href="${request.contextPath}/static/adminlte/plugins/iCheck/square/blue.css">
|
|
@@ -13,31 +13,43 @@
|
|
</div>
|
|
</div>
|
|
<form id="loginForm" method="post" >
|
|
<form id="loginForm" method="post" >
|
|
<div class="login-box-body">
|
|
<div class="login-box-body">
|
|
- <p class="login-box-msg">任务调度中心</p>
|
|
|
|
|
|
+ <p class="login-box-msg">${I18nUtil.getString("admin_name")}</p>
|
|
<div class="form-group has-feedback">
|
|
<div class="form-group has-feedback">
|
|
- <input type="text" name="userName" class="form-control" placeholder="请输入登录账号" value="admin" >
|
|
|
|
|
|
+ <input type="text" name="userName" class="form-control" placeholder="${I18nUtil.getString("login_username_placeholder")}" value="admin" maxlength="18" >
|
|
<span class="glyphicon glyphicon-envelope form-control-feedback"></span>
|
|
<span class="glyphicon glyphicon-envelope form-control-feedback"></span>
|
|
</div>
|
|
</div>
|
|
<div class="form-group has-feedback">
|
|
<div class="form-group has-feedback">
|
|
- <input type="password" name="password" class="form-control" placeholder="请输入登录密码" value="123456" >
|
|
|
|
|
|
+ <input type="password" name="password" class="form-control" placeholder="${I18nUtil.getString("login_password_placeholder")}" value="123456" maxlength="18" >
|
|
<span class="glyphicon glyphicon-lock form-control-feedback"></span>
|
|
<span class="glyphicon glyphicon-lock form-control-feedback"></span>
|
|
</div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="row">
|
|
<div class="col-xs-8">
|
|
<div class="col-xs-8">
|
|
<div class="checkbox icheck">
|
|
<div class="checkbox icheck">
|
|
<label>
|
|
<label>
|
|
- <input type="checkbox" name="ifRemember" > Remember Me
|
|
|
|
|
|
+ <input type="checkbox" name="ifRemember" > ${I18nUtil.getString("login_remember_me")}
|
|
</label>
|
|
</label>
|
|
</div>
|
|
</div>
|
|
</div><!-- /.col -->
|
|
</div><!-- /.col -->
|
|
<div class="col-xs-4">
|
|
<div class="col-xs-4">
|
|
- <button type="submit" class="btn btn-primary btn-block btn-flat">登录</button>
|
|
|
|
|
|
+ <button type="submit" class="btn btn-primary btn-block btn-flat">${I18nUtil.getString("login_btn")}</button>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</form>
|
|
</form>
|
|
</div>
|
|
</div>
|
|
<@netCommon.commonScript />
|
|
<@netCommon.commonScript />
|
|
|
|
+<script>
|
|
|
|
+var login_username_empty = '${I18nUtil.getString("login_username_empty")}';
|
|
|
|
+var login_username_lt_5 = '${I18nUtil.getString("login_username_lt_5")}';
|
|
|
|
+
|
|
|
|
+var login_password_empty = '${I18nUtil.getString("login_password_empty")}';
|
|
|
|
+var login_password_lt_5 = '${I18nUtil.getString("login_password_lt_5")}';
|
|
|
|
+
|
|
|
|
+var login_success = '${I18nUtil.getString("login_success")}';
|
|
|
|
+var login_fail = '${I18nUtil.getString("login_fail")}';
|
|
|
|
+var system_tips = '${I18nUtil.getString("system_tips")}';
|
|
|
|
+var system_ok = '${I18nUtil.getString("system_ok")}';
|
|
|
|
+</script>
|
|
<script src="${request.contextPath}/static/plugins/jquery/jquery.validate.min.js"></script>
|
|
<script src="${request.contextPath}/static/plugins/jquery/jquery.validate.min.js"></script>
|
|
<script src="${request.contextPath}/static/adminlte/plugins/iCheck/icheck.min.js"></script>
|
|
<script src="${request.contextPath}/static/adminlte/plugins/iCheck/icheck.min.js"></script>
|
|
<script src="${request.contextPath}/static/js/login.1.js"></script>
|
|
<script src="${request.contextPath}/static/js/login.1.js"></script>
|