diff --git a/App/Auth/templates/auth.html b/App/Auth/templates/auth.html index 08ef3c2..986bdaa 100644 --- a/App/Auth/templates/auth.html +++ b/App/Auth/templates/auth.html @@ -1,28 +1,60 @@ - - - + + + + + + Авторизация - - - - -

Авторизация

-
-
- - - -
-

- Уровень доступа: - -

- -
-
- + + + + + + + + + +
+
+

Авторизация

+ +
+ + +
+
+ + +
+ +
+ +
+ +
+
+ diff --git a/App/Report/templates/OK.html b/App/Report/templates/OK.html index bbb836c..5361c46 100644 --- a/App/Report/templates/OK.html +++ b/App/Report/templates/OK.html @@ -1,15 +1,21 @@ - + Успех - - + + - -

Успешно!

-

Отчет успешно добавлен в базу данных!

- - + +
+
+

Успешно!

+

Отчет успешно добавлен в базу данных!

+ +
+
\ No newline at end of file diff --git a/App/Report/templates/report_basic.html b/App/Report/templates/report_basic.html index 42bcdeb..bea0f07 100644 --- a/App/Report/templates/report_basic.html +++ b/App/Report/templates/report_basic.html @@ -1,21 +1,35 @@ - + {{ title }} + + + - -
- + +
+
+
+

{{ title }}

+
+
-

{{ title }}

-
+
- {% for item in items.keys() %} {% endfor %} @@ -23,7 +37,7 @@
- @@ -37,18 +51,19 @@ - +
{% if is_write %} - + {% else %} - + {% endif %}
-
- + + diff --git a/App/Report/templates/report_menu.html b/App/Report/templates/report_menu.html index 7af3b21..8b4e859 100644 --- a/App/Report/templates/report_menu.html +++ b/App/Report/templates/report_menu.html @@ -1,21 +1,43 @@ - + Меню отчетов + + + - -
- + +
+
+
+ +
+
-

Выберите вариант отчетов

- -
- + - \ No newline at end of file + diff --git a/App/Requests/templates/sellers_ship.html b/App/Requests/templates/sellers_ship.html index 629f9fc..998a5bd 100644 --- a/App/Requests/templates/sellers_ship.html +++ b/App/Requests/templates/sellers_ship.html @@ -1,30 +1,49 @@ - + Поставки поставщиком + + + + - - - -

Поставки поставщиком

-
-

Выберите поставщика

-
- - -
-
- + +
+
+
+
+

Поставки поставщиком

+
+
-
+ + +
+
+
+ + + +
+ +
+
+ - - + \ No newline at end of file diff --git a/App/Requests/templates/zagotovki.html b/App/Requests/templates/zagotovki.html index fab9e65..3d8f662 100644 --- a/App/Requests/templates/zagotovki.html +++ b/App/Requests/templates/zagotovki.html @@ -1,32 +1,53 @@ - + Количество заготовок на складе + + + + - - - -

Количество заготовок на складе

-
-
-

Выберите материал

- - -
-
- + +
+
+
+
+

Количество заготовок на складе

+
+
-
+ + + +
+
+
+ + + +
+ +
+
+ diff --git a/App/Requests/templates/zapros_menu.html b/App/Requests/templates/zapros_menu.html index 2030feb..0aa606c 100644 --- a/App/Requests/templates/zapros_menu.html +++ b/App/Requests/templates/zapros_menu.html @@ -1,22 +1,43 @@ - + Запросы - + + + - -
- + +
+
+
+ +
+
-

Выберите вариант запроса

-
- {% for point in options %} - - {% endfor %} -
-
- +
+
+
+
+ {% for point in options %} + + {% endfor %} +
+
+
+
- \ No newline at end of file + diff --git a/App/static/css/main.css b/App/static/css/main.css index eeb65be..37f8b78 100644 --- a/App/static/css/main.css +++ b/App/static/css/main.css @@ -1,55 +1,3 @@ -h1, h2 { - text-align: center; -} - -body { - background-color: #87CEEB; -} - -button { - background-color: #067936; - border-radius: 10px; - padding: 10px 20px; - border: none; - color: white; - cursor: pointer; - margin-top: 10px; -} - -input[type=submit] { - background-color: #f2c464; -} - -div.logout, div.login { - position: absolute; - right: 2%; - text-align: center; -} - -div.buttons_menu{ - text-align: center; - margin: 20px 0; -} - -div.logout button { - margin-top: -5px; - background-color: #ff0000; -} - -div.login button { - margin-top: -5px; - background-color: #176917; -} - -div.return { - text-align: center; - margin: 20px 0; -} - -div.return button { - background-color: chocolate; -} - div.form { margin-left: 30%; margin-right: 30%; @@ -58,6 +6,7 @@ div.form { padding: 20px; border-radius: 10px; box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); + color: black; } div.form label { @@ -75,7 +24,3 @@ div.form select, div.form input[type=number] { width: 100%; box-sizing: border-box; } - -div.form button { - margin-top: 15px; -} diff --git a/App/templates/error.html b/App/templates/error.html index 78d23eb..2813469 100644 --- a/App/templates/error.html +++ b/App/templates/error.html @@ -1,14 +1,18 @@ - + Ошибка - - + + - -

Сожалеем

-

{{ error_message }}

- + +
+
+

Сожалеем

+

{{ error_message }}

+ +
+
diff --git a/App/templates/main_menu.html b/App/templates/main_menu.html index 74b872b..8fd8fc8 100644 --- a/App/templates/main_menu.html +++ b/App/templates/main_menu.html @@ -1,25 +1,95 @@ - + Главное меню - + + + - - {% if 'role' in ses %} -
- + +
+
+
+
+ {% if 'role' in ses %} + + {% else %} + + {% endif %}
+
+ {% if 'role' in ses %} + + {% else %} + + {% endif %} +
+
+
+
+
+ {% if ses['access_user'] == 'internal_users' %} +
+
+
+
+

Запросы

+ + + + +
+
+
+

Отчёты

+ + + + +
+
+
+ {% else %} +
+
+
+ {% endif %} +
+
+ + {% else %} - + @@ -30,6 +100,6 @@

Здравствуйте!

Для использования системы, пожалуйста, пройдите процедуру авторизации

- {% endif %} + {% endif %} --> \ No newline at end of file diff --git a/App/templates/output.html b/App/templates/output.html index 269fc09..224e921 100644 --- a/App/templates/output.html +++ b/App/templates/output.html @@ -1,36 +1,61 @@ - + {{ header }} - - + + + - -
- + +
+
+
+ +
+
-

{{ header }}

{% if items %} - - - {% for key in items[0].keys() %} - - {% endfor %} - - {% for item in items %} - - {% for value in item.values() %} - - {% endfor %} - - {% endfor %} -
{{ key }}
{{ value }}
+
+
+
+ + + + {% for key in items[0].keys() %} + + {% endfor %} + + + + {% for item in items %} + + {% for value in item.values() %} + + {% endfor %} + + {% endfor %} + +
{{ key }}
{{ value }}
+
+
+
{% else %} -

Информации не найдено

+
+

Информации не найдено

+
{% endif %} - + + \ No newline at end of file