Compare commits

...

3 Commits

Author SHA1 Message Date
ameye a86188a54f Dash page logou 2019-03-02 17:13:28 +00:00
ameye fd7c4b65ac Dash page logou 2019-03-02 16:40:47 +00:00
ameye 81c9733df0 Dash page logou 2019-03-02 16:35:38 +00:00
5 changed files with 56 additions and 5 deletions
+10 -2
View File
@@ -4,8 +4,8 @@ defined('BASEPATH') OR exit('No direct script access allowed');
class Login extends CI_Controller {
public function index() {
// echo rand(1000, 9999);
// print_r($this->input->get());
// echo rand(1000, 9999);
// print_r($this->input->get());
if ($_POST) {
@@ -21,4 +21,12 @@ class Login extends CI_Controller {
//$this->load->view('welcome_message');
}
public function logout() {
$this->destroySession();
$this->load->view('welcome_message');
}
private function destroySession(){
}
}
@@ -0,0 +1,16 @@
</div>
<!-- end app -->
<!-- plugins -->
<script src="/assets/js/vendors.js"></script>
<!-- custom app -->
<script src="/assets/js/app.js"></script>
</body>
</html>
@@ -0,0 +1,22 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<title>MERMS-[Welcome]</title>
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1" />
<meta content="comprehensive health management system" name="description" />
<meta content="Fluxtra LLC" name="author" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<!-- app favicon -->
<link rel="shortcut icon" href="assets/img/favicon.ico">
<!-- google fonts -->
<link href="https://fonts.googleapis.com/css?family=Roboto:300,400,500,700" rel="stylesheet">
<!-- plugin stylesheets -->
<link rel="stylesheet" type="text/css" href="assets/css/vendors.css" />
<!-- app style -->
<link rel="stylesheet" type="text/css" href="assets/css/style.css" />
</head>
<body class="bg-white">
@@ -68,7 +68,7 @@
</ul>
</li>
<li class="nav-static-title" style='background-color: red;'><a href="/logout">Log out</a></li>
<li class="nav-static-title" style='background-color: red;'><a href="/login/logout">Log out</a></li>
</ul>
@@ -19,9 +19,13 @@
</head>
<body class="bg-white">
<!-- begin app -->
<div class="app">
<!-- begin app-wrap -->
<div class="app-wrap">
<!-- begin pre-loader -->
<div class="loader">
@@ -90,11 +94,12 @@
<!--end login contant-->
</div>
<!-- end app-wrap -->
</div>
<!-- end app -->
<!-- plugins -->
<script src="/assets/js/vendors.js"></script>