From 4db87082a12fb0d38379cb704c0331f01823a8d0 Mon Sep 17 00:00:00 2001 From: Yash Maheshwari Date: Sun, 31 Dec 2023 21:31:55 +0530 Subject: [PATCH] Implmented: UI for brokering query page(#4) --- src/App.vue | 93 ++++++++++----------- src/components/RouteMenu.vue | 158 +++++++++++++++++++++++++++++++++++ src/router/index.ts | 4 + src/views/BrokeringQuery.vue | 112 +++++++++++++++++++++++++ src/views/BrokeringRoute.vue | 17 ++-- 5 files changed, 323 insertions(+), 61 deletions(-) create mode 100644 src/components/RouteMenu.vue create mode 100644 src/views/BrokeringQuery.vue diff --git a/src/App.vue b/src/App.vue index 4b8f16d..b3e60e0 100644 --- a/src/App.vue +++ b/src/App.vue @@ -1,65 +1,56 @@ - \ No newline at end of file diff --git a/src/components/RouteMenu.vue b/src/components/RouteMenu.vue new file mode 100644 index 0000000..da36241 --- /dev/null +++ b/src/components/RouteMenu.vue @@ -0,0 +1,158 @@ + + + + + diff --git a/src/router/index.ts b/src/router/index.ts index 249fffa..2005626 100644 --- a/src/router/index.ts +++ b/src/router/index.ts @@ -41,6 +41,10 @@ const routes: Array = [ path: 'brokering/route', component: () => import('@/views/BrokeringRoute.vue') }, + { + path: 'brokering/query', + component: () => import('@/views/BrokeringQuery.vue') + }, { path: 'settings', component: () => import('@/views/Settings.vue') diff --git a/src/views/BrokeringQuery.vue b/src/views/BrokeringQuery.vue new file mode 100644 index 0000000..bdd864c --- /dev/null +++ b/src/views/BrokeringQuery.vue @@ -0,0 +1,112 @@ + + + diff --git a/src/views/BrokeringRoute.vue b/src/views/BrokeringRoute.vue index 61ac34d..f8bc40f 100644 --- a/src/views/BrokeringRoute.vue +++ b/src/views/BrokeringRoute.vue @@ -7,7 +7,7 @@ -
+
{{ "Description" }} @@ -15,9 +15,11 @@ {{ "Edit" }} - - {{ "This is what a long description of the routing rule that the user has created looks like. This also includes an edit button where the user can edit their description inline" }} - + + + {{ "This is what a long description of the routing rule that the user has created looks like. This also includes an edit button where the user can edit their description inline" }} + +