added blog.css and readded view_blog/post.html ...
authorthe_mgt <themgt@uncensored.citadel.org>
Wed, 18 Jul 2012 16:03:10 +0000 (18:03 +0200)
committerthe_mgt <themgt@uncensored.citadel.org>
Wed, 18 Jul 2012 16:03:10 +0000 (18:03 +0200)
webcit/static/styles/blog.css [new file with mode: 0644]
webcit/static/t/view_blog/post.html [new file with mode: 0755]

diff --git a/webcit/static/styles/blog.css b/webcit/static/styles/blog.css
new file mode 100644 (file)
index 0000000..e0d85dd
--- /dev/null
@@ -0,0 +1,33 @@
+.blog_post {
+       padding-top: 0.5em;
+        margin: 0.5em;
+        width: 38em;
+       border-top: 1px solid #5C646B;
+}
+
+
+.blog_post_title a {
+       font-size: large;
+       color: #5C646B;
+}
+       
+.blog_post_header a, .blog_comment_header a { 
+       font-style: italic;
+       color: #000;
+ }
+
+.blog_post_header, .blog_comment_header {
+       margin: 0.3em 0.5em;
+       font-size: smaller;
+}
+
+.blog_post_content {
+       font-family: serif;
+       font-size: small;
+}
+
+.blog_comment {
+        margin: 0.5em;
+        width: 30em;
+}
+
diff --git a/webcit/static/t/view_blog/post.html b/webcit/static/t/view_blog/post.html
new file mode 100755 (executable)
index 0000000..0dfee3d
--- /dev/null
@@ -0,0 +1,38 @@
+<div class="blog_post">
+       <div class="blog_post_title">
+               <?!("COND:MAIL:SUBJ", 7)><a href="<?BLOG:PERMALINK>"><?MAIL:SUMM:SUBJECT("X")></a><??("X", 7)>
+       </div>
+       <div class="blog_post_header">
+               <span><??("COND:MAIL:ANON",1)>
+                       <?!("COND:MAIL:SUMM:RFCA", 2)>
+                       <a href="showuser?who=<?MAIL:SUMM:FROM("Q")>">
+                               "<?MAIL:SUMM:FROM("X")>" &lt;<?MAIL:SUMM:RFCA>&gt;
+                       </a>
+                       <?!("X", 2)>
+                       <??("COND:MAIL:SUMM:RFCA", 3)>
+                       <a href="showuser?who=<?MAIL:SUMM:FROM("Q")>">
+                               <?MAIL:SUMM:FROM("X")>
+                       </a> 
+                       <??("X", 3)>
+                       <?!("COND:MAIL:SUMM:OTHERNODE",4)> @ <?MAIL:SUMM:H_NODE><??("X",4)>
+               <??("X", 1)></span>
+               <span><?MAIL:SUMM:DATEFULL></span>
+               <?!("COND:ROOM:EDITACCESS", 16)>
+                       <a href="delete_msg?msgid=<?MAIL:SUMM:N>" onclick="return confirm('<?_("Delete this message?")>');">
+                               <span>[</span><?_("Delete")><span>]</span>
+                       </a> 
+               <??("X", 16)>
+       </div>
+       <div class="blog_post_content">
+               <div>
+                       <?MAIL:BODY>
+                       <?!("COND:MAIL:MIME:ATTACH:SUBMESSAGES", 10)>
+                               <?ITERATE("MAIL:MIME:ATTACH:SUBMESSAGES", ="view_message_inline_attach")>
+                       <?!("X", 10)>
+                       <?!("COND:MAIL:MIME:ATTACH:LINKS", 11)>
+                               <?ITERATE("MAIL:MIME:ATTACH:LINKS", ="view_message_list_attach")>
+                       <?!("X", 11)>
+               </div>
+       </div>
+       <div id="comment_replyto" style="display:none"><?MAIL:SUMM:INREPLYTO("X")></div>
+</div>