Example #1
0
 /**
  * Initialize column
  */
 public function initialize()
 {
     parent::initialize();
     AssetManager::addStyle('admin::default/css/ekko-lightbox.min.css');
     AssetManager::addScript('admin::default/js/ekko-lightbox.min.js');
     AssetManager::addScript('admin::default/js/columns/image.js');
 }
Example #2
0
 public function initialize()
 {
     parent::initialize();
     AssetManager::addStyle('admin::default/css/formitems/select/chosen.css');
     AssetManager::addScript('admin::default/js/formitems/select/chosen.jquery.min.js');
     AssetManager::addScript('admin::default/js/formitems/select/init.js');
 }
Example #3
0
 public function initialize()
 {
     AssetManager::addScript('/javascripts/formItems/JsonField.js');
     AssetManager::addScript('admin::default/js/formitems/image/Sortable.min.js');
     AssetManager::addScript('admin::default/js/formitems/image/sortable.jquery.binding.js');
     // AssetManager::addStyle('admin::default/css/formitems/image/images.css');
 }
Example #4
0
 public function initialize()
 {
     parent::initialize();
     AssetManager::addStyle('admin::default/plugins/chosen/bootstrap-chosen.css');
     AssetManager::addScript('admin::default/plugins/chosen/chosen.jquery.min.js');
     AssetManager::addScript('admin::default/scripts/select/init.js');
 }
 public function initialize()
 {
     parent::initialize();
     AssetManager::addStyle('admin::default/plugins/bootstrap-select/css/bootstrap-select.min.css');
     AssetManager::addScript('admin::default/plugins/bootstrap-select/js/bootstrap-select.min.js');
     AssetManager::addScript('admin::default/js/formitems/select/init.js');
 }
Example #6
0
 public function initialize()
 {
     parent::initialize();
     AssetManager::addStyle('admin::default/plugins/select2/select2.min.css');
     AssetManager::addScript('admin::default/plugins/select2/select2.min.js');
     AssetManager::addScript('admin::default/scripts/select/init.js');
 }
Example #7
0
 public function initialize()
 {
     parent::initialize();
     AssetManager::addStyle('admin::default/plugins/bootstrap-colorpicker/css/bootstrap-colorpicker.min.css');
     AssetManager::addScript('admin::default/plugins/bootstrap-colorpicker/js/bootstrap-colorpicker.min.js');
     AssetManager::addScript('admin::default/scripts/bootstrap-colorpicker/init.js');
 }
Example #8
0
 /**
  * Initialize column filter
  */
 public function initialize()
 {
     parent::initialize();
     AssetManager::addScript('admin::default/js/columnfilters/range.js');
     $this->from()->initialize();
     $this->to()->initialize();
 }
Example #9
0
 public function initialize()
 {
     parent::initialize();
     AssetManager::addStyle('admin::default/plugins/colorbox/colorbox.css');
     AssetManager::addScript('admin::default/plugins/colorbox/jquery.colorbox-min.js');
     AssetManager::addScript('admin::default/scripts/filemanager/init.js');
 }
Example #10
0
 public function initialize()
 {
     parent::initialize();
     AssetManager::addStyle('admin::default/plugins/bootstrap-switch/css/bootstrap3/bootstrap-switch.min.css');
     AssetManager::addStyle('admin::default/css/form-items/bootstrap-switch.css');
     AssetManager::addScript('admin::default/plugins/bootstrap-switch/js/bootstrap-switch.min.js');
     AssetManager::addScript('admin::default/scripts/bootstrap-switch/init.js');
 }
Example #11
0
 public function initialize()
 {
     parent::initialize();
     AssetManager::addStyle('admin::default/plugins/icheck/css/all.css');
     AssetManager::addStyle('admin::default/css/form-items/icheck.css');
     AssetManager::addScript('admin::default/plugins/icheck/js/icheck.min.js');
     AssetManager::addScript('admin::default/scripts/icheck/init.js');
 }
