From e491dc733eeda0d5ce65af58c8cdeb5ee06cc1d7 Mon Sep 17 00:00:00 2001 From: zakhy Date: Fri, 9 Aug 2024 17:32:45 +0700 Subject: [PATCH] =?UTF-8?q?=D0=A3=D0=B1=D1=80=D0=B0=D0=BB=20=D0=B1=D0=BE?= =?UTF-8?q?=D0=BB=D1=8C=D1=88=D0=B8=D0=BD=D1=81=D1=82=D0=B2=D0=BE=20inline?= =?UTF-8?q?=20=D1=81=D1=82=D0=B8=D0=BB=D0=B5=D0=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/apps/main/templates/density_in_heavy.html | 4 +- .../fabric_scales_control_widget.html | 25 ++-- .../templates/fabric_worktime_widget.html | 2 +- app/apps/main/templates/main_index.html | 6 +- app/static/css/style.css | 26 +++- app/templates/default.html | 140 ++---------------- 6 files changed, 56 insertions(+), 147 deletions(-) diff --git a/app/apps/main/templates/density_in_heavy.html b/app/apps/main/templates/density_in_heavy.html index 50bc1a8..91d1cea 100644 --- a/app/apps/main/templates/density_in_heavy.html +++ b/app/apps/main/templates/density_in_heavy.html @@ -10,8 +10,8 @@
-
-
+
+
diff --git a/app/apps/main/templates/fabric_scales_control_widget.html b/app/apps/main/templates/fabric_scales_control_widget.html index 8e12ff5..34a8856 100644 --- a/app/apps/main/templates/fabric_scales_control_widget.html +++ b/app/apps/main/templates/fabric_scales_control_widget.html @@ -1,19 +1,18 @@
-
-
+
+
-
-
+
+
-
+
-

+

@@ -26,13 +25,12 @@
-
+
-
+
-

+

@@ -45,10 +43,9 @@
-
+
-

+

diff --git a/app/apps/main/templates/fabric_worktime_widget.html b/app/apps/main/templates/fabric_worktime_widget.html index fcb9a30..6a3c456 100644 --- a/app/apps/main/templates/fabric_worktime_widget.html +++ b/app/apps/main/templates/fabric_worktime_widget.html @@ -7,7 +7,7 @@
diff --git a/app/apps/main/templates/main_index.html b/app/apps/main/templates/main_index.html index f889484..9af3ff6 100644 --- a/app/apps/main/templates/main_index.html +++ b/app/apps/main/templates/main_index.html @@ -5,7 +5,7 @@ {% block content %} -
+
@@ -29,7 +29,7 @@ {% include 'fabric_scales_control_widget.html' %} -{# {% include 'emergency_stops_widget.html' %}#} + {# {% include 'emergency_stops_widget.html' %}#} {% include 'density_in_heavy.html' %}
@@ -43,7 +43,7 @@ {% block script_footer %} -{# #} + {# #} diff --git a/app/static/css/style.css b/app/static/css/style.css index f949a82..0f274e0 100644 --- a/app/static/css/style.css +++ b/app/static/css/style.css @@ -1,5 +1,5 @@ .roboto { - font-family: Roboto, sans-serif; + font-family: Arial, sans-serif, -apple-system, system-ui, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"; } .col-3 > *, .h-title, .m-widget1__title, .m-widget_content-title { @@ -180,3 +180,27 @@ body { grid-auto-rows: 1fr; } + +.divider-vertical > *:not(:last-child) { + border-right: 1px solid #ebedf2; +} + +.divider-horizontal > *:not(:last-child) { + border-right: 1px solid #ebedf2; +} + +.mb-1_4 { + margin-bottom: 1.4rem; +} + +.text-align-end { + text-align: end; +} + +.logo { + opacity: .8; + height: 70px; + width: 100px; + padding: 5px; +} + diff --git a/app/templates/default.html b/app/templates/default.html index 1e194ec..3a2a579 100644 --- a/app/templates/default.html +++ b/app/templates/default.html @@ -2,114 +2,67 @@ {% load static %} {% load mysettings %} - {% settings_value 'SITE_TITLE_S' %} : {{ user }} - - - - - - - - - - - - - - - - - - -
ДЕМО
-
- - -