<!DOCTYPE html>
<html manifest="/offline.appcache">
<!--
<copyright>Copyright © FormLink Systems Inc. 2011. All rights reserved.</copyright>
-->
<head>
<title></title>
<meta NAME="ROBOTS" CONTENT="NOINDEX, NOFOLLOW" />
<meta name="msapplication-tap-highlight" content="no" />
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="format-detection" content="telephone=no" />
<meta charset="utf-8" />
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<meta http-equiv="pragma" content="no-cache" />
<meta http-equiv="Expires" content="Mon, 01 Jan 2000 00:00:01 GMT" />
<meta name="apple-mobile-web-app-capable" content="no" />
<meta name="apple-touch-fullscreen" content="yes" />
<meta name="apple-mobile-web-app-status-bar-style" content="translucent black" />
<link rel="SHORTCUT ICON" href="/favicon.ico" />
<link rel="apple-touch-icon" href="/bookmark-icon.png" />
<script type="text/javascript">
rootUrl = '/';
palladiumCulture = 'en-US';
</script>
<link href="/Content/styles?v=j55_vp4VZXC5VUa_fl_pLMas8o2he_XAGW7FKmgCeRA1" rel="stylesheet"/>
<style media="all and (min-width: 450px)">
.ui-field-contain > label, .ui-field-contain label.ui-select
{
text-align: right !important;
margin-top: 10px;
}
div.ui-input-text
{
margin-top: 5px !important;
margin-bottom: 5px !important;
}
</style>
<script src="/Scripts/preinit?v=UKWK3ZpvxzafSdWWXmgyKRq2GIBgXjnHwDsl3WR7wlA1"></script>
<script type="text/javascript">
$(document).bind("mobileinit", function () {
$.mobile.defaultPageTransition = 'none';
$.mobile.defaultDialogTransition = 'none';
$.mobile.pushStateEnabled = false;
$.mobile.page.prototype.options.keepNative = '[data-role="none"], .qq-upload-button input[type="file"]';
$.extend($.mobile.zoom, { locked: true, enabled: false });
console.log("mobileinit called");
//$.mobile.ignoreContentEnabled = true;
});
</script>
<script src="/Scripts/postinit?v=wqt1F3y5p1lt-hXkJkYFvQ3dfuBHnWNNLBafHjbV9tc1"></script>
</head>
<body>
<div data-role="page" id="logOnPage" data-url="logOnPage" style="display:none">
<div data-role="header" data-theme="b" class="noPrint">
<h1 class="fancytitle"></h1>
</div>
<div data-role="content" class="ui-mini">
<div id="temporary"></div>
<div data-palladium-webcache="true" style="display: block">
<p><span id="cacheProgress">Loading...</span></p>
<div data-palladium-servicemessage="true">
<p><span>Please wait while an important upgrade is performed. Be sure to allow storage access if prompted.</span></p>
</div>
<div data-palladium-reload="true" style="display: none">
<p><span>Your FormLink software was recently updated. Click <a href="" onclick="location.href = location.href;" rel="external">HERE</a> to reload the page.</span></p>
</div>
<div data-palladium-resetsw="true" style="display: none">
<p><span>If you are on a good Internet connection and the Login page doesn't display after reloading the software several times, please click <a href='https://palladium.formlinksystems.com/Offline/Reset' rel="external">HERE</a> to try again.</span></p>
</div>
</div>
<p class="cookiesDisabled">This site requires Cookies to run. Please add <a href="https://formlinksystems.com" target="_blank">formlinksystems.com</a> to the list of trusted sites in your Internet browser or configure your browser to allow third-party cookies.</p>
<div class="cookiesEnabled" style="display:none">
<div data-palladium-webcache="false" style="display: none">
<div data-palladium-serviceMessage="true">
<p><b><span>Please wait while an important upgrade is performed. Be sure to allow storage access if prompted.</span></b></p>
</div>
<div data-palladium-serviceMessage="false" style="display:none">
<form action="/" data-ajax="false" method="post" onsubmit="updateAppLogin()"> <div class="inputdialog">
<img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAASwAAACWCAMAAABThUXgAAAA9lBMVEUAAACvIDC1ICuyICu0ICuzICqyICmzICy0ICq0ICqzICq3IDCzICuzICqvIDC0ICuzICu0ICuyICuzICy0ICnvSiXvSSXvSCivICiyICnvSiSzICqyICnvSiXvSSTvUCDvSiXxSiXvSiXvSCWzICqzICrvSSTvSSTvSiTvSCTvSSTvSSO1ICvvSSPvSiSzICu3ICjvTCTvSCSyIC3vSSXvSiTvSSTvSSQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACzICrvSSQAAAA5CdhjAAAA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C9TyZqbGS8fWVl0nyQB/gkWKmP+WVTeohSbdxMNrCzrPvLyVKQ7Fi9Ilron8e6MunJpPQ8VVyzFj8qPy/KYgsX9b2Jjd0OwqvdygMLRApV1FqnLkVhVQ8X3K/ncrCtICliwLBmvMJb0WZBZZT8FKy9W6mOpy4AG1qq7Fnw1yIdV8KitBVkZ/goWItVNwroqC/EDyWtKH6MMJezyaswkSxKZaOskyVRbkiQbAwv4FadJZ45a6xl8Bwu1lwpi3KTSkpZlIjou+dmVO1QHVlluRBrKZulBBwuT6EZhyWkwki+cvJfXYeiiRD1LAGmIq9TEGNKuwiK7SMO8Bng8WBGJ9YFWDDiVb/jANITvPXuwJA7ZS9lCWCycbzYNpfINH7r8GvPpnU8uDiz9mqEFq0rByxMcVqTyaw8sBld85G9qJ7XVnYEVs58l2uA+WOZTwR3CFixUrG8MFrhhlCQj6p4swqxzsW2YxAGeM2K2kG3ibkiazHrlvMrYEfUsAVvPSuS3SrzALT7iplHPSPTttDZnx4SoVwBRbT1bMG9qRC0hKvxlZIpDrRqE9bZyUFBQUFBQUFBQUFBQUNCg/gtjmJ2d/yz07wAAAABJRU5ErkJggg==" class="center" alt="logo" />
<ul data-role="listview" data-inset="true" data-theme="c">
<li data-theme="g">
<div class="center">
Account Information
</div>
</li>
<li>
<div class="ui-field-contain">
<label for="UserName">Username</label>
<input Placeholder="Username" data-val="true" data-val-length="Username must be between 3 and 254 characters" data-val-length-max="254" data-val-length-min="3" data-val-regex="Username must be alphanumeric with at least 3 characters." data-val-regex-pattern="^\s*[0-9a-zA-Z@.]{3,}\s*$" data-val-required="The Username field is required." id="UserName" name="UserName" type="text" value="" />
<label for="Password">Password</label>
<input Placeholder="Password" class="allow-tags allow-brackets" data-val="true" data-val-required="The Password field is required." id="Password" name="Password" onKeyPress="return submitenter(this,event)" type="password" />
</div>
<label class="center">
<a data-ajax="false" href="/Account/RecoverPassword" rel="external">Please click here</a> if you have forgotten your password.
</label>
<div></div>
<input type="submit" data-theme="g" value="Log In" data-transition="none" />
<input id="RememberMeToken" name="RememberMeToken" type="hidden" value="" />
</li>
</ul>
<p>
If you are an inspector and have already synchronized the locations to your device to work offline, <a data-ajax="false" href="/Inspector/OfflineSummary" rel="external">please click here</a> to continue.
</p>
</div>
</form> </div>
</div>
</div>
<div class="version" style="position: absolute; bottom: 45px; right: 5px; font-size: 10px; font-weight: lighter"></div>
</div>
<div data-role="footer" data-theme="b" class="noPrint ui-bar">
<a data-theme="g" data-icon="info" data-role="button" data-mini="true" rel="external" class="ui-btn-left" target="_blank" href="https://support.formlinksystems.com">Support</a>
<h4 class="footer-title">© FormLink Systems</h4>
</div>
</div>
<script type="text/javascript">
$(document).on('pagecreate', '[data-role="page"]', function () {
$('form').submit(function (e) {
e.preventDefault();
$('#RememberMeToken').val(localStorage.getItem('RememberMe'));
$(this).validate();
if ($(this).valid()) {
$(this).off('submit').submit();
}
});
function waitForStorageInitialization() {
if (
typeof window.localStorageFunctional != 'undefined' &&
typeof window.lawnchairFunctional != 'undefined' &&
typeof window.capacityCheckInProgress == 'undefined'
) {
if (window.localStorageFunctional == "true" && window.lawnchairFunctional == "true") {
console.log("lawnchair and localStorage functional. CapacityCheck not in progress.");
$('[data-palladium-servicemessage="true"]').css("display", "none"); //clear message displayed during capacityCheck.
$('[data-palladium-servicemessage="false"]').css("display", "block"); // enable the login dialog
}
else {
var page = $('[data-role="page"]');
page.find('[data-role="content"]').empty().append("<p>This site requires storage to run. Please disable private browsing and refresh the page. Be sure to allow storage access if prompted.</p>");
$('[data-role="page"]').css("display", "block");
}
}
else {
window.setTimeout(waitForStorageInitialization, 100);
}
}
$('[data-role="page"]').css("display", "block");
waitForStorageInitialization();
});
</script>
<noscript>
<p>This site requires JavaScript to run.</p>
</noscript>
<script type="text/javascript">
(function () {
var versionUpdated = false;
function cacheSequenceComplete(bypassStatus) {
if (bypassStatus != true && window.applicationCache && window.applicationCache.status == 0) /* 0 = UNCACHED, applicationCache failed or not supported */ {
var page = $('[data-role="page"]');
page.find('[data-role="content"]').empty().append("<p>Please use another browser. This browser does not support working offline which is required by this application.</p>");
$('[data-role="page"]').css("display", "block");
}
else {
$('[data-palladium-webcache="false"]').css('display', 'block');
$('[data-palladium-webcache="true"]').css('display', 'none');
console.log("Updating version information");
if (!versionUpdated) {
$('.version').prepend("Version " + "4.7.2.0");
versionUpdated = true;
}
if (navigator.userAgent.toString().indexOf("FormLink") != -1) {
document.addEventListener("deviceready", function () {
loadCredentials();
}, false);
}
setTimeout(function () {
$('#UserName').focus();
}, 1);
}
}
function handleServiceWorkerMessage(message) {
console.log("Received message from SW:");
console.log(message);
// message can be:
// "downloading-update": has started downloading a new version in the background
// (data.version indicates which)
// "update-ready": an update has finished downloading in the background and is
// now ready to use after a reload (data.version indicates which)
// "update-pending": an update is available but needs a reload to start using it
// "up-to-date": identified that the latest version is already in use
// "downloading": started first-time caching of the current version for offline use
// "offline-ready": finished first-time caching, so app can now work offline
// "not-ready": this is happens on restoring windows/saved tabs, because it appears to freeze from the user perspective
// we clear the existing service worker and reload the page
//$('#temporary').append("<div>" + message + " - " + (new Date()).toLocaleTimeString() + "</div>");
switch (message) {
case 'up-to-date':
case 'offline-ready':
case 'offline-mode':
case 'ready':
cacheSequenceComplete(true);
break;
case 'update-ready':
case 'update-pending':
serviceWorkerReload();
break;
case 'not-ready':
console.log("Unregistering service worker and reloading page");
navigator.serviceWorker.getRegistrations().then(function (registrations) {
for (let registration of registrations) {
registration.unregister();
}
serviceWorkerReload();
})
break;
default:
break;
}
}
function serviceWorkerReload() {
setTimeout(function () {
console.log("Reloading...");
// Reassign the href to reload instead of using location.reload() because FireFox doesn't run the serviceWorker otherwise.
location.href = location.href;
}, 1);
}
$(document).ready(function () {
console.log("Document ready");
if ('serviceWorker' in navigator) {
$('[data-palladium-resetsw="true"]').css("display", "block");
$('.version').html(" (SW)");
var firstPass = true;
if (firstPass) {
firstPass = false;
const broadcastChannel = (typeof BroadcastChannel === "undefined" ? null : new BroadcastChannel("FormLink"));
if (broadcastChannel) {
console.log("registering to receive broadcast messages");
broadcastChannel.onmessage = function (e) {
handleServiceWorkerMessage(e.data.type);
};
}
// Always register for post messages in case we need to receive the ready message.
console.log("registering to receive post messages");
navigator.serviceWorker.addEventListener('message', function (event) {
handleServiceWorkerMessage(event.data.type);
});
navigator.serviceWorker.onerror = function (e) {
console.log("SERVICE WORKER ERROR IN CLIENT");
console.log(e);
};
}
else {
console.log("NOT THE FIRST PASS");
}
navigator.serviceWorker.getRegistrations().then(function (registrations) {
if (registrations.length == 0) {
//$('#temporary').append("<div>Appending iFrame to register SW</div>");
$('.version').append(" *registered");
$('body').append('<iframe src="https://palladium.formlinksystems.com/Offline/SoftwareUpdate"></iframe>');
}
else {
console.log("service worker is already registered");
console.log(registrations);
if (navigator.serviceWorker.controller) {
console.log("sending ready message from client");
navigator.serviceWorker.controller.postMessage("ready");
}
else {
console.log("Navigator controller is null. Client has not been claimed yet. Claim me!");
// Reassign the href to reload instead of using location.reload() because FireFox doesn't run the serviceWorker otherwise.
$('#cacheProgress').hide();
$('[data-palladium-reload="true"]').css("display", "block");
}
}
});
}
else if ('applicationCache' in window) {
$('.version').html(" (AC)");
//$('#temporary').append("<div>Using appCache</div>");
console.log("Found applicationCache");
var webappCache = window.applicationCache;
// Get the DOM references we'll need to play with.
var cacheProgress = document.getElementById("cacheProgress");
cacheProgress.innerHTML = "Loading... Please wait.";
var firstPass = true;
var firingCacheEvents = false;
function checkingCache() {
console.log("Checking cache");
}
function obsoleteCache() {
console.log("Obsolete cache");
}
function noupdateCache() {
firingCacheEvents = true;
console.log("No update to cache found");
cacheSequenceComplete();
}
function doneCache() {
console.log("Cache has finished downloading");
//MET 10/14/2015 location.reload();
cacheSequenceComplete();
}
function downloadingCache() {
firingCacheEvents = true;
if (firstPass) {
firstPass = false;
cacheProgress.innerHTML = 'Downloading updates';
}
cacheProgress.innerHTML = cacheProgress.innerHTML + ".";
console.log("Downloading cache...");
}
function progressCache(e) {
cacheProgress.innerHTML = cacheProgress.innerHTML + ".";
console.log("Cache progress...");
console.log(e.loaded / e.total * 100);
// e is undefined on Firefox - this logs NaN. Bug declared wontfix by Mozilla, so can't be corrected.
}
function updateCache() {
if (window.applicationCache.status == window.applicationCache.UPDATEREADY) {
console.log("Cache has been updated due to a change found in the manifest");
window.applicationCache.swapCache();
window.applicationCache.update();
window.location.reload();
}
else {
console.log("Cannot swap since status not UPDATEREADY. Reloading window.");
window.location.reload();
}
}
function errorCache() {
firingCacheEvents = true;
console.log("You're either offline or something has gone horribly wrong.");
cacheSequenceComplete();
}
webappCache.addEventListener("checking", checkingCache, false);
webappCache.addEventListener("obsolete", obsoleteCache, false);
webappCache.addEventListener("downloading", downloadingCache, false);
webappCache.addEventListener("progress", progressCache, false);
webappCache.addEventListener("cached", doneCache, false);
webappCache.addEventListener("noupdate", noupdateCache, false);
webappCache.addEventListener("updateready", updateCache, false);
webappCache.addEventListener("error", errorCache, false);
setTimeout(function () {
if (!firingCacheEvents) {
console.log("Events not firing");
cacheSequenceComplete();
}
}, 10000);
}
else {
//$('#temporary').append("<div>Offline not supported.</div>");
console.log("applicationCache not found");
cacheSequenceComplete();
}
checkUserAuthenticationStatus();
});
})();
</script>
<script type="text/javascript">
palladiumFormDb = null;
String.prototype.endsWith = function (suffix) {
return this.indexOf(suffix, this.length - suffix.length) !== -1;
};
</script>
<script type="text/javascript">
function submitenter(myfield, e) {
var keycode;
if (window.event)
keycode = window.event.keyCode;
else if (e)
keycode = e.which;
else
return true;
if (keycode == 13) {
updateAppLogin();
$('#RememberMeToken').val(localStorage.getItem('RememberMe'));
$('form').validate();
if ($('form').valid()) {
$('form').off('submit').submit();
}
return false;
}
else
return true;
}
function updateAppLogin() {
if (navigator.userAgent.toString().indexOf("FormLink") != -1) {
updateLoginPass($("#UserName").val(), $("#Password").val());
}
}
function loadAppLogin(UN, PW) {
if (UN) {
$("#UserName").val(UN);
}
if (PW) {
$("#Password").val(PW);
}
}
function checkUserAuthenticationStatus() {
$.ajax({
type: "POST",
url: '/Account/CheckUserAuthenticationStatus',
data: null,
datatype: "json",
success: function (response) {
if (response.isLoggedIn) {
location.href = '/Account/RedirectAuthenticated'
}
},
error: function () {
// ignore
}
});
}
</script>
<script type="text/javascript">
if (navigator.userAgent.match(/iPhone/i) || navigator.userAgent.match(/iPad/i)) {
var viewportmeta = document.querySelector('meta[name="viewport"]');
if (viewportmeta) {
viewportmeta.content = 'width=device-width, initial-scale=1.0';
document.body.addEventListener('gesturestart', function () {
viewportmeta.content = 'width=device-width, minimum-scale=0.25, maximum-scale=1.6';
}, false);
}
}
</script>
</body>
</html>