/
home
/
techb158
/
ileadtechnology.com
/
resources
/
views
/
admin
/
faq
/
/home/techb158/ileadtechnology.com/resources/views/admin/faq
mkdir
upload
Name
Size
Mode
Actions
faq_edit.blade.php
2379
0644
edit
dl
rm
faq_form.blade.php
2704
0644
edit
dl
rm
index.blade.php
2777
0644
edit
dl
rm
Edit:
/home/techb158/ileadtechnology.com/resources/views/admin/faq/index.blade.php
(2777B)
@extends('admin/layouts.master') @section('title', 'All Faq - Admin') @section('body') <section class="content"> @include('admin.message') <div class="row"> <div class="col-xs-12"> <div class="box box-primary"> <div class="box-header with-border"> <h3 class="box-title">{{ __('adminstaticword.FAQStudent') }}</h3> <a href="{{url('faq/create')}}" class="btn btn-info btn-sm">+ {{ __('adminstaticword.Add') }}</a> </div> <!-- /.box-header --> <div class="box-body"> <table id="example1" class="table table-bordered table-striped"> <thead> <tr> <th>#</th> <th>{{ __('adminstaticword.Title') }}</th> <th>{{ __('adminstaticword.Detail') }}</th> <th>{{ __('adminstaticword.Status') }}</th> <th>{{ __('adminstaticword.Edit') }}</th> <th>{{ __('adminstaticword.Delete') }}</th> </tr> </thead> <tbody> @foreach($faq as $key=>$p) <tr> <td>{{$key+1}}</td> <td>{{$p->title}}</td> <td>{{ str_limit(strip_tags($p->details), $limit = 50, $end = '...')}}</td> <td> <form action="{{ route('faq.quick',$p->id) }}" method="POST"> {{ csrf_field() }} <button type="Submit" class="btn btn-xs {{ $p->status ==1 ? 'btn-success' : 'btn-danger' }}"> @if($p->status ==1) {{ __('adminstaticword.Active') }} @else {{ __('adminstaticword.Deactive') }} @endif </button> </form> </td> <td><a class="btn btn-success btn-sm" href="{{url('faq/'.$p->id.'/edit')}}"> <i class="glyphicon glyphicon-pencil"></i></a> </td> <td> <form method="post" action="{{url('faq/'.$p->id)}}" data-parsley-validate class="form-horizontal form-label-left"> {{ csrf_field() }} {{ method_field('DELETE') }} <button type="submit" class="btn btn-danger"> <i class="fa fa-fw fa-trash-o"></i> </button> </form> </td> </tr> @endforeach </table> </div> <!-- /.box-body --> </div> <!-- /.box --> </div> <!-- /.col --> </div> <!-- /.row --> </section> @endsection
Save
cmd:
run