diff --git a/public/css/noscript.less b/public/css/noscript.less index 9df1243c50..6adb091685 100644 --- a/public/css/noscript.less +++ b/public/css/noscript.less @@ -14,6 +14,10 @@ noscript { .icon { float: left; + width: auto; + height: auto; + padding: 0; + margin: 0; margin-right: 1em; } @@ -34,7 +38,8 @@ noscript { img { float: left; - width: 32px; + width: 64px; + margin-right: 1em; } p { @@ -52,6 +57,20 @@ noscript { .posts { li { .default; + + img { + width: 64px; + } + + .profile { + text-align: center; + + span { + font-weight: bold; + display: inline-block; + margin-top: 1em; + } + } } } } \ No newline at end of file diff --git a/public/templates/noscript/category.tpl b/public/templates/noscript/category.tpl index 8a25bfc69d..75dbafe770 100644 --- a/public/templates/noscript/category.tpl +++ b/public/templates/noscript/category.tpl @@ -8,10 +8,11 @@
  • {topics.title} ({topics.postcount})
    - +

    {topics.teaser_text} — {topics.teaser_timestamp} ago

    +
  • diff --git a/public/templates/noscript/header.tpl b/public/templates/noscript/header.tpl index 83be5b0fbc..57762cc146 100644 --- a/public/templates/noscript/header.tpl +++ b/public/templates/noscript/header.tpl @@ -1,6 +1,6 @@ -
    +

    - Your browser does not seem to support javascript. As a result, your viewing experience will be diminished. + Your browser does not seem to support javascript. As a result, your viewing experience will be diminished, and you have been placed in read-only mode.

    Please download a browser that supports javascript, or enable it, if it disabled (i.e. NoScript). diff --git a/public/templates/noscript/topic.tpl b/public/templates/noscript/topic.tpl index 5a4e5925a8..fbc4ce85a7 100644 --- a/public/templates/noscript/topic.tpl +++ b/public/templates/noscript/topic.tpl @@ -2,11 +2,11 @@

  • -
    -
    - {main_posts.username} +
    +
    + {main_posts.username}
    -
    +
    {main_posts.content}
    @@ -15,11 +15,11 @@
  • -
    -
    - {posts.username} +
    +
    + {posts.username}
    -
    +
    {posts.content}
    diff --git a/src/webserver.js b/src/webserver.js index d802929f53..0ea5f47dfe 100644 --- a/src/webserver.js +++ b/src/webserver.js @@ -235,8 +235,7 @@ var express = require('express'), }); }, function(topicData, next) { - var posts = topicData.posts.push(topicData.main_posts[0]), - lastMod = 0, + var lastMod = 0, timestamp; for(var x=0,numPosts=topicData.posts.length;x