Files
old-zsterminator/app/views/layouts/calendar.html.erb

63 lines
1.6 KiB
Plaintext
Raw Normal View History

2024-08-11 14:18:36 +02:00
<!DOCTYPE html>
<html>
<head>
<title>Terminator</title>
2025-05-28 17:23:07 +02:00
<link rel="manifest" crossorigin="use-credentials" href="/manifest.json" />
2024-08-11 14:18:36 +02:00
<meta name="viewport" content="width=device-width,initial-scale=1">
<%= csrf_meta_tags %>
<%= csp_meta_tag %>
<link rel="stylesheet" href="https://uicdn.toast.com/calendar/latest/toastui-calendar.min.css" />
<script src="https://uicdn.toast.com/calendar/latest/toastui-calendar.min.js"></script>
2025-02-17 19:12:40 +01:00
<link rel="stylesheet" href="https://rsms.me/inter/inter.css">
<%= stylesheet_link_tag "tailwind", "data-turbo-track": "reload" %>
2024-08-11 14:18:36 +02:00
<%= javascript_importmap_tags %>
2025-02-27 07:45:54 +01:00
<style>
html, body {
margin: 0;
padding: 0;
height: 100vh;
width: 100vw;
overflow: hidden;
}
body.calendar {
height: 100vh;
width: 100vw;
overflow: hidden;
}
body.calendar main {
height: 100vh;
width: 100vw;
margin: 0;
padding: 0;
}
.w-full, .min-w-full, div[data-controller="main-calendar"] {
height: 100vh;
width: 100vw;
margin: 0;
padding: 0;
}
#main-calendar {
height: 100vh;
width: 100vw;
}
.flex.justify-between.items-center {
position: absolute;
top: 10px;
left: 10px;
z-index: 1000;
background: rgba(255,255,255,0.8);
padding: 5px;
border-radius: 5px;
}
</style>
2024-08-11 14:18:36 +02:00
</head>
2024-09-07 09:10:51 +02:00
<body class="calendar">
2025-02-27 07:45:54 +01:00
<main>
2024-08-11 14:18:36 +02:00
<%= yield %>
</main>
</body>
</html>
want