From 578160457278f2881b58680d34afe4d2155a36fa Mon Sep 17 00:00:00 2001 From: lishutong Date: Tue, 13 Jul 2021 03:19:32 +0000 Subject: [PATCH] Use material design for OTAGUI. 1. Changed the layout using material design ui in vuetify. 2. Changed the file upload to drag-and-drop style. Test: Mannual tested. Change-Id: I8b34a405ae3783d6806946f0adc5fc5ac9c30a49 --- tools/otagui/src/App.vue | 55 +++-- tools/otagui/src/components/BaseCheckbox.vue | 44 ++-- tools/otagui/src/components/BaseFile.vue | 62 ++++-- tools/otagui/src/components/BaseInput.vue | 9 +- tools/otagui/src/components/FileSelect.vue | 120 +++++++++-- .../src/components/JobConfiguration.vue | 23 ++- tools/otagui/src/components/JobDisplay.vue | 1 + .../otagui/src/components/PartialCheckbox.vue | 53 +++-- tools/otagui/src/views/JobDetails.vue | 25 ++- tools/otagui/src/views/JobList.vue | 7 +- tools/otagui/src/views/SimpleForm.vue | 193 +++++++++--------- 11 files changed, 403 insertions(+), 189 deletions(-) diff --git a/tools/otagui/src/App.vue b/tools/otagui/src/App.vue index c6fbe6376..d9064fb7c 100644 --- a/tools/otagui/src/App.vue +++ b/tools/otagui/src/App.vue @@ -1,16 +1,41 @@ \ No newline at end of file + + + OTA Dashboard + + + {{ link }} + + + + + + + + + + + + + \ No newline at end of file diff --git a/tools/otagui/src/components/BaseCheckbox.vue b/tools/otagui/src/components/BaseCheckbox.vue index 21a697789..bd16dab1e 100644 --- a/tools/otagui/src/components/BaseCheckbox.vue +++ b/tools/otagui/src/components/BaseCheckbox.vue @@ -1,12 +1,17 @@ \ No newline at end of file + + + \ No newline at end of file diff --git a/tools/otagui/src/components/BaseFile.vue b/tools/otagui/src/components/BaseFile.vue index dd072fbf4..7be515398 100644 --- a/tools/otagui/src/components/BaseFile.vue +++ b/tools/otagui/src/components/BaseFile.vue @@ -1,11 +1,19 @@