-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
p3x-robot sunday release 2017-7-1 13:16:48
- Loading branch information
Showing
23 changed files
with
741 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,3 +9,4 @@ | |
.idea/workspace.xml | ||
.idea/tasks.xml | ||
|
||
/release |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,3 +13,4 @@ | |
*.log | ||
/corifeus-boot.json | ||
|
||
/release |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<base href="${base}"> | ||
<link rel="stylesheet" href="${css}"> | ||
<style type="text/css"> | ||
.ngivr-template-page-break { | ||
height: 0px; | ||
border-top-style: none; | ||
} | ||
</style> | ||
</head> | ||
<body> | ||
${settings.html} | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<base href="${base}"> | ||
<link rel="stylesheet" href="${css}"> | ||
<script src="https://code.jquery.com/jquery-1.12.4.min.js"></script> | ||
<script> | ||
var items = ${settings.html}; | ||
|
||
// qr-hack // | ||
|
||
var vars = {}; | ||
var query_strings_from_url = document.location.search.substring(1).split('&'); | ||
for (var query_string in query_strings_from_url) { | ||
if (query_strings_from_url.hasOwnProperty(query_string)) { | ||
var temp_var = query_strings_from_url[query_string].split('=', 2); | ||
vars[temp_var[0]] = decodeURI(temp_var[1]); | ||
} | ||
} | ||
var varNames = ['page', 'frompage', 'topage', 'webpage', 'section', 'subsection', 'date', 'isodate', 'time', 'title', 'doctitle', 'sitepage', 'sitepages']; | ||
vars.pages = vars.topage | ||
|
||
// headerOrFooter 1 = header, 2 == footer | ||
// headerOrFooter // | ||
var baseSelector = 'p3x-' + (headerOrFooter == 1 ? 'header' : 'footer'); | ||
|
||
$(document).ready(function () { | ||
|
||
var itemName = baseSelector + '-' + vars.page; | ||
var item = ''; | ||
if (items.hasOwnProperty(itemName)) { | ||
item = items[itemName] | ||
} else { | ||
item = items[baseSelector]; | ||
}; | ||
// lodash-template-hack // | ||
var $item = $(item); | ||
var $body = $('body'); | ||
$body.append($item ); | ||
}); | ||
</script> | ||
</head> | ||
<body> | ||
|
||
</body> | ||
</html> |
Oops, something went wrong.