From d3217560a611b94f888ecf3de93b428a7521d4de Mon Sep 17 00:00:00 2001 From: Rigel Kent Date: Fri, 28 Feb 2020 13:52:21 +0100 Subject: Add visitor settings, rework logged-in dropdown (#2514) * Add visitor settings, rework logged-in dropdown * Make user dropdown P2P switch functional * Fix lint * Fix unnecessary notification when user logs out * Simplify visitor settings code and remove unnecessary icons * Catch parsing errors and reindent menu styles --- client/src/assets/images/global/video-lang.svg | 15 +++++++++++++++ client/src/assets/images/menu/about.svg | 11 ----------- client/src/assets/images/menu/administration.svg | 10 ---------- client/src/assets/images/menu/eye-closed.svg | 17 +++++++++++++++++ client/src/assets/images/menu/eye.svg | 15 +++++++++++++++ client/src/assets/images/menu/language.png | Bin 10937 -> 0 bytes client/src/assets/images/menu/language.svg | 10 ++++++++++ client/src/assets/images/menu/moonsun.svg | 1 - client/src/assets/images/menu/p2p.svg | 11 +++++++++++ 9 files changed, 68 insertions(+), 22 deletions(-) create mode 100644 client/src/assets/images/global/video-lang.svg delete mode 100644 client/src/assets/images/menu/about.svg delete mode 100644 client/src/assets/images/menu/administration.svg create mode 100644 client/src/assets/images/menu/eye-closed.svg create mode 100644 client/src/assets/images/menu/eye.svg delete mode 100644 client/src/assets/images/menu/language.png create mode 100644 client/src/assets/images/menu/language.svg delete mode 100644 client/src/assets/images/menu/moonsun.svg create mode 100644 client/src/assets/images/menu/p2p.svg (limited to 'client/src/assets') diff --git a/client/src/assets/images/global/video-lang.svg b/client/src/assets/images/global/video-lang.svg new file mode 100644 index 000000000..8d7b6a016 --- /dev/null +++ b/client/src/assets/images/global/video-lang.svg @@ -0,0 +1,15 @@ + + + + + + + + + + + + + + + diff --git a/client/src/assets/images/menu/about.svg b/client/src/assets/images/menu/about.svg deleted file mode 100644 index bea602aac..000000000 --- a/client/src/assets/images/menu/about.svg +++ /dev/null @@ -1,11 +0,0 @@ - - - - - - - - - - - diff --git a/client/src/assets/images/menu/administration.svg b/client/src/assets/images/menu/administration.svg deleted file mode 100644 index 0dceda082..000000000 --- a/client/src/assets/images/menu/administration.svg +++ /dev/null @@ -1,10 +0,0 @@ - - - - - - - - - - diff --git a/client/src/assets/images/menu/eye-closed.svg b/client/src/assets/images/menu/eye-closed.svg new file mode 100644 index 000000000..5c441e719 --- /dev/null +++ b/client/src/assets/images/menu/eye-closed.svg @@ -0,0 +1,17 @@ + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/client/src/assets/images/menu/eye.svg b/client/src/assets/images/menu/eye.svg new file mode 100644 index 000000000..d1c3941f1 --- /dev/null +++ b/client/src/assets/images/menu/eye.svg @@ -0,0 +1,15 @@ + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/client/src/assets/images/menu/language.png b/client/src/assets/images/menu/language.png deleted file mode 100644 index 60e6fec00..000000000 Binary files a/client/src/assets/images/menu/language.png and /dev/null differ diff --git a/client/src/assets/images/menu/language.svg b/client/src/assets/images/menu/language.svg new file mode 100644 index 000000000..0ac754c87 --- /dev/null +++ b/client/src/assets/images/menu/language.svg @@ -0,0 +1,10 @@ + + + + + + + + + + \ No newline at end of file diff --git a/client/src/assets/images/menu/moonsun.svg b/client/src/assets/images/menu/moonsun.svg deleted file mode 100644 index fe2a96396..000000000 --- a/client/src/assets/images/menu/moonsun.svg +++ /dev/null @@ -1 +0,0 @@ -Artboard 633 \ No newline at end of file diff --git a/client/src/assets/images/menu/p2p.svg b/client/src/assets/images/menu/p2p.svg new file mode 100644 index 000000000..744643010 --- /dev/null +++ b/client/src/assets/images/menu/p2p.svg @@ -0,0 +1,11 @@ + + + + + + + + + + + \ No newline at end of file -- cgit v1.2.3