Compare commits
No commits in common. "8041453c5ec0b4c7838d8a76a88e5a3c1ed222be" and "09068d9f707f44bd21be7069d190f1501fd249f7" have entirely different histories.
8041453c5e
...
09068d9f70
|
|
@ -23,11 +23,11 @@
|
|||
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.7.2/css/all.min.css">
|
||||
</head>
|
||||
|
||||
<body class="h-screen">
|
||||
<body class="h-screen overflow-hidden">
|
||||
<main class="flex flex-col h-full divide-y divide-border-table-border">
|
||||
<%= render "partials/header" %>
|
||||
<div class="flex flex-row flex-1 w-full divide-x divide-border-table-border">
|
||||
<%#= render "partials/sidebar" %>
|
||||
<div class="flex flex-row flex-1 w-full divide-x divide-border-table-border overflow-hidden">
|
||||
<%= render "partials/sidebar" %>
|
||||
<div class="w-full h-full">
|
||||
<%= yield %>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -1,14 +1,14 @@
|
|||
<% if flash[:notice] %>
|
||||
<div class="m-4 rounded px-4 py-2 bg-accept text-white">
|
||||
<div class="mb-4 rounded bg-green-100 px-4 py-2 text-green-800 border border-green-300">
|
||||
<%= flash[:notice] %>
|
||||
</div>
|
||||
<% elsif flash[:alert] %>
|
||||
<div class="m-4 rounded px-4 py-2 bg-danger text-white">
|
||||
<div class="mb-4 rounded bg-red-100 px-4 py-2 text-red-800 border border-red-300">
|
||||
<%= flash[:alert] %>
|
||||
</div>
|
||||
<% end %>
|
||||
<div class="flex flex-col h-full divide-y divide-border-table-border">
|
||||
<div class="flex flex-col flex-1 p-4 space-y-4">
|
||||
<div class="flex-1 overflow-y-auto p-4 space-y-4">
|
||||
<table class="base-table">
|
||||
<thead>
|
||||
<tr>
|
||||
|
|
@ -44,4 +44,4 @@
|
|||
<div class="flex p-4">
|
||||
<%= link_to "수정", "/modbus/schedule_edit", class: "btn bg-default-slate" %>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
@ -1,5 +1,5 @@
|
|||
<%= form_with url: schedule_edit_update_modbus_index_path, method: :post, class: 'flex flex-col h-full divide-y divide-border-table-border' do %>
|
||||
<div class="flex-1 p-4">
|
||||
<div class="flex-1 overflow-y-auto p-4">
|
||||
<table class="base-table">
|
||||
<thead>
|
||||
<tr>
|
||||
|
|
@ -21,4 +21,4 @@
|
|||
<div class="flex p-4">
|
||||
<%= submit_tag "업데이트", class: "btn bg-primary" %>
|
||||
</div>
|
||||
<% end %>
|
||||
<% end %>
|
||||
|
|
@ -4,8 +4,8 @@
|
|||
<div class="flex h-full items-center tracking-[0.5rem]">FARMITRY</div>
|
||||
</div>
|
||||
<div data-timer-target="output" class="text-gray-600"></div>
|
||||
<!-- <div class="flex flex-row items-center gap-x-4">-->
|
||||
<!-- <i class="fa-solid fa-circle-user text-4xl text-default-slate-dark leading-10"></i>-->
|
||||
<%#= link_to "로그아웃", '', class: "btn" %>
|
||||
<!-- </div>-->
|
||||
</header>
|
||||
<div class="flex flex-row items-center gap-x-4">
|
||||
<i class="fa-solid fa-circle-user text-4xl text-default-slate-dark"></i>
|
||||
<%= link_to "로그아웃", '', class: "btn" %>
|
||||
</div>
|
||||
</header>
|
||||
|
|
@ -39,4 +39,4 @@
|
|||
설청
|
||||
</div>
|
||||
</div>
|
||||
</nav>
|
||||
</nav>
|
||||
Loading…
Reference in New Issue