From f7a98597e3fcf6cdbc636167a63b178706108537 Mon Sep 17 00:00:00 2001 From: cagataycivici Date: Thu, 6 Dec 2018 22:33:54 +0300 Subject: [PATCH] Implemented menu of the showcase --- src/AppMenu.vue | 101 ++++++++++++++++++- src/assets/images/menu/charts-active.svg | 2 +- src/assets/images/menu/data-active.svg | 2 +- src/assets/images/menu/dragdrop-active.svg | 2 +- src/assets/images/menu/file-active.svg | 2 +- src/assets/images/menu/menu-active.svg | 2 +- src/assets/images/menu/message-active.svg | 2 +- src/assets/images/menu/misc-active.svg | 2 +- src/assets/images/menu/multimedia-active.svg | 2 +- src/assets/images/menu/multimedia.svg | 2 +- src/assets/images/menu/overlay-active.svg | 2 +- src/assets/images/menu/panel-active.svg | 2 +- 12 files changed, 111 insertions(+), 12 deletions(-) diff --git a/src/AppMenu.vue b/src/AppMenu.vue index 8bd057e4b..8565ff775 100644 --- a/src/AppMenu.vue +++ b/src/AppMenu.vue @@ -22,6 +22,105 @@ ● Button + + + data + data + Data + +
+
+ ● Link +
+
+ + + panel + panel + Panel + +
+
+ ● Link +
+
+ + + overlay + overlay + Overlay + +
+
+ ● Link +
+
+ + + file + file + File + +
+
+ ● Link +
+
+ + + menu + menu + Menu + +
+
+ ● Link +
+
+ + + charts + charts + Chart + +
+
+ ● Link +
+
+ + + message + message + Messages + +
+
+ ● Link +
+
+ + + dragdrop + dragdrop + DragDrop + +
+
+ ● Link +
+
+ + + misc + misc + Misc + +
+
+ ● Link +
+
@@ -35,7 +134,7 @@ export default { }, methods: { toggleMenu(event, index) { - this.activeMenuIndex = index; + this.activeMenuIndex = (this.activeMenuIndex === index) ? null : index; } } } diff --git a/src/assets/images/menu/charts-active.svg b/src/assets/images/menu/charts-active.svg index c4aa690b8..d31e2b1d4 100644 --- a/src/assets/images/menu/charts-active.svg +++ b/src/assets/images/menu/charts-active.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/src/assets/images/menu/data-active.svg b/src/assets/images/menu/data-active.svg index bc3c052b6..b3b5a1cf7 100644 --- a/src/assets/images/menu/data-active.svg +++ b/src/assets/images/menu/data-active.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/src/assets/images/menu/dragdrop-active.svg b/src/assets/images/menu/dragdrop-active.svg index b766b70ce..d6d1f6779 100644 --- a/src/assets/images/menu/dragdrop-active.svg +++ b/src/assets/images/menu/dragdrop-active.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/src/assets/images/menu/file-active.svg b/src/assets/images/menu/file-active.svg index ca6bbf261..d6ebc0aa4 100644 --- a/src/assets/images/menu/file-active.svg +++ b/src/assets/images/menu/file-active.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/src/assets/images/menu/menu-active.svg b/src/assets/images/menu/menu-active.svg index 3affb21c0..abd5f9ded 100644 --- a/src/assets/images/menu/menu-active.svg +++ b/src/assets/images/menu/menu-active.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/src/assets/images/menu/message-active.svg b/src/assets/images/menu/message-active.svg index d084333a3..1e457109a 100644 --- a/src/assets/images/menu/message-active.svg +++ b/src/assets/images/menu/message-active.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/src/assets/images/menu/misc-active.svg b/src/assets/images/menu/misc-active.svg index 38759ad80..10353c908 100644 --- a/src/assets/images/menu/misc-active.svg +++ b/src/assets/images/menu/misc-active.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/src/assets/images/menu/multimedia-active.svg b/src/assets/images/menu/multimedia-active.svg index 0b0cb8ff7..d2932f5e0 100644 --- a/src/assets/images/menu/multimedia-active.svg +++ b/src/assets/images/menu/multimedia-active.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/src/assets/images/menu/multimedia.svg b/src/assets/images/menu/multimedia.svg index cf034dc32..d2932f5e0 100644 --- a/src/assets/images/menu/multimedia.svg +++ b/src/assets/images/menu/multimedia.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/src/assets/images/menu/overlay-active.svg b/src/assets/images/menu/overlay-active.svg index 8bb12a359..e859d4fed 100644 --- a/src/assets/images/menu/overlay-active.svg +++ b/src/assets/images/menu/overlay-active.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/src/assets/images/menu/panel-active.svg b/src/assets/images/menu/panel-active.svg index 61f26d5ff..dfddf71d3 100644 --- a/src/assets/images/menu/panel-active.svg +++ b/src/assets/images/menu/panel-active.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file