site 2.0.1: flash bar stays in place under the mods, tidied up for phones

- The flash bar is a plain card in the page flow (no sticky/floating).
- Head, legend and "What each mod takes" tidied: values no longer break
  mid-number, sizes like "< 0.1 KB" stay on one line, the shared row is set
  apart; on phones each mod's name and size sit over a full-width bar.
- The list stays open when a mod is ticked or unticked.
- Phones: each mod's tags and flash share sit under its text instead of
  spilling out of the checkbox column.
- make_builder_data.py: the boot text stamp leaves the release tags'
  "New in Pionaarr Mods 2.0.0" alone.
- Boot text Pionaarr Mods 2.0.1.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Thiemo TizianiandClaude Opus 5.5 committed 2026-11-15 20:05:58 +01:00
1 parent ff32f83297
commit d77c7a9dc1
14 files changed
+115 -54

No files matched your search

+10
View File
@@ -1,6 +1,16 @@
{
"_about": "The site's changelog, newest first. Versions follow Semantic Versioning (MAJOR.MINOR.PATCH), dates ISO 8601 (DIN EN 28601). make_builder_data.py adds every mod's current version from its module and writes assets/versions.js.",
"site": [
{
"version": "2.0.1",
"date": "2026-11-15",
"changes": [
"Builder: the flash bar stays in its place under the mods instead of following the page as you scroll.",
"Builder: the flash bar tidied up, and laid out for phones: name and size over each mod's bar, nothing cut off; the list stays open when you tick a mod.",
"Builder on phones: each mod's tags and flash share sit under its text.",
"The boot screen says Pionaarr Mods 2.0.1."
]
},
{
"version": "2.0.0",
"date": "2026-11-15",
+20
View File
@@ -1,14 +1,21 @@
{
"0dac39cbcbc8555aa26995cb00e41bd2eb1f18583ab77ccefbf1afccea16a45c": 6976854,
"0f09e784e2c58c6c95da482eb99eec166ebfd4660aa5596da4154791e6ef502f": 6975517,
"0f505f99f97d378f924b287e49efb5ec7fc3d34d6961387b19763e3213d53dc4": 6953413,
"1150cc0099d890fb4b9e09cf19f03464106ffd5fd04b1fa940d5af0b41008c4a": 6906428,
"15279315029cab6bedb9c6a7a97fffe50210b3a1620318ecd67d6d925f11f993": 6975503,
"15feb70b0d7f39733cbf5bb75577bd8b37bd071e94c280be2c583facd453db2a": 6976885,
"188ec8979a6a10af885fb02aa763361f62df12cdbafc2827c64dd123ac5b860e": 6968760,
"1aac029e66251bf499d2b1c96fb8ae259e2057e48d79d1a9bc8830f6ec6d7dc0": 6904542,
"1ac3e30cde292865413950fe159663b3958e85939ed0a5d0122f796809a5f8ef": 6893712,
"1d5dcba083d9a1884f608193be51a8ab8a5fd911e84cafbfd601ae582fd70290": 6906715,
"1e8cffe6fb619ef14e6d59867d3e57318e9d7846d0c46531f6ba4f84a24fbf02": 6975927,
"222d2e4dcf4cfb884f099cca5cb4b4b7ad4188a352ac0f6ad12f489926f8a121": 6943999,
"2a92752a19d46c878407e99b2c5df1e6ac28cba3ab4e99eb87d721f68e038744": 6976888,
"2b8a119748cc5f43581b68b4dd4222c0954ddcd9b7ddc5dcabf6cb6de334d91e": 6913740,
"2f1f0b799e5f749aa8012598ba066c75901270165faa54728481ddbf54303f7d": 6976145,
"35234613e230e1ff2a9e4ce551268600cfbb802e61a8dd01b52880fb9ed86578": 6912279,
"353ba79a639c09220065747285e47f3d909314349b4f3fd64ffa3582231ae22c": 6900807,
"3e789a5068dbc1bb08c24ebaaeea52172c37816e922a24c74f6b390e693ad4fb": 6944002,
"3eafe85e6e5513e365cacbcaad8890c4e8474e509f60a52a9c723970dfce990e": 6909090,
"44409714cdcfa748d1b76031095d0337b62d61a4aa61cad75d8f2b36c8db903f": 6953413,
@@ -22,32 +29,44 @@
"623ea34b0a59c12ebe97e589c56ee5a30fcd24fd84808def26cd4e80fad121a1": 6976286,
"62beedcb83c0d71dbe5917447c3c7f898415165f18e0f7cde3a22cfe5e0c6c54": 6943400,
"6b74a48d5e65de6176df3a209ebebac0c0b1ad7d646cd06c8439bce38eaa5b6b": 6975905,
"6c9b9b3169db8d827f9c6462b78b492c7863e82c859dd96b80d72182a3d66583": 6976771,
"6f1210bbed4dc6d41e204346e6ab088776512d0f616eb81ec4a04ab0769aa394": 6917154,
"710931198b8311b8a206062d47cb4b8959e6f989b01ec0e8c9acb86f25095375": 6941497,
"738ce1f0bf634f1d113e0eac3fac49899494de05adb0bd3133cf335fc9900d0d": 6976371,
"73fe9619e08439a496efa088e8d6c7a21a2404e80465e5af81e0084bcbbb66eb": 6926157,
"788233920fefb31f6004b456a9eab0611f9677c86638db2a5169d0d39f193ec1": 6976771,
"79baf9fdab20da6c2ffe3dd4f8e8a1f9c45eb049c42c05b69395814046c0999b": 6970818,
"7a66f9d2af6b42fb2ce321196aa6f9fe69f2dc93541dd168ddaf7dbd1b6d1f36": 6917667,
"7e6be04125481ff494eef2d1724acfcb3797409dcd0318b1dfbb2144691b0cf8": 6940119,
"80ab23e0c84cc2c88ad723462f0864663d20777c944a04023d127fdfb799e954": 6942617,
"84b02bc1c9b3861b78436c667b11694503982c0568455135537e1ec497387a25": 6941456,
"84bc7dd728f54c0fbacdbd339b1899e1e41feeb890cf00696448894e69b08126": 6922252,
"860a88f8122d0396e0560880fffdb2fd7bdada9cab4c34ab40293020e1a414fc": 6975420,
"88a8e4285cc64f075ac59ecde44429545630254202092bc6dc764d5e061c4372": 6975944,
"8936a1d6680fd1ae27df07b9bc3425e33346d74dcc5196fa98393b284f998e72": 6976885,
"8d43e4da02862b10d25f2ebf8a50798736336f2a2c1befc3807d5d328c3c833c": 6976217,
"8d8c0e0c1c69f35a398a1a6775771c75d41376d82063a6621fb1bd603fa054e5": 6976217,
"8fef23ae1f7a85ad9fff08f6ac177668ef70c0c8d399922d3c2c704f9812eedb": 6973005,
"937f171fccba507f6e78bf00deb927435683f3e1bdb9397a6e4466e0a553df62": 6943484,
"9501d75b872cbc219dde72b793a89bc34d951ca4fa7162466ab10722b0a03177": 6968921,
"9546427b233e9401bf3a85884224b9514ea4a2ee657dff585ad14470fefb3ead": 6976286,
"96efff44b0b633ef5942ac7236a5d6782cae3ed6fabab8fb8b6ea7ffcc6b9fb9": 6900808,
"9d2424e445f9735bf399788fa6683245e19fdadc887132110e953082ac30179f": 6975503,
"9fcdf2112425ce7ed2a240bd08fc20b6007fb4c2b144c3171be3225be088cdef": 6910191,
"a27ba40182d4a810f56a4dfbe54ec1bce12c094c7387f4eba23455f81a73fc20": 6942534,
"a6ad96469139d7c431edc7917f5746cb3f309c35ab424ab9f2b4b33ca58aebf7": 6973005,
"aa34bc67f31ed6afa4fbaef955280ff300c8eff4d2ce92830745925c0d440c54": 6968760,
"af30626b656950ba9547b8b30688cdf6296ec6b474b3912d3587582797a043bc": 6976145,
"b4c15d52ef1bb2385a2c2da722b72a74d4b54aa81209971e8eab2208cc0498b4": 6970818,
"b7d62fb5bc9c4743192d4d29e37cc51ca8130f5570f4d23404f372572f719b52": 6976236,
"bccc2010b3c44674dd4a2a2c71dd4ed4f8a9e8e3c9e416ceaec7de0133fcd9d9": 6975517,
"c37ea66d89160266584bfb1e4ff71d4a28d47880053b4c3cd8ee944f703d499d": 6975927,
"c6fd19838db82379960438e73c2390def1bbba2178c583f6207970eff10c736f": 6943259,
"cb981ff2e89f4df6053bd54b243ce085ca8e0a27df40612bc349111c40f6ad5f": 6911303,
"ceee3ec2a74c4dde2a736e1de2dd830a9c2a325d56c491bb08eb6b428e0a2363": 6975905,
"cf10bc19a2d7649c7af4f2f3f16a29674c298e42b12ea1db4d915efcddc576a9": 6943019,
"d4864dc1f6779383b3cb7b8ac96db1ed1814b2ec16e5d74a2b1e17010088db8f": 6943884,
"d5b6f02392cd8182ee54ab3bb01cbbfee1647cd824d0cc3ce26c31d77e611ee0": 6975420,
"d934e48379d981be93093dd9f3f4b598d23b0004cc5d7d030f0ed76ad67bf747": 6976888,
"e30f8c12eb5fe7bcfc98435f9266ee8829e995419a085075ddb914f9e5cdcf74": 6943330,
"e3a53138000ecbba9ac9b5a64c713b931c8f685d6c9e65ecfa1114ad5b7538a0": 6913007,
@@ -55,6 +74,7 @@
"eb1c470a5b3e1822fc55ff349c19d9ff8493a20485d357b42c753530cbc6cf2f": 6943349,
"ef134b4f137593953caf3aae9192c159b5fa3af58ad0a20aed127f65c73939ae": 6943966,
"f154abfd82151a3854bf6bdf00a927bdf16610351512c9b51f32f09ec2f6c221": 6913567,
"f4cb95f0d12a9f56efe53f14418cc892fac705a9019deddc38cf94d196189d9f": 6976236,
"f6268fc3a7b3e9bbc4e85499c53b06d2e4d786a65a940d47ac420fca5217e409": 6905699,
"fb6a5a4e37d2e219b84deda184512c620edbcd2b5c4a2323a4558c27041d40e9": 6937932,
"ffb7c1a0a0e3644e904046023caa92e6ae16925e7fb2a424da7ff66d3c87b82a": 6900807
+5 -2
View File
@@ -385,6 +385,9 @@ def write_versions(p):
# the pages load the site's own CSS and scripts with ?v=<site version>, so
# a browser takes the new ones after an update
import re
# the boot text follows the site's version; a release tag's "New in
# Pionaarr Mods 2.0.0" names the release the mod came with and stays
BOOT_TEXT = r'(?<!New in )Pionaarr Mods \d+\.\d+(\.\d+)?'
for name in sorted(os.listdir(WEB)):
if not name.endswith('.html'):
continue
@@ -393,7 +396,7 @@ def write_versions(p):
html = f.read()
new = re.sub(r'(href|src)="((?:style\.css|script\.js|assets/versions\.js|builder/[a-z]+\.js))(\?v=[^"]*)?"',
lambda m: '%s="%s?v=%s"' % (m.group(1), m.group(2), data['site']), html)
new = re.sub(r'Pionaarr Mods \d+\.\d+(\.\d+)?', 'Pionaarr Mods ' + data['site'], new) # the boot text
new = re.sub(BOOT_TEXT, 'Pionaarr Mods ' + data['site'], new) # the boot text
if new != html:
with open(path, 'w', encoding='utf-8', newline='\n') as f:
f.write(new)
@@ -401,7 +404,7 @@ def write_versions(p):
ui = os.path.join(WEB, 'builder', 'ui.js')
with open(ui, encoding='utf-8') as f:
js = f.read()
new = re.sub(r'Pionaarr Mods \d+\.\d+(\.\d+)?', 'Pionaarr Mods ' + data['site'], js)
new = re.sub(BOOT_TEXT, 'Pionaarr Mods ' + data['site'], js)
if new != js:
with open(ui, 'w', encoding='utf-8', newline='\n') as f:
f.write(new)