PHP Classes

File: resources/js/Components/Bucket/Button/AddBucketButton.vue

Recommend this page to a friend!
  Classes of Nyi Nyi Lwin   S3 B2B PHP Amazon S3 File Manager   resources/js/Components/Bucket/Button/AddBucketButton.vue   Download  
File: resources/js/Components/Bucket/Button/AddBucketButton.vue
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: S3 B2B PHP Amazon S3 File Manager
Manage files stored in multiple Amazon S3 buckets
Author: By
Last change:
Date: 9 months ago
Size: 1,155 bytes
 

Contents

Class file image Download
<script setup> import {PlusIcon} from "@heroicons/vue/20/solid/index.js"; import SlideOver from "@components/UI/SlideOver.vue"; import route from "ziggy-js"; import {ref} from "vue"; import BucketForm from "@components/Bucket/Form/BucketForm.vue"; const showBucketCreateForm = ref(false) </script> <template> <div class="h-full"> <div class="flex flex-col justify-around"> <button type="button" class="relative inline-flex items-center gap-x-1.5 py-3 px-2 text-sm text-gray-500 hover:text-gray-700 truncate" @click="showBucketCreateForm = true" > <PlusIcon class="-ml-0.5 h-5 w-5" aria-hidden="true" /> {{ $t('nav.add_bucket') }} </button> </div> </div> <SlideOver :show="showBucketCreateForm" @close="showBucketCreateForm = false" > <BucketForm :url="route('buckets.store')" :title="$t('buckets.form.create.title')" :description="$t('buckets.form.create.description')" @cancel="showBucketCreateForm = false" @saved="showBucketCreateForm = false" /> </SlideOver> </template> <style scoped> </style>