1to1-list.blade.php 3.3 KB

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