From ed2f70f338bbed7b608fcc5b07f751d5b99d4f53 Mon Sep 17 00:00:00 2001 From: Ugnich Anton Date: Mon, 31 Dec 2012 16:33:35 +0700 Subject: Mobile CSS --- src/java/com/juick/http/www/Blogs.java | 2 +- src/java/com/juick/http/www/Help.java | 2 +- src/java/com/juick/http/www/PageTemplates.java | 29 ++++++++++++-------------- src/java/com/juick/http/www/User.java | 2 +- src/java/com/juick/http/www/UserThread.java | 6 +++--- 5 files changed, 19 insertions(+), 22 deletions(-) (limited to 'src/java/com/juick/http/www') diff --git a/src/java/com/juick/http/www/Blogs.java b/src/java/com/juick/http/www/Blogs.java index a84c562c..756088e2 100644 --- a/src/java/com/juick/http/www/Blogs.java +++ b/src/java/com/juick/http/www/Blogs.java @@ -192,7 +192,7 @@ public class Blogs { out.println(""); // wrapper - out.println("
"); + out.println("
"); if (visitor != null) { out.println("
"); out.println("
"); - out.println("
"); + out.println("
"); printFile(out, new File("/var/www/juick.com/help3/" + path[2] + "/navigation")); out.println("
"); printFile(out, new File("/var/www/juick.com/help3/langs")); diff --git a/src/java/com/juick/http/www/PageTemplates.java b/src/java/com/juick/http/www/PageTemplates.java index 4bfbd98d..a22f198e 100644 --- a/src/java/com/juick/http/www/PageTemplates.java +++ b/src/java/com/juick/http/www/PageTemplates.java @@ -55,14 +55,15 @@ public class PageTemplates { out.println(""); out.println(""); out.println(" " + title + ""); - out.println(" "); + out.println(" "); out.println(" "); out.println(" "); out.println(" "); - out.println(" "); + out.println(" "); if (headers != null) { out.println(headers); } + out.println(" "); out.println(""); out.println(); out.println(""); @@ -71,22 +72,18 @@ public class PageTemplates { public static void pageNavigation(PrintWriter out, Locale loc, com.juick.User user) { ResourceBundle rb = ResourceBundle.getBundle("Global", loc); out.println("
"); - out.println("
"); - out.println("
\"Juick\"/
"); - out.println("
"); - out.println("
"); - out.println("
"); - out.println("
"); + out.println(""); out.println("
"); } /* @@ -347,8 +344,8 @@ public class PageTemplates { out.println("
  • "); out.println("
    \""
    "); - out.println(" "); out.println(" "); + out.println(" "); if (msg.Place != null) { out.println(" "); } diff --git a/src/java/com/juick/http/www/User.java b/src/java/com/juick/http/www/User.java index 3ebbdc80..03d50059 100644 --- a/src/java/com/juick/http/www/User.java +++ b/src/java/com/juick/http/www/User.java @@ -278,7 +278,7 @@ public class User { public static void pageUserColumn(PrintWriter out, Connection sql, com.juick.User user, com.juick.User visitor, Locale locale) { ResourceBundle rb = ResourceBundle.getBundle("User", locale); - out.println("
    "); + out.println("
    "); out.println(" "); if (visitor != null && visitor.UID > 0 && visitor.UID != user.UID) { out.println("