Spamworldpro Mini Shell
Spamworldpro


Server : Apache
System : Linux server2.corals.io 4.18.0-348.2.1.el8_5.x86_64 #1 SMP Mon Nov 15 09:17:08 EST 2021 x86_64
User : corals ( 1002)
PHP Version : 7.4.33
Disable Function : exec,passthru,shell_exec,system
Directory :  /home/corals/demo.cartinsight.co/storage/framework/views/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /home/corals/demo.cartinsight.co/storage/framework/views/5c3406f760ae1c1834fdfa60fbd9c842.php
<div class="row">
    <div class="col-md-12">
        <?php $__env->startComponent('components.box'); ?>
            <?php $__env->slot('box_title'); ?>
                <?php if($root): ?>
                    <?php echo app('translator')->get('Menu::labels.root_menu_title',['title'=>$menu->name]); ?>
                <?php elseif($parent): ?>
                    <?php echo app('translator')->get('Menu::labels.parent_menu_title',['title'=> $parent->name]); ?>
                <?php else: ?>
                    <?php echo app('translator')->get('Menu::labels.menu_item_title',['title'=>$menu->name]); ?>
                <?php endif; ?>
            <?php $__env->endSlot(); ?>

            <?php $__env->slot('box_actions'); ?>
                <?php if($menu->exists && $root): ?>
                    <?php echo CoralsForm::link(url(config('menu.models.menu.resource_url') . '/create?parent=' . $menu->hashed_id),trans('Corals::labels.create'),
                    ['class'=>'btn btn-sm btn-success','data' => ['action' => 'load','load_to' => '#menu_form']]); ?>

                <?php endif; ?>
            <?php $__env->endSlot(); ?>

            <?php echo CoralsForm::openForm($menu,['url' => url(config('menu.models.menu.resource_url').'/'.$menu->hashed_id), 'data-page_action'=>'site_reload']); ?>

            <?php echo e(CoralsForm::hidden('parent_id', $menu->parent_id)); ?>

            <?php echo e(CoralsForm::hidden('root', $root)); ?>


            <?php if($root): ?>
                <?php echo CoralsForm::text('key','Menu::attributes.menu.key',true); ?>


                <?php echo CoralsForm::text('name','Menu::attributes.menu.name',true); ?>


                <?php echo CoralsForm::radio('status','Corals::attributes.status', true, trans('Corals::attributes.status_options')); ?>


                <?php echo CoralsForm::textarea('description','Menu::attributes.menu.description',false,$menu->description,['rows'=>3]); ?>


            <?php else: ?>
                    <ul class="nav nav-tabs" id="myTab" role="tablist">
                        <li class="nav-item active">
                            <a class="nav-link active" id="menu-item-tab" data-toggle="tab" href="#menu-item" role="tab" aria-controls="menu-item" aria-selected="true">Menu Item</a>
                        </li>
                        <li class="nav-item">
                            <a class="nav-link" id="permission-tab" data-toggle="tab" href="#permission" role="tab" aria-controls="permission" aria-selected="false">Permission</a>
                        </li>
                    </ul>
            <?php endif; ?>

            <?php if(!$root): ?>
                <div class="tab-content" id="myTabContent">
                    <div class="tab-pane active" id="menu-item" role="tabpanel" aria-labelledby="menu-item-tab">
                        <?php echo CoralsForm::text('name','Menu::attributes.menu.name',true); ?>


                        <?php echo CoralsForm::radio('status','Corals::attributes.status', true, trans('Corals::attributes.status_options')); ?>


                        <?php echo CoralsForm::text('url','Menu::attributes.menu.url'); ?>


                        <?php echo CoralsForm::text('active_menu_url','Menu::attributes.menu.active_menu_url',false,$menu->active_menu_url,['help_text'=> 'Menu::attributes.menu.active_menu_url_help']); ?>


                        <?php echo CoralsForm::text('icon','Menu::attributes.menu.icon',false,str_replace('fa ','',$menu->icon),['class'=>'icp icp-auto',
                        'help_text'=>'Menu::attributes.menu.icon_help']); ?>


                        <?php echo CoralsForm::select('target', trans('Menu::attributes.menu.target'),trans('Menu::attributes.menu.target_options')); ?>


                        <?php echo CoralsForm::select('roles[]',trans('Menu::attributes.menu.roles'), \Corals\User\Facades\Roles::getRolesList(),false,null,
                        ['class'=>'','multiple'=>true,
                        'help_text'=>'Menu::attributes.menu.roles_help'],'select2'); ?>


                        <?php echo CoralsForm::checkbox('properties[always_active]', 'Menu::attributes.menu.always_active', $menu->properties['always_active']??false, 'True'); ?>


                        <?php echo CoralsForm::textarea('description','Menu::attributes.menu.description',false,$menu->description,['rows'=>3]); ?>

                    </div>
                    <div class="tab-pane" id="permission" role="tabpanel" aria-labelledby="permission-tab">
                        <div class="row">
                            <div class="col-md-12 permissions">
                                <div class="text-right">
                                    <?php echo CoralsForm::button( 'User::labels.toggle_collapse' ,['class'=>'btn btn-sm btn-primary','id'=>'toggle_collapse']); ?>

                                    <?php echo CoralsForm::button( 'User::labels.check_all' ,['class'=>'btn btn-sm btn-success','id'=>'check_all']); ?>

                                    <?php echo CoralsForm::button( 'User::labels.revoke_all' ,['class'=>'btn btn-sm btn-warning','id'=>'revoke_all']); ?>

                                    <hr/>
                                </div>
                                <div class="">
                                    <small class="text-muted">
                                        <i class="fa fa-th-large"></i> <?php echo app('translator')->get('User::labels.package'); ?>
                                    </small>
                                    <small class="text-muted m-l-10">
                                        <i class="fa fa-square"></i> <?php echo app('translator')->get('User::labels.model'); ?>
                                    </small>
                                    <hr/>
                                </div>
                                <?php $__currentLoopData = \Corals\User\Facades\Roles::getPermissionsTree(); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $name => $package): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                    <ul class="list-unstyled panel-group" id="<?php echo e($name); ?>_accordion">
                                        <li>
                                            <i class="fa fa-th-large"></i> <?php echo e($name); ?>

                                            <ul class="list-unstyled" style="margin-left: 25px;">
                                                <?php $__currentLoopData = $package; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $name => $model): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                                    <li>
                                                        <a data-toggle="collapse"
                                                           data-parent="#collapse_<?php echo e($colID = $name.\Str::random()); ?>"
                                                           href="#collapse_<?php echo e($colID); ?>">
                                                            <i class="fa fa-square"></i> <?php echo e($name); ?></a>
                                                        <ul class="list-inline panel-collapse collapse"
                                                            id="collapse_<?php echo e($colID); ?>"
                                                            style="margin-left: 25px;">
                                                            <?php $__currentLoopData = $model; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $id => $name): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                                                <li>
                                                                    <?php echo CoralsForm::checkbox('permissions[]',$name,$menu->permissions->pluck('id')->contains($id),$id,['id'=>'perm_'.$id]); ?>

                                                                </li>
                                                            <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                                                        </ul>
                                                    </li>
                                                <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                                            </ul>
                                        </li>
                                    </ul>
                                <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                            </div>
                        </div>
                    </div>
                </div>
                <br>
            <?php endif; ?>
            <?php echo CoralsForm::customFields($menu,'col-md-12'); ?>


            <?php echo CoralsForm::formButtons(trans('Corals::labels.save', ['title'=> $title_singular]), [], ['href' => url('menus')]); ?>


            <?php echo CoralsForm::closeForm($menu); ?>

        <?php echo $__env->renderComponent(); ?>
    </div>
</div>
<?php /**PATH /home/corals/demo.woobi.io/Corals/core/Menu/resources/views/menu/create_edit.blade.php ENDPATH**/ ?>

Spamworldpro Mini