Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Basic login and admin panel functionality
- Loading branch information
1 parent
ca8394b
commit 260156a
Showing
35 changed files
with
1,575 additions
and
370 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
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
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
<?php | ||
|
||
namespace App\Controller; | ||
|
||
use Cake\Core\Configure; | ||
|
||
class AdminSettingsController extends AdminController { | ||
public function select($panel) { | ||
$this->Cookie->write("ta_theater_admin", $panel); | ||
return $this->redirect("/admin/"); | ||
} | ||
} |
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
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 |
---|---|---|
@@ -1,8 +1,8 @@ | ||
<div class="navigation-login navigation-guest"> | ||
<div class="navigation-button navigation-item"> | ||
<a href="<?= $this->Url->build('/admin/', true) ?>">Administration</a> | ||
<a href="<?= $this->Url->build('/admin/', true) ?>"><span class="icomoon"></span> Administration</a> | ||
</div> | ||
<div class="navigation-item"> | ||
<a href="<?= $this->Url->build('/signout/', true) ?>">Sign Out</a> | ||
<a href="<?= $this->Url->build('/auth/logout/', true) ?>"><span class="icomoon"></span> Sign Out</a> | ||
</div> | ||
</div> |
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,5 @@ | ||
<div class="navigation-login navigation-guest"> | ||
<div class="navigation-item"> | ||
<a href="<?= $this->Url->build('/auth/logout/', true) ?>">Sign Out</a> | ||
</div> | ||
</div> |
Oops, something went wrong.