mirror of
https://github.com/fruithost/Panel.git
synced 2026-10-26 13:06:41 +09:00
32 lines
890 B
PHP
32 lines
890 B
PHP
<?php
|
|
/**
|
|
* fruithost | OpenSource Hosting
|
|
*
|
|
* @author Adrian Preuß
|
|
* @version 1.0.0
|
|
* @license MIT
|
|
*/
|
|
|
|
use fruithost\Accounting\Auth;
|
|
use fruithost\Localization\I18N;
|
|
|
|
$template->header();
|
|
if(!Auth::hasPermission('SERVER::CONSOLE')) {
|
|
?>
|
|
<div class="alert alert-danger mt-4" role="alert">
|
|
<strong><?php I18N::__('Access denied!'); ?></strong>
|
|
<p class="pb-0 mb-0"><?php I18N::__('You have no permissions for this page.'); ?></p>
|
|
</div>
|
|
<?php
|
|
$template->footer();
|
|
exit();
|
|
}
|
|
?>
|
|
<div class="terminal p-0 m-0 h-100">
|
|
<div class="output"></div>
|
|
<input name="command" placeholder="<?php I18N::__('Command...'); ?>"/>
|
|
</div>
|
|
<input type="hidden" name="destination" value="<?php print $this->url('/server/console'); ?>"/>
|
|
<?php
|
|
$template->footer();
|
|
?>
|