From c2d316449f85bd2b74ae9ffaa3d08b7a5ee282cf Mon Sep 17 00:00:00 2001 From: Alex Bitney Date: Sun, 7 Feb 2016 00:00:41 +0200 Subject: added tags when posting new message added templates engine (rythm engine) and moved something to it. WARNING: textext plugin does not work when minimized, and also I fixed bug in it. --- .../resources/templates/parts/page_header.html | 33 +++++++++++ .../resources/templates/parts/page_navigation.html | 40 ++++++++++++++ src/main/resources/templates/parts/post_form.html | 64 ++++++++++++++++++++++ src/main/resources/templates/parts/test.html | 3 + 4 files changed, 140 insertions(+) create mode 100644 src/main/resources/templates/parts/page_header.html create mode 100644 src/main/resources/templates/parts/page_navigation.html create mode 100644 src/main/resources/templates/parts/post_form.html create mode 100644 src/main/resources/templates/parts/test.html (limited to 'src/main/resources/templates') diff --git a/src/main/resources/templates/parts/page_header.html b/src/main/resources/templates/parts/page_header.html new file mode 100644 index 00000000..63087d6c --- /dev/null +++ b/src/main/resources/templates/parts/page_header.html @@ -0,0 +1,33 @@ +@args String headers, String title + + + + + + + + + + + + + + + + + + + + + + + @if (headers != null) { + @raw() {@headers} + } + @title + + + + diff --git a/src/main/resources/templates/parts/page_navigation.html b/src/main/resources/templates/parts/page_navigation.html new file mode 100644 index 00000000..018818b0 --- /dev/null +++ b/src/main/resources/templates/parts/page_navigation.html @@ -0,0 +1,40 @@ +@args String search, com.juick.User visitor +
+ + + +
+ @if (visitor != null) { + + + } else { +

Чтобы добавлять сообщения и комментарии, представьтесь. +

+ } +
+
diff --git a/src/main/resources/templates/parts/post_form.html b/src/main/resources/templates/parts/post_form.html new file mode 100644 index 00000000..56184f55 --- /dev/null +++ b/src/main/resources/templates/parts/post_form.html @@ -0,0 +1,64 @@ +
+
+ +
+ или загрузить
+ + +
+ +
+
+ + sample + +
+ +
+
\ No newline at end of file diff --git a/src/main/resources/templates/parts/test.html b/src/main/resources/templates/parts/test.html new file mode 100644 index 00000000..95e5d093 --- /dev/null +++ b/src/main/resources/templates/parts/test.html @@ -0,0 +1,3 @@ + + +this is a test!!22 \ No newline at end of file -- cgit v1.2.3