Failed to save the file to the "xx" directory.

Failed to save the file to the "ll" directory.

Failed to save the file to the "mm" directory.

Failed to save the file to the "wp" directory.

403WebShell
403Webshell
Server IP : 66.29.132.124  /  Your IP : 3.138.105.128
Web Server : LiteSpeed
System : Linux business141.web-hosting.com 4.18.0-553.lve.el8.x86_64 #1 SMP Mon May 27 15:27:34 UTC 2024 x86_64
User : wavevlvu ( 1524)
PHP Version : 7.4.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/wavevlvu/./book24.ng/resources/module/template/admin/fields/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/wavevlvu/./book24.ng/resources/module/template/admin/fields/field-listItem.vue
<template>
    <div class="bravo-template-list-item">
        <div class="list-item-wraps">
            <draggable v-model="value" :options="{handle:'.handle'}">
                <div class="list-item" v-for="(item,k) in value">
                    <div class="list-item-header handle">
                        <span v-if="title_field && typeof item[title_field] != 'undefined' && item[title_field]">{{item[title_field]}}</span>
                        <span v-else >#{{k + 1}}</span>

                        <span >
                            <span @click="item._active = item._active == false ? true : false ">
                                <i v-show="item._active" class="icon ion-ios-arrow-dropdown"></i>
                                <i v-show="!item._active" class="icon ion-ios-arrow-dropright"></i>
                            </span>
                            <span @click="deleteItem(k)">
                                <i class="icon ion-ios-trash"></i>
                            </span>
                        </span>
                    </div>
                    <div class="list-item-settings" v-show="item._active">
                        <vue-form-generator :schema="{fields:schema.settings}" :model="item" ></vue-form-generator>
                    </div>
                </div>
            </draggable>
        </div>
        <span class="btn btn-primary btn-sm" @click="addNew">{{template_i18n.add_new}}</span>
    </div>
</template>
<script>
    import { abstractField } from "vue-form-generator";
    import VueFormGenerator from 'vue-form-generator';
    import draggable from 'vuedraggable';

    export default {
        mixins: [ abstractField ],
        data(){
            return {
                options:[],
                fakeModel:{
                    _active:false
                },
                template_i18n:template_i18n,
            }
        },
        computed:{
            title_field(){
                if(typeof this.schema.title_field =='undefined') return false;
                return this.schema.title_field;
            }
        },
        created: function () {
            if(typeof this.value !== 'object' || this.value.constructor !== Array){
                this.value = [];
            }
            for(var i = 0; i < this.schema.settings.length ; i++){
                this.schema.settings[i].model = this.schema.settings[i].id;
                this.fakeModel[this.schema.settings[i].id] = null;
                // this.fakeModel['_index'] = i++;
            }
//            this.value.push(Object.assign({},this.fakeModel));

        },
        watch: {
            options: function (options) {

            }
        },
        destroyed: function () {
        },
        methods:{
            addNew(){
                // this.fakeModel['_index'] =
                this.value.push(Object.assign({},this.fakeModel));
            },
            deleteItem(k){
                var c = confirm(this.template_i18n.delete_confirm);

                if(c){
                    this.value.splice(k,1);
                }
            }
        },
        components: {
            "vue-form-generator": VueFormGenerator.component,
            draggable:draggable
        },
    };
</script>

Youez - 2016 - github.com/yon3zu
LinuXploit