diff --git a/css/glowingbear.css b/css/glowingbear.css index fbc4f34..a8aa6ba 100644 --- a/css/glowingbear.css +++ b/css/glowingbear.css @@ -35,11 +35,31 @@ input#sendMessage { } body { - font-family: monospace; - background-color: black; color: white; + background-color: #222; + padding-left: 5px; + padding-right: 5px; + padding-bottom:70px; + padding-top: 70px; } +input#sendMessage { + border: 0; + width: 100%; +} +.content { + height: 100%; + min-height: 100%; + display: block; +} +.bufferlines { + font-family: monospace; + overflow-y: auto; +} + +.navbar-fixed-bottom { + margin: 5px; +} .color-light-green { color: chartreuse; } @@ -48,6 +68,10 @@ body { color: deepskyblue; } +.danger { + background-color: rgb(217, 83, 79); +} + .color-28 { color: greenyellow; } diff --git a/img/favicon.png b/img/favicon.png new file mode 100644 index 0000000..7eca5c8 Binary files /dev/null and b/img/favicon.png differ diff --git a/index.html b/index.html index 24efdf7..cca5197 100644 --- a/index.html +++ b/index.html @@ -1,8 +1,12 @@ - + - - + + + + + + @@ -11,52 +15,85 @@ + + - -
-
-
-
- Connection + + +
+

+ + glowing bear + + WeeChat web frontend + +

+
To start using, please enable relay in your WeeChat client: +
+/set relay.network.password yourpassword
+/relay add weechat 9001
+ Note: The communication goes directly between your browser and your weechat in clear text. + Connection settings are saved between sessions, including password, in your own browser. +

Encryption

+ If you want to use encrypted session you first have to set up the relay using SSL +
+$ mkdir -p ~/.weechat/ssl
+$ cd ~/.weechat/ssl
+$ openssl req -nodes -newkey rsa:2048 -keyout relay.pem -x509 -days 365 -out relay.pem
+
+ If WeeChat is already running, you can reload the certificate and private key with command: +
+/relay sslcertkey
+/relay add ssl.weechat 8000
+
+
+

Connection settings

+
Oh no! We cannot connect!
-
- -
- +
+ + +

Enter the hostname and the port to the WeeChat relay, separated by a :

+
+ + +

Password will be stored in your browser session

-
- -
- -
-
-
- -
- -
-
-
-
- -
+
+ + +

Check the box if you want to encrypt communication between browser and WeeChat. Note: Due to a bug encryption will not work in Firefox. You must also first visit the URL https://weechathost:relayport/ to accept the certificate

+
- -
- - - {{ content.fullName }} +
+
+
+ + {{ bufferline.date | date:'HH:mm' }} - -
- {{ bufferline.date | date: 'H:mm:ss'}} - + {{ part.text }} @@ -71,16 +108,18 @@
-
- -
-