From 9c8dc01f185a785cb08092bbd075b2ad752a3595 Mon Sep 17 00:00:00 2001 From: Midgard Date: Thu, 26 Mar 2020 21:29:50 +0100 Subject: [PATCH] Add a little bit of styling --- README.md | 2 ++ assets/feathermost.svg | 5 +++++ assets/main.css | 37 +++++++++++++++++++++++++++++++++++++ index.html | 39 ++++++++++++++++++++++++--------------- 4 files changed, 68 insertions(+), 15 deletions(-) create mode 100644 assets/feathermost.svg create mode 100644 assets/main.css diff --git a/README.md b/README.md index 9852a6a..7367e93 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,5 @@ +# ![](./img/feathermost.svg) Feathermost + To run in development mode, execute `rundev.sh`. This will start a web server, and mitmproxy to avoid CORS problems. Dependencies for that: Bash, Python and [`mitmproxy`](https://mitmproxy.org/). diff --git a/assets/feathermost.svg b/assets/feathermost.svg new file mode 100644 index 0000000..27b5b4f --- /dev/null +++ b/assets/feathermost.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/assets/main.css b/assets/main.css new file mode 100644 index 0000000..333b45f --- /dev/null +++ b/assets/main.css @@ -0,0 +1,37 @@ +body { + font-family: sans-serif; + background-color: #eee; + color: #222; + max-width: 768px; + margin: 0 auto; + line-height: 1.5; +} + +input { + font: inherit; + color: inherit; +} + +h1 { + text-align: center; + line-height: 1.2; +} +h1 img { + width: 1em; + height: 1em; + vertical-align: middle; +} + +#login { + text-align: center; +} +#login table { + margin: 0 auto 1em; +} +#login table th { + font-weight: normal; + text-align: right; +} +#login_server_row td, #login_server_row th { + padding-bottom: 1em; +} diff --git a/index.html b/index.html index c0dfc79..4107c26 100644 --- a/index.html +++ b/index.html @@ -4,29 +4,38 @@ Feathermost + -
+
+

This application cannot work without JavaScript, unfortunately. In order to proceed, please enable it for this website.

+

Feathermost is an alternative webclient for the Mattermost chat platform. It is not possible to provide a JavaScript-less experience without having to trust us with your user data.

+
+ + +

Feathermost

+ +

Add a server

- - - + + + + + + + + + +
Server
Username
Password
Server
Username
Password
- -
- - - (ignores username and password)
- - -
- + +

 
-		
-		
+		
+