fix
This commit is contained in:
@@ -7,9 +7,13 @@ class Auth extends CI_Controller {
|
||||
public function index() {
|
||||
//$this->load->view('home/home');
|
||||
// echo "START LOGIN";
|
||||
$this->load->view('auth/view_head');
|
||||
$this->load->view('auth/view_login');
|
||||
$this->load->view('auth/view_foot');
|
||||
$data = array();
|
||||
|
||||
$this->renderAuthPages('view_login',$data);
|
||||
|
||||
//$this->load->view('auth/view_head');
|
||||
//$this->load->view('auth/view_login');
|
||||
//$this->load->view('auth/view_foot');
|
||||
}
|
||||
|
||||
public function newuser() {
|
||||
@@ -27,4 +31,12 @@ class Auth extends CI_Controller {
|
||||
$this->load->view('auth/view_foot');
|
||||
}
|
||||
|
||||
private function renderAuthPages($pagename, $data) {
|
||||
|
||||
$this->load->view('auth/view_head');
|
||||
$this->load->view('auth/'.$pagename, $data);
|
||||
$this->load->view('auth/view_foot');
|
||||
return 0;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -70,7 +70,7 @@
|
||||
<span class="icon-bar"></span>
|
||||
<span class="icon-bar"></span>
|
||||
</button>
|
||||
<a class="navbar-brand" href="/"><img src="/assets/img/logo.png" alt="MobileApp"></a>
|
||||
<a class="navbar-brand" href="/"><img src="/assets/img/logo.png" alt="CoreGrade"></a>
|
||||
</div>
|
||||
<div id="navbar" class="navbar-collapse collapse">
|
||||
<ul class="nav navbar-nav navbar-right">
|
||||
@@ -79,7 +79,7 @@
|
||||
<li><a href="#pricing" class="smoothscroll">PLANS</a></li>
|
||||
<li><a href="#download" class="smoothscroll">DOWNLOAD</a></li>
|
||||
<li><a href="#contact" class="smoothscroll">CONTACT</a></li>
|
||||
<li style="background-color: #ccffcc;"><a href="/auth" class="smoothscroll">LOGIN</a></li>
|
||||
<li style="background-color: #ccffcc;"><a href="/auth" class="smoothscroll">ACCOUNT</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
@@ -174,7 +174,7 @@
|
||||
</div>
|
||||
<div data-value="tab-6" class="single-feature-item wow fadeInUp">
|
||||
<h4>Institutional</h4>
|
||||
<p>Coregrade is intended to assist pattern in the development of your learning. Knowledge, skills, and attitudes learning paths are personalized for maximum support.Acquire knowledge the fun way!centrality in addressing your primary goal</p>
|
||||
<p>CoreGrade is intended to assist pattern in the development of your learning. Knowledge, skills, and attitudes learning paths are personalized for maximum support.Acquire knowledge the fun way!centrality in addressing your primary goal</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user