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
451d8589
Commit
451d8589
authored
Oct 21, 2020
by
shoei.kanno
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
財布画面デザイン完成
parent
0617b3f2
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
67 additions
and
47 deletions
+67
-47
style.css
src/main/resources/static/css/style.css
+35
-2
wallets.js
src/main/resources/static/js/wallets.js
+19
-0
wallets.html
src/main/resources/templates/wallets.html
+13
-45
No files found.
src/main/resources/static/css/style.css
View file @
451d8589
...
@@ -2013,4 +2013,38 @@ th, td {
...
@@ -2013,4 +2013,38 @@ th, td {
position
:
sticky
;
position
:
sticky
;
top
:
0
;
top
:
0
;
z-index
:
1
;
z-index
:
1
;
}
}
\ No newline at end of file
/* 財布画面 */
#amount-form
{
margin
:
20px
0
;
text-align
:
center
;
}
#amount
{
width
:
400px
;
height
:
30px
;
}
#balance
{
text-align
:
center
;
margin-top
:
50px
;
margin-bottom
:
60px
;
font-size
:
20px
;
}
#balanceSpan
{
margin-left
:
30px
;
}
.wallets-p
{
margin-bottom
:
100px
;
}
#wallets-footer
{
margin-top
:
70px
;
}
#en
{
margin-right
:
10px
;
}
src/main/resources/static/js/wallets.js
0 → 100644
View file @
451d8589
//モーダル表示
$
(
function
(){
$
(
'.js-modal-open'
).
on
(
'click'
,
function
(){
$
(
'.js-modal'
).
fadeIn
();
return
false
;
});
$
(
'.js-modal-close'
).
on
(
'click'
,
function
(){
$
(
'.js-modal'
).
fadeOut
();
return
false
;
});
});
//フォーム送信
$
(
document
).
ready
(
function
()
{
$
(
'#ok-btn'
).
click
(
function
()
{
$
(
'#wallets-form'
).
submit
();
});
});
\ No newline at end of file
src/main/resources/templates/wallets.html
View file @
451d8589
...
@@ -67,26 +67,21 @@
...
@@ -67,26 +67,21 @@
<!-- ログインフォーム -->
<!-- ログインフォーム -->
<div
class=
"container"
>
<div
class=
"container"
>
<p
id=
"online-shoe-store"
><span
id=
"online-shoe-store-span"
>
Wallets
</span></p>
<p
id=
"online-shoe-store"
class=
"wallets-p"
><span
id=
"online-shoe-store-span"
>
Wallets
</span></p>
<form
id=
"login-form"
method=
"post"
th:action=
"@{/login}"
>
<p
id=
"balance"
>
Balance
<span
id=
"balanceSpan"
th:text=
"'¥' + ${wallet.amout}"
>
10000
</span></p>
<div
id=
"email-form"
>
<form
id=
"wallets-form"
method=
"post"
th:action=
"@{/limited/wallets/charge/{id}(id=${user.id})}"
th:object=
"${walletForm}"
>
<label
for=
"login-email"
>
Email
</label>
<div
id=
"amount-form"
>
<input
type=
"email"
class=
"login"
name=
"email"
id=
"login-email"
placeholder=
"Email"
required=
"required"
/>
<label
for=
"amount"
>
Charge Money
</label>
</div>
<span
id=
"en"
>
¥
</span><input
type=
"number"
id=
"amount"
name=
"amount"
required=
"required"
th:field=
"*{amount}"
/>
<div
id=
"password-form"
>
</div>
<label
for=
"login-password"
>
Password
</label>
<div
id=
"buy"
>
<input
type=
"password"
class=
"login"
name=
"password"
id=
"login-password"
placeholder=
"Password"
required=
"required"
/>
<button
class=
"js-modal-open"
id=
"buy-btn"
>
Charge
</button>
</div>
<div
id=
"submit-form"
>
<input
type=
"submit"
class=
"login"
id=
"btn"
value=
"Login"
/>
<!-- 会員登録ボタン -->
<button
class=
"js-modal-open"
id=
"sign-up"
>
Sign Up
</button>
</div>
</div>
</form>
</form>
</div>
</div>
<!-- footer -->
<!-- footer -->
<footer
class=
"footer"
id=
"
login
-footer"
>
<footer
class=
"footer"
id=
"
wallets
-footer"
>
<div
class=
"container"
>
<div
class=
"container"
>
<div
class=
"row"
>
<div
class=
"row"
>
<div
class=
"col-md-12"
>
<div
class=
"col-md-12"
>
...
@@ -101,36 +96,9 @@
...
@@ -101,36 +96,9 @@
<div
class=
"modal js-modal"
>
<div
class=
"modal js-modal"
>
<div
class=
"modal__bg js-modal-close"
></div>
<div
class=
"modal__bg js-modal-close"
></div>
<div
class=
"modal__content"
>
<div
class=
"modal__content"
>
<div
class=
"sign-up-form"
>
<p
id=
"sign-up-text"
>
Do you really charge money?
</p>
<p
id=
"sign-up-text"
>
Sign Up
</p>
<label
for=
"name"
class=
"sign-up-form-label"
>
Name
</label>
<input
type=
"text"
id=
"name"
class=
"sign-up-form-input"
placeholder=
"Name"
required=
"required"
/>
</div>
<div
class=
"sign-up-form"
>
<label
for=
"postal-code"
class=
"sign-up-form-label"
>
Postal Code
</label>
<input
type=
"text"
id=
"postal-code"
class=
"sign-up-form-input"
placeholder=
"Postal Code"
required=
"required"
/>
<p
class=
"attention"
>
Please enter 7-digit alphanumeric characters with no hyphens.
</p>
</div>
<div
class=
"sign-up-form"
>
<label
for=
"address"
class=
"sign-up-form-label"
>
Address
</label>
<input
type=
"text"
id=
"address"
class=
"sign-up-form-input"
placeholder=
"Address"
required=
"required"
/>
<p
class=
"attention"
>
Please enter numbers in half-width characters.
</p>
</div>
<div
class=
"sign-up-form"
>
<label
for=
"phone-number"
class=
"sign-up-form-label"
>
Phone Number
</label>
<input
type=
"text"
id=
"phone-number"
class=
"sign-up-form-input"
placeholder=
"Phone Number"
required=
"required"
/>
<p
class=
"attention"
>
Please enter 11-digit alphanumeric characters with no hyphens.
</p>
</div>
<div
class=
"sign-up-form"
>
<label
for=
"email"
class=
"sign-up-form-label"
>
Email
</label>
<input
type=
"email"
id=
"email"
class=
"sign-up-form-input"
placeholder=
"Email"
required=
"required"
/>
</div>
<div
class=
"sign-up-form"
>
<label
for=
"password"
class=
"sign-up-form-label"
>
Password
</label>
<input
type=
"password"
id=
"password"
class=
"sign-up-form-input"
placeholder=
"Password"
required=
"required"
/>
</div>
<div>
<div>
<button
class=
"js-modal-sign-up"
id=
"ok-btn"
>
Ok
</button>
<button
class=
"js-modal-sign-up"
id=
"ok-btn"
>
Charge
</button>
<button
class=
"js-modal-close"
id=
"close-btn"
>
Close
</button>
<button
class=
"js-modal-close"
id=
"close-btn"
>
Close
</button>
</div>
</div>
</div>
<!--modal__inner-->
</div>
<!--modal__inner-->
...
@@ -145,7 +113,7 @@
...
@@ -145,7 +113,7 @@
<script src="js/owl.carousel.min.js" th:src="@{/js/owl.carousel.min.js}"></script>
<script src="js/owl.carousel.min.js" th:src="@{/js/owl.carousel.min.js}"></script>
<script src="js/wow.min.js" th:src="@{/js/wow.min.js}"></script>
<script src="js/wow.min.js" th:src="@{/js/wow.min.js}"></script>
<script src="js/custom.js" th:src="@{/js/custom.js}"></script>-->
<script src="js/custom.js" th:src="@{/js/custom.js}"></script>-->
<script
src=
"js/login.js"
th:src=
"@{/js/
login
.js}"
></script>
<script
src=
"js/login.js"
th:src=
"@{/js/
wallets
.js}"
></script>
</body>
</body>
</html>
</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