|
|
@ -92,7 +92,7 @@
|
|
|
|
<div id="formAuthentication" class="mb-3">
|
|
|
|
<div id="formAuthentication" class="mb-3">
|
|
|
|
<div class="mb-3">
|
|
|
|
<div class="mb-3">
|
|
|
|
<label for="userId" class="form-label">아이디</label>
|
|
|
|
<label for="userId" class="form-label">아이디</label>
|
|
|
|
<input id="userId" type="text" required class="form-control" placeholder="아이디를 입력하십시오." autofocus />
|
|
|
|
<input id="userId" type="text" value="${cookie['userAccount'].getValue()}" required class="form-control" placeholder="아이디를 입력하십시오." autofocus />
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="mb-3 form-password-toggle">
|
|
|
|
<div class="mb-3 form-password-toggle">
|
|
|
|
<div class="d-flex justify-content-between">
|
|
|
|
<div class="d-flex justify-content-between">
|
|
|
@ -129,7 +129,7 @@ function login() {
|
|
|
|
password:$("#password").val(),
|
|
|
|
password:$("#password").val(),
|
|
|
|
institute:"default"
|
|
|
|
institute:"default"
|
|
|
|
};
|
|
|
|
};
|
|
|
|
json.post({
|
|
|
|
ajax.post({
|
|
|
|
url:wctx.url("/login.do"),
|
|
|
|
url:wctx.url("/login.do"),
|
|
|
|
data:params,
|
|
|
|
data:params,
|
|
|
|
success:function(resp) {
|
|
|
|
success:function(resp) {
|
|
|
@ -150,6 +150,8 @@ function login() {
|
|
|
|
|
|
|
|
|
|
|
|
$(function(){
|
|
|
|
$(function(){
|
|
|
|
$("#formAuthentication input").onEnterPress(login);
|
|
|
|
$("#formAuthentication input").onEnterPress(login);
|
|
|
|
|
|
|
|
if ($("#userId").val())
|
|
|
|
|
|
|
|
$("#password").focus();
|
|
|
|
});
|
|
|
|
});
|
|
|
|
</script>
|
|
|
|
</script>
|
|
|
|
</body>
|
|
|
|
</body>
|
|
|
|