Fixed some composer elements, Updated Excel-Password-Remover
Update utils.php, composer.php, and 14 more files...
This commit is contained in:
@@ -5,43 +5,56 @@ if (basename(__FILE__) == basename($_SERVER["SCRIPT_FILENAME"])) {
|
|||||||
die();
|
die();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Used by 'printMainHeader()'.
|
||||||
$_npDomUtilsHeadingCount = 0;
|
$_npDomUtilsHeadingCount = 0;
|
||||||
|
|
||||||
/**
|
function getMainHeader(string $text, ?string $iconId = null, ?string $rightText = null, ?string $anchorId = null,
|
||||||
* Prints a standard heading container and its text with an optional anchor.
|
bool $addTopMargin = true, ?string $backgroundClass = "bkgd-grid", int $hLevel = 2): string {
|
||||||
* @param $text string Text to be shown in the heading
|
if(is_null($backgroundClass)) {
|
||||||
* @param $iconId string|null
|
$backgroundClass = "bkgd-grid";
|
||||||
* @param $rightText string|null
|
|
||||||
* @param $anchorId string|null Anchor's ID if desired, `null` otherwise.
|
|
||||||
* @return void
|
|
||||||
*/
|
|
||||||
function makeMainHeader(string $text, ?string $iconId = null, ?string $rightText = null, ?string $anchorId = null): void {
|
|
||||||
global $_npDomUtilsHeadingCount;
|
|
||||||
|
|
||||||
if(!is_null($anchorId)) {
|
|
||||||
echo('<a class="bland-link" href="#' . $anchorId . '">');
|
|
||||||
}
|
}
|
||||||
|
|
||||||
echo('<div class="heading-main p-xs border r-s ' . ($_npDomUtilsHeadingCount > 0 ? "mt-l " : "") . 'bkgd-grid"><h2 class="t-w-500 t-size-14">');
|
$htmlCode = "";
|
||||||
|
|
||||||
|
if(!is_null($anchorId)) {
|
||||||
|
$htmlCode .= '<a class="bland-link" href="#' . $anchorId . '">';
|
||||||
|
}
|
||||||
|
|
||||||
|
$htmlCode .= '<div class="heading-main p-xs border r-s ' . ($addTopMargin > 0 ? "mt-l " : "") . $backgroundClass .
|
||||||
|
'"><h' . $hLevel . ' class="t-w-500 t-size-14">';
|
||||||
|
|
||||||
// TODO: Add a simple and nicer divider.
|
// TODO: Add a simple and nicer divider.
|
||||||
if(!is_null($iconId)) {
|
if(!is_null($iconId)) {
|
||||||
echo('<i class="' . $iconId . ' t-size-12 t-muted"></i>');
|
$htmlCode .= '<i class="' . $iconId . ' t-size-12 t-muted"></i>';
|
||||||
}
|
}
|
||||||
|
|
||||||
echo($text);
|
$htmlCode .= $text;
|
||||||
|
|
||||||
if(!is_null($rightText)) {
|
if(!is_null($rightText)) {
|
||||||
echo('<span class="ml-auto t-muted t-size-10">' . $rightText . '</span>');
|
$htmlCode .= '<span class="ml-auto t-muted t-size-10">' . $rightText . '</span>';
|
||||||
}
|
}
|
||||||
|
|
||||||
echo('</h2></div>');
|
$htmlCode .= '</h' . $hLevel . '></div>';
|
||||||
|
|
||||||
if(!is_null($anchorId)) {
|
if(!is_null($anchorId)) {
|
||||||
echo('</a>');
|
$htmlCode .= '</a>';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
return $htmlCode;
|
||||||
|
}
|
||||||
|
|
||||||
|
function printMainHeader(string $text, ?string $iconId = null, ?string $rightText = null, ?string $anchorId = null,
|
||||||
|
?string $backgroundClass = "bkgd-grid"): void {
|
||||||
|
global $_npDomUtilsHeadingCount;
|
||||||
$_npDomUtilsHeadingCount++;
|
$_npDomUtilsHeadingCount++;
|
||||||
|
echo(getMainHeader(
|
||||||
|
$text,
|
||||||
|
$iconId,
|
||||||
|
$rightText,
|
||||||
|
$anchorId,
|
||||||
|
($_npDomUtilsHeadingCount > 1),
|
||||||
|
$backgroundClass
|
||||||
|
));
|
||||||
}
|
}
|
||||||
|
|
||||||
?>
|
?>
|
||||||
@@ -6,18 +6,22 @@ if(basename(__FILE__) == basename($_SERVER["SCRIPT_FILENAME"])) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Including required helpers.
|
// Including required helpers.
|
||||||
include_once 'config.php';
|
include_once 'commons/config.php';
|
||||||
include_once 'langs.php';
|
include_once 'commons/langs.php';
|
||||||
|
|
||||||
|
// Required to make headings
|
||||||
|
include_once 'commons/DOM/utils.php';
|
||||||
|
|
||||||
// Defining some options.
|
// Defining some options.
|
||||||
$USE_CONFIG_URI_FOR_OPENGRAPH = true;
|
$USE_CONFIG_URI_FOR_OPENGRAPH = true;
|
||||||
$AUTO_DETECT_OPENGRAPH_MIME = true;
|
$AUTO_DETECT_OPENGRAPH_MIME = true;
|
||||||
$LANG_FALLBACK_KEY_PREFIX = "content.fallback";
|
$LANG_FALLBACK_KEY_PREFIX = "";
|
||||||
|
|
||||||
// Defining the template types.
|
// Defining the template types.
|
||||||
abstract class ComposerTemplates {
|
abstract class ComposerTemplates {
|
||||||
const RAW = "raw";
|
const RAW = "raw";
|
||||||
const ARTICLE = "article";
|
const ARTICLE_LEGACY = "article";
|
||||||
|
const GENERIC_PROJECT_README = "generic-project-readme";
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns all the constants present in the class.
|
* Returns all the constants present in the class.
|
||||||
@@ -64,22 +68,22 @@ abstract class ComposerElementTypes {
|
|||||||
// Defining modifiers.
|
// Defining modifiers.
|
||||||
abstract class ComposerElementModifiers {
|
abstract class ComposerElementModifiers {
|
||||||
// Generic > Margin
|
// Generic > Margin
|
||||||
const GENERIC_MARGIN_NO_TOP = ["no-top-margin", "mt-0"];
|
const GENERIC_MARGIN_NO_TOP = ["mt-0", "mt-0"];
|
||||||
const GENERIC_MARGIN_NO_BOTTOM = ["no-bottom-margin", "mb-0"];
|
const GENERIC_MARGIN_NO_BOTTOM = ["mb-0", "mb-0"];
|
||||||
const GENERIC_MARGIN_NO_LEFT = ["no-left-margin", "ml-0"];
|
const GENERIC_MARGIN_NO_LEFT = ["ml-0", "ml-0"];
|
||||||
const GENERIC_MARGIN_NO_RIGHT = ["no-right-margin", "mr-0"];
|
const GENERIC_MARGIN_NO_RIGHT = ["mr-0", "mr-0"];
|
||||||
const GENERIC_MARGIN_NO_X = ["no-y-margin", "mx-0"];
|
const GENERIC_MARGIN_NO_X = ["mx-0", "mx-0"];
|
||||||
const GENERIC_MARGIN_NO_Y = ["no-x-margin", "my-0"];
|
const GENERIC_MARGIN_NO_Y = ["my-0", "my-0"];
|
||||||
const GENERIC_MARGIN_NONE = ["no-margin", "m-0" ];
|
const GENERIC_MARGIN_NONE = ["m-0", "m-0" ];
|
||||||
|
|
||||||
// Generic > Padding
|
// Generic > Padding
|
||||||
const GENERIC_PADDING_NO_TOP = ["no-top-padding", "pt-0"];
|
const GENERIC_PADDING_NO_TOP = ["pt-0", "pt-0"];
|
||||||
const GENERIC_PADDING_NO_BOTTOM = ["no-bottom-padding", "pb-0"];
|
const GENERIC_PADDING_NO_BOTTOM = ["pb-0", "pb-0"];
|
||||||
const GENERIC_PADDING_NO_LEFT = ["no-left-padding", "pl-0"];
|
const GENERIC_PADDING_NO_LEFT = ["pl-0", "pl-0"];
|
||||||
const GENERIC_PADDING_NO_RIGHT = ["no-right-padding", "pr-0"];
|
const GENERIC_PADDING_NO_RIGHT = ["pr-0", "pr-0"];
|
||||||
const GENERIC_PADDING_NO_X = ["no-x-padding", "px-0"];
|
const GENERIC_PADDING_NO_X = ["px-0", "px-0"];
|
||||||
const GENERIC_PADDING_NO_Y = ["no-y-padding", "py-0"];
|
const GENERIC_PADDING_NO_Y = ["py-0", "py-0"];
|
||||||
const GENERIC_PADDING_NONE = ["no-padding", "p-0" ];
|
const GENERIC_PADDING_NONE = ["p-0" , "p-0" ];
|
||||||
|
|
||||||
// Containers
|
// Containers
|
||||||
const CONTAINER_SCROLL_HORIZONTAL = ["horizontal-scroll", "overflow-x-scroll hide-scrollbar"];
|
const CONTAINER_SCROLL_HORIZONTAL = ["horizontal-scroll", "overflow-x-scroll hide-scrollbar"];
|
||||||
@@ -194,7 +198,7 @@ class ComposerContent {
|
|||||||
public function get_html() : string {
|
public function get_html() : string {
|
||||||
$htmlCode = "";
|
$htmlCode = "";
|
||||||
|
|
||||||
// FIXME: Check for the template after the loop
|
// FIXME: Check for the template after the loop - Isn't it done already ?
|
||||||
|
|
||||||
foreach($this->elements as $element) {
|
foreach($this->elements as $element) {
|
||||||
/** @var ComposerElement $element */
|
/** @var ComposerElement $element */
|
||||||
@@ -262,7 +266,7 @@ class ComposerContentMetadata {
|
|||||||
$this->article = $article;
|
$this->article = $article;
|
||||||
|
|
||||||
// Safety checks.
|
// Safety checks.
|
||||||
if($this->template == ComposerTemplates::ARTICLE && is_null($this->article)) {
|
if($this->template == ComposerTemplates::ARTICLE_LEGACY && is_null($this->article)) {
|
||||||
$this->article = ComposerContentMetadataArticle::from_json([]);
|
$this->article = ComposerContentMetadataArticle::from_json([]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -285,7 +289,7 @@ class ComposerContentMetadata {
|
|||||||
|
|
||||||
function apply_template(ComposerContent $content_root, string $inner_html) : string {
|
function apply_template(ComposerContent $content_root, string $inner_html) : string {
|
||||||
switch($this->template) {
|
switch($this->template) {
|
||||||
case ComposerTemplates::ARTICLE:
|
case ComposerTemplates::ARTICLE_LEGACY:
|
||||||
$inner_html = '<div class="card p-0 mx-0"><div class="px-card py-10 border-bottom px-20">' .
|
$inner_html = '<div class="card p-0 mx-0"><div class="px-card py-10 border-bottom px-20">' .
|
||||||
'<div class="container-fluid"><h2 class="card-title font-size-18 m-0">' .
|
'<div class="container-fluid"><h2 class="card-title font-size-18 m-0">' .
|
||||||
'<i class="' . $this->article->icon . '"></i> ' .
|
'<i class="' . $this->article->icon . '"></i> ' .
|
||||||
@@ -308,6 +312,27 @@ class ComposerContentMetadata {
|
|||||||
}
|
}
|
||||||
|
|
||||||
$inner_html .= '</div></div></div>';
|
$inner_html .= '</div></div></div>';
|
||||||
|
break;
|
||||||
|
case ComposerTemplates::GENERIC_PROJECT_README:
|
||||||
|
// Prepending the heading
|
||||||
|
$inner_html = getMainHeader(
|
||||||
|
localize_private($this->article->title, $content_root->strings, false),
|
||||||
|
$this->article->icon,
|
||||||
|
localize_private($this->article->subtitle, $content_root->strings, false),
|
||||||
|
null,
|
||||||
|
false
|
||||||
|
) . $inner_html;
|
||||||
|
|
||||||
|
// Appending the tags if any are present
|
||||||
|
if(sizeof($this->article->tags) > 0) {
|
||||||
|
foreach($this->article->tags as $tag) {
|
||||||
|
$inner_html .= '<a href="'.l10n_url_abs("/content/?tags=" . $tag .
|
||||||
|
'" class="content-tag">#' . $tag . '</a>');
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
$inner_html .= '<i>' . localize("content.error.message.data.no.tags") . '</i>';
|
||||||
|
}
|
||||||
|
|
||||||
break;
|
break;
|
||||||
case ComposerTemplates::RAW:
|
case ComposerTemplates::RAW:
|
||||||
default:
|
default:
|
||||||
@@ -617,6 +642,18 @@ class ComposerElement {
|
|||||||
break;
|
break;
|
||||||
|
|
||||||
case ComposerElementTypes::H1:
|
case ComposerElementTypes::H1:
|
||||||
|
$htmlCode .= getMainHeader(
|
||||||
|
$this->get_inner_html($content_root),
|
||||||
|
null,
|
||||||
|
null,
|
||||||
|
null,
|
||||||
|
!ComposerElementModifiers::is_modifier_in_modifiers(
|
||||||
|
ComposerElementModifiers::GENERIC_MARGIN_NO_TOP, $this->modifiers),
|
||||||
|
null,
|
||||||
|
3
|
||||||
|
);
|
||||||
|
break;
|
||||||
|
|
||||||
case ComposerElementTypes::H2:
|
case ComposerElementTypes::H2:
|
||||||
case ComposerElementTypes::H3:
|
case ComposerElementTypes::H3:
|
||||||
// Defining the text's indent level.
|
// Defining the text's indent level.
|
||||||
@@ -636,26 +673,23 @@ class ComposerElement {
|
|||||||
|
|
||||||
case ComposerElementTypes::PARAGRAPH:
|
case ComposerElementTypes::PARAGRAPH:
|
||||||
// Defining the text's indent level.
|
// Defining the text's indent level.
|
||||||
|
// TODO: Join with others
|
||||||
$_paragraph_ident_level = is_null($this->indent) ? 0 : $this->indent;
|
$_paragraph_ident_level = is_null($this->indent) ? 0 : $this->indent;
|
||||||
|
$_paragraph_ident_level = $_paragraph_ident_level < 0 ? 0 : $_paragraph_ident_level;
|
||||||
|
$_paragraph_ident_level = $_paragraph_ident_level > 5 ? 5 : $_paragraph_ident_level;
|
||||||
|
$_paragraph_ident_level = (["", "ml-xs", "ml-s", "ml-m", "ml-l", "ml-xl"])[$_paragraph_ident_level];
|
||||||
|
|
||||||
// Calculating the vertical margin modifiers
|
// Calculating the vertical margin modifiers
|
||||||
$_paragraph_no_margin_top = ComposerElementModifiers::is_modifier_in_modifiers(
|
$_paragraph_no_margin_top = ComposerElementModifiers::is_modifier_in_modifiers(
|
||||||
ComposerElementModifiers::GENERIC_MARGIN_NO_TOP, $this->modifiers);
|
ComposerElementModifiers::GENERIC_MARGIN_NO_TOP, $this->modifiers);
|
||||||
$_paragraph_no_margin_bottom = ComposerElementModifiers::is_modifier_in_modifiers(
|
if($_paragraph_no_margin_top) {
|
||||||
ComposerElementModifiers::GENERIC_MARGIN_NO_BOTTOM, $this->modifiers);
|
$_paragraph_margin_modifier = '';
|
||||||
|
|
||||||
if($_paragraph_no_margin_top && $_paragraph_no_margin_bottom) {
|
|
||||||
$_paragraph_margin_modifier = 'my-0';
|
|
||||||
} else if($_paragraph_no_margin_top) {
|
|
||||||
$_paragraph_margin_modifier = 'mt-0 mb-10';
|
|
||||||
} else if($_paragraph_no_margin_bottom) {
|
|
||||||
$_paragraph_margin_modifier = 'mt-10 mb-0';
|
|
||||||
} else {
|
} else {
|
||||||
$_paragraph_margin_modifier = 'my-10';
|
$_paragraph_margin_modifier = 'mt-xs ';
|
||||||
}
|
}
|
||||||
|
|
||||||
// Composing the paragraph
|
// Composing the paragraph
|
||||||
$htmlCode .= '<p class="' . $_paragraph_margin_modifier. ' ml-md-' . ($_paragraph_ident_level * 5) .
|
$htmlCode .= '<p class="' . $_paragraph_margin_modifier . $_paragraph_ident_level .
|
||||||
'">' . $this->get_inner_html($content_root) . '</p>';
|
'">' . $this->get_inner_html($content_root) . '</p>';
|
||||||
|
|
||||||
break;
|
break;
|
||||||
@@ -713,36 +747,15 @@ class ComposerElement {
|
|||||||
|
|
||||||
case ComposerElementTypes::CONTAINER:
|
case ComposerElementTypes::CONTAINER:
|
||||||
// Defining the padding's size.
|
// Defining the padding's size.
|
||||||
$_container_padding = is_null($this->padding) ? 10 : $this->padding;
|
$_container_padding = is_null($this->padding) ? 0 : $this->padding;
|
||||||
|
$_container_padding = $_container_padding < 0 ? 0 : $_container_padding;
|
||||||
|
$_container_padding = $_container_padding > 5 ? 5 : $_container_padding;
|
||||||
|
$_container_padding = (["", "p-xs ", "p-s ", "p-m ", "p-l ", "p-xl "])[$_container_padding];
|
||||||
|
|
||||||
// Composing the container.
|
// Composing the container.
|
||||||
// FIXME: Can be re-standardized if a check for the default mt-10 is added at the end after adding the mods.
|
$htmlCode .= '<div class="' . $_container_padding . $this->get_modifiers_classes() .
|
||||||
$htmlCode .= '<div class="' .
|
'">' . $this->get_inner_html($content_root) . '</div>';
|
||||||
(ComposerElementModifiers::is_modifier_in_modifiers(
|
|
||||||
ComposerElementModifiers::CONTAINER_CARD, $this->modifiers
|
|
||||||
) ? ComposerElementModifiers::get_modifier_classes(
|
|
||||||
ComposerElementModifiers::CONTAINER_CARD ) . " m-0 " : "") .
|
|
||||||
'p-' . $_container_padding .
|
|
||||||
(ComposerElementModifiers::is_modifier_in_modifiers(
|
|
||||||
ComposerElementModifiers::GENERIC_MARGIN_NO_TOP, $this->modifiers
|
|
||||||
) ? "" : " mt-10") .
|
|
||||||
(ComposerElementModifiers::is_modifier_in_modifiers(
|
|
||||||
ComposerElementModifiers::GENERIC_PADDING_NO_X, $this->modifiers
|
|
||||||
) ? " " . ComposerElementModifiers::get_modifier_classes(
|
|
||||||
ComposerElementModifiers::GENERIC_PADDING_NO_X ) : "") .
|
|
||||||
(ComposerElementModifiers::is_modifier_in_modifiers(
|
|
||||||
ComposerElementModifiers::GENERIC_PADDING_NO_BOTTOM, $this->modifiers
|
|
||||||
) ? " " . ComposerElementModifiers::get_modifier_classes(
|
|
||||||
ComposerElementModifiers::GENERIC_PADDING_NO_BOTTOM ) : "") .
|
|
||||||
(ComposerElementModifiers::is_modifier_in_modifiers(
|
|
||||||
ComposerElementModifiers::GENERIC_PADDING_NO_TOP, $this->modifiers
|
|
||||||
) ? " " . ComposerElementModifiers::get_modifier_classes(
|
|
||||||
ComposerElementModifiers::GENERIC_PADDING_NO_TOP ) : "") .
|
|
||||||
(ComposerElementModifiers::is_modifier_in_modifiers(
|
|
||||||
ComposerElementModifiers::CONTAINER_SCROLL_HORIZONTAL, $this->modifiers
|
|
||||||
) ? " " . ComposerElementModifiers::get_modifier_classes(
|
|
||||||
ComposerElementModifiers::CONTAINER_SCROLL_HORIZONTAL ) : "") . '">' .
|
|
||||||
$this->get_inner_html($content_root) . '</div>';
|
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case ComposerElementTypes::COLLAPSE:
|
case ComposerElementTypes::COLLAPSE:
|
||||||
|
|||||||
@@ -52,7 +52,7 @@ function localize_private(string $string_key, array $private_lang_data, bool $fa
|
|||||||
}
|
}
|
||||||
if($fallback_to_common) {
|
if($fallback_to_common) {
|
||||||
// If we can attempt to fallback on the common lang file.
|
// If we can attempt to fallback on the common lang file.
|
||||||
return localize_private($fallback_prefix . "." . $string_key, $lang_data, false);
|
return localize_private($fallback_prefix . $string_key, $lang_data, false);
|
||||||
}
|
}
|
||||||
|
|
||||||
// If nothing could be done, we simply return the key.
|
// If nothing could be done, we simply return the key.
|
||||||
|
|||||||
File diff suppressed because one or more lines are too long
@@ -3,8 +3,9 @@
|
|||||||
"content.search.head.description": "TODO: description",
|
"content.search.head.description": "TODO: description",
|
||||||
"content.search.og.title": "NibblePoker - Content search",
|
"content.search.og.title": "NibblePoker - Content search",
|
||||||
"content.search.og.description": "TODO: description",
|
"content.search.og.description": "TODO: description",
|
||||||
|
|
||||||
"content.search.heading.main": "Search results",
|
"content.search.heading.main.single": "Search result",
|
||||||
|
"content.search.heading.main.multiple": "Search results",
|
||||||
|
|
||||||
"content.search.count.single": "result",
|
"content.search.count.single": "result",
|
||||||
"content.search.count.multiple": "results",
|
"content.search.count.multiple": "results",
|
||||||
@@ -28,14 +29,36 @@
|
|||||||
"content.error.message.cannot.load": "The requested content couldn't be loaded on our end !",
|
"content.error.message.cannot.load": "The requested content couldn't be loaded on our end !",
|
||||||
|
|
||||||
"__": "Messages returned by 'commons/composer.php'",
|
"__": "Messages returned by 'commons/composer.php'",
|
||||||
"_content.error.message.data.no.tags": "No tags found !",
|
"content.error.message.data.no.tags": "No tags found !",
|
||||||
"_content.error.message.data.no.title": "No title found !",
|
"content.error.message.data.no.title": "No title found !",
|
||||||
|
|
||||||
"content.item.head.title.prefix": "",
|
"content.item.head.title.prefix": "",
|
||||||
"content.item.head.title.suffix": " - NibblePoker",
|
"content.item.head.title.suffix": " - NibblePoker",
|
||||||
|
|
||||||
"content.item.og.title.prefix": "",
|
"content.item.og.title.prefix": "",
|
||||||
"content.item.og.title.suffix": " - NibblePoker",
|
"content.item.og.title.suffix": " - NibblePoker",
|
||||||
|
|
||||||
"_content.header.title": "Homepage"
|
"content.commons.version.current": "Current version",
|
||||||
|
"content.commons.version.previous.single": "Previous version",
|
||||||
|
"content.commons.version.previous.multiple": "Previous versions",
|
||||||
|
"content.commons.version.old.single": "Old version",
|
||||||
|
"content.commons.version.old.multiple": "Old versions",
|
||||||
|
"content.commons.version.source": "Source code",
|
||||||
|
"content.commons.cpu": "CPU <span class=\"hidden-xs-and-down\">Architecture</span>",
|
||||||
|
"content.commons.cpu.responsive": "CPU <span class=\"hidden-xs-and-down\">Architecture</span>",
|
||||||
|
"content.commons.cpu.any": "Any architecture",
|
||||||
|
"content.commons.cpu.x64": "x64",
|
||||||
|
"content.commons.cpu.x86": "x86",
|
||||||
|
"content.commons.cpu.arm": "arm",
|
||||||
|
"content.commons.cpu.arm64": "arm64",
|
||||||
|
"content.commons.na.italic": "<i>N/A</i>",
|
||||||
|
"content.commons.na": "N/A",
|
||||||
|
"content.commons.lang": "Language",
|
||||||
|
"content.commons.download.single": "Download",
|
||||||
|
"content.commons.download.multiple": "Downloads",
|
||||||
|
"content.commons.version": "Version",
|
||||||
|
"content.commons.github": "GitHub Repository",
|
||||||
|
"content.commons.gitea": "Self-hosted Gitea Repository",
|
||||||
|
"content.commons.nuget": "Nuget Package",
|
||||||
|
"content.commons.license.mit.single": "MIT License"
|
||||||
}
|
}
|
||||||
@@ -1,3 +1,63 @@
|
|||||||
{
|
{
|
||||||
|
"content.search.head.title": "Recherche de contenu - NibblePoker",
|
||||||
|
"content.search.head.description": "TODO: description",
|
||||||
|
"content.search.og.title": "NibblePoker - Recherche de contenu",
|
||||||
|
"content.search.og.description": "TODO: description",
|
||||||
|
|
||||||
|
"content.search.heading.main.single": "Résultat de recherche",
|
||||||
|
"content.search.heading.main.multiple": "Résultats de recherche",
|
||||||
|
|
||||||
|
"content.search.count.single": "résultat",
|
||||||
|
"content.search.count.multiple": "résultats",
|
||||||
|
|
||||||
|
"content.error.head.title": "Erreur de contenu - NibblePoker",
|
||||||
|
"_content.error.head.description": "Done via the '$content_error_message' variable",
|
||||||
|
"content.error.og.title": "NibblePoker - Erreur de contenu",
|
||||||
|
"_content.error.og.description": "Done via the '$content_error_message' variable",
|
||||||
|
|
||||||
|
"content.error.heading.main.search": "Erreur de recherche",
|
||||||
|
"content.error.heading.main.content": "Erreur de contenu",
|
||||||
|
"content.error.heading.main.fallback": "Erreur inconnue",
|
||||||
|
|
||||||
|
"_": "Messages returned by 'commons/content.php'",
|
||||||
|
"content.error.message.none": "Aucune erreur n'a été détectée.",
|
||||||
|
"content.error.message.tags.length": "Le paramètre d'URL \"tags\" est trop long.",
|
||||||
|
"content.error.message.tags.alphanumeric": "Un des tags donné dans le paramètre d'URL \"tags\" n'est pas une chaîne de texte alphanumérique valide.",
|
||||||
|
"content.error.message.detect.empty": "Aucun contenu en rapport avec les tags choisi n'as été trouvé.",
|
||||||
|
"content.error.message.id.alphanumeric": "L'ID de la ressource demandée n'est pas une chaîne de texte alphanumérique valide.",
|
||||||
|
"content.error.message.data.not.exist": "Le contenu demandée n'a pas de fichier de rendu interne associé.",
|
||||||
|
"content.error.message.cannot.load": "Le contenu demandé n'a pas pu être chargé de notre côté !",
|
||||||
|
|
||||||
|
"__": "Messages returned by 'commons/composer.php'",
|
||||||
|
"content.error.message.data.no.tags": "Aucun tag trouvé !",
|
||||||
|
"content.error.message.data.no.title": "Aucun titre trouvé !",
|
||||||
|
|
||||||
|
"content.item.head.title.prefix": "",
|
||||||
|
"content.item.head.title.suffix": " - NibblePoker",
|
||||||
|
|
||||||
|
"content.item.og.title.prefix": "",
|
||||||
|
"content.item.og.title.suffix": " - NibblePoker",
|
||||||
|
|
||||||
|
"content.commons.version.current": "Version actuelle",
|
||||||
|
"content.commons.version.previous.single": "Version précédente",
|
||||||
|
"content.commons.version.previous.multiple": "Versions précédentes",
|
||||||
|
"content.commons.version.old.single": "Ancienne version",
|
||||||
|
"content.commons.version.old.multiple": "Anciennes versions",
|
||||||
|
"content.commons.version.source": "Code source",
|
||||||
|
"content.commons.cpu": "Architecture de CPU",
|
||||||
|
"content.commons.cpu.any": "Indépendante",
|
||||||
|
"content.commons.cpu.x64": "x64",
|
||||||
|
"content.commons.cpu.x86": "x86",
|
||||||
|
"content.commons.cpu.arm": "arm",
|
||||||
|
"content.commons.cpu.arm64": "arm64",
|
||||||
|
"content.commons.na.italic": "<i>N/A</i>",
|
||||||
|
"content.commons.na": "N/A",
|
||||||
|
"content.commons.lang": "Langue",
|
||||||
|
"content.commons.download.single": "Téléchargement",
|
||||||
|
"content.commons.download.multiple": "Téléchargements",
|
||||||
|
"content.commons.version": "Version",
|
||||||
|
"content.commons.github": "Dépôt GitHub",
|
||||||
|
"content.commons.gitea": "Dépôt Gitea auto-hébergé",
|
||||||
|
"content.commons.nuget": "Packet Nuget",
|
||||||
|
"content.commons.license.mit.single": "License MIT"
|
||||||
}
|
}
|
||||||
@@ -70,7 +70,7 @@ if ($content_has_error) {
|
|||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<?php
|
<?php
|
||||||
include 'commons/DOM/utils.php';
|
include_once 'commons/DOM/utils.php';
|
||||||
include 'commons/DOM/body-1.php';
|
include 'commons/DOM/body-1.php';
|
||||||
$SIDEBAR_ID = 'home';
|
$SIDEBAR_ID = 'home';
|
||||||
include 'commons/DOM/sidebar.php';
|
include 'commons/DOM/sidebar.php';
|
||||||
@@ -90,11 +90,11 @@ include 'commons/DOM/body-2.php';
|
|||||||
// Checking if an error occurred.
|
// Checking if an error occurred.
|
||||||
if($content_error_code != 200) {
|
if($content_error_code != 200) {
|
||||||
if($requested_content_display_type == ContentDisplayType::SEARCH) {
|
if($requested_content_display_type == ContentDisplayType::SEARCH) {
|
||||||
makeMainHeader(localize("content.error.heading.main.search"), "fad fa-exclamation-triangle");
|
printMainHeader(localize("content.error.heading.main.search"), "fad fa-exclamation-triangle");
|
||||||
} elseif($requested_content_display_type == ContentDisplayType::CONTENT) {
|
} elseif($requested_content_display_type == ContentDisplayType::CONTENT) {
|
||||||
makeMainHeader(localize("content.error.heading.main.content"), "fad fa-exclamation-triangle");
|
printMainHeader(localize("content.error.heading.main.content"), "fad fa-exclamation-triangle");
|
||||||
} else {
|
} else {
|
||||||
makeMainHeader(localize("content.error.heading.main.fallback"), "fad fa-exclamation-triangle");
|
printMainHeader(localize("content.error.heading.main.fallback"), "fad fa-exclamation-triangle");
|
||||||
}
|
}
|
||||||
|
|
||||||
echo('<h3 class="mt-m t-size-18 t-center content-error-text mx-auto">' . $content_error_message . '</h3>');
|
echo('<h3 class="mt-m t-size-18 t-center content-error-text mx-auto">' . $content_error_message . '</h3>');
|
||||||
@@ -106,7 +106,11 @@ include 'commons/DOM/body-2.php';
|
|||||||
// We are handling a content search with at least one result.
|
// We are handling a content search with at least one result.
|
||||||
|
|
||||||
// Making the header with the amount of results.
|
// Making the header with the amount of results.
|
||||||
makeMainHeader(localize("content.search.heading.main"), "fad fa-file-search",
|
printMainHeader(
|
||||||
|
count($filtered_content_index_data) > 1 ?
|
||||||
|
localize("content.search.heading.main.multiple") :
|
||||||
|
localize("content.search.heading.main.single"),
|
||||||
|
"fad fa-file-search",
|
||||||
count($filtered_content_index_data) . " " . (
|
count($filtered_content_index_data) . " " . (
|
||||||
count($filtered_content_index_data) > 1 ?
|
count($filtered_content_index_data) > 1 ?
|
||||||
localize("content.search.count.multiple") :
|
localize("content.search.count.multiple") :
|
||||||
|
|||||||
@@ -30,7 +30,7 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"metadata": {
|
"metadata": {
|
||||||
"template": "article",
|
"template": "generic-project-readme",
|
||||||
"head": {
|
"head": {
|
||||||
"title": "meta.title",
|
"title": "meta.title",
|
||||||
"description": "meta.description"
|
"description": "meta.description"
|
||||||
@@ -51,95 +51,64 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"elements": [
|
"elements": [
|
||||||
{
|
{"type": "h1", "content": "intro.title", "modifiers": ["_no-top-margin"]},
|
||||||
"type": "container", "padding": 20,
|
{"type": "paragraph", "indent": 2, "content": "intro.p1"},
|
||||||
"modifiers": ["no-bottom-padding", "no-top-margin"],
|
|
||||||
"parts": [
|
|
||||||
{"type": "h1", "content": "intro.title"},
|
|
||||||
{"type": "paragraph", "indent": 2, "content": "intro.p1"}
|
|
||||||
]
|
|
||||||
},
|
|
||||||
|
|
||||||
{
|
{"type": "h1", "content": "working.title"},
|
||||||
"type": "container", "padding": 20,
|
{"type": "paragraph", "indent": 2, "content": "working.p1"},
|
||||||
"modifiers": ["no-bottom-padding", "no-top-margin"],
|
{"type": "paragraph", "indent": 2, "content": "working.p2"},
|
||||||
"parts": [
|
|
||||||
{"type": "h1", "content": "working.title"},
|
|
||||||
{"type": "paragraph", "indent": 2, "content": "working.p1"},
|
|
||||||
{"type": "paragraph", "indent": 2, "content": "working.p2"}
|
|
||||||
]
|
|
||||||
},
|
|
||||||
|
|
||||||
{
|
{"type": "h1", "content": "usage.title"},
|
||||||
"type": "container", "padding": 20,
|
{"type": "paragraph", "indent": 2, "content": "usage.p1"},
|
||||||
"modifiers": ["no-bottom-padding", "no-top-margin"],
|
|
||||||
"parts": [
|
|
||||||
{"type": "h1", "content": "usage.title"},
|
|
||||||
{"type": "paragraph", "indent": 2, "content": "usage.p1"}
|
|
||||||
]
|
|
||||||
},
|
|
||||||
|
|
||||||
|
{"type": "h1", "content": "demo.title"},
|
||||||
{
|
{
|
||||||
"type": "container", "padding": 20,
|
"type": "container",
|
||||||
"modifiers": ["no-bottom-padding", "no-top-margin"],
|
"modifiers": ["pb-0"],
|
||||||
|
"padding": 2,
|
||||||
"parts": [
|
"parts": [
|
||||||
{"type": "h1", "content": "demo.title"},
|
|
||||||
{
|
{
|
||||||
"type": "container",
|
"type": "video",
|
||||||
"modifiers": ["no-padding"],
|
"source": "https://files.nibblepoker.lu/downloads/Excel-Worksheet-Password-Remover/demo_v1.mp4",
|
||||||
"padding": 0,
|
"thumbnail": "https://files.nibblepoker.lu/downloads/Excel-Worksheet-Password-Remover/demo_v1_thumb.webp"
|
||||||
"parts": [
|
|
||||||
{
|
|
||||||
"type": "video",
|
|
||||||
"source": "https://files.nibblepoker.lu/downloads/Excel-Worksheet-Password-Remover/demo_v1.mp4",
|
|
||||||
"_source": "/tmp/demo_v1.mp4",
|
|
||||||
"thumbnail": "https://files.nibblepoker.lu/downloads/Excel-Worksheet-Password-Remover/demo_v1_thumb.webp"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
|
||||||
|
{"type": "h1", "content": "links.title"},
|
||||||
{
|
{
|
||||||
"type": "container",
|
"type": "paragraph",
|
||||||
"padding": 20,
|
"indent": 2,
|
||||||
"modifiers": ["no-top-margin"],
|
|
||||||
"parts": [
|
"parts": [
|
||||||
{"type": "h1", "content": "links.title"},
|
{"type": "raw", "content": "● ", "localize": false},
|
||||||
{
|
{
|
||||||
"type": "paragraph",
|
"type": "raw", "link": "https://github.com/aziascreations/Excel-Worksheet-Password-Remover",
|
||||||
"indent": 2,
|
|
||||||
"parts": [
|
"parts": [
|
||||||
{"type": "raw", "content": "● ", "localize": false},
|
{"type": "raw", "content": "content.commons.github"},
|
||||||
|
{"type": "raw", "content": "<span class=\"hidden-xs-and-down\"> - ", "localize": false},
|
||||||
{
|
{
|
||||||
"type": "raw", "link": "https://github.com/aziascreations/Excel-Worksheet-Password-Remover",
|
"type": "raw",
|
||||||
"parts": [
|
"content": "<span class=\"t-size-8\">(https://github.com/aziascreations/Excel-Worksheet-Password-Remover)</span></span>",
|
||||||
{"type": "raw", "content": "content.commons.github"},
|
"localize": false
|
||||||
{"type": "raw", "content": "<span class=\"hidden-xs-and-down\"> - ", "localize": false},
|
}
|
||||||
{
|
]
|
||||||
"type": "raw",
|
},
|
||||||
"content": "<span class=\"font-size-12\">(https://github.com/aziascreations/Excel-Worksheet-Password-Remover)</span></span>",
|
{"type": "raw", "content": "<br>", "localize": false},
|
||||||
"localize": false
|
{"type": "raw", "content": "● ", "localize": false},
|
||||||
}
|
{
|
||||||
]
|
"type": "raw", "link": "https://git.nibblepoker.lu/aziascreations/Excel-Worksheet-Password-Remover",
|
||||||
},
|
"parts": [
|
||||||
{"type": "raw", "content": "<br>", "localize": false},
|
{"type": "raw", "content": "content.commons.gitea"},
|
||||||
{"type": "raw", "content": "● ", "localize": false},
|
{"type": "raw", "content": "<span class=\"hidden-xs-and-down\"> - ", "localize": false},
|
||||||
{
|
{
|
||||||
"type": "raw", "link": "https://git.nibblepoker.lu/aziascreations/Excel-Worksheet-Password-Remover",
|
"type": "raw",
|
||||||
"parts": [
|
"content": "<span class=\"t-size-8\">(https://git.nibblepoker.lu/aziascreations/Excel-Worksheet-Password-Remover)</span></span>",
|
||||||
{"type": "raw", "content": "content.commons.gitea"},
|
"localize": false
|
||||||
{"type": "raw", "content": "<span class=\"hidden-xs-and-down\"> - ", "localize": false},
|
|
||||||
{
|
|
||||||
"type": "raw",
|
|
||||||
"content": "<span class=\"font-size-12\">(https://git.nibblepoker.lu/aziascreations/Excel-Worksheet-Password-Remover)</span></span>",
|
|
||||||
"localize": false
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|||||||
10
index.php
10
index.php
@@ -19,7 +19,7 @@ include_once 'commons/langs.php';
|
|||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<?php
|
<?php
|
||||||
include 'commons/DOM/utils.php';
|
include_once 'commons/DOM/utils.php';
|
||||||
include 'commons/DOM/body-1.php';
|
include 'commons/DOM/body-1.php';
|
||||||
$SIDEBAR_ID = 'home';
|
$SIDEBAR_ID = 'home';
|
||||||
include 'commons/DOM/sidebar.php';
|
include 'commons/DOM/sidebar.php';
|
||||||
@@ -34,11 +34,11 @@ include 'commons/DOM/body-2.php';
|
|||||||
<?php include 'commons/DOM/body-3.php'; ?>
|
<?php include 'commons/DOM/body-3.php'; ?>
|
||||||
<main id="main" class="rl-m border border-r-0 p-l">
|
<main id="main" class="rl-m border border-r-0 p-l">
|
||||||
|
|
||||||
<?php makeMainHeader(localize("home.intro.title")); ?>
|
<?php printMainHeader(localize("home.intro.title")); ?>
|
||||||
<p class="mt-xs ml-s"><?php print(localize("home.intro.text.1")); ?></p>
|
<p class="mt-xs ml-s"><?php print(localize("home.intro.text.1")); ?></p>
|
||||||
<p class="mt-xs ml-s"><?php print(localize("home.intro.text.2")); ?></p>
|
<p class="mt-xs ml-s"><?php print(localize("home.intro.text.2")); ?></p>
|
||||||
|
|
||||||
<?php makeMainHeader("Applications"); ?>
|
<?php printMainHeader("Applications"); ?>
|
||||||
<!-- If 'r-*' is used, 'o-hidden' needs to be too => https://stackoverflow.com/a/8582304 -->
|
<!-- If 'r-*' is used, 'o-hidden' needs to be too => https://stackoverflow.com/a/8582304 -->
|
||||||
<table class="stylish w-full mt-xs table-p-xs r-s o-hidden border">
|
<table class="stylish w-full mt-xs table-p-xs r-s o-hidden border">
|
||||||
<thead>
|
<thead>
|
||||||
@@ -62,7 +62,7 @@ include 'commons/DOM/body-2.php';
|
|||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
|
|
||||||
<?php makeMainHeader("Testing"); ?>
|
<?php printMainHeader("Testing"); ?>
|
||||||
<p class="mt-xs ml-s"><?php print(localize("home.intro.text.1")); ?></p>
|
<p class="mt-xs ml-s"><?php print(localize("home.intro.text.1")); ?></p>
|
||||||
<br>
|
<br>
|
||||||
<button class="p-xs border r-s">aaa</button>
|
<button class="p-xs border r-s">aaa</button>
|
||||||
@@ -70,7 +70,7 @@ include 'commons/DOM/body-2.php';
|
|||||||
<input class="p-xs border r-s" type="text">
|
<input class="p-xs border r-s" type="text">
|
||||||
<br>
|
<br>
|
||||||
|
|
||||||
<?php makeMainHeader(localize("home.intro.title")); ?>
|
<?php printMainHeader(localize("home.intro.title")); ?>
|
||||||
<p class="mt-xs ml-s">
|
<p class="mt-xs ml-s">
|
||||||
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed <span class="code">do eiusmod tempor</span> incididunt ut labore et dolore magna aliqua.<br>
|
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed <span class="code">do eiusmod tempor</span> incididunt ut labore et dolore magna aliqua.<br>
|
||||||
Mauris ultrices eros in cursus turpis massa tincidunt dui.<br>
|
Mauris ultrices eros in cursus turpis massa tincidunt dui.<br>
|
||||||
|
|||||||
@@ -19,7 +19,7 @@ include_once 'commons/langs.php';
|
|||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<?php
|
<?php
|
||||||
include 'commons/DOM/utils.php';
|
include_once 'commons/DOM/utils.php';
|
||||||
include 'commons/DOM/body-1.php';
|
include 'commons/DOM/body-1.php';
|
||||||
$SIDEBAR_ID = 'privacy';
|
$SIDEBAR_ID = 'privacy';
|
||||||
include 'commons/DOM/sidebar.php';
|
include 'commons/DOM/sidebar.php';
|
||||||
@@ -35,7 +35,7 @@ include 'commons/DOM/body-2.php';
|
|||||||
<?php include 'commons/DOM/body-3.php'; ?>
|
<?php include 'commons/DOM/body-3.php'; ?>
|
||||||
<main id="main" class="rl-m border border-r-0 p-l">
|
<main id="main" class="rl-m border border-r-0 p-l">
|
||||||
|
|
||||||
<?php makeMainHeader(localize("privacy.introduction.title"), "fad fa-info"); ?>
|
<?php printMainHeader(localize("privacy.introduction.title"), "fad fa-info"); ?>
|
||||||
<p class="mt-xs ml-s"><?php print(localize("privacy.introduction.text.1")); ?></p>
|
<p class="mt-xs ml-s"><?php print(localize("privacy.introduction.text.1")); ?></p>
|
||||||
<p class="mt-s ml-s">
|
<p class="mt-s ml-s">
|
||||||
<?php print(localize("privacy.introduction.text.2")); ?>
|
<?php print(localize("privacy.introduction.text.2")); ?>
|
||||||
@@ -49,7 +49,7 @@ include 'commons/DOM/body-2.php';
|
|||||||
</a>
|
</a>
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<?php makeMainHeader(localize("privacy.v2.data.title"), "fad fa-database"); ?>
|
<?php printMainHeader(localize("privacy.v2.data.title"), "fad fa-database"); ?>
|
||||||
<p class="mt-s ml-s">
|
<p class="mt-s ml-s">
|
||||||
<?php print(localize('privacy.v2.data.intro.1')); ?>
|
<?php print(localize('privacy.v2.data.intro.1')); ?>
|
||||||
<br>
|
<br>
|
||||||
@@ -90,7 +90,7 @@ include 'commons/DOM/body-2.php';
|
|||||||
<?php print(localize('privacy.v2.data.end.6')); ?>
|
<?php print(localize('privacy.v2.data.end.6')); ?>
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<?php makeMainHeader(localize("privacy.v2.third.title"), "fad fa-handshake"); ?>
|
<?php printMainHeader(localize("privacy.v2.third.title"), "fad fa-handshake"); ?>
|
||||||
<p class="mt-s ml-s">
|
<p class="mt-s ml-s">
|
||||||
<?php print(localize('privacy.v2.third.intro.1')); ?><br>
|
<?php print(localize('privacy.v2.third.intro.1')); ?><br>
|
||||||
<?php print(localize('privacy.v2.third.intro.2')); ?>
|
<?php print(localize('privacy.v2.third.intro.2')); ?>
|
||||||
@@ -112,12 +112,12 @@ include 'commons/DOM/body-2.php';
|
|||||||
<span class="ml-s">(<?php print(localize('lang.german')); ?>)</span><br>
|
<span class="ml-s">(<?php print(localize('lang.german')); ?>)</span><br>
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<?php makeMainHeader(localize("privacy.v2.cookies.title"), "fad fa-cookie-bite"); ?>
|
<?php printMainHeader(localize("privacy.v2.cookies.title"), "fad fa-cookie-bite"); ?>
|
||||||
<p class="mt-s ml-s">
|
<p class="mt-s ml-s">
|
||||||
<?php print(localize('privacy.v2.cookies.intro.1')); ?>
|
<?php print(localize('privacy.v2.cookies.intro.1')); ?>
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<?php makeMainHeader(localize("privacy.v2.update.title"), "fad fa-sync-alt"); ?>
|
<?php printMainHeader(localize("privacy.v2.update.title"), "fad fa-sync-alt"); ?>
|
||||||
<p class="mt-s ml-s">
|
<p class="mt-s ml-s">
|
||||||
<?php print(localize('privacy.v2.update.intro.1')); ?>
|
<?php print(localize('privacy.v2.update.intro.1')); ?>
|
||||||
</p>
|
</p>
|
||||||
@@ -181,14 +181,14 @@ include 'commons/DOM/body-2.php';
|
|||||||
<?php print(localize('privacy.v2.update.end.2')); ?>
|
<?php print(localize('privacy.v2.update.end.2')); ?>
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<?php makeMainHeader(localize("privacy.contact.title"), "fad fa-mailbox"); ?>
|
<?php printMainHeader(localize("privacy.contact.title"), "fad fa-mailbox"); ?>
|
||||||
<p class="mt-s ml-s">
|
<p class="mt-s ml-s">
|
||||||
<?php print(localize('privacy.contact.text.1')); ?><br>
|
<?php print(localize('privacy.contact.text.1')); ?><br>
|
||||||
<i class="fad fa-at t-size-8 ml-s"></i>
|
<i class="fad fa-at t-size-8 ml-s"></i>
|
||||||
<a href="mailto:herwin.bozet@gmail.com">herwin.bozet@gmail.com</a>
|
<a href="mailto:herwin.bozet@gmail.com">herwin.bozet@gmail.com</a>
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<?php makeMainHeader(localize("privacy.complaint.title"), "fad fa-gavel"); ?>
|
<?php printMainHeader(localize("privacy.complaint.title"), "fad fa-gavel"); ?>
|
||||||
<p class="mt-s ml-s">
|
<p class="mt-s ml-s">
|
||||||
<?php print(localize('privacy.complaint.text.1')); ?>
|
<?php print(localize('privacy.complaint.text.1')); ?>
|
||||||
</p>
|
</p>
|
||||||
|
|||||||
BIN
resources/NibblePoker/images/backgrounds/bright-squares-0.25.png
Normal file
BIN
resources/NibblePoker/images/backgrounds/bright-squares-0.25.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 38 KiB |
BIN
resources/NibblePoker/images/backgrounds/bright-squares-0.5.png
Normal file
BIN
resources/NibblePoker/images/backgrounds/bright-squares-0.5.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 40 KiB |
BIN
resources/NibblePoker/images/backgrounds/bright-squares.png
Normal file
BIN
resources/NibblePoker/images/backgrounds/bright-squares.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 40 KiB |
@@ -53,3 +53,4 @@
|
|||||||
@import 'site/table'; // Uses copied paddings for cells & ugly rounding fix
|
@import 'site/table'; // Uses copied paddings for cells & ugly rounding fix
|
||||||
@import 'site/code'; // Uses copied borders, roundings and paddings
|
@import 'site/code'; // Uses copied borders, roundings and paddings
|
||||||
@import 'site/content'; // Uses fixed sizes and floats
|
@import 'site/content'; // Uses fixed sizes and floats
|
||||||
|
@import 'site/video';
|
||||||
|
|||||||
@@ -83,11 +83,13 @@ a:not(.bland-link) {
|
|||||||
// And now for the headings, the exceptions keep popping up :,)
|
// And now for the headings, the exceptions keep popping up :,)
|
||||||
// TODO: Add a simple and nicer divider.
|
// TODO: Add a simple and nicer divider.
|
||||||
.heading-main {
|
.heading-main {
|
||||||
i {
|
> h2, > h3, >h4 {
|
||||||
//margin-left: 0.25rem;
|
> i {
|
||||||
margin-right: 0.4rem;
|
//margin-left: 0.25rem;
|
||||||
padding-right: 0.1rem;
|
margin-right: 0.4rem;
|
||||||
width: 1.75rem !important;
|
padding-right: 0.1rem;
|
||||||
text-align: center;
|
width: 1.75rem !important;
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
4
resources/NibblePoker/scss/site/video.scss
Normal file
4
resources/NibblePoker/scss/site/video.scss
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
video {
|
||||||
|
width: 100% !important;
|
||||||
|
height: auto !important;
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user