스케줄러 edit view 반응형 디테일 수정
This commit is contained in:
@@ -6,9 +6,9 @@
|
||||
<% end %>
|
||||
</div>
|
||||
|
||||
<div data-timer-target="output" class="hidden md:block"></div>
|
||||
<div data-timer-target="output" class="hidden lg:block"></div>
|
||||
|
||||
<button data-action="click->sidebar#toggle" class="block md:hidden p-2 cursor-pointer">
|
||||
<button data-action="click->sidebar#toggle" class="block lg:hidden p-2 cursor-pointer">
|
||||
<i class="fa-solid fa-bars text-2xl"></i>
|
||||
</button>
|
||||
</header>
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<%= turbo_frame_tag :modals do %>
|
||||
<div class="relative z-40" aria-labelledby="modal-title" role="dialog" aria-modal="true">
|
||||
<div class="relative z-50" aria-labelledby="modal-title" role="dialog" aria-modal="true">
|
||||
<!--
|
||||
Background backdrop, show/hide based on modal state.
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
-->
|
||||
<div id="modals-backdrop" class="fixed inset-0 bg-base-background transition-opacity opacity-0 ease-out duration-500" aria-hidden="true"></div>
|
||||
|
||||
<div class="fixed inset-0 z-40 w-screen overflow-y-auto py-4">
|
||||
<div class="fixed inset-0 z-50 w-screen overflow-y-auto py-4">
|
||||
<div class="flex min-h-full items-center justify-center text-center sm:items-center">
|
||||
<!--
|
||||
Modal panel, show/hide based on modal state.
|
||||
@@ -24,7 +24,7 @@
|
||||
From: "opacity-100 translate-y-0 sm:scale-100"
|
||||
To: "opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95"
|
||||
-->
|
||||
<div id="modals-panel" class="p-4 space-y-4 z-40 relative transform overflow-hidden rounded-md bg-base-secondary text-left shadow-xl transition-all w-full max-w-full mx-2 sm:mx-10 opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95 ease-out duration-500" data-controller="modals" data-action="modals:click:outside->modals#close">
|
||||
<div id="modals-panel" class="p-4 space-y-4 z-50 relative transform overflow-hidden rounded-md bg-base-secondary text-left shadow-xl transition-all w-full max-w-full mx-2 sm:mx-10 opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95 ease-out duration-500" data-controller="modals" data-action="modals:click:outside->modals#close">
|
||||
<div>
|
||||
<%= render "partials/modals/#{type}" %>
|
||||
</div>
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<div data-sidebar-target="overlay" data-action="click->sidebar#close" class="fixed inset-0 bg-black/50 z-40 hidden md:hidden"></div>
|
||||
<nav class="side-bar overflow-y-auto transition-transform md:translate-x-0 -translate-x-full fixed md:relative top-0 left-0 h-full bg-base-background z-50" data-sidebar-target="menu">
|
||||
<div data-sidebar-target="overlay" data-action="click->sidebar#close" class="fixed inset-0 bg-black/50 z-40 hidden lg:hidden"></div>
|
||||
<nav class="side-bar overflow-y-auto transition-transform lg:translate-x-0 -translate-x-full fixed lg:relative top-0 left-0 h-full bg-base-background z-40" data-sidebar-target="menu">
|
||||
<div class="menu-group">
|
||||
<div class="menu-group-icon">
|
||||
<i class="fa-solid fa-house text-base-text/30 text-4xl"></i>
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
<tr>
|
||||
<th>시간</th>
|
||||
<th>분</th>
|
||||
<th>사용여부</th>
|
||||
<th>ON/OFF</th>
|
||||
<th>온도</th>
|
||||
</tr>
|
||||
</thead>
|
||||
@@ -17,7 +17,7 @@
|
||||
<%= form.select :hour,
|
||||
options_for_select((0..23).map { |h| [h.to_s.rjust(2, '0'), h] }, @schedule.hour),
|
||||
{},
|
||||
class: "input-style" %>
|
||||
class: "select-style text-white" %>
|
||||
</td>
|
||||
<td>
|
||||
<%= form.number_field :minute,
|
||||
|
||||
Reference in New Issue
Block a user