setting.blade.php 3.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  1. @php $modalClassName = $modalClassName ?? ''; @endphp
  2. <div class="modal fade modal-cyan {{ $modalClassName }}" id="modal-setting" data-keyboard="false" data-backdrop="static" tabindex="-1" role="dialog" aria-hidden="true">
  3. <div class="modal-dialog" style="max-width: 1100px !important;">
  4. <div class="modal-content">
  5. <div class="modal-header bg-primary">
  6. <h4 class="modal-title text-white" id="myModalLabel"></h4>
  7. <button type="button" class="close" data-dismiss="modal" aria-label="Close"><i class="fas fa-times"></i></button>
  8. </div>
  9. <div class="modal-body">
  10. <div class="row align-items-end">
  11. <div class="col-4" >
  12. <div class="d-flex flex-column">
  13. <label class="m-0">검색조건</label>
  14. <div class="row">
  15. <div class="col-5 pr-1">
  16. <select class="rounded w-100" id="filter-name-select">
  17. @foreach ($moealSetFile['FilterSelectOptions'] ?? [] as $key => $popupOption)
  18. <option value="{{ $popupOption['Value'] }}" data-reverse="{{ $popupOption['Reverse'] ?? '' }}">
  19. {{ $popupOption['Caption'] }}
  20. </option>
  21. @endforeach
  22. </select>
  23. </div>
  24. <div class="col pl-0">
  25. <input class="rounded w-100" type="text" id="filter-value-txt" onkeydown="override_enter_pressed_setting_modal_auto_search(event)">
  26. </div>
  27. </div>
  28. </div>
  29. </div>
  30. <div class="col-7" >
  31. <div class="d-flex flex-column">
  32. <label class="m-0">상태별 검색</label>
  33. <select class="rounded w-100" id="simple-filter-select" onchange="$('#modal-setting.show').find('.modal-search').trigger('click')">
  34. @foreach ($moealSetFile['SimpleSelectOptions'] ?? [] as $key => $popupOption)
  35. <option value="{{ $popupOption['Value'] }}">
  36. {{ DataConverter::execute(null, $popupOption['Caption']) ?? $popupOption['Caption'] }}
  37. </option>
  38. @endforeach
  39. </select>
  40. </div>
  41. </div>
  42. <div class="col-1" >
  43. <button type="button" class="btn btn-primary btn-sm icon-search4 modal-search" data-target="setting" data-class="{{ $modalClassName }}"></button>
  44. </div>
  45. <div class="col-12 my-2 table-responsive" style="height: 400px;">
  46. <table class="table-row">
  47. <thead id="table-head">
  48. </thead>
  49. <tbody id="table-body">
  50. </tbody>
  51. </table>
  52. </div>
  53. <div class="col-6" >
  54. <select class="modal-line-select" data-target="setting" data-class="{{ $modalClassName }}">
  55. @include('front.outline.moption')
  56. </select>
  57. </div>
  58. <div class="col-6" >
  59. <ul class="pagination pagination-sm" style="float: right;"></ul>
  60. </div>
  61. </div>
  62. </div>
  63. </div>
  64. </div>
  65. </div>
  66. @once
  67. <script src="/js/modals-controller/a-type/setting.js?{{date('YmdHis')}}"></script>
  68. @endonce