Skip to content

Commit

Permalink
refactor(download.vue): add add class to elements
Browse files Browse the repository at this point in the history
  • Loading branch information
amoncaldas committed Dec 28, 2021
1 parent ab8f0b8 commit f24e8f0
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/fragments/forms/map-form/components/download/Download.vue
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
<template>
<div>
<v-btn style="float:right; margin-top:0" small icon :title="$t('download.download')" @click="openDownload()"><v-icon>cloud_download</v-icon></v-btn>
<div class="download-container">
<v-btn class="open-download-btn" style="float:right; margin-top:0" small icon :title="$t('download.download')" @click="openDownload()"><v-icon>cloud_download</v-icon></v-btn>
<v-dialog v-model="isDownloadModalOpen" max-width="600" attach="body" :persistent="true">
<box v-model="isDownloadModalOpen" background="white" closable @closed="closeDownload()">
<box customClass="download-modal" v-model="isDownloadModalOpen" background="white" closable @closed="closeDownload()">
<h3 slot="header">{{$t('download.downloadRoute')}}</h3>
<v-text-field :label="$t('download.downloadFileName')" v-model="downloadFileName" :required="true"></v-text-field>
<v-select :label="$t('download.downloadFormat')" :items="availableDownloadFormats" v-model="downloadFormat"></v-select>
<v-text-field class="export-file-name" :label="$t('download.downloadFileName')" v-model="downloadFileName" :required="true"></v-text-field>
<v-select class="download-format" :label="$t('download.downloadFormat')" :items="availableDownloadFormats" v-model="downloadFormat"></v-select>
<v-layout row wrap>
<v-spacer></v-spacer>
<v-flex xs12 sm6>
<v-btn color="primary" style="float:right; margin-top:0" :title="$t('download.download')" @click="download()">{{$t('download.download')}}</v-btn>
<v-btn class="download" color="primary" style="float:right; margin-top:0" :title="$t('download.download')" @click="download()">{{$t('download.download')}}</v-btn>
</v-flex>
</v-layout>
</box>
Expand Down

0 comments on commit f24e8f0

Please sign in to comment.