From 3b460c49a7cbca72f367bc44ca111b2a508d0cac Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Tue, 28 Feb 2017 14:29:05 +0300 Subject: readonly mode --- .../main/java/com/juick/www/controllers/Home.java | 22 +- .../java/com/juick/www/controllers/NewMessage.java | 38 ++-- .../main/java/com/juick/www/controllers/PM.java | 5 + .../com/juick/www/controllers/PageTemplates.java | 50 +++-- .../java/com/juick/www/controllers/UserThread.java | 10 +- juick-www/src/main/static/scripts.js | 235 +++++++++++---------- .../webapp/WEB-INF/views/partial/navigation.html | 2 + .../src/main/webapp/WEB-INF/views/pm_inbox.html | 4 +- .../src/main/webapp/WEB-INF/views/pm_sent.html | 2 + 9 files changed, 201 insertions(+), 167 deletions(-) (limited to 'juick-www') diff --git a/juick-www/src/main/java/com/juick/www/controllers/Home.java b/juick-www/src/main/java/com/juick/www/controllers/Home.java index 2f9dc903..405a4bd6 100644 --- a/juick-www/src/main/java/com/juick/www/controllers/Home.java +++ b/juick-www/src/main/java/com/juick/www/controllers/Home.java @@ -176,15 +176,19 @@ public class Home { if (visitor.getUid() > 0) { out.println("
"); } diff --git a/juick-www/src/main/java/com/juick/www/controllers/NewMessage.java b/juick-www/src/main/java/com/juick/www/controllers/NewMessage.java index b340546f..938cd338 100644 --- a/juick-www/src/main/java/com/juick/www/controllers/NewMessage.java +++ b/juick-www/src/main/java/com/juick/www/controllers/NewMessage.java @@ -98,26 +98,30 @@ public class NewMessage { templates.pageNavigation(out, visitor, null); out.println("Теги:
"); - printUserTags(out, visitor); + out.println("" + "" + ""); + out.println(""); + out.println(""); + out.println("Теги:
"); + printUserTags(out, visitor); + } out.println("