changeset 1712:1368e2a52c29

schedule_detail: scheduling last
author Thomas Junk <thomas.junk@intevation.de>
date Tue, 08 Jan 2019 15:53:22 +0100
parents aec17976528e
children d4702b0ff15f
files client/src/components/importschedule/Importscheduledetail.vue
diffstat 1 files changed, 42 insertions(+), 40 deletions(-) [+]
line wrap: on
line diff
--- a/client/src/components/importschedule/Importscheduledetail.vue	Tue Jan 08 14:51:36 2019 +0100
+++ b/client/src/components/importschedule/Importscheduledetail.vue	Tue Jan 08 15:53:22 2019 +0100
@@ -85,12 +85,12 @@
           <div class="flex-column mt-3 w-100 mr-2">
             <div class="flex-row text-left">
               <small class="text-muted">
-                <translate>Scheduled</translate>?
+                <translate>Email Notification</translate>
               </small>
             </div>
             <div class="flex-flex-row text-left">
               <toggle-button
-                v-model="scheduled"
+                v-model="eMailNotification"
                 class="mt-2"
                 :speed="100"
                 :labels="{
@@ -102,25 +102,47 @@
               />
             </div>
           </div>
-          <div class="flex-column mt-3 w-100 mr-2">
-            <div class="flex-row text-left">
-              <small class="text-muted">
-                <translate>Simple Schedule</translate>
-              </small>
+          <div class="d-flex flex-row">
+            <div class="flex-column mt-3 mr-4">
+              <div class="flex-row text-left">
+                <small class="text-muted">
+                  <translate>Scheduled</translate>?
+                </small>
+              </div>
+              <div class="flex-flex-row text-left">
+                <toggle-button
+                  v-model="scheduled"
+                  class="mt-2"
+                  :speed="100"
+                  :labels="{
+                    checked: this.$options.on,
+                    unchecked: this.$options.off
+                  }"
+                  :width="60"
+                  :height="30"
+                />
+              </div>
             </div>
-            <div class="flex-flex-row text-left">
-              <toggle-button
-                :disabled="!scheduled"
-                v-model="easyCron"
-                class="mt-2"
-                :speed="100"
-                :labels="{
-                  checked: this.$options.on,
-                  unchecked: this.$options.off
-                }"
-                :width="60"
-                :height="30"
-              />
+            <div class="flex-column mt-3 mr-2">
+              <div class="flex-row text-left">
+                <small class="text-muted">
+                  <translate>Simple Schedule</translate>
+                </small>
+              </div>
+              <div class="flex-flex-row text-left">
+                <toggle-button
+                  :disabled="!scheduled"
+                  v-model="easyCron"
+                  class="mt-2"
+                  :speed="100"
+                  :labels="{
+                    checked: this.$options.on,
+                    unchecked: this.$options.off
+                  }"
+                  :width="60"
+                  :height="30"
+                />
+              </div>
             </div>
           </div>
           <div class="flex-column w-100 mr-2">
@@ -256,26 +278,6 @@
               </div>
             </div>
           </div>
-          <div class="flex-column mt-3 w-100 mr-2">
-            <div class="flex-row text-left">
-              <small class="text-muted">
-                <translate>Email Notification</translate>
-              </small>
-            </div>
-            <div class="flex-flex-row text-left">
-              <toggle-button
-                v-model="eMailNotification"
-                class="mt-2"
-                :speed="100"
-                :labels="{
-                  checked: this.$options.on,
-                  unchecked: this.$options.off
-                }"
-                :width="60"
-                :height="30"
-              />
-            </div>
-          </div>
           <button type="submit" class="shadow-sm btn btn-info submit-button">
             <translate>Submit</translate>
           </button>