From e227e64264f40381b995fb2078e6cbcddc4d445e Mon Sep 17 00:00:00 2001 From: Nicolas Stepien Date: Sun, 15 May 2011 20:49:34 +0200 Subject: [PATCH] Move post in title in monitoring, add GitHub and uso links, rename flavors into sauce flavors, move the flavors on the bottom so that it can take as much space as possible. --- 4chan_x.js | 10 +++++----- script.coffee | 14 +++++++------- 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/4chan_x.js b/4chan_x.js index 4ebf73e66..484094495 100644 --- a/4chan_x.js +++ b/4chan_x.js @@ -70,6 +70,7 @@ monitor: { 'Thread Updater': [true, 'Update threads'], 'Unread Count': [true, 'Show unread post count in tab title'], + 'Post in Title': [true, 'Show the op\'s post in the tab title'], 'Thread Watcher': [true, 'Bookmark threads'], 'Auto Watch': [true, 'Automatically watch threads that you start'], 'Auto Watch Reply': [false, 'Automatically watch threads that you reply to'] @@ -102,7 +103,6 @@ 'Comment Expansion': [true, 'Expand too long comments'], 'Keybinds': [false, 'Binds actions to keys'], 'Localize Time': [true, 'Show times based on your timezone'], - 'Post in Title': [true, 'Show the op\'s post in the tab title'], 'Report Button': [true, 'Add report buttons'], 'Thread Expansion': [true, 'View all replies'], 'Thread Navigation': [true, 'Navigate to previous / next thread'] @@ -918,7 +918,7 @@ var dialog, hiddenNum, hiddenThreads, html, input, _i, _len, _ref; hiddenThreads = $.getValue("hiddenThreads/" + g.BOARD + "/", {}); hiddenNum = Object.keys(g.hiddenReplies).length + Object.keys(hiddenThreads).length; - html = "
Options X



Flavors
support throd
Donate
"; + html = "
Options X



Sauce flavors
Donate
Support: GitHub | support throd | uso
"; dialog = ui.dialog('options', { top: '25%', left: '25%' @@ -2492,7 +2492,7 @@ position: fixed;\ padding: 5px;\ }\ - #options .move, #options > div:last-child {\ + #options .move, #options > div:nth-last-of-type(2) {\ text-align: right;\ }\ .column {\ @@ -2507,12 +2507,12 @@ #options li:first-child {\ text-decoration: underline;\ }\ - #options > div:nth-last-of-type(2) {\ + #options > div:nth-last-of-type(3) {\ float: left;\ }\ #options textarea {\ height: 100px;\ - width: 450px;\ + width: 100%;\ }\ \ #qr {\ diff --git a/script.coffee b/script.coffee index a75fba94a..f59a8cc7e 100644 --- a/script.coffee +++ b/script.coffee @@ -14,6 +14,7 @@ config = monitor: 'Thread Updater': [true, 'Update threads'] 'Unread Count': [true, 'Show unread post count in tab title'] + 'Post in Title': [true, 'Show the op\'s post in the tab title'] 'Thread Watcher': [true, 'Bookmark threads'] 'Auto Watch': [true, 'Automatically watch threads that you start'] 'Auto Watch Reply': [false, 'Automatically watch threads that you reply to'] @@ -41,7 +42,6 @@ config = 'Comment Expansion': [true, 'Expand too long comments'] 'Keybinds': [false, 'Binds actions to keys'] 'Localize Time': [true, 'Show times based on your timezone'] - 'Post in Title': [true, 'Show the op\'s post in the tab title'] 'Report Button': [true, 'Add report buttons'] 'Thread Expansion': [true, 'View all replies'] 'Thread Navigation': [true, 'Navigate to previous / next thread'] @@ -704,14 +704,14 @@ options =

-
Flavors
-
+
Sauce flavors
-
support throd
Donate
+
Support: GitHub | support throd | uso
+
" dialog = ui.dialog 'options', top: '25%', left: '25%', html @@ -1960,7 +1960,7 @@ main = position: fixed; padding: 5px; } - #options .move, #options > div:last-child { + #options .move, #options > div:nth-last-of-type(2) { text-align: right; } .column { @@ -1975,12 +1975,12 @@ main = #options li:first-child { text-decoration: underline; } - #options > div:nth-last-of-type(2) { + #options > div:nth-last-of-type(3) { float: left; } #options textarea { height: 100px; - width: 450px; + width: 100%; } #qr {