Example #12
0
 public function initialize()
 {
     AssetManager::addScript(asset('packages/agelxnash/admin/js/helpers.js'));
     AssetManager::addScript(asset('packages/agelxnash/admin/js/FormItems/JsonField.js'));
     AssetManager::addScript('admin::default/js/formitems/image/Sortable.min.js');
     AssetManager::addScript('admin::default/js/formitems/image/sortable.jquery.binding.js');
     AssetManager::addStyle(asset('packages/agelxnash/admin/css/FormItems/JsonField.css'));
 }
Example #13
0
 public function initialize()
 {
     AssetManager::addScript('admin::default/scripts/image/init-multiple.js');
     AssetManager::addScript('admin::default/plugins/flow/flow.min.js');
     AssetManager::addScript('admin::default/plugins/sortable/Sortable.min.js');
     AssetManager::addScript('admin::default/plugins/sortable/sortable.jquery.binding.js');
     AssetManager::addStyle('admin::default/css/form-items/images.css');
 }
Example #14
0
 public function initialize()
 {
     parent::initialize();
     AssetManager::addStyle('admin::default/css/formitems/datetime/bootstrap-datetimepicker.min.css');
     AssetManager::addStyle('admin::default/css/formitems/datetime/style.css');
     AssetManager::addScript('admin::default/js/formitems/datetime/moment-with-locales.min.js');
     AssetManager::addScript('admin::default/js/formitems/datetime/s_bootstrap-datetimepicker.min.js');
     AssetManager::addScript('admin::default/js/formitems/datetime/init.js');
 }
Example #15
0
 public function initialize()
 {
     parent::initialize();
     AssetManager::addStyle('admin::default/plugins/bootstrap-datetime-picker/css/bootstrap-datetimepicker.min.css');
     AssetManager::addStyle('admin::default/plugins/bootstrap-datetime-picker/css/bootstrap-datetimepicker-custom.min.css');
     AssetManager::addScript('admin::default/plugins/bootstrap-datetime-picker/js/moment-with-locales.min.js');
     AssetManager::addScript('admin::default/plugins/bootstrap-datetime-picker/js/bootstrap-datetimepicker.min.js');
     AssetManager::addScript('admin::default/scripts/bootstrap-datetime-picker/init.js');
 }
Example #16
0
 public function render()
 {
     AssetManager::addScript(Admin::instance()->router->routeToAsset('ckeditor/ckeditor.js'));
     if (!isset($this->attributes['class'])) {
         $this->attributes['class'] = '';
     }
     $this->attributes['class'] .= ' ckeditor';
     return parent::render();
 }
Example #17
0
 public function initialize()
 {
     parent::initialize();
     AssetManager::addStyle('admin::default/css/formitems/select/chosen.css');
     AssetManager::addScript('admin::default/js/formitems/select/chosen.jquery.min.js');
     AssetManager::addScript('admin::default/js/formitems/select/init.js');
     AssetManager::addScript(asset('packages/agelxnash/admin/js/FormItems/select.js'));
     AssetManager::addScript(asset('packages/agelxnash/admin/js/FormItems/seo.js'));
 }
Example #18
0
 public function initialize()
 {
     AssetManager::addScript('admin::default/js/jquery.nestable.js');
     AssetManager::addScript('admin::default/js/nestable.js');
     AssetManager::addStyle('admin::default/css/jquery.nestable.css');
     $this->repository = new TreeRepository($this->class);
     $this->repository->with($this->with());
     Column::treeControl()->initialize();
 }
Example #19
0
 public function initialize()
 {
     parent::initialize();
     AssetManager::addStyle(asset('packages/agelxnash/admin/colorbox/colorbox.css'));
     AssetManager::addStyle(asset('packages/barryvdh/elfinder/css/elfinder.min.css'));
     AssetManager::addStyle(asset('packages/barryvdh/elfinder/css/theme.css'));
     AssetManager::addScript(asset('packages/agelxnash/admin/colorbox/jquery.colorbox-min.js'));
     AssetManager::addScript(asset('packages/agelxnash/admin/colorbox/i18n/jquery.colorbox-' . config('app.locale') . '.js'));
     AssetManager::addScript(asset('packages/barryvdh/elfinder/js/elfinder.min.js'));
     AssetManager::addScript(asset('packages/agelxnash/admin/js/elfinderPopUp.js'));
 }
Example #20
0
 /**
  *
  */
 function __construct()
 {
     AssetManager::addStyle('admin::default/css/bootstrap.min.css');
     AssetManager::addStyle('admin::default/css/sb-admin-2.css');
     AssetManager::addStyle('admin::default/css/font-awesome.min.css');
     AssetManager::addScript(route('admin.lang'));
     AssetManager::addScript('admin::default/js/jquery-1.11.0.js');
     AssetManager::addScript('admin::default/js/bootstrap.min.js');
     AssetManager::addScript('admin::default/js/sb-admin-2.js');
     AssetManager::addScript('admin::default/js/metisMenu.min.js');
     AssetManager::addScript('admin::default/js/admin-default.js');
 }
Example #21
0
 /**
  * Initialize display
  */
 public function initialize()
 {
     parent::initialize();
     foreach ($this->columnFilters() as $columnFilter) {
         if ($columnFilter instanceof ColumnFilterInterface) {
             $columnFilter->initialize();
         }
     }
     AssetManager::addScript('admin::default/js/datatables/jquery.dataTables.min.js');
     AssetManager::addScript('admin::default/js/datatables/jquery.dataTables_bootstrap.js');
     AssetManager::addScript('admin::default/js/notify-combined.min.js');
     AssetManager::addScript('admin::default/js/datatables/init.js');
     AssetManager::addStyle('admin::default/css/dataTables.bootstrap.css');
 }
Example #22
0
 public function render()
 {
     AssetManager::addStyle(asset('/css/codemirror.css'));
     AssetManager::addScript(asset('/js/codemirror.js'));
     AssetManager::addScript(asset('/js/mode/css/css.js'));
     AssetManager::addScript(asset('/js/mode/xml/xml.js'));
     AssetManager::addScript(asset('/js/mode/javascript/javascript.js'));
     AssetManager::addScript(asset('/js/mode/htmlmixed/htmlmixed.js'));
     AssetManager::addScript(asset('/js/code-editor.js'));
     if (!isset($this->attributes['class'])) {
         $this->attributes['class'] = '';
     }
     $this->attributes['class'] .= ' code-editor';
     return $this->formBuilder->textareaGroup($this->name, $this->label, $this->value, $this->attributes);
 }
 function __construct()
 {
     AssetManager::addStyle('admin::default/bootstrap/css/bootstrap.min.css');
     AssetManager::addStyle('admin::default/font-awesome-4.4.0/css/font-awesome.min.css');
     AssetManager::addStyle('admin::default/ionicons-2.0.1/css/ionicons.min.css');
     AssetManager::addStyle('admin::default/css/AdminLTE.min.css');
     AssetManager::addStyle('admin::default/css/skins/skin-' . \Config::get('admintheme.skin') . '.min.css');
     AssetManager::addScript(route('admin.lang'));
     AssetManager::addScript('admin::default/plugins/jQuery/jQuery-2.1.4.min.js');
     AssetManager::addScript('admin::default/bootstrap/js/bootstrap.min.js');
     if (\Config::get('admintheme.fixed_layout')) {
         AssetManager::addScript('admin::default/plugins/slimScroll/jquery.slimscroll.min.js');
     }
     AssetManager::addScript('admin::default/js/app.min.js');
     AssetManager::addScript('admin::default/js/admin.js');
 }
Example #24
0
 function __construct()
 {
     AssetManager::addStyle('admin::default/css/font-awesome.min.css');
     AssetManager::addStyle(asset('packages/sleeping-owl/admin-lte-template/bootstrap/css/bootstrap.min.css'));
     AssetManager::addStyle(asset('packages/sleeping-owl/admin-lte-template/css/AdminLTE.min.css'));
     AssetManager::addStyle(asset('packages/sleeping-owl/admin-lte-template/css/_all-skins.min.css'));
     AssetManager::addStyle(asset('packages/sleeping-owl/admin-lte-template/css/custom.css'));
     AssetManager::addStyle(asset('packages/sleeping-owl/admin-lte-template/css/dataTables.bootstrap.css'));
     AssetManager::addStyle(asset('packages/sleeping-owl/admin-lte-template/plugins/iCheck/all.css'));
     AssetManager::addScript(route('admin.lang'));
     AssetManager::addScript('admin::default/js/jquery-1.11.0.js');
     AssetManager::addScript('admin::default/js/bootstrap.min.js');
     AssetManager::addScript(asset('packages/sleeping-owl/admin-lte-template/js/app.js'));
     AssetManager::addScript(asset('packages/sleeping-owl/admin-lte-template/js/admin.js'));
     AssetManager::addScript(asset('packages/sleeping-owl/admin-lte-template/plugins/iCheck/icheck.min.js'));
 }
 function __construct()
 {
     AssetManager::addStyle('admin::default/plugins/bootstrap/css/bootstrap.min.css');
     AssetManager::addStyle('admin::default/plugins/font-awesome/css/font-awesome.min.css');
     AssetManager::addStyle('admin::default/plugins/ionicons/css/ionicons.min.css');
     AssetManager::addStyle('admin::default/css/base/admin-lte.min.css');
     AssetManager::addStyle('admin::default/css/base/skins/skin-' . \SoaUserSetting::get('theme.skin', config('admintheme.skin')) . '.min.css');
     AssetManager::addScript(route('admin.lang'));
     AssetManager::addScript('admin::default/plugins/jQuery/jQuery-2.1.4.min.js');
     AssetManager::addScript('admin::default/plugins/bootstrap/js/bootstrap.min.js');
     if (\SoaUserSetting::get('theme.fixed_layout', config('admintheme.fixed_layout'))) {
         AssetManager::addScript('admin::default/plugins/jquery-slimscroll/jquery.slimscroll.min.js');
     }
     AssetManager::addScript('admin::default/scripts/base/app.min.js');
     AssetManager::addScript('admin::default/scripts/base/admin.js');
 }
Example #26
0
 public function initialize()
 {
     parent::initialize();
     AssetManager::addStyle(asset('packages/agelxnash/admin/colorbox/colorbox.css'));
     AssetManager::addStyle(asset('packages/barryvdh/elfinder/css/elfinder.min.css'));
     AssetManager::addStyle(asset('packages/barryvdh/elfinder/css/theme.css'));
     AssetManager::addStyle(asset('packages/agelxnash/admin/markitup/skins/style.css'));
     AssetManager::addStyle(asset('packages/agelxnash/admin/markitup/sets/style.css'));
     AssetManager::addScript(asset('packages/agelxnash/admin/markitup/jquery.markitup.js'));
     AssetManager::addScript(asset('packages/agelxnash/admin/colorbox/jquery.colorbox-min.js'));
     AssetManager::addScript(asset('packages/agelxnash/admin/colorbox/i18n/jquery.colorbox-' . config('app.locale') . '.js'));
     AssetManager::addScript(asset('packages/barryvdh/elfinder/js/elfinder.min.js'));
     AssetManager::addScript(asset('packages/agelxnash/admin/spell/' . (Request::isSecure() ? 'https' : 'http') . '/spell.js'));
     AssetManager::addScript(asset('packages/agelxnash/admin/js/spell/' . (Request::isSecure() ? 'https' : 'http') . '.js'));
     AssetManager::addScript(asset('packages/agelxnash/admin/js/elfinderPopUp.js'));
     AssetManager::addScript(asset('packages/agelxnash/admin/markitup/sets/set.js'));
     AssetManager::addScript(asset('packages/agelxnash/admin/js/FormItems/markitUp.js'));
 }
 public function getIndex()
 {
     AssetManager::addScript('admin::default/js/datatables/jquery.dataTables.min.js');
     AssetManager::addScript('admin::default/js/datatables/jquery.dataTables_bootstrap.js');
     AssetManager::addScript('admin::default/js/notify-combined.min.js');
     AssetManager::addStyle('admin::default/css/dataTables.bootstrap.css');
     if (Input::get('l')) {
         LaravelLogViewer::setFile(base64_decode(Input::get('l')));
     }
     if (Input::get('dl')) {
         return Response::download(storage_path() . '/logs/' . base64_decode(Input::get('dl')));
     } elseif (Input::has('del')) {
         File::delete(storage_path() . '/logs/' . base64_decode(Input::get('del')));
         return Redirect::to(Request::url());
     }
     $logs = LaravelLogViewer::all();
     $view = View::make('an-admin::page.log-viewer', ['logs' => $logs, 'files' => LaravelLogViewer::getFiles(true), 'current_file' => LaravelLogViewer::getFileName()]);
     return Admin::view($view, trans('an-admin::lang.log-viewer.title'));
 }
