2013-02-16 19:18:14 +01:00
<!DOCTYPE html>
2013-10-07 00:12:44 +02:00
< html ng-app = "weechat" ng-cloak >
2013-02-16 18:49:20 +01:00
< head >
2013-10-09 17:53:25 +02:00
< meta charset = "utf-8" >
< meta http-equiv = "X-UA-Compatible" content = "IE=Edge" >
2013-12-14 23:35:10 +01:00
< meta name = "viewport" content = "width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" >
2014-01-25 14:55:08 +01:00
< meta name = "apple-mobile-web-app-capable" content = "yes" >
< meta name = "mobile-web-app-capable" content = "yes" >
2014-08-02 07:35:17 +02:00
< meta name = "apple-mobile-web-app-status-bar-style" content = "black" >
2014-05-19 14:37:48 +02:00
< title ng-bind-template = "{{ notificationStatus }}Glowing Bear {{ pageTitle}}" > < / title >
2014-02-26 01:50:24 +01:00
< link href = "//netdna.bootstrapcdn.com/bootstrap/3.1.1/css/bootstrap.min.css" rel = "stylesheet" media = "screen" >
2014-03-04 04:13:41 +01:00
< link rel = "shortcut icon" sizes = "128x128" href = "assets/img/glowing_bear_128x128.png" >
< link rel = "apple-touch-icon" sizes = "128x128" href = "assets/img/glowing_bear_128x128.png" >
< link rel = "shortcut icon" type = "image/png" href = "assets/img/favicon.png" >
2013-10-26 10:30:35 +02:00
< link href = "css/style.css" rel = "stylesheet" media = "screen" >
2013-10-02 01:39:24 +02:00
< link href = "css/glowingbear.css" rel = "stylesheet" media = "screen" >
2014-09-24 21:16:33 +02:00
< script src = "//ajax.googleapis.com/ajax/libs/angularjs/1.3.0-rc.3/angular.min.js" > < / script >
< script src = "//ajax.googleapis.com/ajax/libs/angularjs/1.3.0-rc.3/angular-route.min.js" > < / script >
< script src = "//ajax.googleapis.com/ajax/libs/angularjs/1.3.0-rc.3/angular-sanitize.min.js" > < / script >
< script src = "//ajax.googleapis.com/ajax/libs/angularjs/1.3.0-rc.3/angular-touch.min.js" > < / script >
< script src = "//cdnjs.cloudflare.com/ajax/libs/underscore.js/1.7.0/underscore-min.js" > < / script >
2013-12-20 14:09:08 +01:00
< script type = "text/javascript" src = "3rdparty/inflate.min.js" > < / script >
2013-10-05 16:05:16 +02:00
< script type = "text/javascript" src = "js/localstorage.js" > < / script >
2013-10-16 23:10:49 +02:00
< script type = "text/javascript" src = "js/weechat.js" > < / script >
2013-10-27 00:44:48 +02:00
< script type = "text/javascript" src = "js/irc-utils.js" > < / script >
2014-02-07 02:32:25 +01:00
< script type = "text/javascript" src = "js/glowingbear.js" > < / script >
2014-08-28 18:25:40 +02:00
< script type = "text/javascript" src = "js/utils.js" > < / script >
< script type = "text/javascript" src = "js/notifications.js" > < / script >
< script type = "text/javascript" src = "js/filters.js" > < / script >
< script type = "text/javascript" src = "js/handlers.js" > < / script >
< script type = "text/javascript" src = "js/connection.js" > < / script >
< script type = "text/javascript" src = "js/inputbar.js" > < / script >
< script type = "text/javascript" src = "js/plugin-directive.js" > < / script >
2014-02-08 16:46:58 +01:00
< script type = "text/javascript" src = "js/websockets.js" > < / script >
2013-10-08 02:42:19 +02:00
< script type = "text/javascript" src = "js/models.js" > < / script >
2013-10-08 23:06:47 +02:00
< script type = "text/javascript" src = "js/plugins.js" > < / script >
2014-09-24 21:16:33 +02:00
< script type = "text/javascript" src = "3rdparty/favico-0.3.5.min.js" > < / script >
2013-02-16 18:49:20 +01:00
< / head >
2014-08-10 17:57:58 +02:00
< body ng-controller = "WeechatCtrl" ng-keydown = "handleKeyPress($event)" ng-keypress = "handleKeyPress($event)" ng-class = "{'no-overflow': connected}" lang = "en-US" >
2014-04-25 05:20:56 +02:00
< div ng-hide = "connected" class = "container" >
2013-10-09 17:53:25 +02:00
< h2 >
2014-03-09 12:22:52 +01:00
< img alt = "logo" src = "assets/img/glowing-bear.svg" >
2014-05-19 14:37:48 +02:00
< span > Glowing Bear< / span >
2014-03-09 11:32:35 +01:00
< small > WeeChat web frontend< / small >
2013-10-09 17:53:25 +02:00
< / h2 >
2014-05-09 18:49:07 +02:00
< div class = "alert alert-danger" ng-show = "errorMessage" >
< strong > Connection error< / strong > The client was unable to connect to the WeeChat relay
< / div >
< div class = "alert alert-danger" ng-show = "sslError" >
< strong > Secure connection error< / strong > A secure connection with the WeeChat relay could not be initiated. This is most likely because your browser does not trust your relay's certificate. Please read the encryption instructions below!
< / div >
< div class = "alert alert-danger" ng-show = "securityError" >
< strong > Secure connection error< / strong > Unable to connect to unencrypted relay when your are connecting to Glowing Bear over HTTPS. Please use an encrypted relay or load the page without using HTTPS.
< / div >
2014-07-05 15:37:43 +02:00
< div class = "panel-group accordion" >
< div class = "panel" data-state = "active" >
2014-05-09 18:49:07 +02:00
< div class = "panel-heading" >
< h4 class = "panel-title" >
2014-07-05 15:37:43 +02:00
< a class = "accordion-toggle" ng-click = "toggleAccordion($event)" >
2014-05-09 18:49:07 +02:00
Connection settings
< / a >
< / h4 >
< / div >
< div id = "collapseOne" class = "panel-collapse collapse in" >
< div class = "panel-body" >
2014-07-05 15:37:43 +02:00
< form class = "form-signin" role = "form" >
2014-05-09 18:49:07 +02:00
< div class = "form-group" >
< label class = "control-label" for = "host" > WeeChat relay hostname and port number< / label >
< div class = "input-group" >
2014-07-31 18:16:44 +02:00
< div class = "row no-gutter" >
< div class = "col-sm-9" >
2014-09-02 20:06:31 +02:00
< input type = "text" class = "form-control favorite-font" id = "host" ng-model = "host" placeholder = "Address" autocapitalize = "off" >
2014-07-31 18:16:44 +02:00
< / div >
< div class = "col-sm-3" >
< input type = "text" class = "form-control favorite-font" id = "port" ng-model = "port" placeholder = "Port" >
< / div >
< / div >
2014-05-09 18:49:07 +02:00
< / div >
< label class = "control-label" for = "password" > WeeChat relay password< / label >
2014-07-25 03:36:16 +02:00
< input type = "password" class = "form-control favorite-font" id = "password" ng-model = "password" placeholder = "Password" >
2014-05-09 18:49:07 +02:00
< div class = "alert alert-danger" ng-show = "passwordError" >
Error: wrong password
< / div >
2014-02-14 15:14:55 +01:00
2014-05-09 18:49:07 +02:00
< div class = "checkbox" >
< label class = "control-label" for = "savepassword" >
< input type = "checkbox" id = "savepassword" ng-model = "savepassword" >
Save password in your browser
< / label >
2013-10-15 16:09:08 +02:00
< / div >
2014-07-20 14:32:53 +02:00
< div class = "checkbox" ng-show = "savepassword" >
< label class = "control-label" for = "autoconnect" >
< input type = "checkbox" id = "autoconnect" ng-model = "autoconnect" >
Automatically connect
< / label >
< / div >
2014-05-09 18:49:07 +02:00
< div class = "checkbox" >
< label class = "control-label" for = "ssl" >
< input type = "checkbox" id = "ssl" ng-model = "ssl" >
Encryption. Read instructions for help
< / label >
< / div >
< / div >
< button class = "btn btn-lg btn-primary" ng-click = "connect()" > {{ connectbutton }} < i class = "glyphicon glyphicon-chevron-right" > < / i > < / button >
< / form >
2013-10-15 16:09:08 +02:00
< / div >
< / div >
2014-05-09 18:49:07 +02:00
< / div >
2014-07-05 15:37:43 +02:00
< div class = "panel" data-state = "collapsed" >
2014-05-09 18:49:07 +02:00
< div class = "panel-heading" >
< h4 class = "panel-title" >
2014-07-05 15:37:43 +02:00
< a class = "accordion-toggle" ng-click = "toggleAccordion($event)" >
2014-05-09 18:49:07 +02:00
Usage instructions
< / a >
< / h4 >
< / div >
2014-07-05 15:37:43 +02:00
< div id = "collapseTwo" class = "panel-collapse collapse in" >
2014-05-09 18:49:07 +02:00
< div class = "panel-body" >
< h3 > Configuring the relay< / h3 >
< div > To start using glowing bear, please enable the relay plugin in your WeeChat client:
2013-10-26 08:36:06 +02:00
< pre >
/set relay.network.password yourpassword
2014-10-09 18:31:59 +02:00
/relay add weechat {{ port || 9001 }}
2013-10-26 08:36:06 +02:00
< / pre >
2014-05-09 18:49:07 +02:00
< span class = "label label-danger" > WeeChat version 0.4.2 or higher is required.< / span > < br >
The communication goes directly between your browser and your WeeChat relay in plain text. Check the instructions below for help on setting up encrypted communication.
Connection settings, including your password, are saved locally in your own browser between sessions.
< br >
< h3 > Shortcuts< / h3 >
Glowing Bear has a few shortcuts:
< ul >
2014-09-01 17:22:17 +02:00
< li > < kbd > ALT-n< / kbd > : Toggle nicklist< / li >
< li > < kbd > ALT-l< / kbd > : Focus on input bar< / li >
< li > < kbd > ALT-[0-9]< / kbd > : Switch to buffer number N< / li >
< li > < kbd > ALT-a< / kbd > : Focus on next buffer with activity< / li >
< li > < kbd > ALT-< < / kbd > : Switch to previous active buffer< / li >
< li > < kbd > ALT-g< / kbd > : Focus on buffer list filter< / li >
< li > < kbd > Esc-Esc< / kbd > : Disconnect (double-tap)< / li >
2014-07-21 16:07:38 +02:00
< li > Arrow keys: Navigate history< / li >
2014-09-01 17:22:17 +02:00
< li > < kbd > Tab< / kbd > : Complete nick< / li >
< li > The following readline/emacs style keybindings can be enabled with a setting: < span title = "Move cursor to beginning of line" > < kbd > Ctrl-a< / kbd > < / span > , < span title = "Move cursor to te end of the line" > < kbd > Ctrl-e< / kbd > < / span > , < span title = "Delete from cursor to beginning of the line" > < kbd > Ctrl-u< / kbd > < / span > , < span title = "Delete from cursor to the end of the line" > < kbd > Ctrl-k< / kbd > < / span > , < span title = "Delete from cursor to previous space" > < kbd > Ctrl-w< / kbd > < / span > < / li >
2014-05-09 18:49:07 +02:00
< / ul >
2013-10-15 16:09:08 +02:00
< / div >
< / div >
< / div >
2014-05-09 18:49:07 +02:00
< / div >
2014-07-05 15:37:43 +02:00
< div class = "panel" data-state = "collapsed" >
2014-05-09 18:49:07 +02:00
< div class = "panel-heading" >
< h4 class = "panel-title" >
2014-07-05 15:37:43 +02:00
< a class = "accordion-toggle" ng-click = "toggleAccordion($event)" >
2014-05-09 18:49:07 +02:00
Encryption instructions
< / a >
< / h4 >
< / div >
2014-07-05 15:37:43 +02:00
< div id = "collapseThree" class = "panel-collapse collapse in" >
2014-05-09 18:49:07 +02:00
< div class = "panel-body" >
< p > If you check the encryption box, the communication between browser and WeeChat will be encrypted with SSL.< / p >
< p > < strong > Note< / strong > : If you are using a self-signed certificate, you have to visit < a href = "https://{{ host }}:{{ port }}/" > https://{{ host || 'weechathost' }}:{{ port || 'relayport' }}/< / a > in your browser first to add a security exception. You can close that tab once you confirmed the certificate, no content will appear. The necessity of this process is a bug in < a href = "https://bugzilla.mozilla.org/show_bug.cgi?id=594502" > Firefox< / a > and other browsers.< / p >
< p > < strong > Setup< / strong > : If you want to use an encrypted session you first have to set up the relay to use SSL. You basically have two options: a self-signed certificate is easier to set up, but requires manual security exceptions. Using a certificate that is trusted by your browser requires more setup, but does not require any security exceptions. As the process for requesting a certificate is different for every certification authority, we detail the method for setting up WeeChat with a self-signed certificate here. To create one, execute the following commands in a shell on the same host and as the user running WeeChat:< / p >
2013-10-26 08:36:06 +02:00
< pre >
$ mkdir -p ~/.weechat/ssl
$ cd ~/.weechat/ssl
2014-05-04 20:07:08 +02:00
$ openssl req -nodes -newkey rsa:4096 -keyout relay.pem -x509 -days 365 -out relay.pem -subj "/CN={{host || 'your weechat host'}}/"
2013-10-26 08:36:06 +02:00
< / pre >
2014-10-09 18:31:59 +02:00
< p > If WeeChat is already running, you can reload the certificate and private key and set up an encrypted relay on port {{ port || 8000 }} with these WeeChat commands:< / p >
2013-10-26 08:36:06 +02:00
< pre >
2014-10-09 18:33:00 +02:00
/set relay.network.password yourpassword
2013-10-26 08:36:06 +02:00
/relay sslcertkey
2014-10-09 18:31:59 +02:00
/relay add ssl.weechat {{ port || 8000 }}
2013-10-26 08:36:06 +02:00
< / pre >
2013-10-21 15:51:05 +02:00
< / div >
< / div >
2014-05-09 18:49:07 +02:00
< / div >
2014-07-05 15:37:43 +02:00
< div class = "panel" data-state = "collapsed" ng-hide = "isinstalled" >
2014-05-09 18:49:07 +02:00
< div class = "panel-heading" >
< h4 class = "panel-title" >
2014-07-05 15:37:43 +02:00
< a class = "accordion-toggle" ng-click = "toggleAccordion($event)" >
2014-05-09 18:49:07 +02:00
Install app
< / a >
< / h4 >
2013-10-15 16:09:08 +02:00
< / div >
2014-07-05 15:37:43 +02:00
< div id = "collapseFour" class = "panel-collapse collapse in" >
2014-05-09 18:49:07 +02:00
< div class = "panel-body" >
< p > You don't need to install anything to use this app, it should work with any modern browser. Start using it < a data-toggle = "collapse" data-parent = "#accordion" href = "#collapseOne" > right now< / a > ! However, there are a few ways to improve integration with your operating system.< / p >
< h3 > Firefox< / h3 >
< p > If you have a recent version of Firefox you can install glowing bear as an app. Click the button to install.< / p >
< button class = "btn btn-lg btn-primary" ng-click = "install()" > Install Firefox app < i class = "glyphicon glyphicon-chevron-right" > < / i > < / button >
< h3 > Chrome< / h3 >
< p > To install glowing bear as an app in Chrome, select < kbd > Menu - Add to home screen< / kbd > (Android) or < kbd > Menu - Tools - Create Application Shortcuts< / kbd > (desktop version).< / p >
2014-02-13 00:03:22 +01:00
< / div >
2014-05-09 18:49:07 +02:00
< / div >
< / div >
2014-07-05 15:37:43 +02:00
< div class = "panel" data-state = "collapsed" >
2014-05-09 18:49:07 +02:00
< div class = "panel-heading" >
< h4 class = "panel-title" >
2014-07-05 15:37:43 +02:00
< a class = "accordion-toggle" ng-click = "toggleAccordion($event)" >
2014-05-09 18:49:07 +02:00
Get involved
< / a >
< / h4 >
< / div >
2014-07-05 15:37:43 +02:00
< div id = "collapseFive" class = "panel-collapse collapse in" >
2014-05-09 18:49:07 +02:00
< div class = "panel-body" >
< p > Glowing bear is built by a small group of developers in their free time. As we're always trying to improve it, we would love getting your feedback and help. If that sounds like something you might enjoy, check out our < a href = "https://github.com/glowing-bear/glowing-bear" > project page< / a > on GitHub!< / p >
< p > If you're interested in contributing or simply want to say hello, head over to < strong > #glowing-bear< / strong > on < strong > freenode!< / strong > We won't bite, promise (-ish).< / p >
2014-02-13 00:03:22 +01:00
< / div >
< / div >
2013-10-11 23:21:51 +02:00
< / div >
2013-10-11 23:38:30 +02:00
< / div >
< / div >
2014-07-08 10:51:17 +02:00
< div class = "content" id = "content" sidebar-state = "visible" ng-show = "connected" >
2014-02-13 00:04:24 +01:00
< div id = "topbar" >
< div class = "brand" >
2014-07-08 10:51:17 +02:00
< a href = "#" ng-click = "toggleSidebar()" >
2014-03-04 04:13:41 +01:00
< img alt = "brand" src = "assets/img/favicon.png" title = "Connected to {{ host }}:{{ port}}" >
2014-02-13 00:04:24 +01:00
< / a >
2014-04-26 17:49:56 +02:00
< button ng-if = "debugMode" ng-click = "countWatchers()" > Count< br / > Watchers< / button >
2014-02-13 00:04:24 +01:00
< / div >
2014-06-23 18:09:38 +02:00
< div class = "title" ng-bind-html = "activeBuffer().title | irclinky:'_blank'" title = "{{activeBuffer().title}}" > < / div >
2014-02-13 00:04:24 +01:00
< div class = "actions pull-right vertical-line-left" >
2014-02-26 02:09:10 +01:00
< div class = "pull-left" >
2014-07-06 16:05:48 +02:00
< a class = "settings-toggle" ng-click = "showModal('settingsModal')" title = "Options menu" >
2014-02-13 00:04:24 +01:00
< i class = "glyphicon glyphicon-cog" > < / i >
< / a >
2014-02-26 02:09:10 +01:00
< / div >
< a ng-click = "disconnect()" title = "Disconnect from WeeChat" >
2014-08-24 18:14:35 +02:00
< i class = "glyphicon glyphicon-off" > < / i >
2014-02-26 02:09:10 +01:00
< / a >
< / div >
< / div >
2014-08-23 13:23:47 +02:00
< div id = "sidebar" data-state = "visible" ng-swipe-left = "hideSidebar()" class = "vertical-line" >
2014-02-26 02:09:10 +01:00
< ul class = "nav nav-pills nav-stacked" ng-class = "{'indented': (predicate === 'serverSortKey')}" >
< li class = "bufferfilter" >
< form role = "form" >
2014-07-25 03:36:16 +02:00
< input class = "form-control favorite-font" type = "text" id = "bufferFilter" ng-model = "search" ng-keydown = "handleSearchBoxKey($event)" placeholder = "Search" >
2014-02-26 02:09:10 +01:00
< / form >
< / li >
2014-07-30 17:29:55 +02:00
< li class = "buffer" ng-class = "{'active': buffer.active, 'indent': buffer.indent, 'channel': buffer.type === 'channel', 'private': buffer.type === 'private'}" ng-repeat = "(key, buffer) in (filteredBuffers = (getBuffers() | toArray | filter:{fullName:search} | filter:hasUnread | orderBy:predicate))" >
2014-02-28 03:53:30 +01:00
< a href = "#" ng-click = "setActiveBuffer(buffer.id)" title = "{{ buffer.fullName }}" >
2014-05-09 17:46:46 +02:00
< span class = "badge pull-right" ng-class = "{'danger': buffer.notification}" ng-if = "buffer.notification || buffer.unread" ng-bind = "buffer.notification || buffer.unread" > < / span >
2014-07-30 17:29:55 +02:00
< span class = "buffername" > {{ buffer.trimmedName || buffer.fullName }}< / span >
2014-02-26 02:09:10 +01:00
< / a >
< / li >
< / ul >
< / div >
2014-08-23 13:23:47 +02:00
< div id = "bufferlines" class = "favorite-font" ng-swipe-right = "showSidebar()" ng-swipe-left = "hideSidebar()" ng-class = "{'withnicklist': showNicklist}" >
2014-04-26 17:49:56 +02:00
< div id = "nicklist" ng-if = "showNicklist" ng-swipe-right = "closeNick()" class = "vertical-line-left" >
2014-04-20 17:44:50 +02:00
< ul class = "nicklistgroup list-unstyled" ng-repeat = "group in nicklist" >
2014-05-09 17:16:33 +02:00
< li ng-repeat = "nick in group.nicks|orderBy:'name'" >
2014-08-23 13:23:47 +02:00
< a ng-click = "openBuffer(nick.name)" > < span ng-class = "::nick.prefixClasses" ng-bind = "::nick.prefix" > < / span > < span ng-class = "::nick.nameClasses" ng-bind = "::nick.name" > < / span > < / a >
2014-02-26 02:09:10 +01:00
< / li >
< / ul >
< / div >
2014-06-23 02:35:04 +02:00
< table ng-class = "{'notimestamp':!showtimestamp,'notimestampseconds':!showtimestampSeconds}" >
2014-02-26 02:09:10 +01:00
< tbody >
< tr class = "bufferline" >
2014-02-28 03:50:50 +01:00
< td ng-hide = "activeBuffer().allLinesFetched" colspan = "3" >
2014-02-26 02:09:10 +01:00
< a class = "fetchmorelines" ng-click = "fetchMoreLines()" ng-hide = "loadingLines" > Fetch more lines< / a >
< span ng-show = "loadingLines" > Fetching more lines...< / span >
< / td >
< / tr >
< / tbody >
2014-04-20 17:44:50 +02:00
< tbody ng-repeat = "bufferline in bufferlines" >
2014-02-26 02:09:10 +01:00
< tr class = "bufferline" >
2014-04-26 17:34:02 +02:00
< td class = "time" >
2014-08-23 13:23:47 +02:00
< span class = "date" ng-class = "::{'repeated-time': bufferline.shortTime==bufferlines[$index-1].shortTime}" >
< span class = "cof-chat_time cob-chat_time coa-chat_time" ng-bind = "::(bufferline.date|date:'HH')" > < / span > < span class = "cof-chat_time_delimiters cob-chat_time_delimiters coa-chat_time_delimiters" > :< / span > < span class = "cof-chat_time cob-chat_time coa-chat_time" ng-bind = "::(bufferline.date|date:'mm')" > < / span > < span class = "seconds" > < span class = "cof-chat_time_delimiters cob-chat_time_delimiters coa-chat_time_delimiters" > :< / span > < span class = "cof-chat_time cob-chat_time coa-chat_time" ng-bind = "::(bufferline.date|date:'ss')" > < / span > < / span >
2014-02-26 02:09:10 +01:00
< / span >
< / td >
2014-08-23 13:23:47 +02:00
< td class = "prefix" > < a ng-click = "addMention(bufferline.prefix)" > < span ng-repeat = "part in ::bufferline.prefix" ng-class = "::part.classes" ng-bind = "::part.text" > < / span > < / a > < / td >
2014-02-26 02:09:10 +01:00
< td class = "message" >
2014-08-23 12:46:05 +02:00
< div ng-repeat = "metadata in ::bufferline.metadata" plugin data = "::metadata" > < / div >
2014-08-23 13:23:47 +02:00
< span ng-repeat = "part in ::bufferline.content" class = "text" ng-class = "::part.classes" ng-bind-html = "::part.text | irclinky:'_blank' | inlinecolour" > < / span >
2014-02-26 02:09:10 +01:00
< / td >
< / tr >
< tr class = "readmarker" ng-if = "activeBuffer().lastSeen==$index" >
< td colspan = "3" >
< hr id = "readmarker" >
< / td >
< / tr >
< / tbody >
< / table >
< / div >
2014-07-08 10:51:17 +02:00
< div class = "footer" ng-class = "{'withnicklist': showNicklist}" >
2014-08-31 16:29:13 +02:00
< div input-bar input-id = "sendMessage" command = "command" > < / div >
2014-03-01 19:55:22 +01:00
< / div >
2014-04-29 01:13:41 +02:00
< / div >
2014-05-09 18:49:07 +02:00
< div id = "soundNotification" > < / div >
2014-07-16 19:35:56 +02:00
< div id = "settingsModal" class = "gb-modal" data-state = "hidden" >
2014-07-20 12:40:23 +02:00
< div class = "backdrop" ng-click = "closeModal($event)" > < / div >
2014-02-26 02:09:10 +01:00
< div class = "modal-dialog" >
< div class = "modal-content" >
< div class = "modal-header" >
2014-07-16 19:35:56 +02:00
< button type = "button" class = "close" ng-click = "closeModal($event)" aria-hidden = "true" > × < / button >
2014-02-26 02:09:10 +01:00
< h4 class = "modal-title" > Settings< / h4 >
2014-07-10 18:37:39 +02:00
< p > Settings will be stored in your browser.< / p >
2014-02-26 02:09:10 +01:00
< / div >
< div class = "modal-body" >
< ul class = "" >
2014-07-10 18:37:39 +02:00
< li id = "fontchoice" >
< form class = "form-horizontal" role = "form" >
< div class = "form-group" >
2014-07-23 20:22:23 +02:00
< label for = "font" class = "col-sm-3 control-label make-thinner" > Preferred font< / label >
< div class = "col-sm-4" >
2014-07-10 18:37:39 +02:00
< input type = "text" ng-model = "fontfamily" class = "form-control" id = "font" >
< / div >
< label for = "size" class = "col-sm-1 control-label" > Size< / label >
< div class = "col-sm-2" >
2014-09-01 15:20:37 +02:00
< input type = "text" ng-model = "fontsize" class = "form-control" id = "size" >
2014-07-10 18:37:39 +02:00
< / div >
< / div >
< / form >
< / li >
2014-02-13 00:04:24 +01:00
< li >
< form class = "form-inline" role = "form" >
< div class = "checkbox" >
< label >
< input type = "checkbox" ng-model = "onlyUnread" >
Only show unread
< / label >
< / div >
< / form >
< / li >
< li >
< form class = "form-inline" role = "form" >
< div class = "checkbox" >
2014-02-16 21:38:10 +01:00
< label >
2014-05-28 21:03:17 +02:00
< input type = "checkbox" ng-model = "showtimestamp" >
Show timestamps
2014-02-13 00:04:24 +01:00
< / label >
< / div >
< / form >
2014-06-23 02:35:04 +02:00
< ul ng-show = "showtimestamp" >
< li >
< form class = "form-inline" role = "form" >
< div class = "checkbox" >
< label >
< input type = "checkbox" ng-model = "showtimestampSeconds" >
Show seconds
< / label >
< / div >
< / form >
< / li >
< / ul >
2014-02-13 00:04:24 +01:00
< / li >
< li >
< form class = "form-inline" role = "form" >
< div class = "checkbox" >
< label >
< input type = "checkbox" ng-model = "noembed" >
Hide embedded content by default
< / label >
< / div >
< / form >
< / li >
< li >
< form class = "form-inline" role = "form" >
< div class = "checkbox" >
< label >
< input type = "checkbox" ng-model = "hotlistsync" >
2014-07-16 19:44:42 +02:00
Mark messages as read in WeeChat
2014-02-13 00:04:24 +01:00
< / label >
< / div >
< / form >
< / li >
< li >
< form class = "form-inline" role = "form" >
< div class = "checkbox" >
< label >
< input type = "checkbox" ng-model = "nonicklist" >
Hide nicklist
< / label >
< / div >
< / form >
< / li >
< li >
< form class = "form-inline" role = "form" >
< div class = "checkbox" >
< label >
< input type = "checkbox" ng-model = "orderbyserver" >
2014-07-18 13:35:13 +02:00
Hierarchical buffer view (order by server)
2014-02-13 00:04:24 +01:00
< / label >
< / div >
< / form >
< / li >
2014-02-20 23:35:34 +01:00
< li >
2014-07-21 16:07:38 +02:00
< form class = "form-inline" role = "form" >
< div class = "checkbox" >
< label >
< input type = "checkbox" ng-model = "readlineBindings" >
Enable common readline keybindings in input bar
< / label >
< / div >
< / form >
< / li >
< li >
2014-02-20 23:35:34 +01:00
< form class = "form-inline" role = "form" >
< div class = "checkbox" >
< label >
< input type = "checkbox" ng-model = "useFavico" >
Display unread count in favicon
< / label >
< / div >
< / form >
< / li >
2014-03-01 19:55:22 +01:00
< li >
< form class = "form-inline" role = "form" >
< div class = "checkbox" >
< label >
< input type = "checkbox" ng-model = "soundnotification" >
Play sound on notification
< / label >
< / div >
< / form >
< / li >
2014-02-13 00:04:24 +01:00
< / ul >
< / div >
2014-02-26 02:09:10 +01:00
< div class = "modal-footer" >
2014-07-06 16:05:48 +02:00
< button type = "button" class = "btn btn-primary" ng-click = "closeModal($event)" > Close< / button >
2014-02-26 02:09:10 +01:00
< / div >
< / div > <!-- /.modal - content -->
< / div > <!-- /.modal - dialog -->
< / div > <!-- /.modal -->
2013-10-05 18:40:01 +02:00
< / body >
2013-02-16 18:49:20 +01:00
< / html >