403Webshell
Server IP : 209.209.40.120  /  Your IP : 216.73.217.112
Web Server : Microsoft-IIS/10.0
System : Windows NT NEWWWW 10.0 build 17763 (Windows Server 2019) i586
User : NEWWWW$ ( 0)
PHP Version : 8.3.30
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /software/Services/citygists/pages/chat/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /software/Services/citygists/pages/chat/requests.vue
<template>
<f7-page name="about">
    <f7-navbar title="Requests" back-link="Back"></f7-navbar>
    <f7-block-title>Friend requests</f7-block-title>
    <f7-list media-list>
        <f7-list-item swipeout v-for="(request, index) in friend_requests" :key="index" :title="request.name">
            <img class="small-avatar" slot="media" :src="request.photo_url" />
            <f7-swipeout-actions right>
                <f7-swipeout-button color="green" @click="confirm(request)">Add</f7-swipeout-button>
                <f7-swipeout-button color="red" @click="remove(request)">Delete</f7-swipeout-button>
            </f7-swipeout-actions>
        </f7-list-item>

    </f7-list>
</f7-page>
</template>

<script>
export default {
    methods: {
        confirm(request) {
            this.$store.dispatch('confirmRequest', request)
        },
        remove(request) {
            this.$store.dispatch('deleteRequest', request)
        }
    },
    computed: {
        friend_requests() {
            return this.$store.getters.friend_requests
        }
    },
    created() {
        this.$store.dispatch('getMyRequests')
    }
}
</script>

<style scoped>
.small-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center;
}
</style>

Youez - 2016 - github.com/yon3zu
LinuXploit