Convert barant.com JET 1.4 marketing pages to jetc/.jtc (local, non-production)

Pulls .page files and shared template infrastructure (mainpagetemplate.temp,
menu.bar, barant.tag, opensource.menu, cart.menu, login.menu) read-only from
barant.com via SFTP into jetc/barant-site/src, then convert.py mechanically
flattens them into self-contained .jet files: linkbutton becomes a plain
anchor link (the old SESSIONCTL PAGE/PROCESS form-postback model has no
equivalent here - each page is its own real #api route now, not a shared
single-form state machine), sectionframe is expanded per its barant.tag
definition, /images/* references are fetched and inlined as data URIs
(APIServer has no static-file serving), and session-gated chrome (cart,
account/admin, login.menu) is resolved to its anonymous-visitor default
state, since no session/DB backend is wired into this conversion.

17 pages convert and serve cleanly end-to-end (verified via a local
apiserver-barant-site.json instance on :8081, kept separate from the
existing demo server on :8080 to avoid a /main route collision with the
earlier hand-cloned barant.jet). Two pages deliberately out of scope for
this pass: davidarant.page (whiledir filesystem iteration) and the
per-topic sub-pages of jet.page (dispatches on an ARGS query param this
conversion does not populate - only the default overview state converts).
vst.page/modular1.page/modular1_patches.page also deferred - they pull
live product rows via sql, a real backend dependency beyond "pages and
their template" scope.

Nothing was written back to barant.com - SFTP access was read-only
throughout, per explicit instruction to convert locally without touching
the original site.
This commit is contained in:
Brad Arant committed 2026-08-25 21:59:55 -07:00
1 parent b143b821de
commit fde94acad6
191 files changed
+14997

No files matched your search

+52
View File
@@ -0,0 +1,52 @@
<page template="mainpagetemplate">
<heading>
<title>The Digital Gods - The MP3 Music Store</title>
</heading>
<contents>
<retain name="collection_id">
<h1>Add A Track To A Collection</h1>
<sql>select * from collections where id="$[collection_id]"</sql>
<p>The track added on this form will be added to collection <b>$[.name]</b>.</p>
<p>Enter the information for the track file in the form and click the <b>Add
Track</b> button.</p>
<p>
<table class="entryform">
<tr>
<td>Name:</td><td><input type="text" name="name" size="50" maxlength="50" value="$[name:0]"></td>
</tr>
<tr>
<td>Artist:</td><td><input type="text" name="artist" size="50" maxlength="50" value="$[artist:0]"></td>
</tr>
<tr>
<td>Description:</td><td><textarea name="description" rows="10" cols="50">$[description:0]</textarea></td>
</tr>
<tr>
<td>Price:</td><td><input type="text" name="price" size="10" maxlength="10" value="$[price:0]"></td>
</tr>
<tr>
<td>File to upload:</td><td><input type="file" name="filedata" size="64" maxlength="128" value="$[filedata]"></td>
</tr>
</table>
</p>
<if value1="$[message]" value2="" type="ne">
<p class="message">$[message]</p>
</if>
<table cellpadding="5" cellborder="0" border="0"></tr><td class="warning">
<p><b>WARNING:</b></p>
<p>Large files will take a while to upload. Please do not interrupt the process
as your transaction will not complete the the track will not be added to the
collection. Many internet connections have very slow uplink speeds. Please
go get a cup of coffee and do something else for a while if you are
uploading a large file to the collection.<p>
</td></tr></table>
<abutton process="add_track" multipart="yes">Add Track</abutton>
<abutton page="musicianhome">Cancel</abutton>
</contents>
</page>