From 9badb4dcd1072a56baf2e3e731f5cc5d576a9000 Mon Sep 17 00:00:00 2001 From: ming Date: Tue, 29 Apr 2025 01:45:33 +0900 Subject: [PATCH] =?UTF-8?q?=EC=8A=A4=EC=BC=80=EC=A4=84=EB=9F=AC=20?= =?UTF-8?q?=EC=B4=88=EA=B8=B0=ED=99=94=EB=A9=B4=20=EC=83=98=ED=94=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../stylesheets/application.tailwind.css | 6 + app/views/layouts/application.html.erb | 2 +- app/views/partials/_header.html.erb | 2 +- app/views/schedules/index.html.erb | 158 +++++++++++++++++- 4 files changed, 165 insertions(+), 3 deletions(-) diff --git a/app/assets/stylesheets/application.tailwind.css b/app/assets/stylesheets/application.tailwind.css index 35c2472..b9a4f18 100644 --- a/app/assets/stylesheets/application.tailwind.css +++ b/app/assets/stylesheets/application.tailwind.css @@ -12,6 +12,7 @@ --color-table-border: rgb(130, 144, 158); /* theme */ + --color-logo-color: rgb(21, 128, 120); --color-base-background: rgb(39, 44, 56); --color-base-secondary: rgb(55, 61, 71); --color-base-text: rgb(255, 255, 255); @@ -157,6 +158,11 @@ @apply text-default-slate-dark text-center } + /*Dashboard*/ + .dashboard-group { + @apply rounded-md bg-base-background h-32 p-4 flex flex-col justify-between cursor-pointer + } + /*Pagy*/ .pagy { @apply flex items-center justify-center space-x-1 font-semibold text-sm text-default-slate; diff --git a/app/views/layouts/application.html.erb b/app/views/layouts/application.html.erb index 4e1bf29..ccef8e7 100644 --- a/app/views/layouts/application.html.erb +++ b/app/views/layouts/application.html.erb @@ -29,7 +29,7 @@ <%= render "partials/header" %>
<%= render "partials/sidebar" %> -
+
<% if flash[:notice] %>
diff --git a/app/views/partials/_header.html.erb b/app/views/partials/_header.html.erb index 5f0c789..effdcc1 100644 --- a/app/views/partials/_header.html.erb +++ b/app/views/partials/_header.html.erb @@ -2,7 +2,7 @@
<%= image_tag "svg/svg_logo.svg", class: "w-auto h-8 mr-4" %> <%= link_to root_path do %> -
FARMITRY
+
FARMITRY
<% end %>
diff --git a/app/views/schedules/index.html.erb b/app/views/schedules/index.html.erb index 408b2f4..1e17a2f 100644 --- a/app/views/schedules/index.html.erb +++ b/app/views/schedules/index.html.erb @@ -1 +1,157 @@ -
MAIN
+
+ +
+
+
실내온도
+
+ +
15.5 + °C
+
+
+
+ + +
+
+
실내습도
+
+ +
60 % +
+
+
+
+ + +
+
+
CO2
+
+
+
+ CO2 +
+
+
60 %
+
+
+
+ + +
1
+ + +
+
+
FAN
+
+ +
60 % +
+
+
+
+ + +
+
+
공조기
+
+ +
15.5 + °C
+
+
+
+ + +
+
+
LED
+
+ +
60 % +
+
+
+
+ + +
1
+ + +
+
+
pH
+
7.1
+
+
+
+ 6.0 ~ 6.0 +
+
+
+
+ + +
+
+
EC
+
0.1
+
+
+
+ 0 ~ 1 +
+
+
+
+ + +
+
+
양액온도
+
+ +
20.96 + °C
+
+
+
+ + +
1
+ + +
+
+ +
자동화
+
+
+ + +
+
+ +
초기화
+
+
+ + +
+
+ +
긴급 정지
+
+
+ + +
+
+ +
1회 급수 설정
+
+
+