diff --git a/public/css/style.less b/public/css/style.less index 1169e0eed3..f29dce41e5 100644 --- a/public/css/style.less +++ b/public/css/style.less @@ -142,7 +142,9 @@ footer.footer { .profile-image-block { background: white; - + display: inline-block; + text-align: center; + font-size: 12px; } li { padding-bottom: 15px; @@ -170,16 +172,12 @@ footer.footer { padding: 5px; padding-left: 10px; } + .post-content { + min-height: 50px; + padding: 2px 5px 0 5px; + } .post-block { - - .caret { - margin-top: -10px; - margin-left: -18px; - display: block; - border-width: 8px 8px 8px 0; - border-color: transparent #ddd transparent; - } .post-buttons { font-size: 12px; float: right; @@ -199,9 +197,6 @@ footer.footer { background: #fff; } - li:last-child { - border-bottom: 0; - } } #user_label { diff --git a/public/src/templates.js b/public/src/templates.js index e038161d50..7fe0734437 100644 --- a/public/src/templates.js +++ b/public/src/templates.js @@ -5,7 +5,7 @@ var templates = {}; templates.ready = function(callback) { //quick implementation because introducing a lib to handle several async callbacks - if (callback == null) ready_callback(); + if (callback == null && ready_callback) ready_callback(); else ready_callback = callback; } diff --git a/public/templates/account.tpl b/public/templates/account.tpl new file mode 100644 index 0000000000..0a66dc2040 --- /dev/null +++ b/public/templates/account.tpl @@ -0,0 +1,18 @@ +
+ If you see this, you are logged in. +
+Posted {topics.relativeTime} by {topics.uid}. {topics.post_count} posts.
+Posted {topics.relativeTime} by {topics.username}. {topics.post_count} posts.
{posts.content}
+