");
- out.println(" ");
+ out.println(" ");
+ out.println("
");
if (!msg.getUser().Banned) {
- out.println(" ");
+ out.println("
");
+ out.println(" ");
} else {
+ out.println("
");
out.println(" ");
}
- out.println("
");
+
out.println("
" + PageTemplates.formatMessage(msg.getText()) + "
");
if (msg.AttachmentType != null) {
out.println("
");
--
cgit v1.2.3
From ce5b0b511ecd5fad82552897239d32ce89e7e590 Mon Sep 17 00:00:00 2001
From: Igor Ustyugov
Date: Mon, 29 Aug 2016 16:26:11 +0500
Subject: Comments fix
---
juick-www/src/main/java/com/juick/www/PageTemplates.java | 2 +-
juick-www/src/main/static/style.css | 6 ++++--
2 files changed, 5 insertions(+), 3 deletions(-)
(limited to 'juick-www/src/main/java/com/juick')
diff --git a/juick-www/src/main/java/com/juick/www/PageTemplates.java b/juick-www/src/main/java/com/juick/www/PageTemplates.java
index 69b37e9b..788f5667 100644
--- a/juick-www/src/main/java/com/juick/www/PageTemplates.java
+++ b/juick-www/src/main/java/com/juick/www/PageTemplates.java
@@ -59,7 +59,7 @@ public class PageTemplates {
out.print("");
out.print("");
out.println("
");
- out.print("
");
+ out.print("
");
out.print("");
if (headers != null) {
out.print(headers);
diff --git a/juick-www/src/main/static/style.css b/juick-www/src/main/static/style.css
index ef5b5799..001c3e52 100644
--- a/juick-www/src/main/static/style.css
+++ b/juick-www/src/main/static/style.css
@@ -100,7 +100,7 @@ article .tags>a, .msg-tags>a {
.msgthread { margin-bottom: 0; }
.msg-avatar { float: left; width: 48px; height: 48px; margin-right: 10px }
.msg-avatar img { width: 48px; height: 48px; vertical-align: top; }
-.msg-cont { background: #FFF; margin-left: 58px; margin-bottom: 20px; padding: 20px; width: 640px; line-height: 140%; /* box-shadow: 0 0 0 1px #ccc; */ }
+.msg-cont { background: #FFF; margin-bottom: 20px; padding: 20px; width: 640px; line-height: 140%; /* box-shadow: 0 0 0 1px #ccc; */ }
.msg-menu { float: right; width: 16px; height: 16px; margin-top: 2.4px; margin-left: 10px; }
.msg-menu>a { display: block; width: 16px; height: 16px; vertical-align: top; background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAAAAXNSR0IArs4c6QAAALRQTFRFAAAAldX/ncT/ksj/ltL/nMb/lMn/mcz/l9H/lcr/mZmZmcz/m83/mJiYmZmZmcz/mM7/mpqamsr/l8v/m83/mJiYmM7/l8v/mZmZmcz/mpqamMv/mcz/mM3/ms3/msv/mMv/mMz/mcz/msz/mc3/mMz/mcz/msz/mc3/mcv/mc3/mcv/mcz/mcz/mcz/mcz/mZmZmZmZmcz/mcz/mcz/mcz/mcz/mcz/mcz/mcz/mcz/mZmZiZsGCAAAADx0Uk5TAAwNDhESExQWGC0tLi8yMjQ1NTY4OTk7PDxESktNUVNUd3h5eoGCg4mKmMvMzc7P29zd3uLj7O3u8vT2+A5wCAAAAJFJREFUGBkFwQlCgkAAAMDRxEySkryyzDxSAc+gkvX//2oGAAB42J5COG46AJ+/+SiKxvl1DsyqJyCtZnBXxgDxdxPrHQDZCvvUNIFkalAgtCSXHr1LIqpRt+ifu91zn6hG8YLh7TbEoMAyg8kEsgWaZQzwWDbgvXoG0p83YH7Nx+32a/73AdDZHEIovu4BAMA/t6QMuyHliCkAAAAASUVORK5CYII=") no-repeat; }
.msg-header { /* overflow: hidden; */ }
@@ -124,11 +124,13 @@ article .tags>a, .msg-tags>a {
q:before, q:after { content: "";}
q { border-left: 1px dashed #CCC; margin: 10px 0 10px 10px; padding-left: 10px; display: block; color: #666; }
-#mtoolbar { width: 680px; margin-left: 58px; background: #E5E5DD; border-top: 1px solid #CCC; }
+#mtoolbar { width: 680px; background: #E5E5DD; border-top: 1px solid #CCC; }
#mtoolbar ul, #mtoolbar a { padding: 5px; }
#mtoolbar li { display: inline; }
#mtoolbar div { display: inline-block; width: 16px; height: 16px; background: url(//static.juick.com/toolbar-icons.png) no-repeat; vertical-align: middle; margin: 5px; }
+#replies .msg-txt { clear: both; margin: 0; padding-top: 10px; }
+
.newmessage { width: 695px; padding: 2px; resize: vertical; border: 1px solid #DDD; } /* textarea */
.users { width: 100%; margin: 10px 0; } /* table */
--
cgit v1.2.3