You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
594 lines
21 KiB
HTML
594 lines
21 KiB
HTML
<!-- Include this script tag or install `@tailwindplus/elements` via npm: -->
|
|
<!-- <script src="https://cdn.jsdelivr.net/npm/@tailwindplus/elements@1" type="module"></script> -->
|
|
<div class="flex h-full flex-col">
|
|
<header
|
|
class="flex flex-none items-center justify-between border-b border-gray-200 px-6 py-4"
|
|
>
|
|
<h1 class="text-base font-semibold text-gray-900">
|
|
<time datetime="2022-01">January 2022</time>
|
|
</h1>
|
|
<div class="flex items-center">
|
|
<div
|
|
class="relative flex items-center rounded-md bg-white shadow-xs md:items-stretch"
|
|
>
|
|
<button
|
|
type="button"
|
|
class="flex h-9 w-12 items-center justify-center rounded-l-md border-y border-l border-gray-300 pr-1 text-gray-400 hover:text-gray-500 focus:relative md:w-9 md:pr-0 md:hover:bg-gray-50"
|
|
>
|
|
<span class="sr-only">Previous week</span>
|
|
<svg
|
|
viewBox="0 0 20 20"
|
|
fill="currentColor"
|
|
data-slot="icon"
|
|
aria-hidden="true"
|
|
class="size-5"
|
|
>
|
|
<path
|
|
d="M11.78 5.22a.75.75 0 0 1 0 1.06L8.06 10l3.72 3.72a.75.75 0 1 1-1.06 1.06l-4.25-4.25a.75.75 0 0 1 0-1.06l4.25-4.25a.75.75 0 0 1 1.06 0Z"
|
|
clip-rule="evenodd"
|
|
fill-rule="evenodd"
|
|
/>
|
|
</svg>
|
|
</button>
|
|
<button
|
|
type="button"
|
|
class="hidden border-y border-gray-300 px-3.5 text-sm font-semibold text-gray-900 hover:bg-gray-50 focus:relative md:block"
|
|
>
|
|
Today
|
|
</button>
|
|
<span class="relative -mx-px h-5 w-px bg-gray-300 md:hidden"></span>
|
|
<button
|
|
type="button"
|
|
class="flex h-9 w-12 items-center justify-center rounded-r-md border-y border-r border-gray-300 pl-1 text-gray-400 hover:text-gray-500 focus:relative md:w-9 md:pl-0 md:hover:bg-gray-50"
|
|
>
|
|
<span class="sr-only">Next week</span>
|
|
<svg
|
|
viewBox="0 0 20 20"
|
|
fill="currentColor"
|
|
data-slot="icon"
|
|
aria-hidden="true"
|
|
class="size-5"
|
|
>
|
|
<path
|
|
d="M8.22 5.22a.75.75 0 0 1 1.06 0l4.25 4.25a.75.75 0 0 1 0 1.06l-4.25 4.25a.75.75 0 0 1-1.06-1.06L11.94 10 8.22 6.28a.75.75 0 0 1 0-1.06Z"
|
|
clip-rule="evenodd"
|
|
fill-rule="evenodd"
|
|
/>
|
|
</svg>
|
|
</button>
|
|
</div>
|
|
<div class="hidden md:ml-4 md:flex md:items-center">
|
|
<el-dropdown class="relative">
|
|
<button
|
|
type="button"
|
|
class="flex items-center gap-x-1.5 rounded-md bg-white px-3 py-2 text-sm font-semibold text-gray-900 shadow-xs ring-1 ring-gray-300 ring-inset hover:bg-gray-50"
|
|
>
|
|
Week view
|
|
<svg
|
|
viewBox="0 0 20 20"
|
|
fill="currentColor"
|
|
data-slot="icon"
|
|
aria-hidden="true"
|
|
class="-mr-1 size-5 text-gray-400"
|
|
>
|
|
<path
|
|
d="M5.22 8.22a.75.75 0 0 1 1.06 0L10 11.94l3.72-3.72a.75.75 0 1 1 1.06 1.06l-4.25 4.25a.75.75 0 0 1-1.06 0L5.22 9.28a.75.75 0 0 1 0-1.06Z"
|
|
clip-rule="evenodd"
|
|
fill-rule="evenodd"
|
|
/>
|
|
</svg>
|
|
</button>
|
|
|
|
<el-menu
|
|
anchor="bottom end"
|
|
popover
|
|
class="w-36 origin-top-right overflow-hidden rounded-md bg-white shadow-lg ring-1 ring-black/5 transition transition-discrete [--anchor-gap:--spacing(3)] focus:outline-hidden data-closed:scale-95 data-closed:transform data-closed:opacity-0 data-enter:duration-100 data-enter:ease-out data-leave:duration-75 data-leave:ease-in"
|
|
>
|
|
<div class="py-1">
|
|
<a
|
|
href="#"
|
|
class="block px-4 py-2 text-sm text-gray-700 focus:bg-gray-100 focus:text-gray-900 focus:outline-hidden"
|
|
>Day view</a
|
|
>
|
|
<a
|
|
href="#"
|
|
class="block px-4 py-2 text-sm text-gray-700 focus:bg-gray-100 focus:text-gray-900 focus:outline-hidden"
|
|
>Week view</a
|
|
>
|
|
<a
|
|
href="#"
|
|
class="block px-4 py-2 text-sm text-gray-700 focus:bg-gray-100 focus:text-gray-900 focus:outline-hidden"
|
|
>Month view</a
|
|
>
|
|
<a
|
|
href="#"
|
|
class="block px-4 py-2 text-sm text-gray-700 focus:bg-gray-100 focus:text-gray-900 focus:outline-hidden"
|
|
>Year view</a
|
|
>
|
|
</div>
|
|
</el-menu>
|
|
</el-dropdown>
|
|
<div class="ml-6 h-6 w-px bg-gray-300"></div>
|
|
<button
|
|
type="button"
|
|
class="ml-6 rounded-md bg-indigo-600 px-3 py-2 text-sm font-semibold text-white shadow-xs hover:bg-indigo-500 focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-indigo-500"
|
|
>
|
|
Add event
|
|
</button>
|
|
</div>
|
|
<div class="ml-6 md:hidden">
|
|
<el-dropdown class="relative">
|
|
<button
|
|
class="relative flex items-center rounded-full border border-transparent text-gray-400 outline-offset-8 hover:text-gray-500"
|
|
>
|
|
<span class="absolute -inset-2"></span>
|
|
<span class="sr-only">Open menu</span>
|
|
<svg
|
|
viewBox="0 0 20 20"
|
|
fill="currentColor"
|
|
data-slot="icon"
|
|
aria-hidden="true"
|
|
class="size-5"
|
|
>
|
|
<path
|
|
d="M3 10a1.5 1.5 0 1 1 3 0 1.5 1.5 0 0 1-3 0ZM8.5 10a1.5 1.5 0 1 1 3 0 1.5 1.5 0 0 1-3 0ZM15.5 8.5a1.5 1.5 0 1 0 0 3 1.5 1.5 0 0 0 0-3Z"
|
|
/>
|
|
</svg>
|
|
</button>
|
|
|
|
<el-menu
|
|
anchor="bottom end"
|
|
popover
|
|
class="w-36 origin-top-right divide-y divide-gray-100 overflow-hidden rounded-md bg-white shadow-lg ring-1 ring-black/5 transition transition-discrete [--anchor-gap:--spacing(3)] focus:outline-hidden data-closed:scale-95 data-closed:transform data-closed:opacity-0 data-enter:duration-100 data-enter:ease-out data-leave:duration-75 data-leave:ease-in"
|
|
>
|
|
<div class="py-1">
|
|
<a
|
|
href="#"
|
|
class="block px-4 py-2 text-sm text-gray-700 focus:bg-gray-100 focus:text-gray-900 focus:outline-hidden"
|
|
>Create event</a
|
|
>
|
|
</div>
|
|
<div class="py-1">
|
|
<a
|
|
href="#"
|
|
class="block px-4 py-2 text-sm text-gray-700 focus:bg-gray-100 focus:text-gray-900 focus:outline-hidden"
|
|
>Go to today</a
|
|
>
|
|
</div>
|
|
<div class="py-1">
|
|
<a
|
|
href="#"
|
|
class="block px-4 py-2 text-sm text-gray-700 focus:bg-gray-100 focus:text-gray-900 focus:outline-hidden"
|
|
>Day view</a
|
|
>
|
|
<a
|
|
href="#"
|
|
class="block px-4 py-2 text-sm text-gray-700 focus:bg-gray-100 focus:text-gray-900 focus:outline-hidden"
|
|
>Week view</a
|
|
>
|
|
<a
|
|
href="#"
|
|
class="block px-4 py-2 text-sm text-gray-700 focus:bg-gray-100 focus:text-gray-900 focus:outline-hidden"
|
|
>Month view</a
|
|
>
|
|
<a
|
|
href="#"
|
|
class="block px-4 py-2 text-sm text-gray-700 focus:bg-gray-100 focus:text-gray-900 focus:outline-hidden"
|
|
>Year view</a
|
|
>
|
|
</div>
|
|
</el-menu>
|
|
</el-dropdown>
|
|
</div>
|
|
</div>
|
|
</header>
|
|
<div class="isolate flex flex-auto flex-col overflow-auto bg-white">
|
|
<div
|
|
style="width: 165%"
|
|
class="flex max-w-full flex-none flex-col sm:max-w-none md:max-w-full"
|
|
>
|
|
<div
|
|
class="sticky top-0 z-30 flex-none bg-white shadow-sm ring-1 ring-black/5 sm:pr-8"
|
|
>
|
|
<div class="grid grid-cols-7 text-sm/6 text-gray-500 sm:hidden">
|
|
<button type="button" class="flex flex-col items-center pt-2 pb-3">
|
|
M
|
|
<span
|
|
class="mt-1 flex size-8 items-center justify-center font-semibold text-gray-900"
|
|
>10</span
|
|
>
|
|
</button>
|
|
<button type="button" class="flex flex-col items-center pt-2 pb-3">
|
|
T
|
|
<span
|
|
class="mt-1 flex size-8 items-center justify-center font-semibold text-gray-900"
|
|
>11</span
|
|
>
|
|
</button>
|
|
<button type="button" class="flex flex-col items-center pt-2 pb-3">
|
|
W
|
|
<span
|
|
class="mt-1 flex size-8 items-center justify-center rounded-full bg-indigo-600 font-semibold text-white"
|
|
>12</span
|
|
>
|
|
</button>
|
|
<button type="button" class="flex flex-col items-center pt-2 pb-3">
|
|
T
|
|
<span
|
|
class="mt-1 flex size-8 items-center justify-center font-semibold text-gray-900"
|
|
>13</span
|
|
>
|
|
</button>
|
|
<button type="button" class="flex flex-col items-center pt-2 pb-3">
|
|
F
|
|
<span
|
|
class="mt-1 flex size-8 items-center justify-center font-semibold text-gray-900"
|
|
>14</span
|
|
>
|
|
</button>
|
|
<button type="button" class="flex flex-col items-center pt-2 pb-3">
|
|
S
|
|
<span
|
|
class="mt-1 flex size-8 items-center justify-center font-semibold text-gray-900"
|
|
>15</span
|
|
>
|
|
</button>
|
|
<button type="button" class="flex flex-col items-center pt-2 pb-3">
|
|
S
|
|
<span
|
|
class="mt-1 flex size-8 items-center justify-center font-semibold text-gray-900"
|
|
>16</span
|
|
>
|
|
</button>
|
|
</div>
|
|
|
|
<div
|
|
class="-mr-px hidden grid-cols-7 divide-x divide-gray-100 border-r border-gray-100 text-sm/6 text-gray-500 sm:grid"
|
|
>
|
|
<div class="col-end-1 w-14"></div>
|
|
<div class="flex items-center justify-center py-3">
|
|
<span
|
|
>Mon
|
|
<span
|
|
class="items-center justify-center font-semibold text-gray-900"
|
|
>10</span
|
|
></span
|
|
>
|
|
</div>
|
|
<div class="flex items-center justify-center py-3">
|
|
<span
|
|
>Tue
|
|
<span
|
|
class="items-center justify-center font-semibold text-gray-900"
|
|
>11</span
|
|
></span
|
|
>
|
|
</div>
|
|
<div class="flex items-center justify-center py-3">
|
|
<span class="flex items-baseline"
|
|
>Wed
|
|
<span
|
|
class="ml-1.5 flex size-8 items-center justify-center rounded-full bg-indigo-600 font-semibold text-white"
|
|
>12</span
|
|
></span
|
|
>
|
|
</div>
|
|
<div class="flex items-center justify-center py-3">
|
|
<span
|
|
>Thu
|
|
<span
|
|
class="items-center justify-center font-semibold text-gray-900"
|
|
>13</span
|
|
></span
|
|
>
|
|
</div>
|
|
<div class="flex items-center justify-center py-3">
|
|
<span
|
|
>Fri
|
|
<span
|
|
class="items-center justify-center font-semibold text-gray-900"
|
|
>14</span
|
|
></span
|
|
>
|
|
</div>
|
|
<div class="flex items-center justify-center py-3">
|
|
<span
|
|
>Sat
|
|
<span
|
|
class="items-center justify-center font-semibold text-gray-900"
|
|
>15</span
|
|
></span
|
|
>
|
|
</div>
|
|
<div class="flex items-center justify-center py-3">
|
|
<span
|
|
>Sun
|
|
<span
|
|
class="items-center justify-center font-semibold text-gray-900"
|
|
>16</span
|
|
></span
|
|
>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="flex flex-auto">
|
|
<div
|
|
class="sticky left-0 z-10 w-14 flex-none bg-white ring-1 ring-gray-100"
|
|
></div>
|
|
<div class="grid flex-auto grid-cols-1 grid-rows-1">
|
|
<!-- Horizontal lines -->
|
|
<div
|
|
style="grid-template-rows: repeat(48, minmax(3.5rem, 1fr))"
|
|
class="col-start-1 col-end-2 row-start-1 grid divide-y divide-gray-100"
|
|
>
|
|
<div class="row-end-1 h-7"></div>
|
|
<div>
|
|
<div
|
|
class="sticky left-0 z-20 -mt-2.5 -ml-14 w-14 pr-2 text-right text-xs/5 text-gray-400"
|
|
>
|
|
12AM
|
|
</div>
|
|
</div>
|
|
<div></div>
|
|
<div>
|
|
<div
|
|
class="sticky left-0 z-20 -mt-2.5 -ml-14 w-14 pr-2 text-right text-xs/5 text-gray-400"
|
|
>
|
|
1AM
|
|
</div>
|
|
</div>
|
|
<div></div>
|
|
<div>
|
|
<div
|
|
class="sticky left-0 z-20 -mt-2.5 -ml-14 w-14 pr-2 text-right text-xs/5 text-gray-400"
|
|
>
|
|
2AM
|
|
</div>
|
|
</div>
|
|
<div></div>
|
|
<div>
|
|
<div
|
|
class="sticky left-0 z-20 -mt-2.5 -ml-14 w-14 pr-2 text-right text-xs/5 text-gray-400"
|
|
>
|
|
3AM
|
|
</div>
|
|
</div>
|
|
<div></div>
|
|
<div>
|
|
<div
|
|
class="sticky left-0 z-20 -mt-2.5 -ml-14 w-14 pr-2 text-right text-xs/5 text-gray-400"
|
|
>
|
|
4AM
|
|
</div>
|
|
</div>
|
|
<div></div>
|
|
<div>
|
|
<div
|
|
class="sticky left-0 z-20 -mt-2.5 -ml-14 w-14 pr-2 text-right text-xs/5 text-gray-400"
|
|
>
|
|
5AM
|
|
</div>
|
|
</div>
|
|
<div></div>
|
|
<div>
|
|
<div
|
|
class="sticky left-0 z-20 -mt-2.5 -ml-14 w-14 pr-2 text-right text-xs/5 text-gray-400"
|
|
>
|
|
6AM
|
|
</div>
|
|
</div>
|
|
<div></div>
|
|
<div>
|
|
<div
|
|
class="sticky left-0 z-20 -mt-2.5 -ml-14 w-14 pr-2 text-right text-xs/5 text-gray-400"
|
|
>
|
|
7AM
|
|
</div>
|
|
</div>
|
|
<div></div>
|
|
<div>
|
|
<div
|
|
class="sticky left-0 z-20 -mt-2.5 -ml-14 w-14 pr-2 text-right text-xs/5 text-gray-400"
|
|
>
|
|
8AM
|
|
</div>
|
|
</div>
|
|
<div></div>
|
|
<div>
|
|
<div
|
|
class="sticky left-0 z-20 -mt-2.5 -ml-14 w-14 pr-2 text-right text-xs/5 text-gray-400"
|
|
>
|
|
9AM
|
|
</div>
|
|
</div>
|
|
<div></div>
|
|
<div>
|
|
<div
|
|
class="sticky left-0 z-20 -mt-2.5 -ml-14 w-14 pr-2 text-right text-xs/5 text-gray-400"
|
|
>
|
|
10AM
|
|
</div>
|
|
</div>
|
|
<div></div>
|
|
<div>
|
|
<div
|
|
class="sticky left-0 z-20 -mt-2.5 -ml-14 w-14 pr-2 text-right text-xs/5 text-gray-400"
|
|
>
|
|
11AM
|
|
</div>
|
|
</div>
|
|
<div></div>
|
|
<div>
|
|
<div
|
|
class="sticky left-0 z-20 -mt-2.5 -ml-14 w-14 pr-2 text-right text-xs/5 text-gray-400"
|
|
>
|
|
12PM
|
|
</div>
|
|
</div>
|
|
<div></div>
|
|
<div>
|
|
<div
|
|
class="sticky left-0 z-20 -mt-2.5 -ml-14 w-14 pr-2 text-right text-xs/5 text-gray-400"
|
|
>
|
|
1PM
|
|
</div>
|
|
</div>
|
|
<div></div>
|
|
<div>
|
|
<div
|
|
class="sticky left-0 z-20 -mt-2.5 -ml-14 w-14 pr-2 text-right text-xs/5 text-gray-400"
|
|
>
|
|
2PM
|
|
</div>
|
|
</div>
|
|
<div></div>
|
|
<div>
|
|
<div
|
|
class="sticky left-0 z-20 -mt-2.5 -ml-14 w-14 pr-2 text-right text-xs/5 text-gray-400"
|
|
>
|
|
3PM
|
|
</div>
|
|
</div>
|
|
<div></div>
|
|
<div>
|
|
<div
|
|
class="sticky left-0 z-20 -mt-2.5 -ml-14 w-14 pr-2 text-right text-xs/5 text-gray-400"
|
|
>
|
|
4PM
|
|
</div>
|
|
</div>
|
|
<div></div>
|
|
<div>
|
|
<div
|
|
class="sticky left-0 z-20 -mt-2.5 -ml-14 w-14 pr-2 text-right text-xs/5 text-gray-400"
|
|
>
|
|
5PM
|
|
</div>
|
|
</div>
|
|
<div></div>
|
|
<div>
|
|
<div
|
|
class="sticky left-0 z-20 -mt-2.5 -ml-14 w-14 pr-2 text-right text-xs/5 text-gray-400"
|
|
>
|
|
6PM
|
|
</div>
|
|
</div>
|
|
<div></div>
|
|
<div>
|
|
<div
|
|
class="sticky left-0 z-20 -mt-2.5 -ml-14 w-14 pr-2 text-right text-xs/5 text-gray-400"
|
|
>
|
|
7PM
|
|
</div>
|
|
</div>
|
|
<div></div>
|
|
<div>
|
|
<div
|
|
class="sticky left-0 z-20 -mt-2.5 -ml-14 w-14 pr-2 text-right text-xs/5 text-gray-400"
|
|
>
|
|
8PM
|
|
</div>
|
|
</div>
|
|
<div></div>
|
|
<div>
|
|
<div
|
|
class="sticky left-0 z-20 -mt-2.5 -ml-14 w-14 pr-2 text-right text-xs/5 text-gray-400"
|
|
>
|
|
9PM
|
|
</div>
|
|
</div>
|
|
<div></div>
|
|
<div>
|
|
<div
|
|
class="sticky left-0 z-20 -mt-2.5 -ml-14 w-14 pr-2 text-right text-xs/5 text-gray-400"
|
|
>
|
|
10PM
|
|
</div>
|
|
</div>
|
|
<div></div>
|
|
<div>
|
|
<div
|
|
class="sticky left-0 z-20 -mt-2.5 -ml-14 w-14 pr-2 text-right text-xs/5 text-gray-400"
|
|
>
|
|
11PM
|
|
</div>
|
|
</div>
|
|
<div></div>
|
|
</div>
|
|
|
|
<!-- Vertical lines -->
|
|
<div
|
|
class="col-start-1 col-end-2 row-start-1 hidden grid-cols-7 grid-rows-1 divide-x divide-gray-100 sm:grid sm:grid-cols-7"
|
|
>
|
|
<div class="col-start-1 row-span-full"></div>
|
|
<div class="col-start-2 row-span-full"></div>
|
|
<div class="col-start-3 row-span-full"></div>
|
|
<div class="col-start-4 row-span-full"></div>
|
|
<div class="col-start-5 row-span-full"></div>
|
|
<div class="col-start-6 row-span-full"></div>
|
|
<div class="col-start-7 row-span-full"></div>
|
|
<div class="col-start-8 row-span-full w-8"></div>
|
|
</div>
|
|
|
|
<!-- Events -->
|
|
<ol
|
|
style="
|
|
grid-template-rows:
|
|
1.75rem repeat(288, minmax(0, 1fr))
|
|
auto;
|
|
"
|
|
class="col-start-1 col-end-2 row-start-1 grid grid-cols-1 sm:grid-cols-7 sm:pr-8"
|
|
>
|
|
<li
|
|
style="grid-row: 74 / span 12"
|
|
class="relative mt-px flex sm:col-start-3"
|
|
>
|
|
<a
|
|
href="#"
|
|
class="group absolute inset-1 flex flex-col overflow-y-auto rounded-lg bg-blue-50 p-2 text-xs/5 hover:bg-blue-100"
|
|
>
|
|
<p class="order-1 font-semibold text-blue-700">Breakfast</p>
|
|
<p class="text-blue-500 group-hover:text-blue-700">
|
|
<time datetime="2022-01-12T06:00">6:00 AM</time>
|
|
</p>
|
|
</a>
|
|
</li>
|
|
<li
|
|
style="grid-row: 92 / span 30"
|
|
class="relative mt-px flex sm:col-start-3"
|
|
>
|
|
<a
|
|
href="#"
|
|
class="group absolute inset-1 flex flex-col overflow-y-auto rounded-lg bg-pink-50 p-2 text-xs/5 hover:bg-pink-100"
|
|
>
|
|
<p class="order-1 font-semibold text-pink-700">
|
|
Flight to Paris
|
|
</p>
|
|
<p class="text-pink-500 group-hover:text-pink-700">
|
|
<time datetime="2022-01-12T07:30">7:30 AM</time>
|
|
</p>
|
|
</a>
|
|
</li>
|
|
<li
|
|
style="grid-row: 122 / span 24"
|
|
class="relative mt-px hidden sm:col-start-6 sm:flex"
|
|
>
|
|
<a
|
|
href="#"
|
|
class="group absolute inset-1 flex flex-col overflow-y-auto rounded-lg bg-gray-100 p-2 text-xs/5 hover:bg-gray-200"
|
|
>
|
|
<p class="order-1 font-semibold text-gray-700">
|
|
Meeting with design team at Disney
|
|
</p>
|
|
<p class="text-gray-500 group-hover:text-gray-700">
|
|
<time datetime="2022-01-15T10:00">10:00 AM</time>
|
|
</p>
|
|
</a>
|
|
</li>
|
|
</ol>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|