Spamworldpro Mini Shell
Spamworldpro


Server : Apache
System : Linux server2.corals.io 4.18.0-348.2.1.el8_5.x86_64 #1 SMP Mon Nov 15 09:17:08 EST 2021 x86_64
User : corals ( 1002)
PHP Version : 7.4.33
Disable Function : exec,passthru,shell_exec,system
Directory :  /home/corals/ts.corals.io/frontend/components/TimesheetCalender/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /home/corals/ts.corals.io/frontend/components/TimesheetCalender/AddEntryModal.vue
<template>
  <b-modal hide-footer
           visible
           content-class="shadow"
           :title-html="modalTitle"
           @hidden="$emit('hidden')"
           no-close-on-backdrop :id="modalId"
           size="lg">
    <div class="row">
      <div class="col-md-12">
        <c-overlay :show="!form.isReady">
          <form @submit.prevent="$emit('modal-submitted')">
            <entry-fields :form="form" :full-crud="$isAdmin()"/>
            <div class="text-right">
              <button type="submit" class="btn btn-sm btn-primary" :disabled="!form.isReady || !form.project_id">
                {{ modalTitle }}
              </button>
              <button @click.prevent="$bvModal.hide(modalId)" class="btn btn-sm btn-secondary"
                      :disabled="!form.isReady">Close
              </button>
            </div>
          </form>
        </c-overlay>
      </div>
    </div>
  </b-modal>
</template>

<script>
import EntryFields from "@/components/Entries/EntryFields";
import COverlay from "@/components/layout/COverlay";

export default {
  name: "AddEntryModal",
  components: {COverlay, EntryFields},
  props: {
    modalId: {
      required: true,
      type: String
    },
    modalTitle: {
      required: false,
      type: String,
      default: 'Create Entry'
    },
    form: {
      required: true
    }
  }
}
</script>

<style scoped>

</style>

Spamworldpro Mini