Add licenses/credits
This commit is contained in:
parent
959f9aa6bc
commit
7f00efba3f
@ -13,8 +13,9 @@ browser.run=true
|
|||||||
file.reference.BizApps-Station=.
|
file.reference.BizApps-Station=.
|
||||||
file.reference.Station-public_html=public_html
|
file.reference.Station-public_html=public_html
|
||||||
file.reference.Station-test=test
|
file.reference.Station-test=test
|
||||||
|
file.reference.Station-www=www
|
||||||
files.encoding=UTF-8
|
files.encoding=UTF-8
|
||||||
project.licensePath=./nbproject/mplheader.txt
|
project.licensePath=./nbproject/mplheader.txt
|
||||||
site.root.folder=${file.reference.BizApps-Station}
|
site.root.folder=${file.reference.Station-www}
|
||||||
start.file=www/index.html
|
start.file=index.html
|
||||||
web.context.root=/Station
|
web.context.root=/Station
|
||||||
|
@ -1,9 +1,10 @@
|
|||||||
{
|
{
|
||||||
"name": "netsyms-business-station",
|
"name": "netsyms-business-station",
|
||||||
"main": "main.js",
|
"main": "main.js",
|
||||||
|
"description": "A kiosk app for easy, fast access to core Business Apps features.",
|
||||||
"version": "1.0.0",
|
"version": "1.0.0",
|
||||||
"license": "MPL-2.0",
|
"license": "MPL-2.0",
|
||||||
"author": "Skylar Ittner",
|
"author": "Netsyms Technologies",
|
||||||
"contributors": [],
|
"contributors": [],
|
||||||
"dependencies": {},
|
"dependencies": {},
|
||||||
"window": {
|
"window": {
|
||||||
|
@ -18,6 +18,25 @@ file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<div class="modal" tabindex="-1" role="dialog" id="creditsmodal">
|
||||||
|
<div class="modal-dialog modal-lg" role="document">
|
||||||
|
<div class="modal-content">
|
||||||
|
<div class="modal-header">
|
||||||
|
<h5 class="modal-title"><i class="fas fa-gavel"></i> Credits</h5>
|
||||||
|
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
|
||||||
|
<span aria-hidden="true">×</span>
|
||||||
|
</button>
|
||||||
|
</div>
|
||||||
|
<div class="modal-body" id="creditsbody">
|
||||||
|
|
||||||
|
</div>
|
||||||
|
<div class="modal-footer">
|
||||||
|
<button type="button" class="btn btn-secondary" data-dismiss="modal">Close</button>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
<div id="content-frame" style="position: absolute; top: 0; left: 0; height: 100%; width: 100%; padding-top: 30px;">
|
<div id="content-frame" style="position: absolute; top: 0; left: 0; height: 100%; width: 100%; padding-top: 30px;">
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
@ -34,6 +53,7 @@ file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|||||||
<script src="js/functions.js"></script>
|
<script src="js/functions.js"></script>
|
||||||
<script src="js/settings.js"></script>
|
<script src="js/settings.js"></script>
|
||||||
<script src="js/session.js"></script>
|
<script src="js/session.js"></script>
|
||||||
|
<script src="cordova.js"></script>
|
||||||
<script>
|
<script>
|
||||||
validateSettings(function (resp) {
|
validateSettings(function (resp) {
|
||||||
if (resp === true) {
|
if (resp === true) {
|
||||||
@ -46,6 +66,15 @@ file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|||||||
});
|
});
|
||||||
|
|
||||||
if (kioskmode) {
|
if (kioskmode) {
|
||||||
|
if (typeof nw !== 'undefined') {
|
||||||
nw.Window.get().enterKioskMode();
|
nw.Window.get().enterKioskMode();
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Cordova fullscreen */
|
||||||
|
document.addEventListener("deviceready", function () {
|
||||||
|
if (kioskmode && typeof AndroidFullScreen !== 'undefined') {
|
||||||
|
AndroidFullScreen.immersiveMode();
|
||||||
|
}
|
||||||
|
});
|
||||||
</script>
|
</script>
|
@ -28,6 +28,12 @@ function getApps(callback) {
|
|||||||
}, "json");
|
}, "json");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function showCredits() {
|
||||||
|
$('#creditsbody').load("licenses.html", function () {
|
||||||
|
$("#creditsmodal").modal("show");
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
var msgtimeout = null;
|
var msgtimeout = null;
|
||||||
|
|
||||||
function showmsg(text, style, details, timeout) {
|
function showmsg(text, style, details, timeout) {
|
||||||
|
3085
www/licenses.html
Executable file
3085
www/licenses.html
Executable file
File diff suppressed because it is too large
Load Diff
@ -8,4 +8,5 @@ file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|||||||
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
<p class="text-center text-muted" onclick="showCredits();">Licenses</p>
|
||||||
<script src="js/home.js"></script>
|
<script src="js/home.js"></script>
|
@ -54,5 +54,6 @@ file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
<p class="text-center text-muted" onclick="showCredits();">View Open Source Licenses</p>
|
||||||
</div>
|
</div>
|
||||||
<script src="js/setup.js"></script>
|
<script src="js/setup.js"></script>
|
Loading…
x
Reference in New Issue
Block a user