WP File Manager
Current Path:
/
home
/
itutorethiopia
/
public_html
/
resources
/
views
/
core
/
groups
/
Name
Action
..
form.blade.php
Edit
index.blade.php
Edit
view.blade.php
Edit
Editing: index.blade.php
@extends('layouts.app') @section('content') @php usort($tableGrid, "SiteHelpers::_sort") @endphp <div class="page-content row"> <!-- Page header --> <div class="page-header"> <div class="page-title"> <h3> {{ $pageTitle }} <small>{{ $pageNote }}</small></h3> </div> <ul class="breadcrumb"> <li><a href="{{ URL::to('dashboard') }}"> {{ Lang::get('core.dashboard') }} </a></li> <li class="active">{{ $pageTitle }}</li> </ul> </div> <div class="page-content-wrapper m-t"> <ul class="nav nav-tabs" style="margin-bottom:10px;"> <li ><a href="{{ URL::to('core/users')}}"><i class="fa fa-user"></i> {{ Lang::get('core.Users') }} </a></li> <li class=""><a href="{{ URL::to('core/users/blast')}}"><i class="fa fa-envelope"></i> {{ Lang::get('core.send_email') }} </a></li> </ul> <div class="sbox animated fadeInRight"> <div class="sbox-title"> <h5> <i class="fa fa-table"></i> <?php echo $pageTitle ;?> <small>{{ $pageNote }}</small></h5> <div class="sbox-tools" > </div> </div> <div class="sbox-content"> <div class="toolbar-line "> @if($access['is_add'] ==1) <a href="{{ URL::to('core/groups/update') }}" class="tips btn btn-sm btn-white" title="{{ Lang::get('core.btn_create') }}"> <i class="fa fa-plus-circle "></i> {{ Lang::get('core.btn_create') }}</a> @endif @if($access['is_remove'] ==1) <a href="javascript://ajax" onclick="bsetecDelete();" class="tips btn btn-sm btn-white" title="{{ Lang::get('core.btn_remove') }}"> <i class="fa fa-minus-circle "></i> {{ Lang::get('core.btn_remove') }}</a> @endif </div> {!! Form::open(array('url'=>'core/groups/delete/', 'class'=>'form-horizontal' ,'id' =>'bsetecTable' )) !!} <div class="table-responsive" style="min-height:300px;"> <table class="table table-striped "> <thead> <tr> <th class="number"> {{ Lang::get('core.no') }} </th> <th> <input type="checkbox" class="checkall" /></th> @foreach ($tableGrid as $t) @if($t['view'] =='1') <th>{{ $t['label'] }}</th> @endif @endforeach <th width="70" >{{ Lang::get('core.btn_action') }}</th> </tr> </thead> <tbody> @foreach ($rowData as $row) <tr> <td width="30"> {{ ++$i }} </td> <td width="50"><input type="checkbox" class="ids" name="id[]" value="{{ $row->group_id }}" /> </td> @foreach ($tableGrid as $field) @php ($fieldname=$field['field']) @if($field['view'] =='1') <td> @if($field['attribute']['image']['active'] =='1') {{ SiteHelpers::showUploadedFile($row->$fieldname,$field['attribute']['image']['path']) }} @else @php ( $conn = (isset($field['conn']) ? $field['conn'] : array() ) ) {!! SiteHelpers::gridDisplay($row->$fieldname,$field['field'],$conn) !!} @endif </td> @endif @endforeach <td> @if($access['is_detail'] ==1) <a href="{{ URL::to('core/groups/show/'.$row->group_id.'?return='.$return)}}" class="tips btn btn-xs btn-white" title="{{ Lang::get('core.btn_view') }}"><i class="fa fa-search "></i></a> @endif @if($access['is_edit'] ==1) <a href="{{ URL::to('core/groups/update/'.$row->group_id.'?return='.$return) }}" class="tips btn btn-xs btn-white" title="{{ Lang::get('core.btn_edit') }}"><i class="fa fa-edit "></i></a> @endif </td> </tr> @endforeach </tbody> </table> <input type="hidden" name="md" value="" /> </div> {!! Form::close() !!} @include('footer') </div> </div> </div> </div> <script> $(document).ready(function(){ $('.do-quick-search').click(function(){ $('#bsetecTable').attr('action','{{ URL::to("cpre/groups/multisearch")}}'); $('#bsetecTable').submit(); }); }); </script> @stop