clearCache.blade.php 2.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. @extends('admin/public/layout')
  2. @section('title')缓存管理@endsection
  3. @section('content')
  4. <section class="content-header">
  5. <h1>
  6. 缓存管理
  7. <small>更新系统相关缓存数据</small>
  8. </h1>
  9. </section>
  10. <section class="content">
  11. <div class="row">
  12. <div class="col-xs-12">
  13. <div class="box box-default">
  14. <form role="form" name="addForm" method="POST" action="{{ route('admin.tool.clearCache') }}">
  15. <input type="hidden" name="_token" value="{{ csrf_token() }}">
  16. <div class="box-body">
  17. <div class="form-group ">
  18. <div class="form-group">
  19. <div class="checkbox">
  20. <label>
  21. <input type="checkbox" name='cacheItems[]' value="data" checked="checked"/>
  22. 更新数据缓存
  23. </label>
  24. </div>
  25. <div class="checkbox">
  26. <label>
  27. <input type="checkbox" name="cacheItems[]" value="view" checked="checked"/>
  28. 更新模板缓存
  29. </label>
  30. </div>
  31. </div>
  32. </div>
  33. </div>
  34. <div class="box-footer">
  35. <button type="submit" class="btn btn-primary">更新</button>
  36. <button type="reset" class="btn btn-success">重置</button>
  37. </div>
  38. </form>
  39. </div>
  40. </div>
  41. </div>
  42. </section>
  43. @endsection
  44. @section('script')
  45. <script type="text/javascript">
  46. set_active_menu('root_menu',"{{ route('admin.tool.clearCache') }}");
  47. </script>
  48. @endsection