diff --git a/CHANGELOG.md b/CHANGELOG.md index 46802ad..e215a75 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -45,5 +45,5 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [First Patch] ```powershell -npx nativefier --name "Admin-Privet Jet" -i "./icon.ico" --inject "./admin-context.js" --disable-dev-tools --build-version "0.0.073-beta" --app-version "0.07" --show-menu-bar --bookmarks-menu "./admin_menu-Action.json" --min-width "1360" --min-height "768" --ignore-certificate --portable "http://localhost/admin/" +npx nativefier --name "Admin-Private Jet" -i "./icon.ico" --inject "./admin-context.js" --disable-dev-tools --build-version "0.0.073-beta" --app-version "0.07" --show-menu-bar --bookmarks-menu "./admin_menu-Action.json" --min-width "1360" --min-height "768" --ignore-certificate --portable "http://localhost/admin/" ``` diff --git a/admin/conn.php b/admin/conn.php index 23727cc..16b595b 100644 --- a/admin/conn.php +++ b/admin/conn.php @@ -4,7 +4,7 @@ $serverName = "127.0.0.1"; // localhost ip-----OR----enable any existing ip from SQL Server (2022) Configuration manager\SQL Server Network Configuration\protocols For SQLEXPRESS(instance name)\TCP/IP\properties\protocol(enabled)\IP Address $port = "51609"; // The port, configured in SQL Server Configuration Manager $connectionOptions = array( - "Database" => "PrivetJet" //database name + "Database" => "PrivateJet" //database name ); $conn = sqlsrv_connect("$serverName, $port", $connectionOptions); diff --git a/admin/fba.php b/admin/fba.php index 4b97fa2..c23db07 100644 --- a/admin/fba.php +++ b/admin/fba.php @@ -33,7 +33,9 @@ // Process all airports foreach ($allAirports as $airport) { - $airportNames[] = htmlspecialchars($airport); + $nameSize = 16; + $shortenedAirportName = strlen($airport) > $nameSize ? substr($airport, 0, $nameSize) . '...' : $airport; // show airport name under $limit... + $airportNames[] = htmlspecialchars($shortenedAirportName); $flightCountsStart[] = isset($flightDataStart[$airport]) ? $flightDataStart[$airport] : 0; $flightCountsDestination[] = isset($flightDataDestination[$airport]) ? $flightDataDestination[$airport] : 0; } diff --git a/admin/mobile.html b/admin/mobile.html index e79eb57..37dab50 100644 --- a/admin/mobile.html +++ b/admin/mobile.html @@ -5,7 +5,7 @@ -
This website is designed for Desktop only and may not provide an optimal experience on mobile devices or screens with low resolutions.
If you are on a Mobile device, we recommend using a Desktop or larger screen for the best viewing experience.
- If you'd like to refresh the page press the refresh button + If you'd like to refresh the page press the refresh button diff --git a/database/admin.sql b/database/admin.sql index 21790d6..0ef5b96 100644 --- a/database/admin.sql +++ b/database/admin.sql @@ -1,5 +1,6 @@ -create database PrivetJet; -use PrivetJet; +create database PrivateJet; +use PrivateJet; +use PrivateJet; -- admin login -- Create the admin_login table diff --git a/database/bookings.sql b/database/bookings.sql index 901ab48..dd49d67 100644 --- a/database/bookings.sql +++ b/database/bookings.sql @@ -1,4 +1,4 @@ -use PrivetJet; +use PrivateJet; -- user login info create table users( diff --git a/database/drivers.sql b/database/drivers.sql index 99ce5cf..a5e05df 100644 --- a/database/drivers.sql +++ b/database/drivers.sql @@ -1,4 +1,4 @@ -use PrivetJet +use PrivateJet CREATE TABLE driver_info ( diff --git a/drivers/conn.php b/drivers/conn.php index 23727cc..16b595b 100644 --- a/drivers/conn.php +++ b/drivers/conn.php @@ -4,7 +4,7 @@ $serverName = "127.0.0.1"; // localhost ip-----OR----enable any existing ip from SQL Server (2022) Configuration manager\SQL Server Network Configuration\protocols For SQLEXPRESS(instance name)\TCP/IP\properties\protocol(enabled)\IP Address $port = "51609"; // The port, configured in SQL Server Configuration Manager $connectionOptions = array( - "Database" => "PrivetJet" //database name + "Database" => "PrivateJet" //database name ); $conn = sqlsrv_connect("$serverName, $port", $connectionOptions); diff --git a/user/about.html b/user/about.html index 8b1344f..bc30766 100644 --- a/user/about.html +++ b/user/about.html @@ -3,7 +3,7 @@
-Your trusted source for premium airline tickets at an affordable price! Our goal is to ensure you get the most comfortable flying expeirence all around the globe all while at the convenience of your own home devices. We also provide the service of rescheduling your flight to ensure your experience is the most optimal that we can provide.