Skip to content

Commit 35a8126

Browse files
author
Miel Vander Sande
committed
Changed to horizontal layout
1 parent eb9f81f commit 35a8126

File tree

2 files changed

+18
-10
lines changed

2 files changed

+18
-10
lines changed

common/css/solid.css

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,10 @@
4949
width: 100%;
5050
}
5151

52+
.login-up-form .form-group {
53+
margin-bottom: 5px;
54+
}
55+
5256
.xs-header {
53-
margin-top: 0;
57+
margin-top: 0px;
5458
}

default-views/auth/login-username-password.hbs

Lines changed: 13 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,22 @@
11
<div class="panel panel-default">
22
<div class="panel-body">
3-
<form method="post" action="/login/password">
3+
<form method="post" action="/login/password" class="form-horizontal login-up-form">
44
<div class="form-group">
5-
<label class="control-label hidden-xs" for="username">Username</label>
6-
<input type="text" class="form-control" name="username" id="username" placeholder="Username"/>
5+
<label class="col-xs-3 control-label" for="username">Username</label>
6+
<div class="col-xs-9">
7+
<input type="text" class="form-control" name="username" id="username" placeholder="Username"/>
8+
</div>
79
</div>
810

911
<div class="form-group">
10-
<label class="control-label hidden-xs" for="password">Password</label>
11-
<input type="password" class="form-control" name="password" id="password" placeholder="Password"/>
12-
<div class="pull-right">
13-
<a href="/account/password/reset{{#if returnToUrl}}?returnToUrl={{{returnToUrl}}}{{/if}}">
14-
Forgot password?
15-
</a>
12+
<label class="col-xs-3 control-label" for="password">Password</label>
13+
<div class="col-xs-9">
14+
<input type="password" class="form-control" name="password" id="password" placeholder="Password"/>
15+
<div class="pull-right">
16+
<a href="/account/password/reset{{#if returnToUrl}}?returnToUrl={{{returnToUrl}}}{{/if}}">
17+
Forgot password?
18+
</a>
19+
</div>
1620
</div>
1721
</div>
1822

0 commit comments

Comments
 (0)