-
+
@@ -71,7 +67,9 @@
href="#"
role="tab"
aria-controls="inbox"
- @click.prevent="!isDataLoading ? switchTab('priority') : null"
+ @click.prevent="
+ !isDataLoading ? switchTab('priority') : null
+ "
aria-selected="true"
:class="{ active: tab === 'priority' }"
>
@@ -95,7 +93,7 @@
-
+
+
-
-
-
-
-
+}
+
+.button-class {
+ background-color: #e6f3ff;
+ padding: 5px 15px;
+ border-radius: 10px;
+ border: none;
+ cursor: pointer;
+}
+
\ No newline at end of file
diff --git a/resources/js/tasks/components/ProcessBrowser.vue b/resources/js/tasks/components/ProcessBrowser.vue
new file mode 100644
index 0000000000..b6ac621cd1
--- /dev/null
+++ b/resources/js/tasks/components/ProcessBrowser.vue
@@ -0,0 +1,19 @@
+
+
+
Process Container
+
Process ID: {{ processId }}
+
No selected Process
+
+
+
+
\ No newline at end of file
diff --git a/resources/js/tasks/components/ProcessesDashboardsMenu.vue b/resources/js/tasks/components/ProcessesDashboardsMenu.vue
new file mode 100644
index 0000000000..ebab15efa2
--- /dev/null
+++ b/resources/js/tasks/components/ProcessesDashboardsMenu.vue
@@ -0,0 +1,151 @@
+
+
+
+
+
+
+
diff --git a/resources/js/tasks/router.js b/resources/js/tasks/router.js
new file mode 100644
index 0000000000..c60625daed
--- /dev/null
+++ b/resources/js/tasks/router.js
@@ -0,0 +1,32 @@
+import Vue from "vue";
+import VueRouter from "vue-router";
+import ProcessBrowser from "./components/ProcessBrowser.vue";
+import DashboardViewer from "./components/DashboardViewer.vue";
+
+Vue.use(VueRouter);
+
+const router = new VueRouter({
+ mode: "history",
+ base: "/tasks",
+ routes: [
+ {
+ path: "/process/:processId",
+ name: "process-browser",
+ component: ProcessBrowser,
+ props: route => ({
+ processId: parseInt(route.params.processId) || null,
+ process: null
+ })
+ },
+ {
+ path: "/dashboard/:dashboardId",
+ name: "dashboard",
+ component: DashboardViewer,
+ props: route => ({
+ dashboardId: route.params.dashboardId || null
+ })
+ }
+ ]
+});
+
+export default router;
\ No newline at end of file
diff --git a/webpack.mix.js b/webpack.mix.js
index ef6c05502a..96d065d9c7 100644
--- a/webpack.mix.js
+++ b/webpack.mix.js
@@ -131,6 +131,7 @@ mix
.js("resources/js/tasks/index.js", "public/js/tasks/index.js")
.js("resources/js/tasks/mobile.js", "public/js/tasks/mobile.js")
.js("resources/js/tasks/show.js", "public/js/tasks/show.js")
+ .js("resources/js/tasks/router.js", "public/js/tasks/router.js")
.js("resources/js/notifications/index.js", "public/js/notifications/index.js")
.js('resources/js/inbox-rules/index.js', 'public/js/inbox-rules')