diff --git a/database/changelog.json b/database/changelog.json
index 6065808..e1d033d 100644
--- a/database/changelog.json
+++ b/database/changelog.json
@@ -342,6 +342,18 @@
"type": "Feature",
"btn": "success",
"description": "Activation link to the github on the page index"
+ },
+ {
+ "id": 6,
+ "type": "Delect",
+ "btn": "dark",
+ "description": "Delect fav BTN on the page metar"
+ },
+ {
+ "id": 7,
+ "type": "Feature",
+ "btn": "success",
+ "description": "activation pages ATC on the metar plateforme page"
}
]
}
diff --git a/resources/views/metar/icao.blade.php b/resources/views/metar/icao.blade.php
index 800c944..f93965a 100644
--- a/resources/views/metar/icao.blade.php
+++ b/resources/views/metar/icao.blade.php
@@ -12,13 +12,6 @@
- @auth
-
- @endauth
@guest
@endguest
@if ($pilot["outbound"]>=1 || $pilot["inbound"]>=1)
-
@endif
diff --git a/routes/web.php b/routes/web.php
index 4002939..0873d95 100644
--- a/routes/web.php
+++ b/routes/web.php
@@ -424,6 +424,22 @@
})->name("pirep.all");
})->middleware(["auth:web"]);
+Route::get("atc/{icao}", function (Request $request) {
+ $request->merge([
+ "icao" => $request->icao
+ ]);
+ $request->validate([
+ "icao" => "required|size:4"
+ ]);
+ $atconline = new eventController($request->icao);
+ $atc = $atconline->get_arrival_departure();
+ $metar = new metarController();
+ $metar = $metar->metar($request->icao);
+ $info_atc = null;
+ return view("plateforme.atc", ["icao" => $request->icao, "atc" => $atc, "metar" => $metar, "info_atc" => $info_atc]);
+
+
+})->name("atc");
Route::prefix("donwloader")->group(function () {
Route::get("secure_auth", function (Request $request) {
@@ -612,22 +628,6 @@
dd($encrypted, $decrypted);
})->name("crypto");
- Route::get("atc/{icao}", function (Request $request) {
- $request->merge([
- "icao" => $request->icao
- ]);
- $request->validate([
- "icao" => "required|size:4"
- ]);
- $atconline = new eventController($request->icao);
- $atc = $atconline->get_arrival_departure();
- $metar = new metarController();
- $metar = $metar->metar($request->icao);
- $info_atc = null;
- return view("plateforme.atc", ["icao" => $request->icao, "atc" => $atc, "metar" => $metar, "info_atc" => $info_atc]);
-
-
- })->name("devs.atc");
});