Added the JS pages

This commit is contained in:
2025-04-15 19:36:58 +02:00
parent 854e5432b5
commit cc32179766
3 changed files with 117 additions and 1 deletions

View File

@@ -1,4 +1,4 @@
PAGES := index.html 404.html info.html
PAGES := index.html 404.html info.html javascript.html
SHARED_FILES := stallman.webp stallman_2024.webp favicon.ico \
poster_cz.webp poster_en.webp poster_cz.jpg poster_en.jpg \
moon.svg sun.svg narrow_light.svg narrow_dark.svg wide_light.svg wide_dark.svg lang_cz.svg lang_en.svg \

57
pages/cz/javascript.html Normal file
View File

@@ -0,0 +1,57 @@
<!DOCTYPE html>
<html lang="cs">
<head>
<!--#include virtual="components/head.html" -->
<title>JavaScript - Svobodný software Liberec</title>
<meta name="description" content="Vysvětlení využití JavaScriptu na této stránce.">
</head>
<body>
<!--#include virtual="components/header.html" -->
<!--#include virtual="components/nav.html" -->
<main>
<h1>Použitý JavaScript na tomto webu</h1>
<p>
Pro tvorbu tohoto webu jsme použili stopové množství JavaScriptu.
</p>
<p>
Tato stránka Vám zajišťuje, že návštěva tohoto webu nenačítá žádný nesvobodný software
(tzn. tento web načtete i s rozšířením LibreJS).
</p>
<p>Zkontrolujte si prosím níže uvedené skripty a jejich licence.</p>
<table>
<caption>Seznam klientských skriptů</caption>
<thead>
<tr>
<th rowspan=2>Skript</th>
<th colspan=2>Popis skriptu</th>
</tr>
<tr>
<th>Funkce</th>
<th>Licence</th>
</tr>
</thead>
<tbody>
<tr>
<td><a href="js/countdown.js">countdown.js</a></td>
<td>Odpočet do začátku akce.</td>
<td><a href="https://www.gnu.org/licenses/gpl-3.0.en.html">GNU GPL v3</a></td>
</tr>
<tr>
<td><a href="js/lang.js">lang.js</a></td>
<td>Přepínání jazyka stránky.</td>
<td><a href="https://www.gnu.org/licenses/gpl-3.0.en.html">GNU GPL v3</a></td>
</tr>
<tr>
<td><a href="js/theme.js">theme.js</a></td>
<td>Přepínání mezi světlým a tmavým režimem.</td>
<td><a href="https://www.gnu.org/licenses/gpl-3.0.en.html">GNU GPL v3</a></td>
</tr>
</tbody>
</table>
</main>
<!--#include virtual="components/footer.html" -->
</body>
</html>

59
pages/en/javascript.html Normal file
View File

@@ -0,0 +1,59 @@
<!DOCTYPE html>
<html lang="en">
<head>
<!--#include virtual="components/head.html" -->
<title>JavaScript - Software Libre Liberec</title>
<meta name="description" content="Explanation of JavaScript usage on this website">
</head>
<body>
<!--#include virtual="components/header.html" -->
<!--#include virtual="components/nav.html" -->
<main>
<h1>JavaScript used on this website</h1>
<p>
This website is enhanced with few short snippets of JavaScript.
</p>
<p>
This page insures that visiting any page of this website does not load any non-free software
(which means that it will properly function on browsers with LibreJS).
</p>
<p>Please verify the following scripts and their licences.</p>
<table>
<caption>List of client scripts</caption>
<thead>
<tr>
<th rowspan=2>Script</th>
<th colspan=2>Description</th>
</tr>
<tr>
<th>Function</th>
<th>Licence</th>
</tr>
</thead>
<tbody>
<tr>
<td><a href="js/countdown.js">countdown.js</a></td>
<td>Countdown until the start of the event.</td>
<td><a href="https://www.gnu.org/licenses/gpl-3.0.en.html">GNU GPL v3</a></td>
</tr>
<tr>
<td><a href="js/lang.js">lang.js</a></td>
<td>Language switch.</td>
<td><a href="https://www.gnu.org/licenses/gpl-3.0.en.html">GNU GPL v3</a></td>
</tr>
<tr>
<td><a href="js/theme.js">theme.js</a></td>
<td>Light/dark mode switch.</td>
<td><a href="https://www.gnu.org/licenses/gpl-3.0.en.html">GNU GPL v3</a></td>
</tr>
</tbody>
</table>
</main>
<!--#include virtual="components/footer.html" -->
</body>
</html>