mirror of https://github.com/nocodb/nocodb
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
106 lines
3.3 KiB
106 lines
3.3 KiB
4 years ago
|
<template>
|
||
|
<section class="section container">
|
||
|
<div class="box">
|
||
|
<div class="box">
|
||
3 years ago
|
<h3 class="title is-3">Connected social accounts (work in progress)</h3>
|
||
3 years ago
|
<section v-if="isConnectedSocialAccount('facebook')" class="">
|
||
3 years ago
|
<button class="button">facebook</button>
|
||
4 years ago
|
</section>
|
||
3 years ago
|
<section v-if="isConnectedSocialAccount('google')" class="">
|
||
3 years ago
|
<button class="button">google</button>
|
||
4 years ago
|
</section>
|
||
3 years ago
|
<section v-if="isConnectedSocialAccount('twitter')" class="">
|
||
3 years ago
|
<button class="button">twitter</button>
|
||
4 years ago
|
</section>
|
||
3 years ago
|
<section v-if="isConnectedSocialAccount('linkedin')" class="">
|
||
3 years ago
|
<button class="button">linkedin</button>
|
||
4 years ago
|
</section>
|
||
3 years ago
|
<section v-if="isConnectedSocialAccount('paypal')" class="">
|
||
3 years ago
|
<button class="button">paypal</button>
|
||
4 years ago
|
</section>
|
||
3 years ago
|
<section v-if="isConnectedSocialAccount('github')" class="">
|
||
3 years ago
|
<button class="button">github</button>
|
||
4 years ago
|
</section>
|
||
|
</div>
|
||
|
<div class="box">
|
||
3 years ago
|
<h3 class="title is-3">Unconnected social accounts (work in progress)</h3>
|
||
3 years ago
|
<section v-if="isConnectedSocialAccount('facebook')" class="">
|
||
3 years ago
|
<button class="button">facebook</button>
|
||
4 years ago
|
</section>
|
||
3 years ago
|
<section v-if="isConnectedSocialAccount('google')" class="">
|
||
3 years ago
|
<button class="button">google</button>
|
||
4 years ago
|
</section>
|
||
3 years ago
|
<section v-if="isConnectedSocialAccount('twitter')" class="">
|
||
3 years ago
|
<button class="button">twitter</button>
|
||
4 years ago
|
</section>
|
||
3 years ago
|
<section v-if="isConnectedSocialAccount('linkedin')" class="">
|
||
3 years ago
|
<button class="button">linkedin</button>
|
||
4 years ago
|
</section>
|
||
3 years ago
|
<section v-if="isConnectedSocialAccount('paypal')" class="">
|
||
3 years ago
|
<button class="button">paypal</button>
|
||
4 years ago
|
</section>
|
||
3 years ago
|
<section v-if="isConnectedSocialAccount('github')" class="">
|
||
3 years ago
|
<button class="button">github</button>
|
||
4 years ago
|
</section>
|
||
|
</div>
|
||
|
</div>
|
||
|
</section>
|
||
|
</template>
|
||
|
|
||
|
<script>
|
||
3 years ago
|
export default {
|
||
|
directives: {},
|
||
|
components: {},
|
||
3 years ago
|
validate({ params }) {
|
||
3 years ago
|
return true;
|
||
3 years ago
|
},
|
||
|
props: {},
|
||
3 years ago
|
data() {
|
||
3 years ago
|
return {};
|
||
3 years ago
|
},
|
||
3 years ago
|
head() {
|
||
3 years ago
|
return {};
|
||
3 years ago
|
},
|
||
|
computed: {},
|
||
|
watch: {},
|
||
3 years ago
|
created() {},
|
||
|
mounted() {},
|
||
|
beforeDestroy() {},
|
||
3 years ago
|
methods: {
|
||
3 years ago
|
hasConnectedAdditionalSocialAccounts() {},
|
||
|
removeUserSocialAccount() {},
|
||
3 years ago
|
isConnectedSocialAccount(social) {
|
||
3 years ago
|
return true;
|
||
|
},
|
||
3 years ago
|
},
|
||
3 years ago
|
beforeCreated() {},
|
||
|
destroy() {},
|
||
|
};
|
||
4 years ago
|
</script>
|
||
|
|
||
3 years ago
|
<style scoped></style>
|
||
4 years ago
|
<!--
|
||
|
/**
|
||
|
* @copyright Copyright (c) 2021, Xgene Cloud Ltd
|
||
|
*
|
||
|
* @author Naveen MR <oof1lab@gmail.com>
|
||
|
* @author Pranav C Balan <pranavxc@gmail.com>
|
||
|
*
|
||
|
* @license GNU AGPL version 3 or any later version
|
||
|
*
|
||
|
* This program is free software: you can redistribute it and/or modify
|
||
|
* it under the terms of the GNU Affero General Public License as
|
||
|
* published by the Free Software Foundation, either version 3 of the
|
||
|
* License, or (at your option) any later version.
|
||
|
*
|
||
|
* This program is distributed in the hope that it will be useful,
|
||
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||
|
* GNU Affero General Public License for more details.
|
||
|
*
|
||
|
* You should have received a copy of the GNU Affero General Public License
|
||
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||
|
*
|
||
|
*/
|
||
|
-->
|