-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Thanh Nguyen
authored and
Thanh Nguyen
committed
Mar 3, 2017
1 parent
6fa2091
commit d4320e5
Showing
10 changed files
with
162 additions
and
71 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,66 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<meta charset="utf-8"> | ||
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | ||
<title>mtdashmore | Log out</title> | ||
<!-- Tell the browser to be responsive to screen width --> | ||
<meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport"> | ||
<!-- Bootstrap 3.3.7 --> | ||
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous"> | ||
<!-- Font Awesome --> | ||
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.5.0/css/font-awesome.min.css"> | ||
<!-- Ionicons --> | ||
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/ionicons/2.0.1/css/ionicons.min.css"> | ||
<!-- Theme style --> | ||
|
||
<link rel="stylesheet" href="/static/css/AdminLTE.min.css"> | ||
<link rel="stylesheet" href="/static/css/skin-blue.min.css"> | ||
|
||
<!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries --> | ||
<!-- WARNING: Respond.js doesn't work if you view the page via file:// --> | ||
<!--[if lt IE 9]> | ||
<script src="https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"></script> | ||
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script> | ||
<![endif]--> | ||
</head> | ||
<body class="hold-transition login-page"> | ||
<div class="login-box"> | ||
<div class="login-logo"> | ||
<b>example</b> console | ||
</div> | ||
<!-- /.login-logo --> | ||
<div class="login-box-body"> | ||
<p class="login-box-msg">Thank you for using example console!</p> | ||
|
||
<p><a href="/login">Click here to login</a></p> | ||
</div> | ||
<!-- /.login-box-body --> | ||
</div> | ||
<!-- /.login-box --> | ||
|
||
<!-- jQuery --> | ||
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.2.4/jquery.min.js"></script> | ||
<!-- Bootstrap --> | ||
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js" integrity="sha384-Tc5IQib027qvyjSMfHjOMaLkfuWVxZxUPnCJA7l2mCWNIpG9mGCD8wGNIcPD7Txa" crossorigin="anonymous"></script> | ||
|
||
<script src="https://www.gstatic.com/firebasejs/3.4.1/firebase.js"></script> | ||
<script> | ||
// Initialize Firebase | ||
var config = { | ||
apiKey: "AIzaSyBlB-rAiulzhN59_VqCUYthK37-cSPcrgc", | ||
authDomain: "brick-admin.firebaseapp.com", | ||
databaseURL: "https://brick-admin.firebaseio.com", | ||
storageBucket: "brick-admin.appspot.com", | ||
messagingSenderId: "1067107688359" | ||
}; | ||
firebase.initializeApp(config); | ||
</script> | ||
<script> | ||
function initApp() { | ||
firebase.auth().signOut(); | ||
} | ||
$(document).ready(initApp); | ||
</script> | ||
</body> | ||
</html> |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
<?php | ||
|
||
namespace Controllers\Api; | ||
|
||
class Project extends \Controllers\BaseSecureController | ||
{ | ||
public function postAddProject() { | ||
// add a project | ||
} | ||
|
||
public function postUpdateProject() { | ||
// attempt to update a project | ||
} | ||
} |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
<?php | ||
|
||
namespace Controllers; | ||
|
||
class MainDashboard extends BaseSecureController | ||
{ | ||
public function getDashboard() | ||
{ | ||
// get list of projects | ||
// filter out projects user does not have permission to | ||
// return and render to main dashboard | ||
// render main dashboard | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
<?php | ||
|
||
namespace Controllers; | ||
|
||
class ProjectDashboard extends BaseSecureController | ||
{ | ||
public function getDashboard() | ||
{ | ||
// if user does not have permission to project, redirect to login | ||
// render project | ||
} | ||
} |