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