Commit d39b375e by Prasong Putichanchai

no message

parent f7e7521f
<?php $this->layout = 'login'; ?>
<div>
<div class="center" style="padding-bottom: 40px;">
<?php echo $this->Html->image('../img/core/img/logo-connect-login@3x.png', ['alt' => 'Logo']); ?>
......@@ -5,7 +6,7 @@
<div class="col-md-12">
<?php
echo $this->Form->create(null, ['url' => ['controller' => 'Users', 'action' => 'verify'],
'id' => '', 'name' => 'Users', 'role' => 'form', 'onsubmit' => 'return validateForm()']);
'id' => false, 'name' => 'Users', 'role' => 'form', 'onsubmit' => 'return validateForm()']);
?>
<?php echo $this->Flash->render() ?>
<div class="row">
......@@ -15,7 +16,7 @@
<div class="input-group-addon">
<span class="glyphicon glyphicon-user"></span>
</div>
<input type="text" name="data[username]" value="" placeholder="USERNAME" class="form-control input-lg input-border-radius color-button-border" id="FALSE" style="padding-left: 42px;">
<input type="text" name="data[username]" value="" placeholder="USERNAME" class="form-control input-lg input-border-radius color-button-border" style="padding-left: 42px;">
</div>
</div>
</div>
......@@ -27,7 +28,7 @@
<div class="input-group-addon">
<span class="glyphicon glyphicon-lock"></span>
</div>
<input data-toggle="password" data-placement="before" type="password" name="data[password]" value="" placeholder="********" class="form-control input-lg input-border-radius color-button-border" id="FALSE" style="padding-left: 42px;">
<input data-toggle="password" data-placement="before" type="password" name="data[password]" value="" placeholder="********" class="form-control input-lg input-border-radius color-button-border" style="padding-left: 42px;">
</div>
</div>
</div>
......
<script type='text/javascript'>
setTimeout(function(){
if (typeof Login == 'undefined') {
location = '<?php echo $paramOptions['url']['url']; ?>';
} else {
Login.onLogin('<?php echo json_encode($paramOptions['url']); ?>','<?php echo json_encode($paramOptions['token']); ?>','<?php $paramOptions['topic']; ?>');
}
}, 1000);
setTimeout(function () {
if (typeof Login == 'undefined') {
location = '<?php echo $RedirectApplicationURL; ?>';
} else {
Login.onLogin('<?php echo $token; ?>', '<?php echo $RedirectApplicationURL; ?>', '<?php echo $topic; ?>');
}
}, 1000);
</script>;
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment