-
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.
Road to beta
- Loading branch information
Showing
13 changed files
with
143 additions
and
33 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
<?php | ||
declare(strict_types=1); | ||
|
||
namespace bricks\SystemUser\Api; | ||
|
||
use BrickLayer\Lay\Core\Api\ApiEngine; | ||
use BrickLayer\Lay\Core\Api\ApiHooks; | ||
|
||
class Hook extends ApiHooks | ||
{ | ||
public function hooks(): void | ||
{ | ||
|
||
} | ||
} |
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 @@ | ||
<?php | ||
|
||
// Do all the domain-level foundational things here | ||
// You can overwrite the default logo and icon of the project. | ||
// Anything you do here will reflect across all routes on this domain. |
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,2 +1,10 @@ | ||
<?php | ||
echo \BrickLayer\Lay\core\view\DomainResource::plaster()->body; | ||
|
||
use BrickLayer\Lay\core\view\DomainResource; | ||
|
||
echo DomainResource::plaster()->body; | ||
?> | ||
|
||
<div class="copyright"> | ||
<?= DomainResource::get()->copyright ?> | ||
</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
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,3 +1,8 @@ | ||
body { | ||
border: solid 2px #e00; | ||
} | ||
|
||
.copyright { | ||
position: fixed; | ||
bottom: 15px; | ||
} |
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 |
---|---|---|
@@ -0,0 +1,26 @@ | ||
<?php | ||
|
||
namespace BrickLayer\Lay\Core\View; | ||
|
||
class SrcFilter | ||
{ | ||
public static function go(string $src) : string { | ||
$client = DomainResource::get(); | ||
|
||
return str_replace( | ||
[ | ||
"@shared/", "@#/", "@static/", | ||
"@shared_js/", "@js/", "@static_env/", | ||
"@shared_img/", "@img/", "@ui/", | ||
"@shared_css/", "@css/", | ||
], | ||
[ | ||
$client->shared->root, $client->root, $client->static, | ||
$client->shared->js, $client->js, $client->static_env, | ||
$client->shared->img, $client->img, $client->static_env . "ui/", | ||
$client->shared->css, $client->css, | ||
], | ||
$src | ||
); | ||
} | ||
} |
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