From c2c420027bdc6b7c6d6491c1f0878c960a2a9b05 Mon Sep 17 00:00:00 2001 From: Anton Romanov Date: Tue, 18 Dec 2018 18:05:30 +0400 Subject: [PATCH] add papers navigation --- src/main/resources/public/css/agency.css | 2 +- .../resources/templates/papers/dashboard.html | 17 ++---------- .../fragments/paperNavigationFragment.html | 27 +++++++++++++++++++ .../resources/templates/papers/paper.html | 9 +------ .../resources/templates/papers/papers.html | 20 +------------- 5 files changed, 32 insertions(+), 43 deletions(-) create mode 100644 src/main/resources/templates/papers/fragments/paperNavigationFragment.html diff --git a/src/main/resources/public/css/agency.css b/src/main/resources/public/css/agency.css index 80102ba..35e526b 100644 --- a/src/main/resources/public/css/agency.css +++ b/src/main/resources/public/css/agency.css @@ -50,7 +50,7 @@ section { } section h2.section-heading { - font-size: 40px; + font-size: 3vw; margin-top: 0; margin-bottom: 15px; } diff --git a/src/main/resources/templates/papers/dashboard.html b/src/main/resources/templates/papers/dashboard.html index 3219055..5f6f524 100644 --- a/src/main/resources/templates/papers/dashboard.html +++ b/src/main/resources/templates/papers/dashboard.html @@ -1,7 +1,7 @@ + layout:decorator="default" xmlns:th="http://www.w3.org/1999/xhtml"> @@ -12,21 +12,8 @@

Статьи

+
-
diff --git a/src/main/resources/templates/papers/fragments/paperNavigationFragment.html b/src/main/resources/templates/papers/fragments/paperNavigationFragment.html new file mode 100644 index 0000000..23c8260 --- /dev/null +++ b/src/main/resources/templates/papers/fragments/paperNavigationFragment.html @@ -0,0 +1,27 @@ + + + + + + + + + \ No newline at end of file diff --git a/src/main/resources/templates/papers/paper.html b/src/main/resources/templates/papers/paper.html index 04a07c3..a3345c1 100644 --- a/src/main/resources/templates/papers/paper.html +++ b/src/main/resources/templates/papers/paper.html @@ -14,16 +14,9 @@

Редактирование статьи

+
-
-
-
-
- -
-
-

Статьи

- +
Фильтровать по: