Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
N
nexpie-grafana-theme
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Registry
Registry
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kornkitt Poolsup
nexpie-grafana-theme
Commits
69d2a8f4
Commit
69d2a8f4
authored
Sep 22, 2014
by
Torkel Ödegaard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
style change to login page
parent
d584076b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
43 additions
and
39 deletions
+43
-39
src/app/partials/pro/login.html
+16
-33
src/css/less/p_pro.less
+27
-6
No files found.
src/app/partials/pro/login.html
View file @
69d2a8f4
...
...
@@ -7,36 +7,22 @@
<img
src=
"/img/logo_transparent_200x75.png"
>
</div>
<form
name=
"loginForm"
class=
"form-horizontal"
>
<div
class=
"row-fluid"
>
<div
class=
"span8"
>
<div
class=
"control-group"
>
<label
class=
"control-label"
for=
"inputEmail"
>
Email
</label>
<div
class=
"controls"
>
<input
type=
"text"
required
ng-model=
"loginModel.email"
id=
"inputEmail"
placeholder=
"Email"
>
</div>
</div>
<div
class=
"control-group"
>
<label
class=
"control-label"
for=
"inputPassword"
>
Password
</label>
<div
class=
"controls"
>
<input
type=
"password"
required
ng-model=
"loginModel.password"
id=
"inputPassword"
placeholder=
"Password"
>
</div>
</div>
<div
class=
"control-group"
>
<div
class=
"controls"
>
<label
class=
"checkbox"
>
<input
type=
"checkbox"
ng-model=
"loginModel.remember"
ng-checked=
"login.remember"
>
Remember me
</label>
</div>
</div>
</div>
<div
class=
"span4"
>
<button
type=
"submit"
ng-click=
"login()"
class=
"btn btn-success btn-large"
>
<i
class=
"icon-lock"
></i>
<div
class=
"login-inner-box"
>
<form
name=
"loginForm"
>
<input
type=
"text"
required
ng-model=
"loginModel.email"
id=
"inputEmail"
placeholder=
"Email"
>
<input
type=
"password"
required
ng-model=
"loginModel.password"
id=
"inputPassword"
placeholder=
"Password"
>
<label
class=
"checkbox"
>
<input
type=
"checkbox"
ng-model=
"loginModel.remember"
ng-checked=
"login.remember"
>
Remember me
</label>
<button
type=
"submit"
ng-click=
"login()"
class=
"btn btn-success"
style=
"margin-bottom: 20px"
>
Sign in
</button>
</div
>
</div>
</form
>
<div
class=
"alert alert-error"
ng-show=
"loginError"
>
<button
type=
"button"
class=
"close"
data-dismiss=
"alert"
>
×
</button>
<strong>
Login failed:
</strong>
{{loginError}}
...
...
@@ -51,11 +37,8 @@
</a>
</div>
</form>
<div
class=
"register-box text-center"
>
<h3>
If you do not already have an account
<h3>
</a>
<a
href=
"/register"
class=
"btn btn-info btn-large"
>
Sign up now!
</a>
<div
class=
"register-box text-center"
>
<a
href=
"/register"
class=
"btn btn-info"
>
Sign up now!
</a>
</div>
</div>
...
...
src/css/less/p_pro.less
View file @
69d2a8f4
...
...
@@ -69,18 +69,39 @@
}
}
.login-box {
width: 700px;
margin: 100px auto 0 auto;
.login-inner-box {
width: 50%;
float: left;
margin-left: 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;
}
button.btn {
margin-top: 19px;
padding: 12px 30px;
input[type=checkbox] {
width: auto;
}
}
.login-box {
width: 700px;
margin: 100px auto 0 auto;
}
.login-box-logo {
text-align: center;
padding-bottom: 50px;
}
.register-box {
margin-top: 100px;
}
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