mirror of
https://github.com/VueFileManager/vuefilemanager.git
synced 2026-04-26 02:20:39 +00:00
v1.5.1-beta.1
This commit is contained in:
@@ -43,10 +43,12 @@ class ResetPassword extends Notification
|
|||||||
$reset_url = url('/create-new-password?token=' . $this->token);
|
$reset_url = url('/create-new-password?token=' . $this->token);
|
||||||
|
|
||||||
return (new MailMessage)
|
return (new MailMessage)
|
||||||
->subject('Reset password for your account on ' . config('vuefilemanager.app_name'))
|
->subject(__('vuefilemanager.reset_password_subject') . config('vuefilemanager.app_name'))
|
||||||
->line('You are receiving this email because we received a password reset request for your account.')
|
->greeting(__('vuefilemanager.reset_password_greeting'))
|
||||||
->action('Reset Password', $reset_url)
|
->line(__('vuefilemanager.reset_password_line_1'))
|
||||||
->line('If you did not request a password reset, no further action is required.');
|
->action(__('vuefilemanager.reset_password_action'), $reset_url)
|
||||||
|
->line(__('vuefilemanager.reset_password_line_2'))
|
||||||
|
->salutation(__('vuefilemanager.salutation') . ', ' . config('vuefilemanager.app_name'));
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Vendored
+1
-1
File diff suppressed because one or more lines are too long
@@ -1,4 +1,14 @@
|
|||||||
{
|
{
|
||||||
"/js/main.js": "/js/main.js",
|
"/js/main.js": "/js/main.js",
|
||||||
"/css/app.css": "/css/app.css"
|
"/css/app.css": "/css/app.css",
|
||||||
|
"/js/main.3f399b92d8fada0fec17.hot-update.js": "/js/main.3f399b92d8fada0fec17.hot-update.js",
|
||||||
|
"/js/main.713435acb8f12d724fad.hot-update.js": "/js/main.713435acb8f12d724fad.hot-update.js",
|
||||||
|
"/js/main.9b02b130ced6517ebbb8.hot-update.js": "/js/main.9b02b130ced6517ebbb8.hot-update.js",
|
||||||
|
"/js/main.8db25081a7418e0cd14b.hot-update.js": "/js/main.8db25081a7418e0cd14b.hot-update.js",
|
||||||
|
"/js/main.43f97a55ae458ce299a8.hot-update.js": "/js/main.43f97a55ae458ce299a8.hot-update.js",
|
||||||
|
"/js/main.b00a284d7c31afa1da20.hot-update.js": "/js/main.b00a284d7c31afa1da20.hot-update.js",
|
||||||
|
"/js/main.78344aee5dcfe86745df.hot-update.js": "/js/main.78344aee5dcfe86745df.hot-update.js",
|
||||||
|
"/js/main.1f0612efc9c09ac420f9.hot-update.js": "/js/main.1f0612efc9c09ac420f9.hot-update.js",
|
||||||
|
"/js/main.740ee14bcc36a4c007b4.hot-update.js": "/js/main.740ee14bcc36a4c007b4.hot-update.js",
|
||||||
|
"/js/main.d93ea5cad023f876ae82.hot-update.js": "/js/main.d93ea5cad023f876ae82.hot-update.js"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -49,10 +49,18 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
@media (prefers-color-scheme: dark) {
|
@media (prefers-color-scheme: dark) {
|
||||||
.empty-message .message .icon {
|
.empty-message {
|
||||||
|
|
||||||
path, line, polyline, rect, circle {
|
.message {
|
||||||
stroke: $dark_mode_text_secondary;
|
.icon {
|
||||||
|
path, line, polyline, rect, circle {
|
||||||
|
stroke: $dark_mode_text_secondary;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
p {
|
||||||
|
color: $dark_mode_text_secondary;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -227,6 +227,7 @@
|
|||||||
.file-content {
|
.file-content {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-wrap: nowrap;
|
flex-wrap: nowrap;
|
||||||
|
height: 100%;
|
||||||
|
|
||||||
&.is-dragging {
|
&.is-dragging {
|
||||||
@include transform(scale(0.99));
|
@include transform(scale(0.99));
|
||||||
@@ -234,6 +235,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.files-container {
|
.files-container {
|
||||||
|
overflow-x: hidden;
|
||||||
overflow-y: auto;
|
overflow-y: auto;
|
||||||
flex: 0 0 100%;
|
flex: 0 0 100%;
|
||||||
@include transition(150ms);
|
@include transition(150ms);
|
||||||
|
|||||||
@@ -205,6 +205,13 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.option-value {
|
||||||
|
|
||||||
|
&.placehoder {
|
||||||
|
color: $dark_mode_text_secondary;
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
@@ -90,6 +90,10 @@
|
|||||||
this.$store.dispatch('getFolder', [{folder: this.homeDirectory, back: false, init: true}])
|
this.$store.dispatch('getFolder', [{folder: this.homeDirectory, back: false, init: true}])
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (name === 'power') {
|
||||||
|
this.$store.dispatch('logOut')
|
||||||
|
}
|
||||||
|
|
||||||
this.closeAndResetContextMenu()
|
this.closeAndResetContextMenu()
|
||||||
},
|
},
|
||||||
closeAndResetContextMenu() {
|
closeAndResetContextMenu() {
|
||||||
|
|||||||
@@ -162,10 +162,10 @@
|
|||||||
})
|
})
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
mounted() {
|
created() {
|
||||||
|
|
||||||
// Get token
|
// Get token
|
||||||
this.recoverPassword.token = this.$route.params.token
|
this.recoverPassword.token = this.$route.query.token
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|||||||
@@ -86,8 +86,8 @@
|
|||||||
return {
|
return {
|
||||||
isLoading: false,
|
isLoading: false,
|
||||||
checkedAccount: undefined,
|
checkedAccount: undefined,
|
||||||
loginPassword: '',
|
loginPassword: 'vuefilemanager',
|
||||||
loginEmail: '',
|
loginEmail: 'howdy@hi5ve.digital',
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
|||||||
@@ -6,4 +6,13 @@ return [
|
|||||||
'incorrect_password' => '不好意思,您的密码好像不正确。',
|
'incorrect_password' => '不好意思,您的密码好像不正确。',
|
||||||
'time' => '%d. %B. %Y 于 %H:%M',
|
'time' => '%d. %B. %Y 于 %H:%M',
|
||||||
'home' => '首页',
|
'home' => '首页',
|
||||||
|
|
||||||
|
// Reset password email
|
||||||
|
'reset_password_greeting' => 'Hello!',
|
||||||
|
'reset_password_subject' => 'Reset password for your account on ',
|
||||||
|
'reset_password_line_1' => 'You are receiving this email because we received a password reset request for your account.',
|
||||||
|
'reset_password_line_2' => 'If you did not request a password reset, no further action is required.',
|
||||||
|
'reset_password_action' => 'Reset Password',
|
||||||
|
|
||||||
|
'salutation' => 'Regards'
|
||||||
];
|
];
|
||||||
@@ -1,9 +1,18 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
return [
|
return [
|
||||||
'app_description' => 'Make your own Private Cloud with VueFileManager client powered by Laravel and Vue',
|
'app_description' => 'Make your own Private Cloud with VueFileManager client powered by Laravel and Vue',
|
||||||
'user_not_fount' => 'We can\'t find a user with that e-mail address.',
|
'user_not_fount' => 'We can\'t find a user with that e-mail address.',
|
||||||
'incorrect_password' => 'Sorry, your password is incorrect.',
|
'incorrect_password' => 'Sorry, your password is incorrect.',
|
||||||
'time' => '%d. %B. %Y at %H:%M',
|
'time' => '%d. %B. %Y at %H:%M',
|
||||||
'home' => 'Home',
|
'home' => 'Home',
|
||||||
|
|
||||||
|
// Reset password email
|
||||||
|
'reset_password_greeting' => 'Hello!',
|
||||||
|
'reset_password_subject' => 'Reset password for your account on ',
|
||||||
|
'reset_password_line_1' => 'You are receiving this email because we received a password reset request for your account.',
|
||||||
|
'reset_password_line_2' => 'If you did not request a password reset, no further action is required.',
|
||||||
|
'reset_password_action' => 'Reset Password',
|
||||||
|
|
||||||
|
'salutation' => 'Regards'
|
||||||
];
|
];
|
||||||
@@ -6,4 +6,13 @@ return [
|
|||||||
'incorrect_password' => 'Prepáč, zadané heslo je nesprávne',
|
'incorrect_password' => 'Prepáč, zadané heslo je nesprávne',
|
||||||
'time' => '%d. %B. %Y o %H:%M',
|
'time' => '%d. %B. %Y o %H:%M',
|
||||||
'home' => 'Domov',
|
'home' => 'Domov',
|
||||||
|
|
||||||
|
// Reset password email
|
||||||
|
'reset_password_greeting' => 'Ahoj!',
|
||||||
|
'reset_password_subject' => 'Resetujte svoje heslo v aplikácií ',
|
||||||
|
'reset_password_line_1' => 'Tento email ste dostali pretože ste nás požiadali o zmenu hesla pre Váš účet.',
|
||||||
|
'reset_password_line_2' => 'Pokiaľ ste si nechceli zmeniť heslo, žiadna akcia nie je vyžadovaná.',
|
||||||
|
'reset_password_action' => 'Resetovať heslo',
|
||||||
|
|
||||||
|
'salutation' => 'S pozdravom '
|
||||||
];
|
];
|
||||||
@@ -0,0 +1,49 @@
|
|||||||
|
@component('mail::message')
|
||||||
|
{{-- Greeting --}}
|
||||||
|
@if (! empty($greeting))
|
||||||
|
# {{ $greeting }}
|
||||||
|
@else
|
||||||
|
@if ($level === 'error')
|
||||||
|
# @lang('Whoops!')
|
||||||
|
@else
|
||||||
|
# @lang('Hello!')
|
||||||
|
@endif
|
||||||
|
@endif
|
||||||
|
|
||||||
|
{{-- Intro Lines --}}
|
||||||
|
@foreach ($introLines as $line)
|
||||||
|
{{ $line }}
|
||||||
|
|
||||||
|
@endforeach
|
||||||
|
|
||||||
|
{{-- Action Button --}}
|
||||||
|
@isset($actionText)
|
||||||
|
<?php
|
||||||
|
switch ($level) {
|
||||||
|
case 'success':
|
||||||
|
case 'error':
|
||||||
|
$color = $level;
|
||||||
|
break;
|
||||||
|
default:
|
||||||
|
$color = 'primary';
|
||||||
|
}
|
||||||
|
?>
|
||||||
|
@component('mail::button', ['url' => $actionUrl, 'color' => $color])
|
||||||
|
{{ $actionText }}
|
||||||
|
@endcomponent
|
||||||
|
@endisset
|
||||||
|
|
||||||
|
{{-- Outro Lines --}}
|
||||||
|
@foreach ($outroLines as $line)
|
||||||
|
{{ $line }}
|
||||||
|
|
||||||
|
@endforeach
|
||||||
|
|
||||||
|
{{-- Salutation --}}
|
||||||
|
@if (! empty($salutation))
|
||||||
|
{{ $salutation }}
|
||||||
|
@else
|
||||||
|
@lang('Regards'),<br>
|
||||||
|
{{ config('app.name') }}
|
||||||
|
@endif
|
||||||
|
@endcomponent
|
||||||
Reference in New Issue
Block a user