emm login page layouts updated to wso2 theme markup

4.x.x
thusithakalugamage 8 years ago
parent b67b34e831
commit b5fda80377

@ -19,38 +19,40 @@
{{unit "cdmf.unit.ui.title" pageTitle="Login"}} {{unit "cdmf.unit.ui.title" pageTitle="Login"}}
{{#zone "content"}} {{#zone "content"}}
<div class="container col-xs-12 col-sm-6 col-md-6 col-lg-3 col-centered wr-content wr-login col-centered"> <div class="row">
<div class="col-xs-12 col-sm-6 col-md-6 col-lg-4 col-sm-offset-3 col-md-offset-3 col-lg-offset-4">
<p class="page-sub-title">Login</p> <p class="page-sub-title">Login</p>
<hr /> <hr />
{{#if message}} {{#if message}}
<div class="alert alert-danger" style="padding-right: 15px;"> <div class="alert alert-danger" style="padding-right: 15px;">
<i class="icon fw fw-warning"></i> {{message}}! <i class="icon fw fw-warning"></i> {{message}}!
</div>
{{/if}}
<div class="panel-body">
<form id="signInForm" method="POST" action="{{@app.context}}/uuf/login">
<div class="form-group">
<label for="username">Username *</label>
<input type="text" name="username" class="form-control" placeholder="Enter your username"
autofocus="autofocus" required="required" />
</div>
<div class="form-group">
<label for="password">Password *</label>
<input type="password" name="password" class="form-control" placeholder="Enter your password"
required="required" />
</div> </div>
{{#if referer}} {{/if}}
<input type="hidden" name="referer" value="{{referer}}" />
{{/if}} <div class="panel-body">
<div class="wr-input-control wr-btn-grp"> <form id="signInForm" method="POST" action="{{@app.context}}/uuf/login">
<button class="wr-btn btn-download-agent"> <div class="form-group">
Login <label for="username">Username *</label>
</button> <input type="text" name="username" class="form-control" placeholder="Enter your username"
{{defineZone "signInForm-below" scope="protected"}} autofocus="autofocus" required="required" />
</div> </div>
</form> <div class="form-group">
<label for="password">Password *</label>
<input type="password" name="password" class="form-control" placeholder="Enter your password"
required="required" />
</div>
{{#if referer}}
<input type="hidden" name="referer" value="{{referer}}" />
{{/if}}
<div class="wr-input-control wr-btn-grp">
<button class="wr-btn btn-download-agent">
Login
</button>
{{defineZone "signInForm-below" scope="protected"}}
</div>
</form>
</div>
</div> </div>
</div> </div>
{{/zone}} {{/zone}}

@ -46,8 +46,10 @@
<!-- page-content-wrapper --> <!-- page-content-wrapper -->
<div class="page-content-wrapper"> <div class="page-content-wrapper">
{{defineZone "contentTitle"}} {{defineZone "contentTitle"}}
<div class="container-fluid body-wrapper"> <div class="container-fluid ">
{{defineZone "content"}} <div class="body-wrapper">
{{defineZone "content"}}
</div>
</div> </div>
</div> </div>
<!-- /page-content-wrapper --> <!-- /page-content-wrapper -->

@ -35,8 +35,10 @@
<!-- page-content-wrapper --> <!-- page-content-wrapper -->
<div class="page-content-wrapper"> <div class="page-content-wrapper">
<div class="container-fluid body-wrapper"> <div class="container-fluid ">
{{defineZone "content"}} <div class="body-wrapper">
{{defineZone "content"}}
</div>
</div> </div>
</div> </div>
<!-- /page-content-wrapper --> <!-- /page-content-wrapper -->

Loading…
Cancel
Save