Added more content, Minor incremental improvements
Update app.py, uuid-generator.yml, and 23 more files...
This commit is contained in:
10
templates/applets/web-usb-test.jinja
Normal file
10
templates/applets/web-usb-test.jinja
Normal file
@@ -0,0 +1,10 @@
|
||||
|
||||
<h2>Test 123</h2>
|
||||
|
||||
<p id="web-usb-test-api-supported" hidden>Supported</p>
|
||||
<p id="web-usb-test-api-not-supported" hidden>Not Available</p>
|
||||
<p id="web-usb-test-api-support-unknown">Unknown / Blocked</p>
|
||||
|
||||
<button id="web-usb-test-list-all" class="p-xxs r-s border">List all</button>
|
||||
|
||||
<button id="web-usb-test-ba63-getter" class="p-xxs r-s border">Ba63</button>
|
@@ -7,12 +7,17 @@
|
||||
<meta name="viewport" content="width=device-width"/>
|
||||
<meta name="author" content="Herwin Bozet">
|
||||
<meta name="robots" content="index, follow">
|
||||
<!-- Check: https://css-tricks.com/probably-dont-base64-svg/ -->
|
||||
<link rel="icon" type="image/svg+xml" href="/favicon.svg">
|
||||
<link rel="alternate icon" href="/favicon.ico">
|
||||
<link rel="stylesheet" href="https://cdn.nibblepoker.{{ domain_tld }}/FontAwesomePro/6.5.1/css/all.min.css">
|
||||
<!--<link rel="stylesheet" href="https://cdn.nibblepoker.{{ domain_tld }}/NibblePoker/StandardCSS/nibblepoker.min.css">-->
|
||||
<link rel="stylesheet" href="https://cdn.nibblepoker.{{ domain_tld }}/NibblePoker/IndevCSS/nibblepoker.min.css">
|
||||
<link rel="stylesheet" href="https://cdn.nibblepoker.{{ domain_tld }}/Quantum/Quantum.min.css">
|
||||
|
||||
<!--<link rel="stylesheet" href="https://cdn.nibblepoker.{{ domain_tld }}/FontAwesomePro/6.5.1/css/all.min.css">-->
|
||||
<!--<link rel="stylesheet" href="https://cdn.nibblepoker.{{ domain_tld }}/NibblePoker/IndevCSS/nibblepoker.min.css">-->
|
||||
<!--<link rel="stylesheet" href="https://cdn.nibblepoker.{{ domain_tld }}/Quantum/Quantum.min.css">-->
|
||||
{{ get_standalone_common_headers() }}
|
||||
|
||||
<!-- No '<link>' should be present in here -->
|
||||
{% block extra_stylesheets %}{% endblock %}
|
||||
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport"
|
||||
@@ -40,5 +45,7 @@
|
||||
</a>
|
||||
</footer>
|
||||
|
||||
{% block extra_scripts %}{% endblock %}
|
||||
|
||||
</body>
|
||||
</html>
|
@@ -1,10 +1,14 @@
|
||||
{% extends "base_www.jinja" %}
|
||||
{% if is_standalone %}
|
||||
{% extends "base_standalone.jinja" %}
|
||||
{% else %}
|
||||
{% extends "base_www.jinja" %}
|
||||
{% endif %}
|
||||
|
||||
{% block head_title %}{{ l10n(tool_data.metadata.head.title_key, tool_id, user_lang) }}{% endblock %}
|
||||
{% block head_description %}{{ l10n(tool_data.metadata.head.description_key, tool_id, user_lang) }}{% endblock %}
|
||||
|
||||
{% block extra_stylesheets %}
|
||||
{{ render_applet_head(applet_data) }}
|
||||
{{ render_applet_head(applet_data, is_standalone) }}
|
||||
{% endblock %}
|
||||
|
||||
{% block header_title %}
|
||||
@@ -24,5 +28,5 @@
|
||||
{% endblock %}
|
||||
|
||||
{% block extra_scripts %}
|
||||
{{ render_applet_scripts(applet_data) }}
|
||||
{{ render_applet_scripts(applet_data, is_standalone) }}
|
||||
{% endblock %}
|
||||
|
169
templates/projects/lscom-cli-dotnet.jinja
Normal file
169
templates/projects/lscom-cli-dotnet.jinja
Normal file
@@ -0,0 +1,169 @@
|
||||
{% extends "projects/_project.jinja" %}
|
||||
|
||||
{% block project_content %}
|
||||
{{ render_h2(l10n("intro.title", project_id, user_lang)) }}
|
||||
{{ render_paragraph(l10n("intro.p1", project_id, user_lang)) }}
|
||||
{{ render_paragraph(l10n("intro.p2", project_id, user_lang)) }}
|
||||
{{ render_paragraph(l10n("intro.p3", project_id, user_lang)) }}
|
||||
|
||||
{{ render_h2(l10n("requirements.title", project_id, user_lang)) }}
|
||||
{{ render_list_ul([
|
||||
l10n("requirements.1", project_id, user_lang),
|
||||
[
|
||||
l10n("requirements.2", project_id, user_lang),
|
||||
],
|
||||
l10n("requirements.3", project_id, user_lang),
|
||||
[
|
||||
l10n("requirements.4", project_id, user_lang),
|
||||
],
|
||||
]) }}
|
||||
|
||||
{{ render_h2(l10n("improvements.title", project_id, user_lang)) }}
|
||||
{{ render_list_ul([
|
||||
l10n("improvements.1", project_id, user_lang),
|
||||
l10n("improvements.2", project_id, user_lang),
|
||||
l10n("improvements.3", project_id, user_lang),
|
||||
l10n("improvements.4", project_id, user_lang),
|
||||
l10n("improvements.5", project_id, user_lang),
|
||||
]) }}
|
||||
|
||||
{{ render_h2(l10n("screenshots.title", project_id, user_lang)) }}
|
||||
{{ render_splide([
|
||||
'<img src="' + url_for("static", filename="/resources/NibblePoker/images/content/lscom/screen-cli-stylish-2x-xBR.png") + '">',
|
||||
'<img src="' + url_for("static", filename="/resources/NibblePoker/images/content/lscom/screen-cli-csv-2x-xBR.png") + '">',
|
||||
'<img src="' + url_for("static", filename="/resources/NibblePoker/images/content/lscom/screen-cli-full-2x-xBR.png") + '">',
|
||||
]) }}
|
||||
|
||||
{{ render_h2(l10n("usage.title", project_id, user_lang)) }}
|
||||
{{
|
||||
render_code_block([
|
||||
"lscom.exe [-a|--show-all] [-d|--show-device] [-D <str>|--divider <str>] [-f|--show-friendly]",
|
||||
" [-h|--help] [-H|--short-help] [-n|--show-name-raw] [-P|--no-pretty] [-s|--sort]",
|
||||
" [-S|--sort-reverse] [-t|--tab-padding] [-v|--version] [-V|--version-only]",
|
||||
"",
|
||||
"Launch arguments:",
|
||||
" -a, --show-all Display the complete port's name (Equal to '-dfn')",
|
||||
" -d, --show-device Displays the port's device name",
|
||||
" -D <str>, --divider <str> Uses the given string or char as a separator (Can be empty string !)",
|
||||
" -f, --show-friendly Displays the port's friendly name",
|
||||
" -h, --help Display this help text",
|
||||
" -H, --short-help Display the short help text",
|
||||
" -n, --show-name-raw Displays the port's raw name (See remarks section)",
|
||||
" -P, --no-pretty Disables the pretty printing format (Equal to -D \" \")",
|
||||
" -s, --sort Sorts the port based on their raw names in an ascending order",
|
||||
" -S, --sort-reverse Sorts the port based on their raw names in a descending order",
|
||||
" -t, --tab-padding Use tabs for padding between the types of names (Overrides '-D')",
|
||||
" -v, --version Shows the utility's version number and other info",
|
||||
" -V, --version-only Shows the utility's version number only (Overrides '-v')"
|
||||
], None)
|
||||
}}
|
||||
|
||||
{{ render_h2(l10n("formatting.title", project_id, user_lang)) }}
|
||||
{{
|
||||
render_code_block([
|
||||
" *┬> No launch arguments:",
|
||||
" └──> ${Raw name} => COM1",
|
||||
" *┬> '-d' or '-f'",
|
||||
" ├──> ${Device name} => \\Device\\Serial1",
|
||||
" └──> ${Friendly name} => Communications Port",
|
||||
" *┬> '-d' and '-f'",
|
||||
" └──> ${Friendly name} [${Device name}] => Communications Port [\\Device\\Serial1]",
|
||||
" *┬> '-n' and '-d'",
|
||||
" └──> ${Raw name} [$DeviceName] => COM1 [\\Device\\Serial1]",
|
||||
" *┬> '-n' and '-f'",
|
||||
" └──> ${Raw name} - ${Friendly name} => COM1 - Communications Port",
|
||||
" *┬> '-ndf' or '-a'",
|
||||
" └──> ${Raw name} - ${Friendly name} [${Device name}] => COM1 - Communications Port [\\Device\\Serial1]",
|
||||
" *┬> '-ndfp' or '-ap'",
|
||||
" └──> ${Raw name} ${Friendly name} ${Device name} => COM1 Communications Port \\Device\\Serial1",
|
||||
" *┬> '-ndfD \";\"' or '-aD \";\"'",
|
||||
" └──> ${Raw name};${Friendly name};${Device name} => COM1;Communications Port;\\Device\\Serial1"
|
||||
], None)
|
||||
}}
|
||||
|
||||
{{ render_h2(l10n("packages.title", project_id, user_lang)) }}
|
||||
{{ render_paragraph(l10n("packages.single.title", project_id, user_lang)) }}
|
||||
{{ render_paragraph(l10n("packages.single.1", project_id, user_lang)) }}
|
||||
{{ render_paragraph(l10n("packages.self.title", project_id, user_lang)) }}
|
||||
{{ render_paragraph(l10n("packages.self.1", project_id, user_lang)) }}
|
||||
{{ render_paragraph(l10n("packages.msi.title", project_id, user_lang)) }}
|
||||
{{ render_paragraph(l10n("packages.msi.1", project_id, user_lang)) }}
|
||||
|
||||
{{ render_h2(l10n("version.current", "commons", user_lang)) }}
|
||||
<table class="table-stylish table-p-s border r-l">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>{{ l10n("cpu.architecture", "commons", user_lang) }}</th>
|
||||
<th>{{ l10n("requirements", "commons", user_lang) }}</th>
|
||||
<th>{{ l10n("download.multiple", "commons", user_lang) }}</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>{{ l10n("cpu.any", "commons", user_lang) }}</td>
|
||||
<td>{{ l10n("requirements.text.dotnet", project_id, user_lang) }}</td>
|
||||
<td>...</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td rowspan="2">{{ l10n("cpu.x64", "commons", user_lang) }}</td>
|
||||
<td>{{ l10n("requirements.text.dotnet", project_id, user_lang) }}</td>
|
||||
<td>...</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>{{ l10n("none.fs", "commons", user_lang) }}</td>
|
||||
<td>...</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td rowspan="2">{{ l10n("cpu.x86", "commons", user_lang) }}</td>
|
||||
<td>{{ l10n("requirements.text.dotnet", project_id, user_lang) }}</td>
|
||||
<td>...</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>{{ l10n("none.fs", "commons", user_lang) }}</td>
|
||||
<td>...</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td rowspan="2">{{ l10n("cpu.arm64", "commons", user_lang) }}</td>
|
||||
<td>{{ l10n("requirements.text.dotnet", project_id, user_lang) }}</td>
|
||||
<td>...</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>{{ l10n("none.fs", "commons", user_lang) }}</td>
|
||||
<td>...</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td rowspan="2">{{ l10n("cpu.arm32", "commons", user_lang) }}</td>
|
||||
<td>{{ l10n("requirements.text.dotnet", project_id, user_lang) }}</td>
|
||||
<td>...</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>{{ l10n("none.fs", "commons", user_lang) }}</td>
|
||||
<td>...</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
{{ render_h2(l10n("source.code", "commons", user_lang)) }}
|
||||
<table class="table-stylish table-p-s border r-l">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>{{ l10n("version", "commons", user_lang) }}</th>
|
||||
<th>{{ l10n("download.multiple", "commons", user_lang) }}</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>v3.0.0</td>
|
||||
<td>...</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
{{ render_h2(l10n("links.title", project_id, user_lang)) }}
|
||||
{{ render_list_ul([
|
||||
"<a href='https://github.com/aziascreations/DotNet-ListComPort'>" +
|
||||
l10n("github", "commons", user_lang) +
|
||||
"</a>",
|
||||
]) }}
|
||||
|
||||
{% endblock %}
|
18
templates/projects/web-usb-test.jinja
Normal file
18
templates/projects/web-usb-test.jinja
Normal file
@@ -0,0 +1,18 @@
|
||||
{% extends "projects/_project.jinja" %}
|
||||
|
||||
{% block extra_stylesheets %}
|
||||
{{ render_applet_head(get_applets()["web-usb-test"], is_standalone) }}
|
||||
{% endblock %}
|
||||
|
||||
{% block project_content %}
|
||||
{{ render_h2(l10n("intro.title", project_id, user_lang)) }}
|
||||
{{ render_paragraph(l10n("intro.1", project_id, user_lang)) }}
|
||||
{{ render_paragraph(l10n("intro.2", project_id, user_lang)) }}
|
||||
|
||||
{% include 'applets/web-usb-test.jinja' %}
|
||||
|
||||
{% endblock %}
|
||||
|
||||
{% block extra_scripts %}
|
||||
{{ render_applet_scripts(get_applets()["web-usb-test"], is_standalone) }}
|
||||
{% endblock %}
|
Reference in New Issue
Block a user