Removed show timestamp [seconds] settings
Functionality is now replaced by changing weechat's buffer_time_format. e.g. 24h time: /set weechat.look.buffer_time_format %H:%M Supported time formats are 12h and 24h, with seconds or no seconds.
This commit is contained in:
parent
ac2966ff0b
commit
ce7715c794
3 changed files with 2 additions and 34 deletions
|
@ -430,14 +430,6 @@ div.colourbox {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
table.notimestamp td.time {
|
|
||||||
display: none !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
table.notimestampseconds td.time span.seconds {
|
|
||||||
display: none !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
#sidebar .showquickkeys .buffer .buffer-quick-key {
|
#sidebar .showquickkeys .buffer .buffer-quick-key {
|
||||||
transition: all ease-in-out 0.5s;
|
transition: all ease-in-out 0.5s;
|
||||||
-webkit-transition: all ease-in-out 0.5s;
|
-webkit-transition: all ease-in-out 0.5s;
|
||||||
|
|
26
index.html
26
index.html
|
@ -276,7 +276,7 @@ $ openssl req -nodes -newkey rsa:4096 -keyout relay.pem -x509 -days 365 -out rel
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
<table ng-class="{'notimestamp':!settings.showtimestamp,'notimestampseconds':!settings.showtimestampSeconds}">
|
<table>
|
||||||
<tbody>
|
<tbody>
|
||||||
<tr class="bufferline">
|
<tr class="bufferline">
|
||||||
<td ng-hide="activeBuffer().allLinesFetched" colspan="3">
|
<td ng-hide="activeBuffer().allLinesFetched" colspan="3">
|
||||||
|
@ -289,7 +289,7 @@ $ openssl req -nodes -newkey rsa:4096 -keyout relay.pem -x509 -days 365 -out rel
|
||||||
<tr class="bufferline">
|
<tr class="bufferline">
|
||||||
<td class="time">
|
<td class="time">
|
||||||
<span class="date" ng-class="::{'repeated-time': bufferline.shortTime==bufferlines[$index-1].shortTime}">
|
<span class="date" ng-class="::{'repeated-time': bufferline.shortTime==bufferlines[$index-1].shortTime}">
|
||||||
<span class="cof-chat_time cob-chat_time coa-chat_time timestamp-no-seconds" ng-bind-html="::bufferline.formattedTime"></span>
|
<span class="cof-chat_time cob-chat_time coa-chat_time" ng-bind-html="::bufferline.formattedTime"></span>
|
||||||
</span>
|
</span>
|
||||||
</td>
|
</td>
|
||||||
<td class="prefix"><a ng-click="addMention(bufferline.prefix)"><span class="hidden-bracket"><</span><span ng-repeat="part in ::bufferline.prefix" ng-class="::part.classes" ng-bind="::part.text|prefixlimit:25"></span><span class="hidden-bracket">></span></a></td><!--
|
<td class="prefix"><a ng-click="addMention(bufferline.prefix)"><span class="hidden-bracket"><</span><span ng-repeat="part in ::bufferline.prefix" ng-class="::part.classes" ng-bind="::part.text|prefixlimit:25"></span><span class="hidden-bracket">></span></a></td><!--
|
||||||
|
@ -375,28 +375,6 @@ $ openssl req -nodes -newkey rsa:4096 -keyout relay.pem -x509 -days 365 -out rel
|
||||||
</div>
|
</div>
|
||||||
</form>
|
</form>
|
||||||
</li>
|
</li>
|
||||||
<li>
|
|
||||||
<form class="form-inline" role="form">
|
|
||||||
<div class="checkbox">
|
|
||||||
<label>
|
|
||||||
<input type="checkbox" ng-model="settings.showtimestamp">
|
|
||||||
Show timestamps
|
|
||||||
</label>
|
|
||||||
</div>
|
|
||||||
</form>
|
|
||||||
<ul ng-show="settings.showtimestamp">
|
|
||||||
<li>
|
|
||||||
<form class="form-inline" role="form">
|
|
||||||
<div class="checkbox">
|
|
||||||
<label>
|
|
||||||
<input type="checkbox" ng-model="settings.showtimestampSeconds">
|
|
||||||
Show seconds
|
|
||||||
</label>
|
|
||||||
</div>
|
|
||||||
</form>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
</li>
|
|
||||||
<li>
|
<li>
|
||||||
<form class="form-inline" role="form">
|
<form class="form-inline" role="form">
|
||||||
<div class="checkbox">
|
<div class="checkbox">
|
||||||
|
|
|
@ -38,8 +38,6 @@ weechat.controller('WeechatCtrl', ['$rootScope', '$scope', '$store', '$timeout',
|
||||||
'hotlistsync': true,
|
'hotlistsync': true,
|
||||||
'orderbyserver': true,
|
'orderbyserver': true,
|
||||||
'useFavico': true,
|
'useFavico': true,
|
||||||
'showtimestamp': true,
|
|
||||||
'showtimestampSeconds': false,
|
|
||||||
'soundnotification': true,
|
'soundnotification': true,
|
||||||
'fontsize': '14px',
|
'fontsize': '14px',
|
||||||
'fontfamily': (utils.isMobileUi() ? 'sans-serif' : 'Inconsolata, Consolas, Monaco, Ubuntu Mono, monospace'),
|
'fontfamily': (utils.isMobileUi() ? 'sans-serif' : 'Inconsolata, Consolas, Monaco, Ubuntu Mono, monospace'),
|
||||||
|
|
Loading…
Add table
Reference in a new issue