Commit graph

24 commits

Author SHA1 Message Date
Pavel Djundik
a124e7bdb8 Change input sizes to be consistent 2018-06-19 13:32:15 +03:00
Jérémie Astori
e2602b28ad
Merge pull request #2315 from thelounge/astorije/ui
Revamp default theme a bit
2018-06-19 00:26:20 -04:00
Pavel Djundik
d178ac9749 Make context menus accessible with keyboard 2018-06-15 13:27:58 +03:00
Jérémie Astori
8137ece450
Make sidebar logo scroll with networks, wrap logos in div element 2018-06-14 18:49:56 -04:00
Jérémie Astori
a97aa59689
Display full logo+text on public mode, logo-only on private mode 2018-06-14 18:49:56 -04:00
Jérémie Astori
0e50cb4f06
Add normal version of logo for themes with light sidebars 2018-06-14 18:49:55 -04:00
Jérémie Astori
6201df072e
Revamp default theme a bit 2018-06-14 18:49:55 -04:00
Jérémie Astori
1daad45f11
Use the new logo for favicons, notifications badges, and homescreen app icons 2018-04-28 12:14:41 -04:00
Jérémie Astori
235a3dad92
Quick-fix tooltips not being loaded by Webpack 2018-04-17 23:07:12 +02:00
Pavel Djundik
a392a08c7a Remove nick editor 2018-04-15 22:17:30 +03:00
Pavel Djundik
c28a5c25b9 Add css-loader 2018-04-06 12:52:53 +03:00
Jérémie Astori
d1548572d4
Move the sign out button to the settings and empty local storage on sign out
This change improves privacy/security by ensuring all local storage (which includes settings, etc.) is destroyed on sign out or when revoking a remote session. Because signing out is now more "risky", the button has been moved to the settings along with other existing sessions.

This commit:

- Removes the power/sign-out icon from the sidebar footer (gives additional room for when the admin panel gets added)
- Adds a "Sign out" button next to the current session info in the settings session list
- Renames "Disconnect" buttons into "Revoke" to better clarify the intent (I will admit that I borrowed the wording from Telegram)
- Fixes incorrect `localStorage.remove` method
- Uses Sinon.js to mock wrappers for `window.localStorage` and `window.location` (does not mock those themselves, in the "Do not mock what you do not own" fashion, mock our layer instead). I expect we will be able to test a bit more from the UI with this. A good next candidate will be the `mockLogger` things.
2018-03-20 01:52:22 -04:00
Jérémie Astori
1e8c0547ec
Add a semi-opaque overlay when channel list is open on mobile 2018-03-17 03:13:43 -04:00
Jérémie Astori
ed67dc5de5
Add logo to the sign in page 2018-03-13 23:05:11 -04:00
Pavel Djundik
b01e01bc19 Convert most of the layout to flexbox, make sidebar an overlay 2018-03-11 00:23:43 +02:00
Pavel Djundik
276266e24f Center loading screen 2018-03-03 09:45:24 +02:00
Jérémie Astori
02b35ab367
Revert "Allow scaling the page" 2018-02-26 01:15:00 -05:00
Pavel Djundik
a2195c15e4 Add titles to all windows 2018-02-20 09:19:20 +02:00
Jérémie Astori
ab982ecc3c Remove deprecated support for CSS filenames in theme configuration 2018-02-19 19:17:45 +02:00
Pavel Djundik
558a6fba0a
Merge pull request #1915 from thelounge/xpaw/aria-tablist
Turn channel list into an accessible tablist
2018-02-19 18:33:28 +02:00
Pavel Djundik
e448dc711c Turn channel list into an accessible tablist 2018-02-18 09:58:44 +02:00
Pavel Djundik
23b59ece45
Allow scaling the page 2018-02-18 01:45:57 -05:00
Pavel Djundik
339f65295d
Make sure packages can be referenced in subfolders 2018-02-08 10:57:57 +02:00
Jérémie Astori
33d82287be
Do not statically serve the index template prior to rendering it
Without this, going to `https://thelounge.example.com/index.html` would return the raw file. This now excludes it from the `public` folder so it cannot be rendered as is.
Renaming the file is for good measure, to indicate that this HTML file must be templated. Because it is a straight rename with no modification, rebasing PRs on it should not be to painful, as git re-applies changes on renamed files.
2018-01-14 13:02:27 -05:00
Renamed from client/index.html (Browse further)