aboutsummaryrefslogtreecommitdiff
path: root/src/java/com/juick/http/www/Discover.java
diff options
context:
space:
mode:
authorGravatar Ugnich Anton2014-01-31 01:01:48 +0700
committerGravatar Ugnich Anton2014-01-31 01:01:48 +0700
commit80dc112383a88def23eb95e34e3d7f739994bd3b (patch)
tree6bc9ee932110dc046df801ae6f1b65c217f55c94 /src/java/com/juick/http/www/Discover.java
parent45bc7349af0696b9c68266feece63d7359260cec (diff)
New header design
Diffstat (limited to 'src/java/com/juick/http/www/Discover.java')
-rw-r--r--src/java/com/juick/http/www/Discover.java14
1 files changed, 5 insertions, 9 deletions
diff --git a/src/java/com/juick/http/www/Discover.java b/src/java/com/juick/http/www/Discover.java
index 98f46656..ca6415ff 100644
--- a/src/java/com/juick/http/www/Discover.java
+++ b/src/java/com/juick/http/www/Discover.java
@@ -74,9 +74,9 @@ public class Discover {
PageTemplates.pageHead(out, title, null);
PageTemplates.pageNavigation(out, locale, visitor, null);
- out.println("<div id=\"topwrapper\">");
- out.println("<div id=\"wrapper\">");
- out.println("<div id=\"content\">");
+ PageTemplates.pageHomeColumn(out, sql, visitor, locale);
+
+ out.println("<section id=\"content\">");
if (mids.size() > 0) {
out.println("<ul>");
@@ -88,14 +88,10 @@ public class Discover {
String nextpage = "?before=" + mids.get(mids.size() - 1);
out.println("<p class=\"page\"><a href=\"" + nextpage + "\">Older →</a></p>");
}
- PageTemplates.pageFooter(request, out, locale, visitor, true);
- out.println("</div>");
- out.println("</div>"); // wrapper
- PageTemplates.pageHomeColumn(out, sql, visitor, locale);
-
- out.println("</div>"); // topwrapper
+ out.println("</section>");
+ PageTemplates.pageFooter(request, out, locale, visitor, true);
PageTemplates.pageDialogTemplate(out, locale);
PageTemplates.pageEnd(out);
} finally {