changeset 2613:2ee6c32f1ba6

client: fix UI for URL/file import settings Make the style of the toggle button setting for `URL` similiar to the used default stale for `file` in the `Import via` setting which is used for configuring a number of imports. So users can see that both settings of the toggle button can lead to a valid configuration.
author Bernhard Reiter <bernhard@intevation.de>
date Wed, 13 Mar 2019 12:31:52 +0100
parents c7ce8b011bcb
children 6691bf76af1c
files client/src/components/importschedule/Importscheduledetail.vue
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/client/src/components/importschedule/Importscheduledetail.vue	Wed Mar 13 12:13:22 2019 +0100
+++ b/client/src/components/importschedule/Importscheduledetail.vue	Wed Mar 13 12:31:52 2019 +0100
@@ -72,7 +72,10 @@
               </small>
             </div>
             <div class="flex-flex-row text-left">
+              <!-- '#75c791' is the DEFAULT_COLOR_CHECKED
+                   from vue-js-toggle-button as here both states are active -->
               <toggle-button
+                :color="{ unchecked: '#75c791' }"
                 v-model="directImport"
                 class="mt-2"
                 :speed="100"