| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101 |
- @extends('layouts.base')
- @section('content')
- @section('title', trans('更多选项'))
- <script type="text/javascript">
- window.optionchanged = false;
- require(['bootstrap'], function () {
- $('#myTab a').click(function (e) {
- e.preventDefault();
- $(this).tab('show');
- })
- });
- </script>
- <div class="w1200 ">
- <div class=" rightlist ">
- @include('layouts.tabs')
- <div class="right-titpos">
- <ul class="add-snav">
- <a class='btn btn-primary' href="{{yzWebUrl('plugin.room.admin.room-diy.option-add')}}"
- style="margin-bottom:5px;"><i class='fa fa-plus'></i> 添加更多选项</a>
- </ul>
- </div>
- <form action="" method="post" class="form-horizontal" id="form1">
- <div class="right-addbox">
- <div class="panel panel-info">
- </div>
- </div>
- </form>
- <div class="clearfix">
- <div class='panel panel-default'>
- <div class='panel-body table-responsive'>
- <table class="table table-hover" style="overflow:visible;">
- <thead>
- <tr>
- <th style='width:8%;'>ID</th>
- <th style='width:10%;'>排序</th>
- <th style='width:10%;'>标题</th>
- <th style='width:20%;'>链接</th>
- <th style='width:15%;'>状态</th>
- <th style='width:10%;'>操作</th>
- </tr>
- </thead>
- <tbody>
- @foreach($list as $row)
- <tr>
- <td>{{$row['id']}}</td>
- <td>{{$row['sort']}}</td>
- <td>{{$row['title']}}</td>
- <td>
- {{$row['url']}}
- </td>
- <td>
- @if($row['is_show'] == 1)
- <label class="label label-success" > 显示</label>
- @else
- <label class="label label-danger"> 隐藏</label>
- @endif
- </td>
- <td style="position:relative; overflow:visible;">
- <a href="{{yzWebUrl('plugin.room.admin.room-diy.option-edit',['id'=>$row['id']])}}"
- class="btn btn-default btn-sm" title="编辑"><i class="fa fa-edit"></i></a>
- <a href="{{yzWebUrl('plugin.room.admin.room-diy.option-delete',['id'=>$row['id']])}}"
- onclick="return confirm('是否确认删除?');
- return false;" class="btn btn-default btn-sm"
- title="删除"><i
- class="fa fa-trash"></i></a>
- </td>
- </tr>
- @endforeach
- </tbody>
- </table>
- {!! $pager !!}
- </div>
- </div>
- </div>
- </div>
- </div>
- <script type="text/javascript" src="{{static_url('js/area/cascade_street.js')}}"></script>
- <script language='javascript'>
- $('.tdedit').mouseover(function () {
- $(this).find('.fa-pencil').show();
- }).mouseout(function () {
- $(this).find('.fa-pencil').hide();
- });
- </script>
- @endsection
|