로그인페이지 수정.

master
강석 최 2022-02-23 14:03:45 +09:00
parent d8ffe1e454
commit d84c91496b
5 changed files with 23 additions and 14 deletions

View File

@ -18,9 +18,6 @@
<header class="header"> <header class="header">
<div class="header_title"> <div class="header_title">
<sec:authorize access="isAnonymous()">
<a href="/">모바일센터 관리시스템</a>
</sec:authorize>
<sec:authorize access="hasRole('ROLE_USER')"> <sec:authorize access="hasRole('ROLE_USER')">
<a href="/map/request">모바일센터 관리시스템</a> <a href="/map/request">모바일센터 관리시스템</a>
</sec:authorize> </sec:authorize>

View File

@ -15,6 +15,15 @@
<link rel="stylesheet" type="text/css" href="<c:url value="/css/bootstrap-5.1.3.css"/>"> <link rel="stylesheet" type="text/css" href="<c:url value="/css/bootstrap-5.1.3.css"/>">
<link href="<c:out value="/css/normalize.css" />" rel="stylesheet"> <link href="<c:out value="/css/normalize.css" />" rel="stylesheet">
<link href="<c:out value="/css/style.css" />" rel="stylesheet"> <link href="<c:out value="/css/style.css" />" rel="stylesheet">
<style>
#wrap{
background-image: url("/images/main1.jpg");
background-size: cover;
margin: 0;
padding: 0;
height: 1080px;
}
</style>
<title> <title>
<tiles:insertAttribute name="title" ignore="true" /> <tiles:insertAttribute name="title" ignore="true" />
</title> </title>
@ -22,12 +31,9 @@
<script src="<c:url value='/js/jquery-ui.min.js' />"></script> <script src="<c:url value='/js/jquery-ui.min.js' />"></script>
<script src="<c:url value="/js/bootstrap-5.1.3.min.js"/>"></script> <script src="<c:url value="/js/bootstrap-5.1.3.min.js"/>"></script>
</head> </head>
<body class=""> <body>
<div id="wrap"> <div id="wrap">
<tiles:insertAttribute name="header"/>
<section class="section">
<tiles:insertAttribute name="center"/> <tiles:insertAttribute name="center"/>
</section>
</div> </div>
</body> </body>

View File

@ -9,6 +9,7 @@
<form method="POST" action="/j_spring_security_check"> <form method="POST" action="/j_spring_security_check">
<input type="hidden" name="${_csrf.parameterName}" value="${_csrf.token}" /> <input type="hidden" name="${_csrf.parameterName}" value="${_csrf.token}" />
<input type=hidden name=login_error value="${login_error}" /> <input type=hidden name=login_error value="${login_error}" />
<p class="login_title">모바일센터 관리시스템</p>
<p class="login_text"> <p class="login_text">
<input type="text" class="form-control" name="username" id="user_id" value="" placeholder="사용자 ID" /> <input type="text" class="form-control" name="username" id="user_id" value="" placeholder="사용자 ID" />
</p> </p>

View File

@ -87,7 +87,6 @@ a {
.loginWrap { .loginWrap {
width: 400px; width: 400px;
margin: 0 auto; margin: 0 auto;
padding: 2% 0 0 0;
position: absolute; position: absolute;
top: 50%; top: 50%;
left: 50%; left: 50%;
@ -95,14 +94,20 @@ a {
border: 1px solid #ccc; border: 1px solid #ccc;
box-shadow: 5px 5px 20px grey; box-shadow: 5px 5px 20px grey;
} }
.login_title{
float: left;
font-size: 24px;
font-weight: bold;
padding-left: 20px;
box-sizing: border-box;
}
.login_text { .login_text {
margin: 2% 5%; margin: 2% 5%;
text-align: center; text-align: center;
} }
.loginBox { .loginBox {
background-color: rgba(255, 255, 255, 0.7); background-color: rgba(255, 255, 255, 1);
overflow: hidden; overflow: hidden;
padding: 30px 0px 0px 0px; padding: 30px 0px 0px 0px;
} }