From 6090c3fe1404a72442465d8523b1344363266e3d Mon Sep 17 00:00:00 2001 From: pushuo <229102104@qq.com> Date: Tue, 23 Aug 2022 00:06:52 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=89=E8=A3=85=E5=BC=95=E5=AF=BC=E8=A1=A8?= =?UTF-8?q?=E5=8D=95=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Views/environment-wizard.blade.php | 564 +++++++++++------- .../Installer/Views/layouts/master.blade.php | 4 +- 2 files changed, 365 insertions(+), 203 deletions(-) diff --git a/beike/Installer/Views/environment-wizard.blade.php b/beike/Installer/Views/environment-wizard.blade.php index 58db8114..f1397417 100644 --- a/beike/Installer/Views/environment-wizard.blade.php +++ b/beike/Installer/Views/environment-wizard.blade.php @@ -10,220 +10,382 @@ @endsection @section('content') -
- +@php + $entry_key = 'installer::installer_messages.environment.wizard.form.'; +@endphp +
+

系统参数配置

-
- - - @if ($errors->has('app_url')) - - - {{ $errors->first('app_url') }} - - @endif -
+ + -
- - - @if ($errors->has('database_connection')) - - - {{ $errors->first('database_connection') }} - - @endif -
-
- - - @if ($errors->has('database_hostname')) - - - {{ $errors->first('database_hostname') }} - - @endif -
+ {{-- +
+ + + @if ($errors->has('app_url')) + + + {{ $errors->first('app_url') }} + + @endif +
--}} -
- - - @if ($errors->has('database_port')) - - - {{ $errors->first('database_port') }} - - @endif -
+ {{--
+ + + @if ($errors->has('database_connection')) + + + {{ $errors->first('database_connection') }} + + @endif +
--}} -
- - - @if ($errors->has('database_name')) - - - {{ $errors->first('database_name') }} - - @endif -
+ {{--
+ + + @if ($errors->has('database_hostname')) + + + {{ $errors->first('database_hostname') }} + + @endif +
--}} -
- - - @if ($errors->has('database_username')) - - - {{ $errors->first('database_username') }} - - @endif -
+ {{--
+ + + @if ($errors->has('database_port')) + + + {{ $errors->first('database_port') }} + + @endif +
--}} -
- - - @if ($errors->has('database_password')) - - - {{ $errors->first('database_password') }} - - @endif -
+ {{--
+ + + @if ($errors->has('database_name')) + + + {{ $errors->first('database_name') }} + + @endif +
--}} -
- - - @if ($errors->has('mail_driver')) - - - {{ $errors->first('mail_driver') }} - - @endif -
-
- - - @if ($errors->has('mail_host')) - - - {{ $errors->first('mail_host') }} - - @endif -
-
- - - @if ($errors->has('mail_port')) - - - {{ $errors->first('mail_port') }} - - @endif -
-
- - - @if ($errors->has('mail_username')) - - - {{ $errors->first('mail_username') }} - - @endif -
-
- - - @if ($errors->has('mail_password')) - - - {{ $errors->first('mail_password') }} - - @endif -
-
- - - @if ($errors->has('mail_encryption')) - - - {{ $errors->first('mail_encryption') }} - - @endif -
- - + {{--
+ + + @if ($errors->has('database_username')) + + + {{ $errors->first('database_username') }} + + @endif +
--}} + + {{--
+ + + @if ($errors->has('database_password')) + + + {{ $errors->first('database_password') }} + + @endif +
--}} + + {{--
+ + + @if ($errors->has('mail_driver')) + + + {{ $errors->first('mail_driver') }} + + @endif +
--}} + {{--
+ + + @if ($errors->has('mail_host')) + + + {{ $errors->first('mail_host') }} + + @endif +
--}} + {{--
+ + + @if ($errors->has('mail_port')) + + + {{ $errors->first('mail_port') }} + + @endif +
--}} + {{--
+ + + @if ($errors->has('mail_username')) + + + {{ $errors->first('mail_username') }} + + @endif +
--}} + {{--
+ + + @if ($errors->has('mail_password')) + + + {{ $errors->first('mail_password') }} + + @endif +
--}} + {{--
+ + + @if ($errors->has('mail_encryption')) + + + {{ $errors->first('mail_encryption') }} + + @endif +
--}} + +
+
+ + + {{ $errors->has('app_url') ? $errors->first('app_url') : __('common.error_required', ['name' => trans($entry_key . 'app_url_label')]) }} +
+
+ + +
+ +
+ + + {{ $errors->has('database_hostname') ? $errors->first('database_hostname') : __('common.error_required', ['name' => trans($entry_key . 'db_host_label')]) }} +
+ + +
+ + + {{ $errors->has('database_port') ? $errors->first('database_port') : __('common.error_required', ['name' => trans($entry_key . 'db_port_label')]) }} +
+ +
+ + + {{ $errors->has('database_name') ? $errors->first('database_name') : __('common.error_required', ['name' => trans($entry_key . 'db_name_label')]) }} +
+ +
+ + + {{ $errors->has('database_username') ? $errors->first('database_username') : __('common.error_required', ['name' => trans($entry_key . 'db_username_label')]) }} +
+ +
+ + + {{ $errors->has('database_password') ? $errors->first('database_password') : __('common.error_required', ['name' => trans($entry_key . 'db_password_label')]) }} +
+ + +
+ + + {{ $errors->has('mail_driver') ? $errors->first('mail_driver') : __('common.error_required', ['name' => trans($entry_key . 'app_tabs.mail_driver_label')]) }} +
+ + +
+ + + {{ $errors->has('mail_host') ? $errors->first('mail_host') : __('common.error_required', ['name' => trans($entry_key . 'app_tabs.mail_host_label')]) }} +
+ +
+ + + {{ $errors->has('mail_port') ? $errors->first('mail_port') : __('common.error_required', ['name' => trans($entry_key . 'app_tabs.mail_port_label')]) }} +
+ +
+ + + {{ $errors->has('mail_username') ? $errors->first('mail_username') : __('common.error_required', ['name' => trans($entry_key . 'app_tabs.mail_username_label')]) }} +
+ +
+ + + {{ $errors->has('mail_password') ? $errors->first('mail_password') : __('common.error_required', ['name' => trans($entry_key . 'app_tabs.mail_password_label')]) }} +
+ +
+ + + {{ $errors->has('mail_encryption') ? $errors->first('mail_encryption') : __('common.error_required', ['name' => trans($entry_key . 'app_tabs.mail_encryption_label')]) }} +
+ + +
+
+ +
+
+ + + +
+ +
@endsection @section('scripts') @endsection diff --git a/beike/Installer/Views/layouts/master.blade.php b/beike/Installer/Views/layouts/master.blade.php index 2cc23090..41cf9662 100644 --- a/beike/Installer/Views/layouts/master.blade.php +++ b/beike/Installer/Views/layouts/master.blade.php @@ -49,14 +49,14 @@
  • @if ($steps > 4 && $steps != 4) @else 4 @endif - 配置参数 + 系统参数配置
  • @if ($steps > 5 && $steps != 5) @else 5 @endif - 安装结果 + 获取安装结果