Skip to content

Commit

Permalink
Use flat buttons
Browse files Browse the repository at this point in the history
  • Loading branch information
wkramer committed Apr 30, 2024
1 parent 63bfafb commit fde7c77
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 8 deletions.
2 changes: 1 addition & 1 deletion src/components/download/DataDownloadDisplayComponent.vue
Original file line number Diff line number Diff line change
Expand Up @@ -110,10 +110,10 @@
<v-row class="ma-1">
<v-col>
<v-btn
variant="flat"
prepend-icon="mdi-download"
color="primary"
@click="downloadData"
block
>Download
</v-btn>
</v-col>
Expand Down
5 changes: 4 additions & 1 deletion src/components/download/TimeSeriesFileDownloadComponent.vue
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,10 @@
</v-text-field>
</v-card-text>
<v-card-actions class="justify-end">
<v-btn color="primary" @click="() => downloadFile(fileTypes[fileType])"
<v-btn
variant="flat"
color="primary"
@click="() => downloadFile(fileTypes[fileType])"
>Download</v-btn
>
<v-btn @click="() => cancelDialog()">Cancel</v-btn>
Expand Down
16 changes: 10 additions & 6 deletions src/components/workflows/WorkflowsControl.vue
Original file line number Diff line number Diff line change
Expand Up @@ -54,12 +54,14 @@
:config="JsonFormsConfig"
@change="onFormChange"
/>
<div class="d-flex flex-column">
<v-btn color="success" class="mt-4" block @click="startWorkflow">
Start
</v-btn>
</div>
</v-container>
<v-card-actions>
<v-spacer></v-spacer>
<v-btn variant="flat" color="primary" @click="startWorkflow">
Run
</v-btn>
<v-btn @click="() => (workflowDialog = false)">Cancel</v-btn>
</v-card-actions>
</v-card>
</v-dialog>

Expand Down Expand Up @@ -341,7 +343,9 @@ async function startWorkflow() {
: getRunTaskFilter()
await workflowsStore.startWorkflow(workflowType, filter)
showSuccessMessage('Workflow submitted successfully. Monitor task progress using System Monitor.')
showSuccessMessage(
'Workflow submitted successfully. Monitor task progress using System Monitor.',
)
} catch (error) {
showErrorMessage((error as Error).message)
}
Expand Down

0 comments on commit fde7c77

Please sign in to comment.