diff --git a/css/glowingbear.css b/css/glowingbear.css index 46e4b13..71c3692 100644 --- a/css/glowingbear.css +++ b/css/glowingbear.css @@ -71,6 +71,26 @@ input#sendMessage { border: 0; width: 100%; } +.panel input { + max-width: 300px; +} +input[type=text], input[type=password] { + color: black; + border: 0; + -webkit-box-shadow: + inset 0 0 8px rgba(0,0,0,0.4), + 0 0 16px rgba(0,0,0,0.4); + -moz-box-shadow: + inset 0 0 8px rgba(0,0,0,0.4), + 0 0 16px rgba(0,0,0,0.4); + box-shadow: + inset 0 0 8px rgba(0,0,0,0.4), + 0 0 16px rgba(0,0,0,0.4); + background: rgba(255,255,255,0.5); +} +#sidebar, .panel { + background: #282828; +} #sidebar { position: fixed; width: 12%; @@ -78,8 +98,7 @@ input#sendMessage { height: 100%; min-width: 130px; overflow: auto; - background: #282828; -} + } .content { height: 100%; min-height: 100%; diff --git a/index.html b/index.html index 581dde5..e56cb12 100644 --- a/index.html +++ b/index.html @@ -32,55 +32,96 @@
Oh no! We cannot connect!
-
-
- - -

Enter the hostname to the WeeChat relay

-
-
- - -

Enter the the port to the WeeChat relay

-
-
- - -

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

+
+
+ +
+ + +

Enter the hostname to the WeeChat relay

+
+
+ + +

Enter the the port to the WeeChat relay

+
+
+ + +

Password will be stored in your browser session

+
+
+ + +

Read encryption instructions for help

+
+
+ + +

Enter number of lines to sync from WeeChat on connect

+
+ + +
+
+
+
+ +
+
+
To start using, please enable relay in your WeeChat client: +
+          /set relay.network.password yourpassword
+          /relay add weechat 9001
+ WeeChat version 0.4.2 or higher is required.
+ 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. +
+
+
+
+ +
+
+ If you check the encryption box, communication between browser and WeeChat will be encrypted.
+ 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

+ If you want to use encrypted session you first have to set up the relay using SSL like this: +
+          $ 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
+          
+
+
+
+
-
- - -

Enter number of lines to sync from WeeChat on connect

-
- - - -

Instructions

-
To start using, please enable relay in your WeeChat client: -
-/set relay.network.password yourpassword
-/relay add weechat 9001
- WeeChat version 0.4.2 or higher is required.
- 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
-