From a780b33c46433b8206b7fb7ece21ef03072fe1e2 Mon Sep 17 00:00:00 2001 From: Patrick Sun Date: Sat, 17 Oct 2020 06:25:58 +1100 Subject: [PATCH] setup menu --- front-end/js/dashboard.js | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) diff --git a/front-end/js/dashboard.js b/front-end/js/dashboard.js index 06b0f4a..bd3b19e 100644 --- a/front-end/js/dashboard.js +++ b/front-end/js/dashboard.js @@ -30,9 +30,6 @@ var dashboard = { "href" : "javascript:loan_add_popup.show();" }, { "$template": "Separator" }, - { "value": "Export", "icon": "mdi mdi-file-export" , "href": "export.html"}, - { "value": "Import", "icon": "mdi mdi-file-upload" , "href": "import.html"}, - { "$template": "Separator" }, { "value": "New", "icon": "mdi mdi-file-export", "badge": "20" , "href" : "transaction_new.html"}, { "value": "Submitted", "icon": "mdi mdi-file-upload", "badge": "50", "href" : "transaction_submit.html" }, { "value": "Approved", "icon": "mdi mdi-file-upload", "badge": "35" ,"href" : "transaction_submit.html"}, @@ -41,6 +38,21 @@ var dashboard = { ] } }, + { + "value": "Trails", + "autowidth": true, + "icon": "mdi mdi-bank-transfer", + "submenu": { + "data": [ + { + "value": "List all", "icon": "mdi mdi-table-column-plus-before" , + }, + { "$template": "Separator" }, + { "value": "Export", "icon": "mdi mdi-file-export" , "href" : "javascript:loan_add_popup.show();"}, + { "value": "Import", "icon": "mdi mdi-file-upload" , "href" : "javascript:loan_add_popup.show();"} + ] + } + }, { "value": "Clients", "icon": "mdi mdi-account-supervisor-circle",