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 @@
...
@@ -7,36 +7,22 @@
<img
src=
"/img/logo_transparent_200x75.png"
>
<img
src=
"/img/logo_transparent_200x75.png"
>
</div>
</div>
<form
name=
"loginForm"
class=
"form-horizontal"
>
<div
class=
"login-inner-box"
>
<div
class=
"row-fluid"
>
<div
class=
"span8"
>
<form
name=
"loginForm"
>
<div
class=
"control-group"
>
<input
type=
"text"
required
ng-model=
"loginModel.email"
id=
"inputEmail"
placeholder=
"Email"
>
<label
class=
"control-label"
for=
"inputEmail"
>
Email
</label>
<div
class=
"controls"
>
<input
type=
"password"
required
ng-model=
"loginModel.password"
id=
"inputPassword"
placeholder=
"Password"
>
<input
type=
"text"
required
ng-model=
"loginModel.email"
id=
"inputEmail"
placeholder=
"Email"
>
</div>
<label
class=
"checkbox"
>
</div>
<input
type=
"checkbox"
ng-model=
"loginModel.remember"
ng-checked=
"login.remember"
>
Remember me
<div
class=
"control-group"
>
</label>
<label
class=
"control-label"
for=
"inputPassword"
>
Password
</label>
<div
class=
"controls"
>
<button
type=
"submit"
ng-click=
"login()"
class=
"btn btn-success"
style=
"margin-bottom: 20px"
>
<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>
Sign in
Sign in
</button>
</button>
</div
>
</form
>
</div>
<div
class=
"alert alert-error"
ng-show=
"loginError"
>
<div
class=
"alert alert-error"
ng-show=
"loginError"
>
<button
type=
"button"
class=
"close"
data-dismiss=
"alert"
>
×
</button>
<button
type=
"button"
class=
"close"
data-dismiss=
"alert"
>
×
</button>
<strong>
Login failed:
</strong>
{{loginError}}
<strong>
Login failed:
</strong>
{{loginError}}
...
@@ -51,11 +37,8 @@
...
@@ -51,11 +37,8 @@
</a>
</a>
</div>
</div>
</form>
<div
class=
"register-box text-center"
>
<a
href=
"/register"
class=
"btn btn-info"
>
Sign up now!
</a>
<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>
</div>
</div>
</div>
...
...
src/css/less/p_pro.less
View file @
69d2a8f4
...
@@ -69,18 +69,39 @@
...
@@ -69,18 +69,39 @@
}
}
}
}
.login-box {
.login-inner-box {
width: 700px;
width: 50%;
margin: 100px auto 0 auto;
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 {
input[type=checkbox] {
margin-top: 19px;
width: auto;
padding: 12px 30px;
}
}
}
}
.login-box {
width: 700px;
margin: 100px auto 0 auto;
}
.login-box-logo {
.login-box-logo {
text-align: center;
text-align: center;
padding-bottom: 50px;
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