-
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support center: Prepare new sidebar section.
- Loading branch information
1 parent
646722f
commit 326cdd9
Showing
5 changed files
with
65 additions
and
0 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,18 @@ | ||
<?php | ||
|
||
declare(strict_types=1); | ||
|
||
namespace Baraja\Cms\Support; | ||
|
||
|
||
use Baraja\AdminBar\Plugin\Plugin; | ||
|
||
final class SupportAdminBarPlugin implements Plugin | ||
{ | ||
public function render(): string | ||
{ | ||
return '<div id="cmsSupportPanel"> | ||
<cms-support-admin-panel></cms-support-admin-panel> | ||
</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 |
---|---|---|
|
@@ -83,6 +83,7 @@ use Baraja\Cms\Proxy\Proxy; | |
</div> | ||
<support-chat></support-chat> | ||
<cms-settings></cms-settings> | ||
<cms-support-sidebar></cms-support-sidebar> | ||
<cms-footer :year="<?=date('Y')?>" version="<?=htmlspecialchars($currentVersion)?>"></cms-footer> | ||
</div> | ||
<script src="<?= $isDebug ? 'https://unpkg.com/[email protected]/dist/vue.js' : 'https://unpkg.com/[email protected]/dist/vue.min.js' ?>"></script> | ||
|
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