Add/fix settings for IOS touch devices and newer IOS to run in full screen with Guided Access. Edit README.
This commit is contained in:
parent
3f7a719024
commit
f9a4849cd6
11
README.md
11
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")
|
||||
|
BIN
assets/touch-logo.png
Normal file
BIN
assets/touch-logo.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 2.6 KiB |
@ -58,7 +58,10 @@
|
||||
<meta charset="utf-8"/>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1"/>
|
||||
<link rel="manifest" href="manifest.webmanifest">
|
||||
<meta name="apple-mobile-web-app-capable" content="yes">
|
||||
<meta name="apple-mobile-web-app-title" content="Sign-In/Sign-Out">
|
||||
<link rel="apple-touch-icon" href="assets/touch-logo.png">
|
||||
<meta http-equiv="content-type" content="text/html; charset=UTF-8"/>
|
||||
<?php if (basename($_SERVER['PHP_SELF']) == 'signin_display.php'): ?>
|
||||
<meta http-equiv="refresh" content="5; url=index.php" />
|
||||
|
@ -59,7 +59,7 @@
|
||||
|
||||
</div>
|
||||
<div class="col-sm">
|
||||
<button class="btn btn-outline-danger btn-lg btn-block" tabindex="-1" role="button" aria-disabled="true" disabled><i class="fas fa-4x fa-sign-in-alt"></i><img src="<?php echo $StaticFunctions->getLogoText(); ?>" height="140" width="370"></img><br /><h1><?php echo $transLang['APP_NAME']; ?></h1></button>
|
||||
<button class="btn btn-outline-danger btn-lg btn-block" tabindex="-1" role="button" aria-disabled="true" disabled><i class="fas fa-4x fa-sign-in-alt"></i><img src="<?php echo $StaticFunctions->getLogoText(); ?>" height="140" width="370"></img><i class="fas fa-4x fa-sign-out-alt"></i><br /><h1><?php echo $transLang['APP_NAME']; ?></h1></button>
|
||||
</div>
|
||||
<div class="col-sm">
|
||||
|
||||
|
7
manifest.webmanifest
Normal file
7
manifest.webmanifest
Normal file
@ -0,0 +1,7 @@
|
||||
{
|
||||
"name": "Lobby Sign-In/Sign-Out",
|
||||
"short_name": "Sign-In/Sign-Out",
|
||||
"display": "standalone",
|
||||
"scope": "/",
|
||||
"start_url": "/"
|
||||
}
|
20
users.php
20
users.php
@ -53,7 +53,7 @@
|
||||
|
||||
|
||||
<?php if (!empty($_POST['edituser'])): // NEW SITE
|
||||
$edituser = $Users->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
|
||||
<tbody>
|
||||
<?php foreach($Users->getUserInfo("%", $StaticFunctions->getPageRows(), $offset) as $row): ?>
|
||||
<tr>
|
||||
<td><?php echo $row['users_lastname'] . ", " . $row['users_firstname']; ?></td><td><?php echo $row['users_username']; ?></td><td><?php echo $row['users_email']; ?></td><td><?php echo $row['users_created']; ?></td><td><?php echo $transLang[$row['users_usertype']]; ?></td><td><form method="post" onsubmit="return confirm('<?php echo $transLang['DELETE_WARNING']; ?>')"><input type="hidden" id="_METHOD" name="_METHOD" value="DELETE" /><input type="hidden" id="deleteid" name="deleteid" value="<?php echo $row['users_id']; ?>" /><button class="btn btn-primary btn-sm" id="edituser" name="edituser" value="edituser" type="submit" <?php if ($row['users_username'] == "admin"): echo "disabled"; endif; if ($row['users_username'] == "KIOSK"): echo "disabled"; endif; ?>><i class="fa fa-edit"></i> </button><button class="btn btn-danger btn-sm" id="deluser" name="deluser" value="deluser" type="submit" <?php if ($row['users_username'] == "admin"): echo "disabled"; endif; if ($row['users_username'] == "KIOSK"): echo "disabled"; endif; ?>><i class="fa fa-trash"></i> </button></form></td>
|
||||
<td><?php echo $row['users_lastname'] . ", " . $row['users_firstname']; ?></td>
|
||||
<td><?php echo $row['users_username']; ?></td>
|
||||
<td><?php echo $row['users_email']; ?></td>
|
||||
<td><?php echo $row['users_created']; ?></td>
|
||||
<td><?php echo $transLang[$row['users_usertype']]; ?></td>
|
||||
<td>
|
||||
<form method="post">
|
||||
<input type="hidden" id="_METHOD" name="_METHOD" value="EDITUSER" />
|
||||
<input type="hidden" id="editid" name="editid" value="<?php echo $row['users_id']; ?>" />
|
||||
<button class="btn btn-primary btn-sm" id="edituser" name="edituser" value="edituser" type="submit" <?php if ($row['users_username'] == "admin"): echo "disabled"; endif; if ($row['users_username'] == "KIOSK"): echo "disabled"; endif; ?>><i class="fa fa-edit"></i> </button>
|
||||
</form>
|
||||
<form method="post" onsubmit="return confirm('<?php echo $transLang['DELETE_WARNING']; ?>')">
|
||||
<input type="hidden" id="_METHOD" name="_METHOD" value="DELETE" />
|
||||
<input type="hidden" id="deleteid" name="deleteid" value="<?php echo $row['users_id']; ?>" />
|
||||
<button class="btn btn-danger btn-sm" id="deluser" name="deluser" value="deluser" type="submit" <?php if ($row['users_username'] == "admin"): echo "disabled"; endif; if ($row['users_username'] == "KIOSK"): echo "disabled"; endif; ?>><i class="fa fa-trash"></i> </button>
|
||||
</form>
|
||||
</td>
|
||||
</tr>
|
||||
<?php endforeach; ?>
|
||||
</tbody>
|
||||
|
Loading…
Reference in New Issue
Block a user