parcoursmob/themes/default/web/layouts/vehicles_management/_partials/calendar.html

259 lines
11 KiB
HTML

{{define "calendar"}}
<div class="flex items-center">
<h2 class="flex-auto font-semibold text-gray-900">Août 2022</h2>
<button type="button"
class="-my-1.5 flex flex-none items-center justify-center p-1.5 text-gray-400 hover:text-gray-500">
<span class="sr-only">Mois précédent</span>
<!-- Heroicon name: solid/chevron-left -->
<svg class="h-5 w-5" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="currentColor"
aria-hidden="true">
<path fill-rule="evenodd"
d="M12.707 5.293a1 1 0 010 1.414L9.414 10l3.293 3.293a1 1 0 01-1.414 1.414l-4-4a1 1 0 010-1.414l4-4a1 1 0 011.414 0z"
clip-rule="evenodd" />
</svg>
</button>
<button type="button"
class="-my-1.5 -mr-1.5 ml-2 flex flex-none items-center justify-center p-1.5 text-gray-400 hover:text-gray-500">
<span class="sr-only">Mois suivant</span>
<!-- Heroicon name: solid/chevron-right -->
<svg class="h-5 w-5" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="currentColor"
aria-hidden="true">
<path fill-rule="evenodd"
d="M7.293 14.707a1 1 0 010-1.414L10.586 10 7.293 6.707a1 1 0 011.414-1.414l4 4a1 1 0 010 1.414l-4 4a1 1 0 01-1.414 0z"
clip-rule="evenodd" />
</svg>
</button>
</div>
<div class="mt-10 grid grid-cols-7 text-center text-xs leading-6 text-gray-500">
<div>L</div>
<div>M</div>
<div>M</div>
<div>J</div>
<div>V</div>
<div>S</div>
<div>D</div>
</div>
<div class="mt-2 grid grid-cols-7 text-sm">
<div class="py-2">
<!--
Always include: "mx-auto flex h-8 w-8 items-center justify-center rounded-full"
Is selected, include: "text-white"
Is not selected and is today, include: "text-indigo-600"
Is not selected and is not today and is current month, include: "text-gray-900"
Is not selected and is not today and is not current month, include: "text-gray-400"
Is selected and is today, include: "bg-indigo-600"
Is selected and is not today, include: "bg-gray-900"
Is not selected, include: "hover:bg-gray-200"
Is selected or is today, include: "font-semibold"
-->
<button type="button"
class="mx-auto flex h-8 w-8 items-center justify-center rounded-full text-gray-900 hover:bg-gray-200">
<time datetime="2022-08-01">1</time>
</button>
</div>
<div class="py-2">
<button type="button"
class="mx-auto flex h-8 w-8 items-center justify-center rounded-full text-gray-900 hover:bg-gray-200">
<time datetime="2022-08-02">2</time>
</button>
</div>
<div class="py-2">
<button type="button"
class="mx-auto flex h-8 w-8 items-center justify-center rounded-full text-gray-900 hover:bg-gray-200">
<time datetime="2022-08-03">3</time>
</button>
</div>
<div class="py-2">
<button type="button"
class="mx-auto flex h-8 w-8 items-center justify-center rounded-full text-gray-900 hover:bg-gray-200">
<time datetime="2022-08-04">4</time>
</button>
</div>
<div class="py-2">
<button type="button"
class="mx-auto flex h-8 w-8 items-center justify-center rounded-full text-gray-900 hover:bg-gray-200">
<time datetime="2022-08-05">5</time>
</button>
</div>
<div class="py-2">
<button type="button"
class="mx-auto flex h-8 w-8 items-center justify-center rounded-full text-gray-900 hover:bg-gray-200">
<time datetime="2022-08-06">6</time>
</button>
</div>
<div class="py-2">
<button type="button"
class="mx-auto flex h-8 w-8 items-center justify-center rounded-full text-gray-900 hover:bg-gray-200">
<time datetime="2022-08-07">7</time>
</button>
</div>
<div class="border-t border-gray-200 py-2">
<button type="button"
class="mx-auto flex h-8 w-8 items-center justify-center rounded-full text-gray-900 hover:bg-gray-200">
<time datetime="2022-08-08">8</time>
</button>
</div>
<div class="border-t border-gray-200 py-2">
<button type="button"
class="mx-auto flex h-8 w-8 items-center justify-center rounded-full text-gray-900 hover:bg-gray-200">
<time datetime="2022-08-09">9</time>
</button>
</div>
<div class="border-t border-gray-200 py-2">
<button type="button"
class="mx-auto flex h-8 w-8 items-center justify-center rounded-full text-gray-900 hover:bg-gray-200">
<time datetime="2022-08-10">10</time>
</button>
</div>
<div class="border-t border-gray-200 py-2">
<button type="button"
class="mx-auto flex h-8 w-8 items-center justify-center rounded-full text-gray-900 hover:bg-gray-200">
<time datetime="2022-08-11">11</time>
</button>
</div>
<div class="border-t border-gray-200 py-2">
<button type="button"
class="mx-auto flex h-8 w-8 items-center justify-center rounded-full bg-gray-900 font-semibold text-white">
<time datetime="2022-08-12">12</time>
</button>
</div>
<div class="border-t border-gray-200 py-2">
<button type="button"
class="mx-auto flex h-8 w-8 items-center justify-center rounded-full text-gray-900 hover:bg-gray-200">
<time datetime="2022-08-13">13</time>
</button>
</div>
<div class="border-t border-gray-200 py-2">
<button type="button"
class="mx-auto flex h-8 w-8 items-center justify-center rounded-full text-gray-900 hover:bg-gray-200">
<time datetime="2022-08-14">14</time>
</button>
</div>
<div class="border-t border-gray-200 py-2">
<button type="button"
class="mx-auto flex h-8 w-8 items-center justify-center rounded-full text-gray-900 hover:bg-gray-200">
<time datetime="2022-08-15">15</time>
</button>
</div>
<div class="border-t border-gray-200 py-2">
<button type="button"
class="mx-auto flex h-8 w-8 items-center justify-center rounded-full text-gray-900 hover:bg-gray-200">
<time datetime="2022-08-16">16</time>
</button>
</div>
<div class="border-t border-gray-200 py-2">
<button type="button"
class="mx-auto flex h-8 w-8 items-center justify-center rounded-full text-gray-900 hover:bg-gray-200">
<time datetime="2022-08-17">17</time>
</button>
</div>
<div class="border-t border-gray-200 py-2">
<button type="button"
class="mx-auto flex h-8 w-8 items-center justify-center rounded-full text-gray-900 hover:bg-gray-200">
<time datetime="2022-08-18">18</time>
</button>
</div>
<div class="border-t border-gray-200 py-2">
<button type="button"
class="mx-auto flex h-8 w-8 items-center justify-center rounded-full text-gray-900 hover:bg-gray-200">
<time datetime="2022-08-19">19</time>
</button>
</div>
<div class="border-t border-gray-200 py-2">
<button type="button"
class="mx-auto flex h-8 w-8 items-center justify-center rounded-full text-gray-900 hover:bg-gray-200">
<time datetime="2022-08-20">20</time>
</button>
</div>
<div class="border-t border-gray-200 py-2">
<button type="button"
class="mx-auto flex h-8 w-8 items-center justify-center rounded-full text-gray-900 hover:bg-gray-200">
<time datetime="2022-08-21">21</time>
</button>
</div>
<div class="border-t border-gray-200 py-2">
<button type="button"
class="mx-auto flex h-8 w-8 items-center justify-center rounded-full text-gray-900 hover:bg-gray-200">
<time datetime="2022-08-22">22</time>
</button>
</div>
<div class="border-t border-gray-200 py-2">
<button type="button"
class="mx-auto flex h-8 w-8 items-center justify-center rounded-full text-gray-900 hover:bg-gray-200">
<time datetime="2022-08-23">23</time>
</button>
</div>
<div class="border-t border-gray-200 py-2">
<button type="button"
class="mx-auto flex h-8 w-8 items-center justify-center rounded-full text-gray-900 hover:bg-gray-200">
<time datetime="2022-08-24">24</time>
</button>
</div>
<div class="border-t border-gray-200 py-2">
<button type="button"
class="mx-auto flex h-8 w-8 items-center justify-center rounded-full text-gray-900 hover:bg-gray-200">
<time datetime="2022-08-25">25</time>
</button>
</div>
<div class="border-t border-gray-200 py-2">
<button type="button"
class="mx-auto flex h-8 w-8 items-center justify-center rounded-full text-gray-900 hover:bg-gray-200">
<time datetime="2022-08-26">26</time>
</button>
</div>
<div class="border-t border-gray-200 py-2">
<button type="button"
class="mx-auto flex h-8 w-8 items-center justify-center rounded-full text-gray-900 hover:bg-gray-200">
<time datetime="2022-08-27">27</time>
</button>
</div>
<div class="border-t border-gray-200 py-2">
<button type="button"
class="mx-auto flex h-8 w-8 items-center justify-center rounded-full text-gray-900 hover:bg-gray-200">
<time datetime="2022-08-28">28</time>
</button>
</div>
<div class="border-t border-gray-200 py-2">
<button type="button"
class="mx-auto flex h-8 w-8 items-center justify-center rounded-full text-gray-900 hover:bg-gray-200">
<time datetime="2022-08-29">29</time>
</button>
</div>
<div class="border-t border-gray-200 py-2">
<button type="button"
class="mx-auto flex h-8 w-8 items-center justify-center rounded-full text-gray-900 hover:bg-gray-200">
<time datetime="2022-08-30">30</time>
</button>
</div>
<div class="border-t border-gray-200 py-2">
<button type="button"
class="mx-auto flex h-8 w-8 items-center justify-center rounded-full text-gray-900 hover:bg-gray-200">
<time datetime="2022-08-31">31</time>
</button>
</div>
<div class="border-t border-gray-200 py-2">
<button type="button"
class="mx-auto flex h-8 w-8 items-center justify-center rounded-full text-gray-400 hover:bg-gray-200">
<time datetime="2022-09-01">1</time>
</button>
</div>
<div class="border-t border-gray-200 py-2">
<button type="button"
class="mx-auto flex h-8 w-8 items-center justify-center rounded-full text-gray-400 hover:bg-gray-200">
<time datetime="2022-09-02">2</time>
</button>
</div>
<div class="border-t border-gray-200 py-2">
<button type="button"
class="mx-auto flex h-8 w-8 items-center justify-center rounded-full text-gray-400 hover:bg-gray-200">
<time datetime="2022-09-03">3</time>
</button>
</div>
<div class="border-t border-gray-200 py-2">
<button type="button"
class="mx-auto flex h-8 w-8 items-center justify-center rounded-full text-gray-400 hover:bg-gray-200">
<time datetime="2022-09-04">4</time>
</button>
</div>
</div>
{{end}}