Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
C
cerebro
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
nimrod
cerebro
Commits
5fa1609a
Commit
5fa1609a
authored
7 years ago
by
Leonardo Menezes
Browse files
Options
Downloads
Patches
Plain Diff
refactored login screen to mirror connect screen
parent
650992de
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
app/views/auth/login.scala.html
+44
-46
44 additions, 46 deletions
app/views/auth/login.scala.html
with
44 additions
and
46 deletions
app/views/auth/login.scala.html
+
44
−
46
View file @
5fa1609a
...
...
@@ -17,18 +17,25 @@
</head>
<body
class=
"login"
>
<div
class=
"row"
style=
"padding-top: 80px;"
>
<div
class=
"col-lg-offset-5 col-lg-2"
>
<div>
<div
class=
"text-center"
>
<div
class=
"row"
style=
"padding-top: 80px;
padding-bottom: 60px;"
>
<div
class=
"col-xs-12 text-center"
>
<img
src=
"img/logo.png"
height=
"160px"
>
<h4>
Cerebro
<small>
v@BuildInfo.version
</small>
<h4>
Cerebro
<small>
v@BuildInfo.version
</small>
</h4>
</div>
</div>
<div>
<div
style=
"max-width: 300px;
margin-left: auto;
margin-right: auto"
>
<div
class=
"row"
>
<div
class=
"col-xs-12 text-center text-danger"
>
<p>
@flash.get(controllers.AuthController.LOGIN_MSG).getOrElse("")
</p>
</div>
</div>
<div
class=
"row"
>
<div
class=
"col-xs-12"
>
<form
class=
"form-signin"
action=
"auth/login"
method=
"POST"
>
<div
class=
"form-group"
>
<label
for=
"inputUser"
class=
"sr-only"
>
User
</label>
...
...
@@ -41,15 +48,6 @@
<button
class=
"btn btn-success pull-right"
type=
"submit"
>
Sign in
</button>
</form>
</div>
<div
class=
"row"
>
<div
class=
"col-md-5"
></div>
<div
class=
"col-md-3"
>
@flash.get(controllers.AuthController.LOGIN_MSG).fold(Html("")) { msg =>
<div
class=
"alert alert-warning"
role=
"alert"
>
@msg
</div>
}
</div>
<div
class=
"col-md-4"
></div>
</div>
</div>
</div>
</body>
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment