diff --git a/assets/css/app.css b/assets/css/app.css
index d9b9616c..fdbdd74e 100644
--- a/assets/css/app.css
+++ b/assets/css/app.css
@@ -81,8 +81,7 @@ body {
top: 56px;
right: 0;
left: 0;
- background-color: inherit;
- /* z-index: 1000; */
+ z-index: 1000;
width: inherit;
overflow-x: hidden;
overflow-y: auto;
@@ -93,11 +92,16 @@ body {
padding: 7px 15px 50px;
margin-top: -10px;
+ /* Fill window */
+ height: 100%;
+
/** Hide scrollbar in Firefox and Edge **/
-ms-overflow-style: none;
overflow: -moz-scrollbars-none;
/* Use standard version for hiding the scrollbar */
scrollbar-width: none;
+
+ background-color: var(--light);
}
.sidebar-container {
@@ -105,6 +109,11 @@ body {
padding-top: 5px;
background-color: #F8F8F8;
}
+
+ /* Hide devices menu */
+ #treeBox-devices {
+ display: none;
+ }
}
/* Hide scrollbar */
@@ -645,7 +654,8 @@ BS 4 overrides
}
}
-.form-group > label {
+.form-group > label,
+.form-group > .col-form-label {
font-weight: bold;
}
diff --git a/assets/js/app.js b/assets/js/app.js
index 9d23993e..1a64e6a1 100644
--- a/assets/js/app.js
+++ b/assets/js/app.js
@@ -103,7 +103,6 @@ window.ajaxUI = ajaxUI;
require('../ts_src/event_listeners');
-
//Register darkmode (we must do it here, TS does not support ES6 constructor...
try {
//The browser needs to support mix blend mode
diff --git a/package.json b/package.json
index d5b11bd3..71c62ede 100644
--- a/package.json
+++ b/package.json
@@ -30,7 +30,7 @@
"clipboard": "^2.0.4",
"copy-webpack-plugin": "^5.0.4",
"corejs-typeahead": "^1.2.1",
- "darkmode-js": "^1.5.3",
+ "darkmode-js": "1.5.3",
"datatables.net-bs4": "^1.10.19",
"datatables.net-buttons-bs4": "^1.5.4",
"datatables.net-colreorder-bs4": "^1.5.1",
diff --git a/templates/Form/extendedBootstrap4_layout.html.twig b/templates/Form/extendedBootstrap4_layout.html.twig
index 06e3cdd5..08fda2a9 100644
--- a/templates/Form/extendedBootstrap4_layout.html.twig
+++ b/templates/Form/extendedBootstrap4_layout.html.twig
@@ -7,11 +7,11 @@
{% block form_label_class -%}
- col-3
+ col-sm-3
{%- endblock form_label_class %}
{% block form_group_class -%}
- col-9
+ col-sm-9
{%- endblock form_group_class %}
{%- block choice_widget_options -%}
diff --git a/templates/Parts/edit/_orderdetails.html.twig b/templates/Parts/edit/_orderdetails.html.twig
index a6e85760..27bc3a45 100644
--- a/templates/Parts/edit/_orderdetails.html.twig
+++ b/templates/Parts/edit/_orderdetails.html.twig
@@ -1,6 +1,6 @@
{% form_theme form with ['Parts/edit/edit_form_styles.html.twig', "bootstrap_4_layout.html.twig"] %}
-
+
{% for detail in form.orderdetails %}
{{ form_widget(detail, {'disable_delete' : not is_granted('orderdetails.delete', part)}) }}
diff --git a/templates/Parts/info/_attachments_info.html.twig b/templates/Parts/info/_attachments_info.html.twig
index 28e52ba9..9d9830e7 100644
--- a/templates/Parts/info/_attachments_info.html.twig
+++ b/templates/Parts/info/_attachments_info.html.twig
@@ -1,6 +1,6 @@
{% import "helper.twig" as helper %}
-
+
|
diff --git a/templates/Parts/info/_extended_infos.html.twig b/templates/Parts/info/_extended_infos.html.twig
index 74bfb88a..d84552c5 100644
--- a/templates/Parts/info/_extended_infos.html.twig
+++ b/templates/Parts/info/_extended_infos.html.twig
@@ -1,6 +1,6 @@
{% import "helper.twig" as helper %}
-
+
{# Creation date #}
{% trans %}createdAt{% endtrans %} |
diff --git a/templates/Parts/info/_main_infos.html.twig b/templates/Parts/info/_main_infos.html.twig
index f363c84c..51564746 100644
--- a/templates/Parts/info/_main_infos.html.twig
+++ b/templates/Parts/info/_main_infos.html.twig
@@ -1,10 +1,10 @@
{% import "helper.twig" as helper %}
-
+
{% include "Parts/info/_picture.html.twig" %}
-
+
{% if part.manufacturer %}
{% if part.manufacturer.id is not null %}
diff --git a/templates/Parts/info/_order_infos.html.twig b/templates/Parts/info/_order_infos.html.twig
index 4a018bea..2a26689c 100644
--- a/templates/Parts/info/_order_infos.html.twig
+++ b/templates/Parts/info/_order_infos.html.twig
@@ -1,5 +1,5 @@
-