1to1-list.blade.php 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293
  1. @extends('views.layouts.master')
  2. <link rel="stylesheet" href="{{ csset('/themes/point2u/pro/resources/css/blog-standard.css') }}">
  3. @section('content')
  4. <div class="sub qna">
  5. <div class="container">
  6. <div class="navi">
  7. <a href="/"><i class="fa-solid fa-house"></i> 홈</a> > 커뮤니티 > Q&A
  8. </div>
  9. <div class="title">
  10. <h2>Q&A</h2>
  11. </div>
  12. </div>
  13. <!--=====================================
  14. BANNER PART START
  15. =======================================-->
  16. <!--필요없음 지움
  17. <section class="inner-section single-banner">
  18. <div class="container">
  19. <h2>1:1 상담</h2>
  20. <ol class="breadcrumb">
  21. <li class="breadcrumb-item"><a href="index.html">Home</a></li>
  22. <li class="breadcrumb-item active" aria-current="page">1:1 상담</li>
  23. </ol>
  24. </div>
  25. </section>
  26. -->
  27. <!--=====================================
  28. BANNER PART END
  29. =======================================-->
  30. <!--=====================================
  31. BLOG STANDARD PART START
  32. =======================================-->
  33. <section class="inner-section blog-standard qna-list">
  34. <div class="container">
  35. <div class="row justify-content-center">
  36. <div class="col-lg-12">
  37. <div class="row">
  38. <div class="col-lg-12">
  39. @component('views.partial.table-options')
  40. <div class="filter-btn mb-0">
  41. <button type="button" class="btn btn_primary" onclick="location.href='{{ route('1to1.form') }}'">문의하기</button>
  42. </div>
  43. @endcomponent
  44. </div>
  45. <div class="col-lg-12 list">
  46. @php
  47. $no = $oneToOnePage['PageVars']['QueryCnt'];
  48. @endphp
  49. @forelse($oneToOnePage['Page'] ?? [] as $oneToOne)
  50. <div class="blog-card">
  51. <div class="qna-num">{{ $no-- }}</div>
  52. <h4 class="blog-title">
  53. <a href="{{ route('1to1.show', $oneToOne['Id']) }}">{{ $oneToOne['C6'] }}</a>
  54. </h4>
  55. <div class="qna-date">{{ $oneToOne['C4'] }}</div>
  56. @if ($oneToOne['C8'] === '1')
  57. <div class="qna-status"><span class="done">답변완료</span></div>
  58. @else
  59. <div class="qna-status"><span class="ing">미답변</span></div>
  60. @endif
  61. </div>
  62. @empty
  63. @endforelse
  64. <!-- <div class="blog-card">
  65. <div class="qna-num">000</div>
  66. <h4 class="blog-title">
  67. <a href="/1to1-details">문의 사항 제목이 들어갑니다.여자의 근로는 특별한 보호를 받으며, 고용·임금 및 근로조건에 있어서 부당한 차별을...</a>
  68. </h4>
  69. <div class="qna-date">2022-00-00</div>
  70. <div class="qna-status"><span class="ing">미답변</span></div>
  71. </div> -->
  72. </div>
  73. <!-- 페이지네이션 -->
  74. <div class="col-lg-12">
  75. <div class="bottom-paginate d-flex justify-content-end">
  76. {{ $oneToOnePage['Page']->appends(['limit' => request('limit'), 'sort' => request('sort')])->links() }}
  77. </div>
  78. </div>
  79. </div>
  80. </div>
  81. </div>
  82. </div>
  83. </section>
  84. <!--=====================================
  85. BLOG STANDARD PART END
  86. =======================================-->
  87. </div>
  88. @endsection