course_list.blade.php 5.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172
  1. <div class="col card--ui" id="card--dashboard">
  2. <header id="title--section" class="d-flex align-items-center justify-content-between">
  3. <div class="title--section_name d-flex align-items-center justify-content-between">
  4. <i class="ico--ui title_section utenti me-2"></i>
  5. <h2 class="primary">Pagamento corsi</h2>
  6. </div>
  7. </header>
  8. <section id="subheader" class="d-flex align-items-center ">
  9. <form action="" class="group--action d-flex align-items-center">
  10. <select class="form-select form-select-lg me-1" wire:model='courseId'>
  11. @foreach($courses as $c)
  12. <option value="{{$c->id}}">{{$c->name}}
  13. @endforeach
  14. </select>
  15. </form>
  16. </section>
  17. <section id="resume-table">
  18. <div class="compare--chart_wrapper d-none"></div>
  19. <table class="table tablesaw tablesaw-stack" id="tablesaw-350">
  20. <thead>
  21. <tr>
  22. <th scope="col"></th>
  23. @foreach($months as $m)
  24. <th scope="col">&nbsp;&nbsp;&nbsp;&nbsp;{{$m}}</th>
  25. @endforeach
  26. </tr>
  27. </thead>
  28. <tbody id="checkall-target">
  29. @foreach($records as $record)
  30. <tr>
  31. @php
  32. list($id, $name) = explode("§", $record[0]);
  33. @endphp
  34. <td><a href="/members?member_detail={{$id}}">{{$name}}</a></td>
  35. @for($x=1; $x<=12; $x++)
  36. <td><a class="{{$record[$x]}}">&nbsp;</a></td>
  37. @endfor
  38. </tr>
  39. @endforeach
  40. </tbody>
  41. </table>
  42. </section>
  43. </div>
  44. @push('scripts')
  45. <style>
  46. a.grey
  47. {
  48. display: flex;
  49. margin-right:10px;
  50. float:left;
  51. height: 2.5rem !important;
  52. width:50px;
  53. align-items: center;
  54. justify-content: center;
  55. color: #006099;
  56. background-color: #d3dce1 !important;
  57. padding: 0 1.25rem;
  58. font-size: 0.875rem;
  59. font-family: greycliff-cf, sans-serif;
  60. border-radius: 1.875rem !important;
  61. -webkit-border-radius: 1.875rem !important;
  62. -moz-border-radius: 1.875rem !important;
  63. -webkit-transition: all 0.3s ease-in-out;
  64. -moz-transition: all 0.3s ease-in-out;
  65. -o-transition: all 0.3s ease-in-out;
  66. transition: all 0.3s ease-in-out;
  67. border: none;
  68. }
  69. a.blue
  70. {
  71. display: flex;
  72. margin-right:10px;
  73. float:left;
  74. height: 2.5rem !important;
  75. width:50px;
  76. align-items: center;
  77. justify-content: center;
  78. color: #fff;
  79. background-color: #006099 !important;
  80. padding: 0 1.25rem;
  81. font-size: 0.875rem;
  82. font-family: greycliff-cf, sans-serif;
  83. border-radius: 1.875rem !important;
  84. -webkit-border-radius: 1.875rem !important;
  85. -moz-border-radius: 1.875rem !important;
  86. -webkit-transition: all 0.3s ease-in-out;
  87. -moz-transition: all 0.3s ease-in-out;
  88. -o-transition: all 0.3s ease-in-out;
  89. transition: all 0.3s ease-in-out;
  90. border: none;
  91. }
  92. a.yellow
  93. {
  94. display: flex;
  95. margin-right:10px;
  96. float:left;
  97. height: 2.5rem !important;
  98. width:50px;
  99. align-items: center;
  100. justify-content: center;
  101. color: #fff;
  102. background-color: #ffe238;
  103. padding: 0 1.25rem;
  104. font-size: 0.875rem;
  105. font-family: greycliff-cf, sans-serif;
  106. border-radius: 1.875rem !important;
  107. -webkit-border-radius: 1.875rem !important;
  108. -moz-border-radius: 1.875rem !important;
  109. -webkit-transition: all 0.3s ease-in-out;
  110. -moz-transition: all 0.3s ease-in-out;
  111. -o-transition: all 0.3s ease-in-out;
  112. transition: all 0.3s ease-in-out;
  113. border: none;
  114. }
  115. a.orange
  116. {
  117. display: flex;
  118. margin-right:10px;
  119. float:left;
  120. height: 2.5rem !important;
  121. width:50px;
  122. align-items: center;
  123. justify-content: center;
  124. color: #fff;
  125. background-color: #FF7E38;
  126. padding: 0 1.25rem;
  127. font-size: 0.875rem;
  128. font-family: greycliff-cf, sans-serif;
  129. border-radius: 1.875rem !important;
  130. -webkit-border-radius: 1.875rem !important;
  131. -moz-border-radius: 1.875rem !important;
  132. -webkit-transition: all 0.3s ease-in-out;
  133. -moz-transition: all 0.3s ease-in-out;
  134. -o-transition: all 0.3s ease-in-out;
  135. transition: all 0.3s ease-in-out;
  136. border: none;
  137. }
  138. a.green
  139. {
  140. display: flex;
  141. margin-right:10px;
  142. float:left;
  143. height: 2.5rem !important;
  144. width:50px;
  145. align-items: center;
  146. justify-content: center;
  147. color: #fff;
  148. background-color: green;
  149. padding: 0 1.25rem;
  150. font-size: 0.875rem;
  151. font-family: greycliff-cf, sans-serif;
  152. border-radius: 1.875rem !important;
  153. -webkit-border-radius: 1.875rem !important;
  154. -moz-border-radius: 1.875rem !important;
  155. -webkit-transition: all 0.3s ease-in-out;
  156. -moz-transition: all 0.3s ease-in-out;
  157. -o-transition: all 0.3s ease-in-out;
  158. transition: all 0.3s ease-in-out;
  159. border: none;
  160. }
  161. </style>
  162. @endpush