From bfec74a85f54daf2e0c3440d2f1fc543f435b06e Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Wed, 12 Feb 2020 12:25:46 +0100 Subject: fix dollar signs --- public/assets/js/lib/views/details/comments.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'public/assets/js/lib/views/details') diff --git a/public/assets/js/lib/views/details/comments.js b/public/assets/js/lib/views/details/comments.js index b1c86bb..1e8d127 100644 --- a/public/assets/js/lib/views/details/comments.js +++ b/public/assets/js/lib/views/details/comments.js @@ -14,8 +14,8 @@ var CommentsView = FormView.extend({ this.$formRow = this.$("#comment_form") }, - load: function(comments, thread){ -console.log(comments) + load: function(comments, thread) { + // console.log(comments) thread = this.thread = thread || this.thread if (thread.settings.hootbox) { comments @@ -35,13 +35,13 @@ console.log(comments) } }, - parse: function(comment){ + parse: function(comment) { if (! comment.comment.length) return $('') var datetime = verbose_date(comment.date, true) var t = this.template.replace(/{{image}}/g, profile_image(comment.username)) .replace(/{{username}}/g, comment.username) .replace(/{{id}}/g, comment.id) - .replace(/{{comment}}/g, tidy_urls(comment.comment)) + .replace(/{{comment}}/g, function(){ return tidy_urls(comment.comment) }) .replace(/{{date}}/g, datetime[0]) .replace(/{{time}}/g, datetime[1]) var $t = $(t) -- cgit v1.2.3-70-g09d2 From 6d5a0c3a06972f7c42b3493f9145033b1fbc35a3 Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Sat, 4 Apr 2020 22:22:31 +0200 Subject: night mode css bump --- public/assets/css/bucky.css | 15 ++++++++++++--- public/assets/js/lib/views/details/files.js | 5 +++++ public/assets/js/lib/views/users/users.js | 2 -- views/pages/keywords.ejs | 2 +- views/pages/users.ejs | 30 ++++++++++++++--------------- 5 files changed, 33 insertions(+), 21 deletions(-) (limited to 'public/assets/js/lib/views/details') diff --git a/public/assets/css/bucky.css b/public/assets/css/bucky.css index d2aa910..d06988f 100644 --- a/public/assets/css/bucky.css +++ b/public/assets/css/bucky.css @@ -1289,9 +1289,18 @@ audio { .ledger .new { color: #ffffff; font-weight: bold; } .ledger .recent { color: #f8f0f0; } .ledger .med { color: #e8e0e0; } - .ledger .old { color: #b8b0b0; } - .ledger .older { color: #a7a4a4; } - .ledger .quiet { color: #878787; } + .ledger .old { color: #d8d0d0; } + .ledger .older { color: #b8b0b0; } + .ledger .quiet { color: #a7a4a4; } + + .files .new { color: #000000; } + .files .recent { color: #001111; } + .files .med { color: #203838; } + .files .old { color: #425050; } + .files .older { color: #5D6464; } + .files .quiet { color: #787878; } + .files .total a { color: #fff; } + .bluebox { box-shadow: 0 0px 1.5px rgba(238,238,255,1.0), 0 0px 1.5px rgba(238,238,255,1.0); } .search_form input[type='text']:focus { border-bottom-color: #888; diff --git a/public/assets/js/lib/views/details/files.js b/public/assets/js/lib/views/details/files.js index 44c65c4..98b9350 100644 --- a/public/assets/js/lib/views/details/files.js +++ b/public/assets/js/lib/views/details/files.js @@ -171,10 +171,15 @@ var FilesView = FormView.extend({ if (dateClass && this.reverse) { dateClass += ' italic' } + var sizeClass = this.sort === 'size' ? 'bold' : '' + if (sizeClass && this.reverse) { + sizeClass += ' italic' + } var t = this.templateTotal.replace(/{{size_class}}/g, size[0]) .replace(/{{size}}/g, size[1]) .replace(/{{nameClass}}/g, nameClass) .replace(/{{dateClass}}/g, dateClass) + .replace(/{{sizeClass}}/g, sizeClass) this.$el.append(t) }, diff --git a/public/assets/js/lib/views/users/users.js b/public/assets/js/lib/views/users/users.js index c2f8c13..82068e7 100644 --- a/public/assets/js/lib/views/users/users.js +++ b/public/assets/js/lib/views/users/users.js @@ -43,9 +43,7 @@ var UsersView = View.extend({ // var threadCount = threadCountNum ? hush_threads(threadCountNum) : ['',''] // "id", "username", "realname", "firstseen", "lastseen", // "location", "website", "avatar", - console.log(user) var stats = userStats[user.username] || {} - console.log(stats) if (!showAll && !stats.threads && !stats.files && !stats.comments) { return } diff --git a/views/pages/keywords.ejs b/views/pages/keywords.ejs index 2735707..9a1f90a 100644 --- a/views/pages/keywords.ejs +++ b/views/pages/keywords.ejs @@ -1,7 +1,7 @@ <% include ../partials/header %>
- Index + < Home · Keywords · diff --git a/views/pages/users.ejs b/views/pages/users.ejs index fe05985..83b03c6 100644 --- a/views/pages/users.ejs +++ b/views/pages/users.ejs @@ -1,7 +1,7 @@ <% include ../partials/header %>
- Index + < Home · Keywords · @@ -15,10 +15,10 @@
-
+