Merge "Add responsive design to the UI."

This commit is contained in:
Treehugger Robot
2021-07-17 02:05:27 +00:00
committed by Gerrit Code Review
6 changed files with 48 additions and 16 deletions

View File

@@ -11,7 +11,8 @@
<v-col <v-col
v-for="label in labels" v-for="label in labels"
:key="label" :key="label"
cols="3" cols="12"
md="4"
> >
<input <input
type="checkbox" type="checkbox"

View File

@@ -8,7 +8,10 @@
</div> </div>
<v-divider /> <v-divider />
<v-row> <v-row>
<v-col cols="6"> <v-col
cols="12"
md="6"
>
<v-btn <v-btn
block block
@click="updateChart('blocks')" @click="updateChart('blocks')"
@@ -16,7 +19,10 @@
Analyse Installed Blocks (in target build) Analyse Installed Blocks (in target build)
</v-btn> </v-btn>
</v-col> </v-col>
<v-col cols="6"> <v-col
cols="12"
md="6"
>
<v-btn <v-btn
block block
@click="updateChart('payload')" @click="updateChart('payload')"
@@ -26,7 +32,10 @@
</v-col> </v-col>
</v-row> </v-row>
<v-row> <v-row>
<v-col cols="6"> <v-col
cols="12"
md="6"
>
<v-btn <v-btn
block block
@click="updateChart('COWmerge')" @click="updateChart('COWmerge')"
@@ -34,7 +43,10 @@
Analyse COW Merge Operations Analyse COW Merge Operations
</v-btn> </v-btn>
</v-col> </v-col>
<v-col cols="6"> <v-col
cols="12"
md="6"
>
<v-btn <v-btn
block block
:disabled="!targetFile" :disabled="!targetFile"
@@ -45,8 +57,14 @@
</v-col> </v-col>
</v-row> </v-row>
<v-row> <v-row>
<v-col cols="6" /> <v-col
<v-col cols="6"> cols="12"
md="6"
/>
<v-col
cols="12"
md="6"
>
<BaseFile <BaseFile
label="Drag and drop or Select The target Android build" label="Drag and drop or Select The target Android build"
@file-select="selectBuild" @file-select="selectBuild"

View File

@@ -20,7 +20,8 @@
<v-col <v-col
v-for="partition in payload.manifest.partitions" v-for="partition in payload.manifest.partitions"
:key="partition.partitionName" :key="partition.partitionName"
cols="4" cols="12"
md="4"
> >
<v-card <v-card
elevation="5" elevation="5"

View File

@@ -1,7 +1,8 @@
<template> <template>
<v-row> <v-row>
<v-col <v-col
cols="6" cols="12"
md="6"
> >
<BaseFile <BaseFile
label="Please drag and drop an OTA package or Select one" label="Please drag and drop an OTA package or Select one"
@@ -17,7 +18,8 @@
vertical vertical
/> />
<v-col <v-col
cols="6" cols="12"
md="6"
> >
<PayloadComposition <PayloadComposition
v-if="zipFile && payload.manifest" v-if="zipFile && payload.manifest"

View File

@@ -11,7 +11,8 @@
<v-col <v-col
v-for="label in labels" v-for="label in labels"
:key="label" :key="label"
cols="4" cols="12"
md="4"
> >
<label <label
v-if="label" v-if="label"

View File

@@ -1,6 +1,9 @@
<template> <template>
<v-row> <v-row>
<v-col cols="6"> <v-col
cols="12"
md="6"
>
<form @submit.prevent="sendForm"> <form @submit.prevent="sendForm">
<FileSelect <FileSelect
v-if="input.isIncremental" v-if="input.isIncremental"
@@ -15,7 +18,8 @@
/> />
<v-row> <v-row>
<v-col <v-col
cols="4" cols="12"
md="4"
align="center" align="center"
> >
<BaseCheckbox <BaseCheckbox
@@ -24,7 +28,8 @@
/> />
</v-col> </v-col>
<v-col <v-col
cols="4" cols="12"
md="4"
align="center" align="center"
> >
<BaseCheckbox <BaseCheckbox
@@ -33,7 +38,8 @@
/> />
</v-col> </v-col>
<v-col <v-col
cols="4" cols="12"
md="4"
align="center" align="center"
> >
<BaseCheckbox <BaseCheckbox
@@ -64,7 +70,10 @@
</form> </form>
</v-col> </v-col>
<v-divider vertical /> <v-divider vertical />
<v-col cols="6"> <v-col
cols="12"
md="6"
>
<ul> <ul>
<h3>Build Library</h3> <h3>Build Library</h3>
<UploadFile @file-uploaded="fetchTargetList" /> <UploadFile @file-uploaded="fetchTargetList" />