diff --git a/data.mv.db b/data.mv.db index 767fc73..7bd2fbd 100644 Binary files a/data.mv.db and b/data.mv.db differ diff --git a/src/main/resources/public/css/style.css b/src/main/resources/public/css/style.css index 7b1272f..6f4bf30 100644 --- a/src/main/resources/public/css/style.css +++ b/src/main/resources/public/css/style.css @@ -122,6 +122,10 @@ td form { opacity: 0.7; } +.marginLeft { + margin-left: 20%; +} + .rectNews { width: 310px; height: 200px; @@ -155,6 +159,19 @@ td form { line-height: 52px } +.forButtons { + display: flex; + justify-content: space-between; +} + +.forButtons form:first-child { + order: 1; +} + +.forButtons form:last-child { + order: 2; +} + .rectNewsTextBox { width: 310px; min-height: 50px; @@ -170,5 +187,6 @@ td form { font-size: 15px; display: flex; align-items: center; + justify-content: center; padding: 3px; } \ No newline at end of file diff --git a/src/main/resources/templates/news.html b/src/main/resources/templates/news.html index f5ede76..b9e74ef 100644 --- a/src/main/resources/templates/news.html +++ b/src/main/resources/templates/news.html @@ -15,11 +15,16 @@ Новости -
- - - -
+
+
+
+ + +
+
+
Добавить новость
@@ -32,24 +37,25 @@
-
-
-
+
+
+
+ +
- +