Improved content renderer, Added lscom links, Fixed CSS rules

Update content.php, strings.json, and 5 more files...
This commit is contained in:
2022-04-15 22:19:39 +02:00
parent 01ceb1b89b
commit 3ba082323e
7 changed files with 407 additions and 40 deletions

View File

@@ -36,7 +36,7 @@
"fr": "Excel-Worksheet-Password-Remover"
},
"preamble": {
"en": "Small web page from which you can easily remove a password from an Excel worksheet without uploading any file, directly in your browser.<br>It works by leaving the task of editing the XML files on an Excel document to your browser instead to keep everything local.",
"en": "Small web page from which you can easily remove a password from an Excel worksheet without a central server.<br>It works by leaving the task of editing the XML files on an Excel document to your browser instead to keep everything local.",
"fr": "Petite application web qui permet de facilement retirer le mot de passe d'une feuille de calcul Excel depuis votre navigateur web sans avoir à uploader le fichier sur internet.<br>Cette application laisse votre navigateur modifier les fichiers XML du fichier Excel afin de tout garder en local."
},
"image": "/resources/Azias/imgs/excel-password-remover.png",

View File

@@ -213,7 +213,7 @@ if($content_has_error) {
startMainCard($_title_icon, $_title_text_main, (is_null($_title_text_sub) ? "" : $_title_text_sub));
// Opening the content container.
echo('<div class="py-20 bg-light-lm rounded-bottom px-0 bg-very-dark title-bkgd">');
echo('<div class="py-01 pb-0 bg-light-lm rounded-bottom px-0 bg-very-dark title-bkgd">');
// Adding elements defined in the JSON file.
if(array_key_exists("parts", $requested_item_data)) {

View File

@@ -17,6 +17,13 @@
}
},
"parts": [
{
"type": "container",
"modifiers": [],
"content": {
"key": "lang.english"
}
},
{
"type": "collapse",
"title": {
@@ -58,7 +65,18 @@
"key": "lang.english"
},
{
"en": "URL here"
"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>"
}
}
]
}
],
[
@@ -66,7 +84,18 @@
"key": "lang.french"
},
{
"en": "URL here"
"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>"
}
}
]
}
],
[
@@ -78,7 +107,18 @@
"key": "lang.english"
},
{
"en": "URL here"
"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>"
}
}
]
}
],
[
@@ -86,7 +126,235 @@
"key": "lang.french"
},
{
"en": "URL here"
"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"
],
"parts": [
{
"type": "table",
"modifiers": [
"striped",
"inner-bordered"
],
"head": [
{
"key": "content.commons.version"
},
{
"key": "content.commons.cpu"
},
{
"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_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>"
}
}
]
}
]
]