1
0
mirror of https://github.com/Bubka/2FAuth.git synced 2025-08-20 10:08:02 +02:00
Files
.github
app
bootstrap
config
database
docker
docs
public
resources
js
components
App.vue
Button.vue
FieldError.vue
Footer.vue
Form.js
FormButtons.vue
FormCheckbox.vue
FormErrors.js
FormField.vue
FormSelect.vue
FormSwitch.vue
FormToggle.vue
FormWrapper.vue
Kicker.vue
Modal.vue
OtpDisplayer.vue
SettingTabs.vue
index.js
langs
packages
views
api.js
app.js
mixins.js
routes.js
lang
sass
views
routes
storage
tests
.dockerignore
.editorconfig
.env.example
.env.testing
.env.travis
.gitattributes
.gitignore
.styleci.yml
.travis.yml
Dockerfile
LICENSE
Procfile
README.md
app.json
artisan
changelog.md
composer.json
crowdin.yml
jsconfig.json
nginx.conf
package-lock.json
package.json
phpunit-mysql.xml
phpunit.xml
server.php
webpack.mix.js
2FAuth/resources/js/components/App.vue
2022-05-10 08:57:45 +02:00

31 lines
842 B
Vue

<template>
<div>
<kicker v-if="kickInactiveUser"></kicker>
<div v-if="this.$root.isDemoApp" class="demo has-background-warning has-text-centered is-size-7-mobile">
{{ $t('commons.demo_do_not_post_sensitive_data') }}
</div>
<notifications width="100%" position="top" :duration="4000" :speed="0" :max="1" classes="notification is-radiusless" />
<main class="main-section">
<router-view></router-view>
</main>
</div>
</template>
<script>
export default {
name: 'App',
data(){
return {
}
},
computed: {
kickInactiveUser: function () {
return parseInt(this.$root.appSettings.kickUserAfter) > 0 && this.$route.meta.requiresAuth
}
}
}
</script>