mirror of
https://github.com/Bubka/2FAuth.git
synced 2024-11-22 16:23:18 +01:00
Add version number
This commit is contained in:
parent
19d3458431
commit
800d5ea56f
@ -13,7 +13,16 @@
|
||||
|
|
||||
*/
|
||||
|
||||
'name' => env('APP_NAME', 'Laravel'),
|
||||
'name' => env('APP_NAME', '2FAuth'),
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Application Version
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
*/
|
||||
|
||||
'version' => '1.0.0',
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
|
@ -1,5 +1,9 @@
|
||||
<template>
|
||||
<form-wrapper :fail="fail" :success="success">
|
||||
<div class="tags has-addons">
|
||||
<span class="tag is-dark">2FAuth</span>
|
||||
<span class="tag is-info">v{{ version }}</span>
|
||||
</div>
|
||||
<form @submit.prevent="handleSubmit" @change="handleSubmit" @keydown="form.onKeydown($event)">
|
||||
<form-select :options="options" :form="form" fieldName="lang" :label="$t('settings.forms.language.label')" :help="$t('settings.forms.language.help')" />
|
||||
<form-switch :form="form" fieldName="showTokenAsDot" :label="$t('settings.forms.show_token_as_dot.label')" :help="$t('settings.forms.show_token_as_dot.help')" />
|
||||
@ -23,7 +27,8 @@
|
||||
options: [
|
||||
{ text: this.$t('languages.en'), value: 'en' },
|
||||
{ text: this.$t('languages.fr'), value: 'fr' },
|
||||
]
|
||||
],
|
||||
version: appVersion
|
||||
}
|
||||
},
|
||||
|
||||
|
@ -23,7 +23,8 @@
|
||||
<app></app>
|
||||
</div>
|
||||
<script type="text/javascript">
|
||||
var appSettings = {!! $appSettings !!}
|
||||
var appSettings = {!! $appSettings !!};
|
||||
var appVersion = '{{ config("app.version") }}';
|
||||
</script>
|
||||
<script src="{{ mix('js/app.js') }}"></script>
|
||||
<script src="{{ mix('js/locales.js') }}"></script>
|
||||
|
Loading…
Reference in New Issue
Block a user