From 9aa6a374cd8f034257f569603df338526f7043a5 Mon Sep 17 00:00:00 2001 From: Kramer Campbell Date: Sun, 22 Jun 2014 17:35:04 -0700 Subject: [PATCH] Add option to show seconds in timestamps. --- css/glowingbear.css | 7 +++++++ index.html | 16 ++++++++++++++-- js/glowingbear.js | 2 ++ 3 files changed, 23 insertions(+), 2 deletions(-) diff --git a/css/glowingbear.css b/css/glowingbear.css index 50391c8..19cb22a 100644 --- a/css/glowingbear.css +++ b/css/glowingbear.css @@ -345,6 +345,10 @@ table.notimestamp td.time { display: none !important; } +table.notimestampseconds td.time span.seconds { + display: none !important; +} + .modal ul { list-style: none; padding-left: 15px; @@ -353,6 +357,9 @@ table.notimestamp td.time { font-size: larger; margin-bottom: 10px; } +.modal li li { + font-size: medium; +} .modal-header { border-bottom: 0; } diff --git a/index.html b/index.html index cb0f9b6..1efe554 100644 --- a/index.html +++ b/index.html @@ -231,7 +231,7 @@ $ openssl req -nodes -newkey rsa:4096 -keyout relay.pem -x509 -days 365 -out rel - +
@@ -295,6 +295,18 @@ $ openssl req -nodes -newkey rsa:4096 -keyout relay.pem -x509 -days 365 -out rel +
  • diff --git a/js/glowingbear.js b/js/glowingbear.js index b6e0907..ee648c8 100644 --- a/js/glowingbear.js +++ b/js/glowingbear.js @@ -831,6 +831,8 @@ weechat.controller('WeechatCtrl', ['$rootScope', '$scope', '$store', '$timeout', $store.bind($scope, "useFavico", true); // Save setting for showtimestamp $store.bind($scope, "showtimestamp", showtimestamp); + // Save setting for showing seconds on timestamps + $store.bind($scope, "showtimestampSeconds", false); // Save setting for playing sound on notification $store.bind($scope, "soundnotification", false);
  • @@ -244,7 +244,7 @@ $ openssl req -nodes -newkey rsa:4096 -keyout relay.pem -x509 -days 365 -out rel
    - : + ::