register page
This commit is contained in:
@@ -24,7 +24,7 @@ class Login extends BaseController {
|
||||
|
||||
public function RegisterAccount(){
|
||||
$data = array();
|
||||
return $this->renderExternalPage('welcome_message', $data);
|
||||
return $this->renderExternalPage('register', $data);
|
||||
}
|
||||
private function verifyLoginInput(&$data) {
|
||||
|
||||
|
||||
+10
-9
@@ -3,10 +3,10 @@ if (!isset($facility_image) || $facility_image == '') {
|
||||
$facility_image = "/assets/img/bg/provider-1.jpg";
|
||||
}
|
||||
|
||||
if (!isset($facility_text) || $facility_text == '') {
|
||||
$facility_text = "Merms Providers";
|
||||
}
|
||||
|
||||
//if (!isset($facility_text) || $facility_text == '') {
|
||||
//
|
||||
//}
|
||||
$facility_text = "MERMS Panel";
|
||||
$registeration_completed = isset($loginReturn)?$loginReturn :false;
|
||||
|
||||
?>
|
||||
@@ -35,10 +35,11 @@ $registeration_completed = isset($loginReturn)?$loginReturn :false;
|
||||
|
||||
|
||||
<div class="register p-5">
|
||||
<h1 class="mb-2">Merms Providers</h1>
|
||||
<h1 class="mb-2" style="color: #6b0392;"><?= isset($facility_text)?$facility_text:'MERMS Panel' ?></h1>
|
||||
|
||||
<?php
|
||||
if ($registeration_completed == true ){
|
||||
$registeration_completed= false;
|
||||
if ($registeration_completed){
|
||||
?>
|
||||
<div class="row">
|
||||
<div class="col-12">
|
||||
@@ -53,7 +54,7 @@ $registeration_completed = isset($loginReturn)?$loginReturn :false;
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<?
|
||||
<?php
|
||||
}
|
||||
else
|
||||
{
|
||||
@@ -115,7 +116,7 @@ $registeration_completed = isset($loginReturn)?$loginReturn :false;
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
<?
|
||||
<?php
|
||||
}
|
||||
?>
|
||||
|
||||
@@ -126,7 +127,7 @@ $registeration_completed = isset($loginReturn)?$loginReturn :false;
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-sm-6 col-xxl-9 col-lg-7 o-hidden order-1 order-sm-2" style="background-color:red; background-image: url('<?=$facility_image?>'); background-size: cover;">
|
||||
<div class="col-sm-6 col-xxl-9 col-lg-7 o-hidden order-1 order-sm-2" style="background-color:red; background-image: url('/assets/img/bg/provider-1.jpg'); background-size: cover;">
|
||||
<!-- img class="img-fluid" src="assets/img/bg/provider.jpg" alt="" style="background-size:contain;" -->
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -50,7 +50,7 @@ if (!isset($facility_text) || $facility_text == '') {
|
||||
<!-- </div>-->
|
||||
|
||||
|
||||
<h1 class="mb-2"><?= $facility_text ?></h1>
|
||||
<h1 class="mb-2" style="color: #6b0392;"><?= $facility_text ?></h1>
|
||||
<p>Welcome back, please login to your account.</p>
|
||||
<form id='loginForm' action="/login" method='POST' class="mt-3 mt-sm-5">
|
||||
|
||||
@@ -108,7 +108,7 @@ if (!isset($facility_text) || $facility_text == '') {
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-sm-6 col-xxl-9 col-lg-7 o-hidden order-1 order-sm-2" style="background-color:red; background-image: url('<?= $facility_image ?>'); background-size: cover;">
|
||||
<div class="col-sm-6 col-xxl-9 col-lg-7 o-hidden order-1 order-sm-2" style="background-color:red; background-image: url('/assets/img/bg/provider-1.jpg'); background-size: cover;">
|
||||
<!-- img class="img-fluid" src="assets/img/bg/provider.jpg" alt="" style="background-size:contain;" -->
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user