text-template.blade.php 6.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495
  1. <!--- item-search --->
  2. @php $modalClassName = $modalClassName ?? ''; @endphp
  3. <div class="modal fade modal-cyan {{ $modalClassName }}" id="modal-text_template" aria-hidden="true" data-backdrop="static" style="display: none; z-index: 1060;">
  4. <div class="modal-dialog m-auto pt-4" style="max-width: 1180px !important;">
  5. <div class="modal-content">
  6. <div class="modal-header bg-primary">
  7. <h4 class="modal-title text-white" id="myModalLabel"></h4>
  8. <button type="button" class="close" data-dismiss="modal" aria-label="Close"><i class="fas fa-times"></i></button>
  9. </div>
  10. <div class="modal-body">
  11. <div class="row p-0 mt-2 m-auto">
  12. {{-- 기본 텍스트 --}}
  13. <div class="col-lg-3 col-md-6 col-12">
  14. <div class="d-flex flex-column mb-2" style="height: 50px;">
  15. <label class="m-0">{{ $moealSetFile['FormVars']['Title']['ItemCode'] }}</label>
  16. <input type="text" class="rounded w-100 item-code" autocomplete="off" {{ $moealSetFile['FormVars']['Hidden']['ItemCode'] }}>
  17. </div>
  18. </div>
  19. <div class="col-lg-3 col-md-6 col-12">
  20. <div class="d-flex flex-column mb-2" style="height: 50px;">
  21. <label class="m-0">{{ $moealSetFile['FormVars']['Title']['ItemName'] }}</label>
  22. <input type="text" class="rounded w-100 item-name" autocomplete="off" {{ $moealSetFile['FormVars']['Hidden']['ItemName'] }}>
  23. </div>
  24. </div>
  25. <div class="col-lg-3 col-md-6 col-12">
  26. <div class="d-flex flex-column mb-2" style="height: 50px;">
  27. <label class="m-0">{{ $moealSetFile['FormVars']['Title']['SubName'] }}</label>
  28. <input type="text" class="rounded w-100 sub-name" autocomplete="off" {{ $moealSetFile['FormVars']['Hidden']['SubName'] }}>
  29. </div>
  30. </div>
  31. </div>
  32. <button type="button" class="btn btn-dark btn-sm icon-search4 modal-search position-absolute" data-target="item" data-class="{{ $modalClassName }}">
  33. </button>
  34. </div>
  35. <div class="modal-footer">
  36. <div class="col mt-2 mb-2 table-responsive" style="height: 400px;">
  37. <table class="table-row">
  38. <thead id="table-head">
  39. </thead>
  40. <tbody id="table-body">
  41. </tbody>
  42. </table>
  43. </div>
  44. <div class="mms_wrap col-3 pr-0" id="text-template-form" style="height: 400px;">
  45. <div class="mms w-100 pb-0" id="frm">
  46. <div class="input_field mt-0 w-100 radius-r0 radius-l0">
  47. <input type="hidden" id="Id" name="Id" value="0">
  48. <div class="txt_byte">
  49. <div class="byte-info">
  50. <span class="cur-byte">0</span>/999 byte
  51. </div>
  52. </div>
  53. <div class="input_box">
  54. <ul class="nav nav-tabs nav-tabs-solid rounded">
  55. <li class="nav-item main-text-tab"><a href="#main-text-tab" class="nav-link rounded-left active" data-toggle="tab">{{ $moealSetFile['FormVars']['Title']['TextTab'] }}</a></li>
  56. <li class="nav-item"><a href="#main-media-tab" class="nav-link" data-toggle="tab">{{ $moealSetFile['FormVars']['Title']['MediaTab'] }}</a></li>
  57. </ul>
  58. <div class="tab-content">
  59. <div class="tab-pane fade active show" id="main-text-tab" style="height: 330px;">
  60. <textarea id="main-text-txt-area" class="h-100" disabled></textarea>
  61. </div>
  62. <div class="tab-pane fade" id="main-media-tab" style="height: 330px;">
  63. <div class="py-1"></div>
  64. <div id="main-media-group" style="overflow-y: scroll; height: 310px;">
  65. <img class="w-100 mb-1" src="http://localhost:8080/uploads/2021/10/%E1%84%8B%E1%85%A1%E1%84%8B%E1%85%B5%E1%84%8B%E1%85%B21.jpg">
  66. <img class="w-100 mb-1" src="http://localhost:8080/uploads/2021/10/%E1%84%8B%E1%85%A1%E1%84%8B%E1%85%B5%E1%84%8B%E1%85%B21.jpg">
  67. <img class="w-100 mb-1" src="http://localhost:8080/uploads/2021/10/%E1%84%8B%E1%85%A1%E1%84%8B%E1%85%B5%E1%84%8B%E1%85%B21.jpg">
  68. <img class="w-100 mb-1" src="http://localhost:8080/uploads/2021/10/%E1%84%8B%E1%85%A1%E1%84%8B%E1%85%B5%E1%84%8B%E1%85%B21.jpg">
  69. </div>
  70. </div>
  71. </div>
  72. </div>
  73. </div>
  74. </div>
  75. </div>
  76. <div class="px-md-0 px-1 w-100 d-flex justify-content-around align-items-stretch align-items-md-center flex-column flex-md-row">
  77. <select class="modal-line-select mb-md-0 mb-2 rounded" data-target="item" data-class="{{ $modalClassName }}">
  78. @include('front.outline.moption')
  79. </select>
  80. <div class="d-flex mb-md-0 mb-2 flex-column flex-md-row align-items-stretch align-items-md-center">
  81. <label class="m-0 mr-1 w-20 font-weight-bold" id="oderby-label"></label>
  82. <select class="modal-order-by-select w-100 rounded" data-target="item" data-class="{{ $modalClassName }}">
  83. </select>
  84. </div>
  85. <ul class="pagination pagination-sm"></ul>
  86. </div>
  87. </div>
  88. </div>
  89. </div>
  90. </div>
  91. @once
  92. <script src="/js/modals-controller/a-type/text-template.js?{{date('YmdHis')}}"></script>
  93. @endonce