| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849 |
- @extends('layouts.base')
- @section('content')
- @section('title', trans('Yunshop\Hotel::pack.category_title'))
- <div class='panel panel-default'>
- <div class='panel-body'>
- <table class="table table-hover" style="overflow:visible;">
- <thead>
- <tr>
- <th style='width:4%;text-align: center;'>{!! trans('Yunshop\Hotel::pack.category_sort_name') !!}</th>
- <th style='width:10%;text-align: center;'>{!! trans('Yunshop\Hotel::pack.category_name') !!}</th>
- <th style='width:10%;text-align: center;'>{!! trans('Yunshop\Hotel::pack.category_id_name') !!}</th>
- <th style='width:10%;text-align: center;'>{!! trans('Yunshop\Hotel::pack.category_op_name') !!}</th>
- </tr>
- </thead>
- <tbody>
- @foreach($list as $row)
- <tr>
- <td style="text-align: center;">{{$row->sort}}</td>
- <td style="text-align: center;">{{$row->name}}</td>
- <td style="text-align: center;">{{$row->id}}</td>
- <td style="text-align: center;">
- <a
- href="{{yzWebUrl(\Yunshop\Hotel\admin\CategoryController::EDIT_URL,['id' => $row->id])}}">
- {!! trans('Yunshop\Hotel::pack.category_op_edit_name') !!}
- </a>
- @if($row->id != $default_id)
- <a
- href="{{yzWebUrl(\Yunshop\Hotel\admin\CategoryController::DEL_URL,['id' => $row->id])}}">
- {!! trans('Yunshop\Hotel::pack.category_op_del_name') !!}
- </a>
- @endif
- </td>
- </tr>
- @endforeach
- </tbody>
- </table>
- {!! $pager !!}
- </div>
- </div>
- <div class='panel-footer'>
- <a class='btn btn-info' href="{{yzWebUrl(\Yunshop\Hotel\admin\CategoryController::ADD_URL)}}">
- <i class='fa fa-plus'></i>
- {!! trans('Yunshop\Hotel::pack.category_op_add_name') !!}
- </a>
- </div>
- <div style="width:100%;height:150px;"></div>
- @endsection
|