forked from Tendrl/ui
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request Tendrl#1072 from gnehapk/update-login-view
Added branding changes
- Loading branch information
Showing
12 changed files
with
140 additions
and
175 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,59 +1,56 @@ | ||
<div class="tendrl-login-view-container"> | ||
<img src="/images/bg-login.jpg" alt="" class="adjusted"> | ||
<div class="login-page"> | ||
<span id="badge"> | ||
<img src="/images/logo.png" alt="Tendrl logo"> | ||
</span> | ||
<div class="container"> | ||
<div class="login-pf-page"> | ||
<div class="container-fluid"> | ||
<div class="row"> | ||
<div class="col-sm-12"> | ||
<div id="brand"> | ||
<img class="nav-brand-name brand-name-img" src="/images/name.png" alt="tendrl | Unified Storage Manager" /> | ||
</div> | ||
<!--/#brand--> | ||
</div> | ||
<!--/.col-*--> | ||
<div class="col-sm-6 col-md-5 col-lg-3 login"> | ||
<div class="alert alert-danger" ng-if="loginCntrl.errorMsg.length > 0"> | ||
<span class="pficon pficon-error-circle-o"></span> | ||
<label ng-bind="loginCntrl.errorMsg"></label> | ||
</div> | ||
<form class="form-horizontal" name="loginCntrl.signInForm" ng-submit="loginCntrl.login()"> | ||
<div class="form-group" ng-class="{'has-error': loginCntrl.signInForm.username.$dirty && loginCntrl.signInForm.username.$error.required }"> | ||
<label for="inputUsername" class="col-sm-3 col-md-3">Username</label> | ||
<div class="col-sm-8 col-md-8"> | ||
<input class="form-control" id="username" tabindex="1" type="text" ng-model="loginCntrl.user.username" ng-trim="false" name="username" placeholder="Username" required /> | ||
</div> | ||
<div> | ||
<div class="col-sm-3 col-md-3"></div> | ||
<span class="col-sm-8 col-md-8 help-block" ng-show="loginCntrl.signInForm.username.$dirty && loginCntrl.signInForm.username.$error.required">Username is required</span> | ||
</div> | ||
</div> | ||
<div class="form-group" ng-class="{ 'has-error': loginCntrl.signInForm.username.$dirty && loginCntrl.signInForm.username.$error.required }"> | ||
<label for="inputPassword" class="col-sm-3 col-md-3">Password</label> | ||
<div class="col-sm-8 col-md-8"> | ||
<input class="form-control" type="password" name="password" id="password" tabindex="2" placeholder="Password" ng-model="loginCntrl.user.password" required /> | ||
</div> | ||
<div> | ||
<div class="col-sm-3 col-md-3"></div> | ||
<span class="col-sm-8 col-md-8 help-block" ng-show="loginCntrl.signInForm.password.$dirty && loginCntrl.signInForm.password.$error.required">Password is required</span> | ||
<div class="col-sm-8 col-sm-offset-2 col-md-6 col-md-offset-3 col-lg-6 col-lg-offset-3"> | ||
<header class="login-pf-page-header"> | ||
<img class="login-pf-brand" src="/images/name.png" alt="tendrl | Unified Storage Manager" /> | ||
</header> | ||
<div class="row"> | ||
<div class="col-sm-10 col-sm-offset-1 col-md-8 col-md-offset-2 col-lg-6 col-lg-offset-3"> | ||
<div class="card-pf"> | ||
<header class="login-pf-header"> | ||
<select class="selectpicker"> | ||
<option>English</option> | ||
</select> | ||
<h1>Log In to Your Account</h1> | ||
</header> | ||
<div class="text-danger validation-msg" ng-if="loginCntrl.errorMsg.length > 0"> | ||
<label ng-bind="loginCntrl.errorMsg"></label> | ||
</div> | ||
<form name="loginCntrl.signInForm" ng-submit="loginCntrl.login()" novalidate> | ||
<div class="form-group form-group has-feedback" ng-class="{'has-error': (loginCntrl.signInForm.$submitted || loginCntrl.signInForm.username.$dirty) && loginCntrl.signInForm.username.$invalid }"> | ||
<label class="sr-only" for="username">Username</label> | ||
<input class="form-control" name="username" id="username" tabindex="1" type="text" placeholder="Username" ng-model="loginCntrl.user.username" ng-trim="false" required autofocus> | ||
<div class="help-block" ng-show="(loginCntrl.signInForm.$submitted || loginCntrl.signInForm.username.$dirty) && loginCntrl.signInForm.username.$invalid">Enter your Username</div> | ||
</div> | ||
<div class="form-group" class="form-group has-feedback" ng-class="{ 'has-error': (loginCntrl.signInForm.$submitted || loginCntrl.signInForm.password.$dirty) && loginCntrl.signInForm.password.$invalid }"> | ||
<label class="sr-only" for="password">Password | ||
</label> | ||
<input class="form-control" id="password" name="password" type="password" tabindex="2" placeholder="Password" ng-model="loginCntrl.user.password" required> | ||
<div class="help-block" ng-show="(loginCntrl.signInForm.$submitted || loginCntrl.signInForm.password.$dirty) && loginCntrl.signInForm.password.$invalid">Enter your password | ||
</div> | ||
</div> | ||
<button type="submit" class="btn btn-primary btn-block btn-lg"> | ||
<i class="glyphicon glyphicon-refresh glyphicon-refresh-animate hidden" data-ng-class="{'hidden': loginCntrl.formSubmitInProgress !== true }"> | ||
</i> | ||
<span class="submit-button-text">Log In</span> | ||
</button> | ||
</form> | ||
<p class="login-pf-signup"></p> | ||
</div> | ||
</div> | ||
<div class="form-group"> | ||
<div class="col-xs-4 col-md-offset-7 col-xs-offset-7 col-sm-offset-7 col-sm-4 col-md-4 submit"> | ||
<button type="submit" class="btn btn-primary btn-lg"> | ||
<i class="glyphicon glyphicon-refresh glyphicon-refresh-animate hidden" data-ng-class="{'hidden': loginCntrl.formSubmitInProgress !== true }"> | ||
</i> | ||
<span class="submit-button-text">Log In</span> | ||
</button> | ||
</div> | ||
</div> | ||
</form> | ||
<!-- col --> | ||
</div> | ||
<!-- row --> | ||
</div> | ||
<!--/.col-*--> | ||
<!-- col --> | ||
</div> | ||
<!--/.row--> | ||
<!-- row --> | ||
</div> | ||
<!--/.container--> | ||
<!-- container --> | ||
</div> | ||
</div> | ||
<!-- login-pf-page --> | ||
<!-- login-pf-page --> | ||
</div> |
Oops, something went wrong.