diff --git a/App/Queries/templates/output.html b/App/Queries/templates/output.html index 26d67ce..8ec843f 100644 --- a/App/Queries/templates/output.html +++ b/App/Queries/templates/output.html @@ -3,8 +3,12 @@ Заготовки на складе + +
+ +

Заготовки на складе

@@ -22,5 +26,8 @@ {% endfor %}
- +
+ + +
\ No newline at end of file diff --git a/App/Queries/templates/sklad_zapros.html b/App/Queries/templates/sklad_zapros.html index 1ecf592..124b2c7 100644 --- a/App/Queries/templates/sklad_zapros.html +++ b/App/Queries/templates/sklad_zapros.html @@ -3,9 +3,12 @@ Заготовки на складе + - +
+ +

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

@@ -16,7 +19,9 @@
- +
+ +
diff --git a/App/Queries/templates/zapros_menu.html b/App/Queries/templates/zapros_menu.html index b9d1c8d..852a439 100644 --- a/App/Queries/templates/zapros_menu.html +++ b/App/Queries/templates/zapros_menu.html @@ -3,14 +3,20 @@ Запросы + +
+ +

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

- Выход +
+ +
\ No newline at end of file diff --git a/App/static/css/main.css b/App/static/css/main.css new file mode 100644 index 0000000..33d2f6e --- /dev/null +++ b/App/static/css/main.css @@ -0,0 +1,49 @@ +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.logout button { + margin-top: -5px; + background-color: #ff0000; +} +div.login button { + margin-top: -5px; + background-color: #176917; +} +div.return button{ + background-color: chocolate; +} + +table { + border: 1px solid black; + border-collapse: collapse; + background: white; + margin: 0 auto; +} +th { + background-color: #d3d3d3; +} +th, td { + border: 1px solid black; + padding: 5px; + text-align: center; +} diff --git a/App/templates/exit.html b/App/templates/exit.html index 092a0bf..0973b70 100644 --- a/App/templates/exit.html +++ b/App/templates/exit.html @@ -3,9 +3,10 @@ Успешно + -

До свидания!

- +

До свидания!

+ \ No newline at end of file diff --git a/App/templates/index.html b/App/templates/index.html index 2779380..e829fc2 100644 --- a/App/templates/index.html +++ b/App/templates/index.html @@ -3,6 +3,7 @@ Привет мир! +

Hello World

diff --git a/App/templates/main_menu.html b/App/templates/main_menu.html index d5d811e..622e6f7 100644 --- a/App/templates/main_menu.html +++ b/App/templates/main_menu.html @@ -3,16 +3,23 @@ Главное меню + -

Hello World

+ {% if 'role' in ses %} +
+ +
+

Здравствуйте, {{ ses['login'] }}!

+ {% else %} +
+ +
+

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

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