This commit is contained in:
2020-05-11 06:11:33 +03:00
commit 6784cecf5e
20 changed files with 824 additions and 0 deletions

27
controllers/Index.php Normal file
View File

@ -0,0 +1,27 @@
<?php
namespace Wms\Menu\Controllers;
use Backend\Classes\Controller;
/**
* Settings controller
*
* @package october\system
* @author Alexey Bobkov, Samuel Georges
*
*/
class Index extends Controller
{
public function __construct()
{
parent::__construct();
\BackendMenu::setContext('Wms.Menu', 'main');
}
public function index()
{
$this->pageTitle = 'wms.menu::plugin.name';
$this->bodyClass = 'compact-container sidenav-tree-root';
}
}

View File

@ -0,0 +1,14 @@
<div class="layout">
<div class="layout-cell oc-logo-transparent">
<script>
$(document).ready(function() {
var $search = $('#settings-search-input'),
focusSearch = function() {
setTimeout(function() { $search.focus().select() }, 10)
};
$search.on('blur', focusSearch);
focusSearch()
})
</script>
</div>
</div>