Compare commits

...

2 Commits

Author SHA1 Message Date
RubyOn 8041453c5e lint 2025-04-17 17:05:36 +09:00
ming 6209b926e2 noti 스타일 수정 2025-04-17 11:22:27 +09:00
5 changed files with 15 additions and 15 deletions

View File

@ -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 overflow-hidden">
<body class="h-screen">
<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 overflow-hidden">
<%= render "partials/sidebar" %>
<div class="flex flex-row flex-1 w-full divide-x divide-border-table-border">
<%#= render "partials/sidebar" %>
<div class="w-full h-full">
<%= yield %>
</div>

View File

@ -1,14 +1,14 @@
<% 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] %>
</div>
<% 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] %>
</div>
<% end %>
<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">
<thead>
<tr>

View File

@ -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 overflow-y-auto p-4">
<div class="flex-1 p-4">
<table class="base-table">
<thead>
<tr>

View File

@ -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"></i>
<%= link_to "로그아웃", '', class: "btn" %>
</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>