Commit 0a6b80cf authored by keita.onoguchi's avatar keita.onoguchi
parents 5052c91e 236b4f2c
package com.example.web;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
@Controller
@RequestMapping("limited")
public class LoginController {
@GetMapping("login")
String login() {
return "login";
}
}
\ No newline at end of file
......@@ -187,7 +187,8 @@ video {
iframe,embed,object {
max-width: 100%;
}
input,textarea {
/* //宮嶋追記(TOPでのログアウトボタン) */
input:not(.logoutBtn),textarea {
color: #000 !important
}
......@@ -1546,3 +1547,58 @@ footer.footer p a{
z-index: 999;
}
}
/* ログイン画面開始 */
/* ラベルの幅 */
label {
width: 100px;
}
/* フォームの幅 */
.login {
width: 300px;
height: 30px;
}
/* フォームを中央寄せなど */
#loginForm {
text-align: center;
margin: 100px 0 150px;
}
/* 案内テキスト */
#onlineShoeStore {
font-size: 40px;
text-align: center;
margin-top: 100px;
}
#onlineShoeStoreSpan {
border-bottom: 2px solid #1abc9c;
}
/* フォーム間隔 */
#emailForm, #passwordForm {
margin: 20px 0;
}
/* 送信ボタン */
#btn, #signUp{
width: 150px;
height: 50px;
margin-top: 50px;
margin-left: 20px;
font-weight: bold;
}
/* ログイン画面終了 */
/*//宮嶋追記(TOPでのログアウトボタン)*/
.logoutBtn {
color: white;
margin-top: 10px;
}
<!doctype html>
<html class="no-js" lang="en">
<head>
<meta charset="utf-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"/>
<title>Mart - HTML5 Resoponsive onepage e-commerce template </title>
<meta name="description" content=""/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<link rel="icon" href="images/favicon.png"/>
<link rel="stylesheet" href="css/style.css"/>
<!--[if lt IE 9]>
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
<script>window.html5 || document.write('<script src="js/vendor/html5shiv.js"><\/script>')</script>
<![endif]-->
</head>
<body>
<section class="header-top-section">
<div class="container">
<div class="row">
<div class="col-md-6">
<div class="header-top-content">
<ul class="nav nav-pills navbar-left">
<li><a href="#"><i class="pe-7s-call"></i><span>123-123456789</span></a></li>
<li><a href="#"><i class="pe-7s-mail"></i><span> info@mart.com</span></a></li>
</ul>
</div>
</div>
</div>
</div>
</section>
<header class="header-section">
<nav class="navbar navbar-default">
<div class="container">
<!-- Brand and toggle get grouped for better mobile display -->
<div class="navbar-header">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1" aria-expanded="false">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="#"><b>L</b>imited</a>
</div>
</div><!-- /.container -->
</nav>
</header>
<!-- ログインフォーム -->
<div class="container">
<p id="onlineShoeStore"><span id="onlineShoeStoreSpan">Members-only online shoe store</span></p>
<form id="loginForm" method="post" th:action="@{/login}">
<div id="emailForm">
<label for="email">Email</label>
<input type="text" class="login" id="email" placeholder="Email" required/>
</div>
<div id="passwordForm">
<label for="password">Password</label>
<input type="password" class="login" id="password" placeholder="Password" required/>
</div>
<div id="submitForm">
<input type="submit" class="login" id="btn" value="Login"/>
<!-- 会員登録ボタン -->
<input type="button" class="login" id="signUp" value="Sign Up"/>
</div>
</form>
</div>
<!-- footer -->
<footer class="footer" id="loginFooter">
<div class="container">
<div class="row">
<div class="col-md-12">
<p class="center">Made with <i class="fa fa-heart"></i> by <a href="https://revolthemes.net/" target="_blank">Limited</a>. All Rights Reserved</p>
</div>
</div>
</div>
</footer>
<!-- JQUERY -->
<script src="js/vendor/jquery-1.11.2.min.js"></script>
<script src="js/vendor/bootstrap.min.js"></script>
<script src="js/isotope.pkgd.min.js"></script>
<script src="js/owl.carousel.min.js"></script>
<script src="js/wow.min.js"></script>
<script src="js/custom.js"></script>
</body>
</html>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment