Advertisement
vitareinforce

jadwal widget

Sep 9th, 2020
391
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.05 KB | None | 0 0
  1. @extends('layouts.master')
  2.  
  3. @section('css')
  4. <style>
  5. * {
  6. font-size: 100%;
  7. }
  8. *:before,
  9. *:after {
  10. box-sizing: border-box;
  11. }
  12. body {
  13. margin: 0.5em;
  14. }
  15. table {
  16. border-collapse: collapse;
  17. border-spacing: 0;
  18. width: 100%;
  19. height: 100%;
  20. min-width: 800px;
  21. }
  22. @media (max-width: 800px) {
  23. table .time {
  24. display: none;
  25. }
  26. }
  27. summary {
  28. padding-bottom: 0.25em;
  29. font-size: 1.5em;
  30. font-weight: 100;
  31. text-align: right;
  32. }
  33. tr {
  34. position: relative;
  35. }
  36. th {
  37. text-align: right;
  38. color: #999;
  39. font-weight: normal;
  40. font-size: 0.85em;
  41. }
  42. td {
  43. width: 14.285714286%;
  44. }
  45. .date {
  46. text-align: right;
  47. display: block;
  48. height: 0;
  49. font-size: 0.8em;
  50. padding: 0.25em;
  51. padding-bottom: 73%;
  52. position: relative;
  53. border-bottom: 1px solid #dedbdb;
  54. margin-left: 0.25em;
  55. margin-right: 0.25em;
  56. }
  57. tr:first-child:not(.current-week) .date {
  58. border-top: 1px solid #dedbdb;
  59. }
  60. .date ul,
  61. .date li {
  62. margin: 0;
  63. padding: 0;
  64. list-style: none;
  65. color: #333;
  66. }
  67. .date ul {
  68. text-align: left;
  69. font-size: 0.9em;
  70. width: 100%;
  71. overflow: hidden;
  72. position: absolute;
  73. font-weight: normal;
  74. }
  75. .date li {
  76. color: #222;
  77. width: 100%;
  78. height: 1.4em;
  79. overflow: hidden;
  80. white-space: nowrap;
  81. text-overflow: ellipsis;
  82. position: relative;
  83. }
  84. .date li:before {
  85. content: '\2022';
  86. color: inherit;
  87. display: inline-block;
  88. padding-right: 0.25em;
  89. }
  90. .time {
  91. float: right;
  92. text-align: right;
  93. color: #999;
  94. }
  95. .event {
  96. color: #333;
  97. }
  98. .previous-week .date {
  99. border: none;
  100. }
  101. .current-week {
  102. border-top: 4px solid #fed6d7;
  103. }
  104. .current-day {
  105. background: #fed6d7;
  106. border-top: 4px solid #cb6c6b;
  107. }
  108. .current-day .date {
  109. font-weight: bold;
  110. color: #cb6c6b;
  111. }
  112. .weekend {
  113. background-clop: padding-box;
  114. background: #f5f5f5;
  115. }
  116. .date .different-calendar {
  117. color: #00c800;
  118. }
  119.  
  120. </style>
  121. @endsection
  122.  
  123. @section('title')
  124. Daftar Jadwal
  125. @endsection
  126.  
  127. @section('content')
  128. <div>
  129. <table>
  130. <summary><strong>February</strong> 2014</summary>
  131. <thead>
  132. <tr>
  133. <th>Mon</th>
  134. <th>Tue</th>
  135. <th>Wed</th>
  136. <th>Thu</th>
  137. <th>Fri</th>
  138. <th>Sat</th>
  139. <th>Sun</th>
  140. </tr>
  141. </thead>
  142. <tr>
  143. <td>
  144. <span class="date">
  145. 27
  146. <ul>
  147. <li>
  148. <span class="event">Bus Stop</span>
  149. <span class="time">4 pm</span>
  150. </li>
  151. </ul>
  152. </span>
  153. </td>
  154. <td>
  155. <span class="date">28</span>
  156. </td>
  157. <td>
  158. <span class="date">29</span>
  159. </td>
  160. <td>
  161. <span class="date">30</span>
  162. </td>
  163. <td>
  164. <span class="date">31</span>
  165. </td>
  166. <td class="weekend">
  167. <span class="date">February 1</span>
  168. </td>
  169. <td class="weekend">
  170. <span class="date">
  171. 2
  172. <ul>
  173. <li>
  174. <span class="event">Super Bowl</span>
  175. <span class="time">6:30 pm</span>
  176. </li>
  177. </ul>
  178. </span>
  179. </td>
  180. </tr>
  181. <tr class="previous-week">
  182. <td>
  183. <span class="date">3</span>
  184. </td>
  185. <td>
  186. <span class="date">4</span>
  187. </td>
  188. <td>
  189. <span class="date">5</span>
  190. </td>
  191. <td>
  192. <span class="date">6</span>
  193. </td>
  194. <td>
  195. <span class="date">7</span>
  196. </td>
  197. <td class="weekend">
  198. <span class="date">8</span>
  199. </td>
  200. <td class="weekend">
  201. <span class="date">9</span>
  202. </td>
  203. </tr>
  204. <tr class="current-week">
  205. <td>
  206. <span class="date">10</span>
  207. </td>
  208. <td>
  209. <span class="date">11</span>
  210. </td>
  211. <td>
  212. <span class="date">12</span>
  213. </td>
  214. <td>
  215. <span class="date">13</span>
  216. </td>
  217. <td class="current-day">
  218. <span class="date">
  219. 14
  220. <ul>
  221. <li class="different-calendar"><span class="event">Valentines Day</span></li>
  222. </ul>
  223. </span>
  224. </td>
  225. <td class="weekend">
  226. <span class="date">15</span>
  227. </td>
  228. <td class="weekend">
  229. <span class="date">16</span>
  230. </td>
  231. </tr>
  232. <tr>
  233. <td>
  234. <span class="date">17</span>
  235. </td>
  236. <td>
  237. <span class="date">18</span>
  238. </td>
  239. <td>
  240. <span class="date">19</span>
  241. </td>
  242. <td>
  243. <span class="date">20</span>
  244. </td>
  245. <td>
  246. <span class="date">21</span>
  247. </td>
  248. <td class="weekend">
  249. <span class="date">22</span>
  250. </td>
  251. <td class="weekend">
  252. <span class="date">23</span>
  253. </td>
  254. </tr>
  255. <tr>
  256. <td>
  257. <span class="date">24</span>
  258. </td>
  259. <td>
  260. <span class="date">
  261. 25
  262. <ul>
  263. <li class="different-calendar">
  264. <span class="event">Breakfast with Joe Smchoe The Baker Man</span>
  265. <span class="time">10 am</span>
  266. </li>
  267. <li>
  268. <span class="event">Code Review</span>
  269. <span class="time">Noon</span>
  270. </li>
  271. <li>
  272. <span class="event">Project X Kickoff</span>
  273. <span class="time">5 pm</span>
  274. </li>
  275. </ul>
  276. </span>
  277. </td>
  278. <td>
  279. <span class="date">26</span>
  280. </td>
  281. <td>
  282. <span class="date">27</span>
  283. </td>
  284. <td>
  285. <span class="date">28</span>
  286. </td>
  287. <td class="weekend">
  288. <span class="date">March 1</span>
  289. </td>
  290. <td class="weekend">
  291. <span class="date">2</span>
  292. </td>
  293. </tr>
  294. </table>
  295. </div>
  296. @endsection
  297.  
  298. @section('js')
  299. <script>
  300. // Script Javascript Disini
  301. </script>
  302. @endsection
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement