Commit d39b375e by Prasong Putichanchai

no message

parent f7e7521f
<?php $this->layout = 'login'; ?>
<div> <div>
<div class="center" style="padding-bottom: 40px;"> <div class="center" style="padding-bottom: 40px;">
<?php echo $this->Html->image('../img/core/img/logo-connect-login@3x.png', ['alt' => 'Logo']); ?> <?php echo $this->Html->image('../img/core/img/logo-connect-login@3x.png', ['alt' => 'Logo']); ?>
...@@ -5,7 +6,7 @@ ...@@ -5,7 +6,7 @@
<div class="col-md-12"> <div class="col-md-12">
<?php <?php
echo $this->Form->create(null, ['url' => ['controller' => 'Users', 'action' => 'verify'], 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() ?> <?php echo $this->Flash->render() ?>
<div class="row"> <div class="row">
...@@ -15,7 +16,7 @@ ...@@ -15,7 +16,7 @@
<div class="input-group-addon"> <div class="input-group-addon">
<span class="glyphicon glyphicon-user"></span> <span class="glyphicon glyphicon-user"></span>
</div> </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> </div>
</div> </div>
...@@ -27,7 +28,7 @@ ...@@ -27,7 +28,7 @@
<div class="input-group-addon"> <div class="input-group-addon">
<span class="glyphicon glyphicon-lock"></span> <span class="glyphicon glyphicon-lock"></span>
</div> </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> </div>
</div> </div>
......
<script type='text/javascript'> <script type='text/javascript'>
setTimeout(function () {
setTimeout(function(){ if (typeof Login == 'undefined') {
if (typeof Login == 'undefined') { location = '<?php echo $RedirectApplicationURL; ?>';
location = '<?php echo $paramOptions['url']['url']; ?>'; } else {
} else { Login.onLogin('<?php echo $token; ?>', '<?php echo $RedirectApplicationURL; ?>', '<?php echo $topic; ?>');
Login.onLogin('<?php echo json_encode($paramOptions['url']); ?>','<?php echo json_encode($paramOptions['token']); ?>','<?php $paramOptions['topic']; ?>'); }
} }, 1000);
}, 1000);
</script>; </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