--- app/assets/stylesheets/less/_override.less
+++ app/assets/stylesheets/less/_override.less
... | ... | @@ -369,3 +369,10 @@ |
369 | 369 |
display: block; |
370 | 370 |
margin: 10px 0; |
371 | 371 |
} |
372 |
+ |
|
373 |
+input:-webkit-autofill { |
|
374 |
+ -webkit-box-shadow: 0 0 0 100px #fcfcfc inset; |
|
375 |
+ &:focus { |
|
376 |
+ -webkit-box-shadow: 0 0 0 100px #fcfcfc inset; |
|
377 |
+ } |
|
378 |
+} |
--- app/assets/stylesheets/less/_page.less
+++ app/assets/stylesheets/less/_page.less
... | ... | @@ -1415,12 +1415,18 @@ |
1415 | 1415 |
font-weight: bold; |
1416 | 1416 |
margin-bottom: 10px; |
1417 | 1417 |
&:focus { |
1418 |
- border: 1px solid @orange; |
|
1418 |
+ border-bottom: 1px solid @orange; |
|
1419 | 1419 |
outline: none; |
1420 | 1420 |
} |
1421 | 1421 |
&.password { |
1422 | 1422 |
margin-bottom: 15px; |
1423 | 1423 |
} |
1424 |
+ border-radius: 0 !important; |
|
1425 |
+ } |
|
1426 |
+ |
|
1427 |
+ input { |
|
1428 |
+ border: none; |
|
1429 |
+ border-bottom: 1px solid #ccc; |
|
1424 | 1430 |
} |
1425 | 1431 |
|
1426 | 1432 |
.alert h4 { font-size:15px; } |
--- app/views/common/loginDialog.scala.html
+++ app/views/common/loginDialog.scala.html
... | ... | @@ -4,6 +4,7 @@ |
4 | 4 |
* Copyright Yona & Yobi Authors & NAVER Corp. |
5 | 5 |
* https://yona.io |
6 | 6 |
**@ |
7 |
+@import utils.LdapService |
|
7 | 8 |
@() |
8 | 9 |
@import com.feth.play.module.pa.views.html._ |
9 | 10 |
@import utils.TemplateHelper._ |
... | ... | @@ -20,18 +21,11 @@ |
20 | 21 |
</div> |
21 | 22 |
} else { |
22 | 23 |
<dl> |
23 |
- <dt> |
|
24 |
- <label for="loginIdOrEmailD">@Messages("user.login.key")</label> |
|
25 |
- </dt> |
|
26 | 24 |
<dd> |
27 |
- <input id="loginIdOrEmailD" name="loginIdOrEmail" type="text" class="text email" autocomplete="off"> |
|
25 |
+ <input id="loginIdOrEmailD" name="loginIdOrEmail" type="text" class="text email" autocomplete="off" placeholder="@Messages("user.login.key")"> |
|
28 | 26 |
</dd> |
29 |
- |
|
30 |
- <dt> |
|
31 |
- <label for="passwordD">@Messages("user.password")</label> |
|
32 |
- </dt> |
|
33 | 27 |
<dd> |
34 |
- <input id="passwordD" name="password" type="password" class="text password" autocomplete="off"> |
|
28 |
+ <input id="passwordD" name="password" type="password" class="text password" autocomplete="off" placeholder="@Messages("user.password")"> |
|
35 | 29 |
</dd> |
36 | 30 |
</dl> |
37 | 31 |
|
--- app/views/user/login.scala.html
+++ app/views/user/login.scala.html
... | ... | @@ -28,18 +28,11 @@ |
28 | 28 |
</div> |
29 | 29 |
} else { |
30 | 30 |
<dl> |
31 |
- <dt> |
|
32 |
- <label for="loginIdOrEmailD">@Messages("user.login.key")</label> |
|
33 |
- </dt> |
|
34 | 31 |
<dd> |
35 |
- <input id="loginIdOrEmailD" name="loginIdOrEmail" type="text" class="text email" autocomplete="off"> |
|
32 |
+ <input id="loginIdOrEmailD" name="loginIdOrEmail" type="text" class="text email" autocomplete="off" placeholder="@Messages("user.login.key")"> |
|
36 | 33 |
</dd> |
37 |
- |
|
38 |
- <dt class="mt10"> |
|
39 |
- <label for="password">@Messages("user.password")</label> |
|
40 |
- </dt> |
|
41 | 34 |
<dd> |
42 |
- <input id="password" name="password" type="password" class="text password" autocomplete="off"> |
|
35 |
+ <input id="password" name="password" type="password" class="text password" autocomplete="off" placeholder="@Messages("user.password")"> |
|
43 | 36 |
</dd> |
44 | 37 |
</dl> |
45 | 38 |
|
Add a comment
Delete comment
Once you delete this comment, you won't be able to recover it. Are you sure you want to delete this comment?