Commit 07c4399b authored by Joel Collins's avatar Joel Collins
Browse files

Further layout improvements

parent a992f88a
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -247,7 +247,7 @@

    <button
      v-else
      class="uk-button uk-button-primary uk-form-small uk-margin uk-margin-remove-top uk-width-1-1"
      class="uk-button uk-button-primary uk-margin uk-margin-remove-top uk-width-1-1"
      @click="handleCapture()"
    >
      Capture
+9 −6
Original line number Diff line number Diff line
@@ -36,7 +36,7 @@
            </div>

            <button
              class="uk-button uk-button-default uk-form-small uk-margin uk-width-1-1"
              class="uk-button uk-button-default uk-margin uk-width-1-1"
              @click="zeroRequest()"
            >
              Zero coordinates
@@ -91,7 +91,7 @@
              <p>
                <button
                  type="submit"
                  class="uk-button uk-button-default uk-form-small uk-float-right uk-width-1-1"
                  class="uk-button uk-button-default uk-float-right uk-width-1-1"
                >
                  Move
                </button>
@@ -266,14 +266,16 @@ export default {
        this.moveLock = true;

        if (!this.moveInImageCoordinatesUri) {
          this.modalError("Moving in image coordinates is not supported - you will need to upgrade your microscope's software.");
          this.modalError(
            "Moving in image coordinates is not supported - you will need to upgrade your microscope's software."
          );
        }

        // Send move request
        axios
          .post(this.moveInImageCoordinatesUri, {
            x: y, // NB the coordinates are numpy/PIL style, meaning X and Y are swapped.
            y: x,
            y: x
          })
          .then(() => {
            this.updatePosition(); // Update the position in text boxes
@@ -340,7 +342,8 @@ export default {
          );
          if (foundExtension) {
            // Get plugin action link
            this.moveInImageCoordinatesUri = foundExtension.links.move_in_image_coordinates.href;
            this.moveInImageCoordinatesUri =
              foundExtension.links.move_in_image_coordinates.href;
          }
        })
        .catch(error => {
+2 −2
Original line number Diff line number Diff line
@@ -13,7 +13,7 @@
      <button
        v-if="canTerminate"
        type="button"
        class="uk-button uk-button-danger uk-form-small uk-margin-remove uk-float-right uk-width-1-1"
        class="uk-button uk-button-danger uk-margin-remove uk-float-right uk-width-1-1"
        @click="terminateTask()"
      >
        Terminate
@@ -24,7 +24,7 @@
      <button
        type="button"
        :hidden="taskRunning"
        class="uk-button uk-form-small uk-margin-remove uk-width-1-1"
        class="uk-button uk-margin-remove uk-width-1-1"
        :class="[buttonPrimary ? 'uk-button-primary' : 'uk-button-default']"
        @click="bootstrapTask()"
      >
+1 −1
Original line number Diff line number Diff line
@@ -49,7 +49,7 @@
      <div v-else class="uk-margin">
        <button
          type="button"
          class="uk-button uk-button-primary uk-form-small uk-width-1-1"
          class="uk-button uk-button-primary uk-width-1-1"
          @click="newQuickRequest(formData)"
        >
          {{ submitLabel }}
+1 −0
Original line number Diff line number Diff line
<template>
  <div id="appSettings">
    <h3>Appearance</h3>
    <p>
      <label>
        Theme
Loading