-
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.
at last! the firsts views, also some fixes in routing system
- Loading branch information
Andrés Reyes
committed
May 26, 2019
1 parent
d52ca65
commit a8b907d
Showing
10 changed files
with
260 additions
and
22 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
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,36 @@ | ||
<?php declare(strict_types=1); | ||
|
||
namespace app\controllers; | ||
|
||
|
||
use Exception; | ||
use parabox\controllers\BaseController; | ||
use parabox\services\connection\ConnectionPg as ConnectionPgAlias; | ||
use parabox\services\dependencies\DependencyContainer; | ||
|
||
class ActivityController extends BaseController | ||
{ | ||
const VERSION = "0.1.0"; | ||
|
||
|
||
/** | ||
* | ||
* @throws Exception | ||
*/ | ||
public function index() | ||
{ | ||
|
||
$this->view->addFragment("first_fragment.html"); | ||
$this->view->addFragment("meta.html"); | ||
$this->view->addFragment("shared_css.html"); | ||
$this->view->addFragment("closing_head.html"); | ||
$this->view->addFragment("activity/activity.html"); | ||
$this->view->addFragment("shared_js.html"); | ||
$this->view->addFragment("ending_tags.html"); | ||
|
||
$strView = $this->view->render(); | ||
$strView = $this->replaceCustomTags($strView); | ||
|
||
$this->serve($strView); | ||
} | ||
} |
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,36 @@ | ||
<?php declare(strict_types=1); | ||
|
||
namespace app\controllers; | ||
|
||
|
||
use Exception; | ||
use parabox\controllers\BaseController; | ||
use parabox\services\connection\ConnectionPg as ConnectionPgAlias; | ||
use parabox\services\dependencies\DependencyContainer; | ||
|
||
class ControlPanelController extends BaseController | ||
{ | ||
const VERSION = "0.1.0"; | ||
|
||
|
||
/** | ||
* | ||
* @throws Exception | ||
*/ | ||
public function index() | ||
{ | ||
|
||
$this->view->addFragment("first_fragment.html"); | ||
$this->view->addFragment("meta.html"); | ||
$this->view->addFragment("shared_css.html"); | ||
$this->view->addFragment("closing_head.html"); | ||
$this->view->addFragment("controlpanel/controlpanel.html"); | ||
$this->view->addFragment("shared_js.html"); | ||
$this->view->addFragment("ending_tags.html"); | ||
|
||
$strView = $this->view->render(); | ||
$strView = $this->replaceCustomTags($strView); | ||
|
||
$this->serve($strView); | ||
} | ||
} |
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,45 @@ | ||
<body> | ||
|
||
<div class="row"> | ||
<div class="col-sm-12 col-md-3 shadow"> | ||
<header class="row"> | ||
<div class="col-sm-12"> | ||
<h1 class="org-font org-title-size parabox-title-color-text pb-bajorrelieve">Parabox</h1> | ||
</div> | ||
</header> | ||
|
||
<div class="row"> | ||
<div class="col-sm-12"> | ||
<h1 class="org-font parabox-title-color-text pb-bajorrelieve">Sky Rocketing your Dreams!</h1> | ||
</div> | ||
</div> | ||
|
||
</div> | ||
|
||
<div class="col-sm-12 col-md-9"> | ||
|
||
<div class="row"> | ||
<div class="col-sm-12 "> | ||
<div style="height : 100vh; background:#dddddd;"> | ||
<div class="row"> | ||
<div class="col-sm-12"> | ||
<h2 class = "pb-h2 parabox-title-color-text org-font top-1em">Vista de Actividad</h2> | ||
</div> | ||
</div> | ||
<div class="row top-1em"> | ||
<div class="col-sm-2"></div> | ||
<div class="col-sm-8"> | ||
<h4>Actividad X</h4> | ||
<div style="border:6px solid #f5f5f5; background:#ffffff; height: 48vh;"> | ||
</div> | ||
</div> | ||
<div class="col-sm-2"></div> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
|
||
|
||
</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,50 @@ | ||
<body> | ||
|
||
<div class="row"> | ||
<div class="col-sm-12 col-md-3 shadow"> | ||
<header class="row"> | ||
<div class="col-sm-12"> | ||
<h1 class="org-font org-title-size parabox-title-color-text pb-bajorrelieve">Parabox</h1> | ||
</div> | ||
</header> | ||
|
||
<div class="row"> | ||
<div class="col-sm-12"> | ||
<h1 class="org-font parabox-title-color-text pb-bajorrelieve">Sky Rocketing your Dreams!</h1> | ||
</div> | ||
</div> | ||
|
||
</div> | ||
|
||
<div class="col-sm-12 col-md-9"> | ||
|
||
<div class="row"> | ||
<div class="col-sm-12 "> | ||
<div style="height : 100vh; background:#dddddd;"> | ||
<div class="row"> | ||
<div class="col-sm-12"> | ||
<h2 class = "pb-h2 parabox-title-color-text org-font top-1em">Panel de Control</h2> | ||
</div> | ||
</div> | ||
<div class="row top-1em"> | ||
<div class="col-sm-4"> | ||
<h4>Progresión</h4> | ||
<img src="https://placeimg.com/256/256/animals" /> | ||
</div> | ||
<div class="col-sm-4"> | ||
<h4>Último amigo</h4> | ||
<img src="https://placeimg.com/256/256/tech" /> | ||
</div> | ||
<div class="col-sm-4"> | ||
<h4>Última actividad</h4> | ||
<img src="https://placeimg.com/256/256/people" /> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
|
||
|
||
</div> | ||
|
||
</div> |
Empty file.
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