fixes to login form style

This commit is contained in:
Oliver Gorwits
2012-03-03 15:34:37 +00:00
parent 6666905d8f
commit 5747ccc201
2 changed files with 3 additions and 6 deletions

View File

@@ -5,6 +5,7 @@ body {
padding-top: 50px; padding-top: 50px;
} }
/* magnifying glass icon for search box */
.navbar_icon { .navbar_icon {
vertical-align: middle; vertical-align: middle;
cursor: pointer; cursor: pointer;
@@ -13,10 +14,6 @@ body {
/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */ /* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
/* various styles to adjust the hero box used for homepage + login */ /* various styles to adjust the hero box used for homepage + login */
.nd_loginalert {
margin-top: -40px;
}
.nd_herorow { .nd_herorow {
margin-top: 50px; margin-top: 50px;
} }
@@ -26,7 +23,7 @@ body {
} }
.nd_loginform { .nd_loginform {
margin-top: 30px; margin-top: 15px;
margin-bottom: 0px; margin-bottom: 0px;
} }

View File

@@ -42,7 +42,7 @@
<small>Netdisco is an Open Source web-based network management tool.</small> <small>Netdisco is an Open Source web-based network management tool.</small>
[% IF NOT session.user %] [% IF NOT session.user %]
<form class="nd_loginform" method="post" action="[% uri_for('/login') %]"> <form class="nd_loginform" method="post" action="[% uri_for('/login') %]">
<div class="inline-inputs"> <div class="form-horizontal">
<input placeholder="Username" class="span2" name="username" type="text"/> <input placeholder="Username" class="span2" name="username" type="text"/>
<input placeholder="Password" class="span2" name="password" type="password"/> <input placeholder="Password" class="span2" name="password" type="password"/>
<button type="submit" class="btn info">Log In</button> <button type="submit" class="btn info">Log In</button>