diff --git a/app.js b/app.js index 7d4f854087..64973f2ccb 100644 --- a/app.js +++ b/app.js @@ -51,7 +51,7 @@ fs.readFile(path.join(__dirname, 'config.json'), function(err, data) { 'emails/reset', 'emails/reset_plaintext', 'emails/email_confirm', 'emails/email_confirm_plaintext', 'emails/header', 'emails/footer', 'install/header', 'install/footer', 'install/redis', - 'noscript/topic' + 'noscript/header', 'noscript/home', 'noscript/category', 'noscript/topic' ]); templates.ready(function() { diff --git a/public/css/noscript.less b/public/css/noscript.less index 0c9ddd3ebb..3e5508e560 100644 --- a/public/css/noscript.less +++ b/public/css/noscript.less @@ -1,15 +1,50 @@ @import "mixins"; noscript { - .posts { + .default { + list-style-type: none; + padding: 1em; + margin-bottom: 1em; + + &:nth-child(even) { + background: rgba(191,191,191,0.2); + } + + &:nth-child(odd) { + background: rgba(223,223,223,0.2); + } + } + + .categories { li { - list-style-type: none; - padding: 1em; - margin-bottom: 1em; + .default; + + .icon { + float: left; + margin-right: 1em; + } - &:nth-child(even) { - background: rgba(192,192,192,0.2); + a { + font-size: 20px; } } } + + .topics { + li { + .default; + } + + .teaser { + img { + float: left; + } + } + } + + .posts { + li { + .default; + } + } } \ No newline at end of file diff --git a/public/src/modules/composer.js b/public/src/modules/composer.js index 50a2673fe5..459a3269cf 100644 --- a/public/src/modules/composer.js +++ b/public/src/modules/composer.js @@ -19,7 +19,7 @@ define(function() { composer.postContainer = document.createElement('div'); composer.postContainer.className = 'post-window row-fluid'; composer.postContainer.innerHTML = '
{topics.teaser_username}: {topics.teaser_text}
posted {topics.teaser_timestamp} ago+ Your browser does not seem to support javascript. As a result, your viewing experience will be diminished. +
++ Please download a browser that supports javascript, or enable it, if it disabled (i.e. NoScript). +
+{categories.description}
+ +- Your browser does not seem to support javascript. As a result, your viewing experience will be diminished. -
-- Please download a browser that supports javascript, or enable it, if it disabled (i.e. NoScript). -
-