diff --git a/config/route.php b/config/route.php index ce5c5f6..81bfcb1 100644 --- a/config/route.php +++ b/config/route.php @@ -14,11 +14,11 @@ use Webman\Route; -Route::get('/vehicles', [app\controller\VehicleController::class, 'index']); -Route::get('/vehicles/{id}', [app\controller\VehicleController::class, 'show']); +Route::any('/vehicles', [app\controller\VehicleController::class, 'index']); +Route::any('/vehicles/{id}', [app\controller\VehicleController::class, 'show']); -Route::get('/locations', [app\controller\LocationController::class, 'index']); -Route::get('/locations/{id}', [app\controller\LocationController::class, 'show']); +Route::any('/locations', [app\controller\LocationController::class, 'index']); +Route::any('/locations/{id}', [app\controller\LocationController::class, 'show']); diff --git a/plugin/admin/app/lang/ar/common.php b/plugin/admin/app/lang/ar/common.php index be1480a..0760fbc 100644 --- a/plugin/admin/app/lang/ar/common.php +++ b/plugin/admin/app/lang/ar/common.php @@ -15,6 +15,7 @@ return [ 'header_settings' => 'الإعدادات', 'header_logout' => 'تسجيل الخروج', 'header_language' => 'اللغة', + 'header_homepage' => 'بيانات الشاشة الكبيرة', // الأزرار العامة 'btn_save' => 'حفظ', diff --git a/plugin/admin/app/lang/en/common.php b/plugin/admin/app/lang/en/common.php index c1c1b6f..1797c39 100644 --- a/plugin/admin/app/lang/en/common.php +++ b/plugin/admin/app/lang/en/common.php @@ -15,6 +15,7 @@ return [ 'header_settings' => 'Settings', 'header_logout' => 'Logout', 'header_language' => 'Language', + 'header_homepage' => 'Big Data Screen', // Common Buttons 'btn_save' => 'Save', diff --git a/plugin/admin/app/lang/ru/common.php b/plugin/admin/app/lang/ru/common.php index a3d966e..2a87f4b 100644 --- a/plugin/admin/app/lang/ru/common.php +++ b/plugin/admin/app/lang/ru/common.php @@ -15,6 +15,7 @@ return [ 'header_settings' => 'Настройки', 'header_logout' => 'Выйти', 'header_language' => 'Язык', + 'header_homepage' => 'Большой экран данных', // Общие кнопки 'btn_save' => 'Сохранить', diff --git a/plugin/admin/app/lang/zh-cn/common.php b/plugin/admin/app/lang/zh-cn/common.php index 14f6567..991f630 100644 --- a/plugin/admin/app/lang/zh-cn/common.php +++ b/plugin/admin/app/lang/zh-cn/common.php @@ -15,7 +15,8 @@ return [ 'header_settings' => '设置', 'header_logout' => '退出登录', 'header_language' => '语言', - + 'header_homepage' => '数据大屏', + // 通用按钮 'btn_save' => '保存', 'btn_cancel' => '取消', diff --git a/plugin/admin/app/view/index/index.html b/plugin/admin/app/view/index/index.html index ab63c16..e7a85fd 100644 --- a/plugin/admin/app/view/index/index.html +++ b/plugin/admin/app/view/index/index.html @@ -32,6 +32,9 @@ background-color: #fff; color: #333; } + .layui-nav-item .layui-this { + color: #2d8cf0!important; + } @@ -51,6 +54,7 @@