Added gallery, Fixed lscom page, Compressed images
Update content.php, index.php, and 14 more files...
@@ -218,6 +218,31 @@ function createElementNode(mixed $elementNode, string $prepend="", string $appen
|
||||
} else {
|
||||
echo('<div class="sidebar-divider"></div>');
|
||||
}
|
||||
break;
|
||||
case "image":
|
||||
// Parsing properties.
|
||||
$_imgAlt = "";
|
||||
$_imgSource = "/resources/Azias/imgs/placeholder.png";
|
||||
if(array_key_exists("alt", $elementNode)) {
|
||||
$_imgAlt = $elementNode["alt"];
|
||||
}
|
||||
if(array_key_exists("src", $elementNode)) {
|
||||
$_imgSource = $elementNode["src"];
|
||||
}
|
||||
|
||||
// Reading and processing the modifiers.
|
||||
$_modFillHeight = false;
|
||||
if(array_key_exists("modifiers", $elementNode)) {
|
||||
for ($i = 0; $i < count($elementNode["modifiers"]); $i++) {
|
||||
if ($elementNode["modifiers"][$i] == "fill-height") {
|
||||
$_modFillHeight = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Adding element.
|
||||
echo('<img class="'.($_modFillHeight?'fill-height':'').'" src="'.$_imgSource.'" alt="'.$_imgAlt.'">');
|
||||
|
||||
break;
|
||||
case "h1":
|
||||
case "h2":
|
||||
@@ -389,7 +414,7 @@ function createElementNode(mixed $elementNode, string $prepend="", string $appen
|
||||
|
||||
// Adding link if needed.
|
||||
if(array_key_exists("link", $elementNode)) {
|
||||
echo('<a href="'.$elementNode["link"].'">');
|
||||
echo('<a href="'.$elementNode["link"].'" class="button-link">');
|
||||
}
|
||||
|
||||
// Opening button.
|
||||
@@ -399,7 +424,7 @@ function createElementNode(mixed $elementNode, string $prepend="", string $appen
|
||||
(array_key_exists("color", $elementNode)?' btn-'.$elementNode["color"]:'').
|
||||
($_modRoundShape?' btn-rounded':'').
|
||||
($_modCircleShape?' rounded-circle':'').
|
||||
' mr-15"').'>');
|
||||
'"').'>');
|
||||
|
||||
// Adding content.
|
||||
processStandardContentSubNode($elementNode);
|
||||
|
@@ -269,6 +269,20 @@ if($content_has_error) {
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Custom modal, see: https://dev.to/nicm42/fading-in-and-fading-out-with-css-transitions-3lc1 -->
|
||||
|
||||
<div class="modal" id="modal-content-image-viewer" tabindex="-1" role="dialog">
|
||||
<div class="modal-dialog" role="document">
|
||||
<div class="modal-content modal-content-media w-three-quarter">
|
||||
<a id="modal-img-close" href="#" class="close" role="button" aria-label="Close">
|
||||
<span aria-hidden="true"><i class="fad fa-times"></i></span>
|
||||
</a>
|
||||
<img id="modal-img" src="/resources/Azias/imgs/placeholder.png" class="img-fluid ml-auto mr-auto" alt="modal-img">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<?php include 'footer.php'; ?>
|
||||
</div>
|
||||
<script src="/resources/HalfMoon/1.1.1/js/halfmoon.min.js"></script>
|
||||
|
@@ -111,224 +111,260 @@
|
||||
}
|
||||
},
|
||||
|
||||
{"type": "spacer", "size": 2},
|
||||
|
||||
{
|
||||
"type": "collapse",
|
||||
"title": {"key": "content.commons.version.current"},
|
||||
"subtitle": {"en": "<i class=\"fab fa-windows mr-20\"></i>v2.1.0"},
|
||||
"modifiers": ["no-rounding", "no-padding-content", "horizontal-scroll"],
|
||||
"parts": [
|
||||
{
|
||||
"type": "table",
|
||||
"modifiers": ["striped", "inner-bordered"],
|
||||
"head": [
|
||||
{"key": "content.commons.cpu.responsive"},
|
||||
{"key": "content.commons.lang"},
|
||||
{"key": "content.commons.download.single"}
|
||||
],
|
||||
"body": [
|
||||
[
|
||||
{"key": "content.commons.cpu.x64", "rowspan": 2},
|
||||
{"key": "lang.english"},
|
||||
{
|
||||
"parts": [{
|
||||
"type": "button", "link": "https://files.nibblepoker.lu/downloads/PB-ListComPort/2.1.0/lscom_eng_x64.exe",
|
||||
"modifiers": ["thin"],
|
||||
"content": {"en": "<span class=\"text-monospace\">lscom_eng_x64.exe</span><i class=\"fas fa-download ml-10\"></i>"}
|
||||
}]
|
||||
}
|
||||
],[
|
||||
{"key": "lang.french"},
|
||||
{
|
||||
"parts": [{
|
||||
"type": "button", "link": "https://files.nibblepoker.lu/downloads/PB-ListComPort/2.1.0/lscom_fra_x64.exe",
|
||||
"modifiers": ["thin"],
|
||||
"content": {"en": "<span class=\"text-monospace\">lscom_fra_x64.exe</span><i class=\"fas fa-download ml-10\"></i>"}
|
||||
}]
|
||||
}
|
||||
],[
|
||||
{"key": "content.commons.cpu.x86", "rowspan": 2},
|
||||
{"key": "lang.english"},
|
||||
{
|
||||
"parts": [{
|
||||
"type": "button", "link": "https://files.nibblepoker.lu/downloads/PB-ListComPort/2.1.0/lscom_eng_x86.exe",
|
||||
"modifiers": ["thin"],
|
||||
"content": {"en": "<span class=\"text-monospace\">lscom_eng_x86.exe</span><i class=\"fas fa-download ml-10\"></i>"}
|
||||
}]
|
||||
}
|
||||
],[
|
||||
{"key": "lang.french"},
|
||||
{
|
||||
"parts": [{
|
||||
"type": "button", "link": "https://files.nibblepoker.lu/downloads/PB-ListComPort/2.1.0/lscom_fra_x86.exe",
|
||||
"modifiers": ["thin"],
|
||||
"content": {"en": "<span class=\"text-monospace\">lscom_fra_x86.exe</span><i class=\"fas fa-download ml-10\"></i>"}
|
||||
}]
|
||||
}
|
||||
]
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
|
||||
{
|
||||
"type": "collapse",
|
||||
"title": {"key": "content.commons.version.previous.multiple"},
|
||||
"modifiers": ["no-rounding", "no-padding-content", "no-top-margin", "closed", "horizontal-scroll"],
|
||||
"parts": [
|
||||
{
|
||||
"type": "table",
|
||||
"modifiers": ["striped", "inner-bordered"],
|
||||
"head": [
|
||||
{"key": "content.commons.version"},
|
||||
{"key": "content.commons.cpu.responsive"},
|
||||
{"key": "content.commons.lang"},
|
||||
{"key": "content.commons.download.single"}
|
||||
],
|
||||
"body": [
|
||||
[
|
||||
{"en": "v2.0.0", "rowspan": 4},
|
||||
{"key": "content.commons.cpu.x64", "rowspan": 2},
|
||||
{"key": "lang.english"},
|
||||
{
|
||||
"parts": [{
|
||||
"type": "button", "link": "https://files.nibblepoker.lu/downloads/PB-ListComPort/2.0.0/lscom_eng_x64.exe",
|
||||
"modifiers": ["thin"],
|
||||
"content": {"en": "<span class=\"text-monospace\">lscom_eng_x64.exe</span><i class=\"fas fa-download ml-10\"></i>"}
|
||||
}]
|
||||
}
|
||||
],[
|
||||
{"key": "lang.french"},
|
||||
{
|
||||
"parts": [{
|
||||
"type": "button", "link": "https://files.nibblepoker.lu/downloads/PB-ListComPort/2.0.0/lscom_fra_x64.exe",
|
||||
"modifiers": ["thin"],
|
||||
"content": {"en": "<span class=\"text-monospace\">lscom_fra_x64.exe</span><i class=\"fas fa-download ml-10\"></i>"}
|
||||
}]
|
||||
}
|
||||
],[
|
||||
{"key": "content.commons.cpu.x86", "rowspan": 2},
|
||||
{"key": "lang.english"},
|
||||
{
|
||||
"parts": [
|
||||
{
|
||||
"type": "button", "link": "https://files.nibblepoker.lu/downloads/PB-ListComPort/2.0.0/lscom_eng_x86.exe",
|
||||
"modifiers": ["thin"],
|
||||
"content": {"en": "<span class=\"text-monospace\">lscom_eng_x86.exe</span><i class=\"fas fa-download ml-10\"></i>"}
|
||||
}
|
||||
"type": "container", "padding": 10,
|
||||
"modifiers": ["no-top-margin"],
|
||||
"content": {
|
||||
"parts": [
|
||||
{
|
||||
"type": "h1", "modifiers": ["no-top-margin"],
|
||||
"content": {"key": "content.commons.version.current"}
|
||||
},{
|
||||
"type": "spacer", "size": 1
|
||||
},{
|
||||
"type": "container", "padding": 0,
|
||||
"modifiers": ["no-bottom-padding", "no-top-margin", "card"],
|
||||
"content": {
|
||||
"parts": [{
|
||||
"type": "table",
|
||||
"modifiers": ["striped", "inner-bordered"],
|
||||
"head": [
|
||||
{"key": "content.commons.cpu.responsive"},
|
||||
{"key": "content.commons.lang"},
|
||||
{"key": "content.commons.download.single"}
|
||||
],
|
||||
"body": [
|
||||
[
|
||||
{"key": "content.commons.cpu.x64", "rowspan": 2},
|
||||
{"key": "lang.english"},
|
||||
{
|
||||
"parts": [{
|
||||
"type": "button", "link": "https://files.nibblepoker.lu/downloads/PB-ListComPort/2.1.0/lscom_eng_x64.exe",
|
||||
"modifiers": ["thin"],
|
||||
"content": {"en": "<span class=\"text-monospace\">lscom_eng_x64.exe</span><i class=\"fas fa-download ml-10\"></i>"}
|
||||
}]
|
||||
}
|
||||
],[
|
||||
{"key": "lang.french"},
|
||||
{
|
||||
"parts": [{
|
||||
"type": "button", "link": "https://files.nibblepoker.lu/downloads/PB-ListComPort/2.1.0/lscom_fra_x64.exe",
|
||||
"modifiers": ["thin"],
|
||||
"content": {"en": "<span class=\"text-monospace\">lscom_fra_x64.exe</span><i class=\"fas fa-download ml-10\"></i>"}
|
||||
}]
|
||||
}
|
||||
],[
|
||||
{"key": "content.commons.cpu.x86", "rowspan": 2},
|
||||
{"key": "lang.english"},
|
||||
{
|
||||
"parts": [{
|
||||
"type": "button", "link": "https://files.nibblepoker.lu/downloads/PB-ListComPort/2.1.0/lscom_eng_x86.exe",
|
||||
"modifiers": ["thin"],
|
||||
"content": {"en": "<span class=\"text-monospace\">lscom_eng_x86.exe</span><i class=\"fas fa-download ml-10\"></i>"}
|
||||
}]
|
||||
}
|
||||
],[
|
||||
{"key": "lang.french"},
|
||||
{
|
||||
"parts": [{
|
||||
"type": "button", "link": "https://files.nibblepoker.lu/downloads/PB-ListComPort/2.1.0/lscom_fra_x86.exe",
|
||||
"modifiers": ["thin"],
|
||||
"content": {"en": "<span class=\"text-monospace\">lscom_fra_x86.exe</span><i class=\"fas fa-download ml-10\"></i>"}
|
||||
}]
|
||||
}
|
||||
]
|
||||
]
|
||||
}
|
||||
],[
|
||||
{"key": "lang.french"},
|
||||
{
|
||||
"parts": [{
|
||||
"type": "button", "link": "https://files.nibblepoker.lu/downloads/PB-ListComPort/2.0.0/lscom_fra_x86.exe",
|
||||
"modifiers": ["thin"],
|
||||
"content": {"en": "<span class=\"text-monospace\">lscom_fra_x86.exe</span><i class=\"fas fa-download ml-10\"></i>"}
|
||||
}]
|
||||
}
|
||||
],[
|
||||
{"en": "v1.1.0", "rowspan": 2},
|
||||
{"key": "content.commons.cpu.x64"},
|
||||
{"key": "lang.english", "rowspan": 2},
|
||||
{
|
||||
"parts": [{
|
||||
"type": "button", "link": "https://files.nibblepoker.lu/downloads/PB-ListComPort/1.1.0/lscom-x64.exe",
|
||||
"modifiers": ["thin"],
|
||||
"content": {"en": "<span class=\"text-monospace\">lscom-x64.exe</span><i class=\"fas fa-download ml-10\"></i>"}
|
||||
}]
|
||||
}
|
||||
],[
|
||||
{"key": "content.commons.cpu.x86"},
|
||||
{
|
||||
"parts": [{
|
||||
"type": "button", "link": "https://files.nibblepoker.lu/downloads/PB-ListComPort/1.1.0/lscom-x86.exe",
|
||||
"modifiers": ["thin"],
|
||||
"content": {"en": "<span class=\"text-monospace\">lscom-x86.exe</span><i class=\"fas fa-download ml-10\"></i>"}
|
||||
}]
|
||||
}
|
||||
],[
|
||||
{"en": "v1.0.0", "rowspan": 2},
|
||||
{"key": "content.commons.cpu.x64"},
|
||||
{"key": "lang.english", "rowspan": 2},
|
||||
{
|
||||
"parts": [{
|
||||
"type": "button", "link": "https://files.nibblepoker.lu/downloads/PB-ListComPort/1.0.0/lscom-x64.exe",
|
||||
"modifiers": ["thin"],
|
||||
"content": {"en": "<span class=\"text-monospace\">lscom-x64.exe</span><i class=\"fas fa-download ml-10\"></i>"}
|
||||
}]
|
||||
}
|
||||
],[
|
||||
{"key": "content.commons.cpu.x86"},
|
||||
{
|
||||
"parts": [{
|
||||
"type": "button", "link": "https://files.nibblepoker.lu/downloads/PB-ListComPort/1.0.0/lscom-x86.exe",
|
||||
"modifiers": ["thin"],
|
||||
"content": {"en": "<span class=\"text-monospace\">lscom-x86.exe</span><i class=\"fas fa-download ml-10\"></i>"}
|
||||
}]
|
||||
}
|
||||
]
|
||||
]
|
||||
}
|
||||
]
|
||||
}]
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
|
||||
{
|
||||
"type": "collapse",
|
||||
"title": {"key": "content.commons.version.source"},
|
||||
"modifiers": ["no-rounding", "no-padding-content", "no-top-margin", "closed", "horizontal-scroll"],
|
||||
"parts": [{
|
||||
"type": "table", "modifiers": ["striped", "inner-bordered"],
|
||||
"head": [{"key": "content.commons.version"}, {"key": "content.commons.download.multiple"}],
|
||||
"body": [[
|
||||
{"en": "v2.1.0"},
|
||||
{"parts": [{
|
||||
"type": "button", "modifiers": ["thin"],
|
||||
"link": "https://files.nibblepoker.lu/downloads/PB-ListComPort/2.1.0/2.1.0.zip",
|
||||
"content": {"en": "<span class=\"text-monospace\">2.1.0.zip</span><i class=\"fas fa-download ml-10\"></i>"}
|
||||
"type": "container", "padding": 10,
|
||||
"modifiers": ["no-top-margin"],
|
||||
"content": {
|
||||
"parts": [
|
||||
{
|
||||
"type": "h1", "modifiers": ["no-top-margin"],
|
||||
"content": {"key": "content.commons.version.previous.multiple"}
|
||||
},{
|
||||
"type": "button", "modifiers": ["thin"],
|
||||
"link": "https://files.nibblepoker.lu/downloads/PB-ListComPort/2.1.0/2.1.0.tar.gz",
|
||||
"content": {"en": "<span class=\"text-monospace\">2.1.0.tar.gz</span><i class=\"fas fa-download ml-10\"></i>"}
|
||||
}]}
|
||||
],[
|
||||
{"en": "v2.0.0"},
|
||||
{"parts": [{
|
||||
"type": "button", "modifiers": ["thin"],
|
||||
"link": "https://files.nibblepoker.lu/downloads/PB-ListComPort/2.0.0/2.0.0.zip",
|
||||
"content": {"en": "<span class=\"text-monospace\">2.0.0.zip</span><i class=\"fas fa-download ml-10\"></i>"}
|
||||
"type": "spacer", "size": 1
|
||||
},{
|
||||
"type": "button", "modifiers": ["thin"],
|
||||
"link": "https://files.nibblepoker.lu/downloads/PB-ListComPort/2.0.0/2.0.0.tar.gz",
|
||||
"content": {"en": "<span class=\"text-monospace\">2.0.0.tar.gz</span><i class=\"fas fa-download ml-10\"></i>"}
|
||||
}]}
|
||||
],[
|
||||
{"en": "v1.1.0"},
|
||||
{"parts": [{
|
||||
"type": "button", "modifiers": ["thin"],
|
||||
"link": "https://files.nibblepoker.lu/downloads/PB-ListComPort/1.1.0/1.1.0.zip",
|
||||
"content": {"en": "<span class=\"text-monospace\">1.1.0.zip</span><i class=\"fas fa-download ml-10\"></i>"}
|
||||
},{
|
||||
"type": "button", "modifiers": ["thin"],
|
||||
"link": "https://files.nibblepoker.lu/downloads/PB-ListComPort/1.1.0/1.1.0.tar.gz",
|
||||
"content": {"en": "<span class=\"text-monospace\">1.1.0.tar.gz</span><i class=\"fas fa-download ml-10\"></i>"}
|
||||
}]}
|
||||
],[
|
||||
{"en": "v1.0.0"},
|
||||
{"parts": [{
|
||||
"type": "button", "modifiers": ["thin"],
|
||||
"link": "https://files.nibblepoker.lu/downloads/PB-ListComPort/1.0.0/1.0.0.zip",
|
||||
"content": {"en": "<span class=\"text-monospace\">1.0.0.zip</span><i class=\"fas fa-download ml-10\"></i>"}
|
||||
},{
|
||||
"type": "button", "modifiers": ["thin"],
|
||||
"link": "https://files.nibblepoker.lu/downloads/PB-ListComPort/1.0.0/1.0.0.tar.gz",
|
||||
"content": {"en": "<span class=\"text-monospace\">1.0.0.tar.gz</span><i class=\"fas fa-download ml-10\"></i>"}
|
||||
}]}
|
||||
]]
|
||||
}]
|
||||
}
|
||||
"type": "container", "padding": 0,
|
||||
"modifiers": ["no-bottom-padding", "no-top-margin", "card"],
|
||||
"content": {
|
||||
"parts": [{
|
||||
"type": "table",
|
||||
"modifiers": ["striped", "inner-bordered"],
|
||||
"head": [
|
||||
{"key": "content.commons.version"},
|
||||
{"key": "content.commons.cpu.responsive"},
|
||||
{"key": "content.commons.lang"},
|
||||
{"key": "content.commons.download.single"}
|
||||
],
|
||||
"body": [
|
||||
[
|
||||
{"en": "v2.0.0", "rowspan": 4},
|
||||
{"key": "content.commons.cpu.x64", "rowspan": 2},
|
||||
{"key": "lang.english"},
|
||||
{
|
||||
"parts": [{
|
||||
"type": "button", "link": "https://files.nibblepoker.lu/downloads/PB-ListComPort/2.0.0/lscom_eng_x64.exe",
|
||||
"modifiers": ["thin"],
|
||||
"content": {"en": "<span class=\"text-monospace\">lscom_eng_x64.exe</span><i class=\"fas fa-download ml-10\"></i>"}
|
||||
}]
|
||||
}
|
||||
],[
|
||||
{"key": "lang.french"},
|
||||
{
|
||||
"parts": [{
|
||||
"type": "button", "link": "https://files.nibblepoker.lu/downloads/PB-ListComPort/2.0.0/lscom_fra_x64.exe",
|
||||
"modifiers": ["thin"],
|
||||
"content": {"en": "<span class=\"text-monospace\">lscom_fra_x64.exe</span><i class=\"fas fa-download ml-10\"></i>"}
|
||||
}]
|
||||
}
|
||||
],[
|
||||
{"key": "content.commons.cpu.x86", "rowspan": 2},
|
||||
{"key": "lang.english"},
|
||||
{
|
||||
"parts": [
|
||||
{
|
||||
"type": "button", "link": "https://files.nibblepoker.lu/downloads/PB-ListComPort/2.0.0/lscom_eng_x86.exe",
|
||||
"modifiers": ["thin"],
|
||||
"content": {"en": "<span class=\"text-monospace\">lscom_eng_x86.exe</span><i class=\"fas fa-download ml-10\"></i>"}
|
||||
}
|
||||
]
|
||||
}
|
||||
],[
|
||||
{"key": "lang.french"},
|
||||
{
|
||||
"parts": [{
|
||||
"type": "button", "link": "https://files.nibblepoker.lu/downloads/PB-ListComPort/2.0.0/lscom_fra_x86.exe",
|
||||
"modifiers": ["thin"],
|
||||
"content": {"en": "<span class=\"text-monospace\">lscom_fra_x86.exe</span><i class=\"fas fa-download ml-10\"></i>"}
|
||||
}]
|
||||
}
|
||||
],[
|
||||
{"en": "v1.1.0", "rowspan": 2},
|
||||
{"key": "content.commons.cpu.x64"},
|
||||
{"key": "lang.english", "rowspan": 2},
|
||||
{
|
||||
"parts": [{
|
||||
"type": "button", "link": "https://files.nibblepoker.lu/downloads/PB-ListComPort/1.1.0/lscom-x64.exe",
|
||||
"modifiers": ["thin"],
|
||||
"content": {"en": "<span class=\"text-monospace\">lscom-x64.exe</span><i class=\"fas fa-download ml-10\"></i>"}
|
||||
}]
|
||||
}
|
||||
],[
|
||||
{"key": "content.commons.cpu.x86"},
|
||||
{
|
||||
"parts": [{
|
||||
"type": "button", "link": "https://files.nibblepoker.lu/downloads/PB-ListComPort/1.1.0/lscom-x86.exe",
|
||||
"modifiers": ["thin"],
|
||||
"content": {"en": "<span class=\"text-monospace\">lscom-x86.exe</span><i class=\"fas fa-download ml-10\"></i>"}
|
||||
}]
|
||||
}
|
||||
],[
|
||||
{"en": "v1.0.0", "rowspan": 2},
|
||||
{"key": "content.commons.cpu.x64"},
|
||||
{"key": "lang.english", "rowspan": 2},
|
||||
{
|
||||
"parts": [{
|
||||
"type": "button", "link": "https://files.nibblepoker.lu/downloads/PB-ListComPort/1.0.0/lscom-x64.exe",
|
||||
"modifiers": ["thin"],
|
||||
"content": {"en": "<span class=\"text-monospace\">lscom-x64.exe</span><i class=\"fas fa-download ml-10\"></i>"}
|
||||
}]
|
||||
}
|
||||
],[
|
||||
{"key": "content.commons.cpu.x86"},
|
||||
{
|
||||
"parts": [{
|
||||
"type": "button", "link": "https://files.nibblepoker.lu/downloads/PB-ListComPort/1.0.0/lscom-x86.exe",
|
||||
"modifiers": ["thin"],
|
||||
"content": {"en": "<span class=\"text-monospace\">lscom-x86.exe</span><i class=\"fas fa-download ml-10\"></i>"}
|
||||
}]
|
||||
}
|
||||
]
|
||||
]
|
||||
}]
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
|
||||
{
|
||||
"type": "container", "padding": 10,
|
||||
"modifiers": ["no-top-margin"],
|
||||
"content": {
|
||||
"parts": [
|
||||
{
|
||||
"type": "h1", "modifiers": ["no-top-margin"],
|
||||
"content": {"key": "content.commons.version.source"}
|
||||
},{
|
||||
"type": "spacer", "size": 1
|
||||
},{
|
||||
"type": "container", "padding": 0,
|
||||
"modifiers": ["no-bottom-padding", "no-top-margin", "card"],
|
||||
"content": {
|
||||
"parts": [{
|
||||
"type": "table", "modifiers": ["striped", "inner-bordered"],
|
||||
"head": [{"key": "content.commons.version"}, {"key": "content.commons.download.multiple"}],
|
||||
"body": [[
|
||||
{"en": "v2.1.0"},
|
||||
{"parts": [{
|
||||
"type": "button", "modifiers": ["thin"],
|
||||
"link": "https://files.nibblepoker.lu/downloads/PB-ListComPort/2.1.0/2.1.0.zip",
|
||||
"content": {"en": "<span class=\"text-monospace\">2.1.0.zip</span><i class=\"fas fa-download ml-10\"></i>"}
|
||||
},{
|
||||
"type": "button", "modifiers": ["thin"],
|
||||
"link": "https://files.nibblepoker.lu/downloads/PB-ListComPort/2.1.0/2.1.0.tar.gz",
|
||||
"content": {"en": "<span class=\"text-monospace\">2.1.0.tar.gz</span><i class=\"fas fa-download ml-10\"></i>"}
|
||||
}]}
|
||||
],[
|
||||
{"en": "v2.0.0"},
|
||||
{"parts": [{
|
||||
"type": "button", "modifiers": ["thin"],
|
||||
"link": "https://files.nibblepoker.lu/downloads/PB-ListComPort/2.0.0/2.0.0.zip",
|
||||
"content": {"en": "<span class=\"text-monospace\">2.0.0.zip</span><i class=\"fas fa-download ml-10\"></i>"}
|
||||
},{
|
||||
"type": "button", "modifiers": ["thin"],
|
||||
"link": "https://files.nibblepoker.lu/downloads/PB-ListComPort/2.0.0/2.0.0.tar.gz",
|
||||
"content": {"en": "<span class=\"text-monospace\">2.0.0.tar.gz</span><i class=\"fas fa-download ml-10\"></i>"}
|
||||
}]}
|
||||
],[
|
||||
{"en": "v1.1.0"},
|
||||
{"parts": [{
|
||||
"type": "button", "modifiers": ["thin"],
|
||||
"link": "https://files.nibblepoker.lu/downloads/PB-ListComPort/1.1.0/1.1.0.zip",
|
||||
"content": {"en": "<span class=\"text-monospace\">1.1.0.zip</span><i class=\"fas fa-download ml-10\"></i>"}
|
||||
},{
|
||||
"type": "button", "modifiers": ["thin"],
|
||||
"link": "https://files.nibblepoker.lu/downloads/PB-ListComPort/1.1.0/1.1.0.tar.gz",
|
||||
"content": {"en": "<span class=\"text-monospace\">1.1.0.tar.gz</span><i class=\"fas fa-download ml-10\"></i>"}
|
||||
}]}
|
||||
],[
|
||||
{"en": "v1.0.0"},
|
||||
{"parts": [{
|
||||
"type": "button", "modifiers": ["thin"],
|
||||
"link": "https://files.nibblepoker.lu/downloads/PB-ListComPort/1.0.0/1.0.0.zip",
|
||||
"content": {"en": "<span class=\"text-monospace\">1.0.0.zip</span><i class=\"fas fa-download ml-10\"></i>"}
|
||||
},{
|
||||
"type": "button", "modifiers": ["thin"],
|
||||
"link": "https://files.nibblepoker.lu/downloads/PB-ListComPort/1.0.0/1.0.0.tar.gz",
|
||||
"content": {"en": "<span class=\"text-monospace\">1.0.0.tar.gz</span><i class=\"fas fa-download ml-10\"></i>"}
|
||||
}]}
|
||||
]]
|
||||
}]
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
|
||||
{"type": "spacer", "size": 1}
|
||||
],
|
||||
"tags": ["application", "lscom", "purebasic", "windows"]
|
||||
}
|
||||
|
@@ -48,16 +48,14 @@
|
||||
"content": {
|
||||
"parts": [
|
||||
{
|
||||
"type": "paragraph", "modifiers": ["no-top-margin"],
|
||||
"content": {"en": "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut eget tempus nisl."}
|
||||
},
|
||||
{
|
||||
"type": "paragraph", "modifiers": ["no-top-margin"],
|
||||
"content": {"en": "Donec et sollicitudin tortor. Orci varius natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus."}
|
||||
},
|
||||
{
|
||||
"type": "paragraph", "modifiers": ["no-top-margin"],
|
||||
"content": {"en": "Nullam iaculis nec ex quis tincidunt. Cras mattis magna magna, id laoreet elit pharetra in. Cras lacinia tempus tincidunt."}
|
||||
"type": "image", "modifiers": ["fill-height"],
|
||||
"alt": "Alt text", "src": "/resources/Azias/imgs/lscom/screen-cli-csv-2x-xBR.png"
|
||||
},{
|
||||
"type": "image", "modifiers": ["fill-height"],
|
||||
"alt": "Alt text", "src": "/resources/Azias/imgs/lscom/screen-cli-full-2x-xBR.png"
|
||||
},{
|
||||
"type": "image", "modifiers": ["fill-height"],
|
||||
"alt": "Alt text", "src": "/resources/Azias/imgs/lscom/screen-cli-stylish-2x-xBR.png"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
@@ -135,6 +135,15 @@ hr, hr.dark-mde, hr.subtle {
|
||||
cursor: pointer;
|
||||
height: 100%;
|
||||
}
|
||||
div.glider-slide > * {
|
||||
border: var(--card-border-width) solid var(--dm-card-border-color);
|
||||
box-shadow: inset 1px 0 25px 5px rgba(0, 0, 0, 0.1);
|
||||
}
|
||||
img.fill-height {
|
||||
height: 100%;
|
||||
object-fit: cover;
|
||||
object-position: 0 0;
|
||||
}
|
||||
|
||||
/* Content */
|
||||
/* Content > Search */
|
||||
@@ -186,6 +195,10 @@ h3.content-search-title {
|
||||
div.content-tag-container a:not(:first-child) {
|
||||
margin-left: 10px;
|
||||
}
|
||||
/* Adding a margin to buttons present right after another one */
|
||||
button + button, .button-link + .button-link > button {
|
||||
margin-left: 1.5rem !important;
|
||||
}
|
||||
|
||||
/* Gradient used on home page's applications card */
|
||||
@media (min-width: 993px) {
|
||||
@@ -236,17 +249,3 @@ div.last-inner-collapse-border-fix {
|
||||
code.w-full {
|
||||
white-space: pre;
|
||||
}
|
||||
|
||||
/* Temporary */
|
||||
/*.glider >div {
|
||||
border: 1px solid yellow;
|
||||
}
|
||||
.t01 > div {
|
||||
border: 1px solid cyan;
|
||||
}
|
||||
.glider > div > * {
|
||||
border: 1px solid green;
|
||||
}
|
||||
.glider, .t01 {
|
||||
border: 1px solid deeppink !important;
|
||||
}/**/
|
||||
|
Before Width: | Height: | Size: 127 KiB After Width: | Height: | Size: 126 KiB |
Before Width: | Height: | Size: 38 KiB |
BIN
resources/Azias/imgs/placeholder-wide.png
Normal file
After Width: | Height: | Size: 15 KiB |
2041
resources/Azias/imgs/placeholder.ai
Normal file
Before Width: | Height: | Size: 23 KiB |
BIN
resources/Azias/imgs/placeholder.png
Normal file
After Width: | Height: | Size: 7.0 KiB |
Before Width: | Height: | Size: 283 KiB After Width: | Height: | Size: 283 KiB |
@@ -29,7 +29,7 @@ window.addEventListener('load', function(){
|
||||
document.querySelectorAll(".glider").forEach(element => {
|
||||
new Glider(element, {
|
||||
slidesToShow: 1,
|
||||
draggable: true,
|
||||
//draggable: true,
|
||||
scrollLock: true,
|
||||
scrollLockDelay: 125,
|
||||
rewind: true,
|
||||
@@ -53,5 +53,24 @@ window.addEventListener('load', function(){
|
||||
}
|
||||
]
|
||||
});
|
||||
element.childNodes[0].childNodes.forEach(childElement => {
|
||||
if(childElement.childNodes[0].tagName === "IMG") {
|
||||
childElement.childNodes[0].onclick = function() {
|
||||
let imageElement = document.getElementById("modal-img");
|
||||
imageElement.src = childElement.childNodes[0].src;
|
||||
imageElement.alt = childElement.childNodes[0].alt;
|
||||
halfmoon.toggleModal('modal-content-image-viewer');
|
||||
console.log("Opening image...");
|
||||
};
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
// It looks like ass, jesus...
|
||||
let eImgModalCloseButton = document.getElementById("modal-img-close");
|
||||
if(eImgModalCloseButton != null) {
|
||||
eImgModalCloseButton.onclick = function() {
|
||||
halfmoon.toggleModal('modal-content-image-viewer');
|
||||
}
|
||||
}
|
||||
})
|
Before Width: | Height: | Size: 79 KiB After Width: | Height: | Size: 65 KiB |
Before Width: | Height: | Size: 60 KiB After Width: | Height: | Size: 59 KiB |
Before Width: | Height: | Size: 24 KiB After Width: | Height: | Size: 17 KiB |