Example #28
0
 public function getIndex()
 {
     AssetManager::addScript('admin::default/js/datatables/jquery.dataTables.min.js');
     AssetManager::addScript('admin::default/js/datatables/jquery.dataTables_bootstrap.js');
     AssetManager::addScript('admin::default/js/notify-combined.min.js');
     AssetManager::addScript('admin::default/js/datatables/init.js');
     AssetManager::addStyle('admin::default/css/dataTables.bootstrap.css');
     switch (Input::get('method')) {
         case 'phpinfo':
             ob_start();
             phpinfo();
             $phpinfo = ob_get_contents();
             ob_get_clean();
             return $phpinfo;
         default:
             $view = View::make('an-admin::page.server', ['ezc' => ezcSystemInfo::getInstance(), 'tableStatus' => DB::select("SHOW TABLE STATUS FROM `" . config('database.connections.mysql.database') . "` LIKE '" . config('database.connections.mysql.prefix') . "%'")]);
             return Admin::view($view, trans('an-admin::lang.server.title'));
     }
 }
 /**
  * Initialize display
  */
 public function initialize()
 {
     parent::initialize();
     foreach ($this->columnFilters() as $columnFilter) {
         if ($columnFilter instanceof ColumnFilterInterface) {
             $columnFilter->initialize();
         }
     }
     AssetManager::addScript('admin::default/plugins/datatables/jquery.dataTables.min.js');
     AssetManager::addScript('admin::default/plugins/datatables/dataTables.bootstrap.min.js');
     AssetManager::addScript('admin::default/plugins/datatables/extensions/Buttons/js/dataTables.buttons.min.js');
     AssetManager::addScript('admin::default/plugins/datatables/extensions/Buttons/js/buttons.html5.min.js');
     AssetManager::addScript('admin::default/plugins/datatables/extensions/Buttons/js/buttons.flash.min.js');
     AssetManager::addScript('admin::default/plugins/datatables/extensions/Buttons/js/buttons.print.min.js');
     AssetManager::addScript('admin::default/plugins/datatables/extensions/Buttons/js/buttons.colVis.min.js');
     AssetManager::addScript('admin::default/plugins/datatables/extensions/Buttons/js/buttons.bootstrap.min.js');
     AssetManager::addScript('admin::default/scripts/datatables/init.js');
     AssetManager::addStyle('admin::default/plugins/datatables/dataTables.bootstrap.css');
     AssetManager::addStyle('admin::default/plugins/datatables/extensions/Buttons/css/buttons.bootstrap.min.css');
 }
Example #30
0
 /**
  * Initialize column
  */
 public function initialize()
 {
     parent::initialize();
     AssetManager::addScript('admin::default/js/bootbox.js');
     AssetManager::addScript('admin::default/js/columns/control.js');
 }