From f9a4849cd6fb333c48632ff10cb881eeb7b4aeb0 Mon Sep 17 00:00:00 2001 From: Josh North Date: Tue, 20 Apr 2021 17:55:40 -0400 Subject: [PATCH] Add/fix settings for IOS touch devices and newer IOS to run in full screen with Guided Access. Edit README. --- README.md | 11 +++++++++++ assets/touch-logo.png | Bin 0 -> 2683 bytes inc/header.inc.php | 3 +++ index.php | 2 +- manifest.webmanifest | 7 +++++++ users.php | 20 ++++++++++++++++++-- 6 files changed, 40 insertions(+), 3 deletions(-) create mode 100644 assets/touch-logo.png create mode 100644 manifest.webmanifest diff --git a/README.md b/README.md index 87c07de..07c8ff5 100644 --- a/README.md +++ b/README.md @@ -2,6 +2,7 @@ ### Concept ### Touchscreen or tablet installed in a lobby or waiting room allows guest to self-register. A security desk operator has a secured interface to log in and manage the registration queue. +See TIPS section for details on running in IOS. ### About ### Josh North - josh.north@point808.com @@ -67,6 +68,16 @@ Email me or use the tools at https://git.point808.com/Point808/LobbySIO 8. Go to the URL. Default username/password "admin" and "admin1234". + +### Tips ### +Running in IOS/Guided access. This app has been updated to run properly on a 10-inch iPad. See steps below to configure the iPad. +1. Open the URL in Safari on the iPad. +2. Click the "Share" icon in the top right of Safari, and add the app to your home screen. +3. Go to Settings/Accessibility/Guided Access and enable. You may also want to tweak other settings here to keep screen on, disable lock screen, etc. You will also set up an exit password. +4. Go to your home screen and open the newly created App Icon. +5. Triple-click the Home button to start guided access. +6. Congratulations - your customers should no longer be able to exit your app. When you need to exit for maintenance, triple-click the Home button and enter the PIN you set up in step 3. + ### Screenshots ### ![Main Page](assets/Main.png?raw=true "Main Page") ![Multi-language](assets/MultiLanguage.png?raw=true "Multi-language") diff --git a/assets/touch-logo.png b/assets/touch-logo.png new file mode 100644 index 0000000000000000000000000000000000000000..9653c9b78ae13e3b6b0be1d7229453536ab9e750 GIT binary patch literal 2683 zcmV->3WW8EP)EX>4Tx04R}tkv&MmKpe$i(~2S$1tW+!WT>4ih>AE$6^me@v=v%)FuC*#nlvOW zE{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O!q)5Ux-%r&E&0fJ%zD;6*4jj_wtn|t-o*e z=f$>zd-fdq!udnq;x=EvYl*#=v9|3b@AV%bCXDy{WD9@|z~b?LlhTcY^=tpCxv< z9*uXFAlNire$A1$iKmY629Kr*1j3|m7mBgCzr&2u_lnwB3}b)r6mdF zlGg5hZ@I@#d_RyZ1YF5j+jkO*OhQid{k~@Uy?Gange|~Ic+}tjdQ?2(;+wx!gP#BK zy!gi{gpB=D15R!G!(EuKyx@E5O($(l47#Kw{gWek)5n@c*G2*RIFT0A@WvrM`~NJ}!m-_c`wIQ#g(P&4M5@6g%6-`Ok@A zr`r9&UA5gxXq|7@??DzukVTQ~1Lzz+inIUl=nm3vVb$I_1NcCGnDJBCJ9jZPp5E4u zy=VVJNqoiwRF0FfvD_1lIH%9#qVPz9m0j0>*LpJtFt}!TSljCEodL`N45Wv*u=gB@ z9na0-2&jk0PlILU0FKBLT`vbPsL8355qY5;z(A(!80)HXK_sXd&sQM}C*=SJF|B+d z`h72+G9O?HE4M^R5ymqW1IEmFfU>wSH3NlA%#CXi=D0@7~!|@bNxa2&}E!@tQCBUjJ%~pN{F?U;#Nhk}`=f zeIB6@0wMe>mzX*k^Vy+4v6zd(alN|$bA5H}d`!jz?CVeY5iw)!>S4<~G6taP?ZZ9S zoT9-L`m)7nGiMC19+@+r1a@5mZu5oFm((YwVN@*kX?rv;`P?Wz!Xr zpBETJpiPz)%kF+b-EWh&^wq$;P=j8xGWnlY9?FwuJdRPmDA8tz(ifmo4SLzkMs4Z0 zl7DvY!Tt*JG1sn+o9_+wguvTr3osf9yGZ#z+mGpe8S pv}se~_c`!t0e%C#8I6SP{{hd)JDqmq6xRR%002ovPDHLkV1lO*D|r9_ literal 0 HcmV?d00001 diff --git a/inc/header.inc.php b/inc/header.inc.php index 0e383ff..bee4c09 100644 --- a/inc/header.inc.php +++ b/inc/header.inc.php @@ -58,7 +58,10 @@ + + + diff --git a/index.php b/index.php index ddbefac..bf7e426 100644 --- a/index.php +++ b/index.php @@ -59,7 +59,7 @@  
- +
  diff --git a/manifest.webmanifest b/manifest.webmanifest new file mode 100644 index 0000000..610f6df --- /dev/null +++ b/manifest.webmanifest @@ -0,0 +1,7 @@ +{ + "name": "Lobby Sign-In/Sign-Out", + "short_name": "Sign-In/Sign-Out", + "display": "standalone", + "scope": "/", + "start_url": "/" +} \ No newline at end of file diff --git a/users.php b/users.php index 6a01544..4b10a6c 100644 --- a/users.php +++ b/users.php @@ -53,7 +53,7 @@ getUserInfo($_POST['deleteid'], "0", "0") + $edituser = $Users->getUserInfo($_POST['editid'], "0", "0") //$SiteInfo->addSite($_POST['sitename'], $_POST['timezone'], $_POST['region']); //header('Location: ' . $_SERVER['PHP_SELF']); ?> @@ -201,7 +201,23 @@ if (0 === $row_count): else: $page_count = (int)ceil($row_count / $StaticFunctio getUserInfo("%", $StaticFunctions->getPageRows(), $offset) as $row): ?> -
+ + + + + + +
+ + + +
+
+ + + +
+