Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
E
Ecsite
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
shoei.kanno
Ecsite
Commits
236b4f2c
Commit
236b4f2c
authored
Oct 14, 2020
by
shoei.kanno
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ログイン画面デザイン途中
parent
9d431c28
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
165 additions
and
1 deletion
+165
-1
LoginController.java
src/main/java/com/example/web/LoginController.java
+15
-0
style.css
src/main/resources/static/css/style.css
+57
-1
login.html
src/main/resources/templates/login.html
+93
-0
No files found.
src/main/java/com/example/web/LoginController.java
0 → 100644
View file @
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
src/main/resources/static/css/style.css
View file @
236b4f2c
...
...
@@ -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
;
}
src/main/resources/templates/login.html
0 → 100644
View file @
236b4f2c
<!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>
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment