Commit 5760fa10 by Torkel Ödegaard

trying to cleanup login page

parent 3bf7f6ed
...@@ -10,13 +10,32 @@ ...@@ -10,13 +10,32 @@
<div class="login-inner-box"> <div class="login-inner-box">
<form name="loginForm"> <form name="loginForm">
<input type="text" required ng-model="loginModel.email" id="inputEmail" placeholder="Email"> <div class="tight-form">
<ul class="tight-form-list">
<input type="password" required ng-model="loginModel.password" id="inputPassword" placeholder="Password"> <li class="tight-form-item" style="width: 80px">
User
<label class="checkbox"> </li>
<input type="checkbox" ng-model="loginModel.remember" ng-checked="login.remember"> Remember me <li>
</label> <input type="text" class="input-large tight-form-input" ng-model='login.email' placeholder="email or username"></input>
</li>
</ul>
<div class="clearfix"></div>
</div>
<div class="tight-form">
<ul class="tight-form-list">
<li class="tight-form-item" style="width: 80px">
Password
</li>
<li>
<input type="password" class="input-large tight-form-input" required ng-model="loginModel.password" id="inputPassword">
</li>
<li class="tight-form-item">
<a href="asd">Forgotten password?</a>
</li>
</ul>
<div class="clearfix"></div>
</div>
</div>
<button type="submit" ng-click="login()" class="btn btn-success" style="margin-bottom: 20px"> <button type="submit" ng-click="login()" class="btn btn-success" style="margin-bottom: 20px">
Sign in Sign in
...@@ -43,14 +62,14 @@ ...@@ -43,14 +62,14 @@
</div> </div>
<div class="clearfix"></div> <div class="clearfix"></div>
</div> </div>
<div class="row" style="margin-top: 100px"> <div class="row" style="margin-top: 100px">
<div class="version-footer text-center small"> <div class="version-footer text-center small">
Grafana version: {{buildInfo.version}}, commit: {{buildInfo.commit}}, Grafana version: {{buildInfo.version}}, commit: {{buildInfo.commit}},
build date: {{buildInfo.buildstamp | date: 'yyyy-MM-dd HH:mm:ss' }} build date: {{buildInfo.buildstamp | date: 'yyyy-MM-dd HH:mm:ss' }}
</div> </div>
</div> </div>
</div> </div>
......
...@@ -74,21 +74,6 @@ ...@@ -74,21 +74,6 @@
float: left; float: left;
margin-left: 25%; margin-left: 25%;
margin-right: 25%; margin-right: 25%;
input, .btn {
margin-bottom: 10px;
width: 100%;
font-size: 1.2em;
box-sizing: border-box;
}
input[type=text], input[type=password] {
padding: 17px;
}
input[type=checkbox] {
width: auto;
}
} }
.login-box { .login-box {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment