]> gitweb.michael.orlitzky.com - charm-bypass.git/log
charm-bypass.git
2 months agoindex.html.in: remove links to my personal website master
Michael Orlitzky [Sat, 3 Feb 2024 16:32:24 +0000 (11:32 -0500)]
index.html.in: remove links to my personal website

The MTA just sent me a cease and desist for charm-bypass.com, which I
intend to honor. But if somebody else wants to... *shrug* then my name
shouldn't be plastered all over the page.

4 months agoindex.html.in: add New Carrollton MARC info
Michael Orlitzky [Wed, 13 Dec 2023 00:25:26 +0000 (19:25 -0500)]
index.html.in: add New Carrollton MARC info

The code for New Carrollton is NCR (thanks you-know-who), and it's on
the Penn Line, so all we have to do is fill in the zone information
based on the CharmPass prices to each of the other Penn destinations.

4 months agoindex.html.in: add Frederick <-> Washington MARC info
Michael Orlitzky [Wed, 13 Dec 2023 00:13:56 +0000 (19:13 -0500)]
index.html.in: add Frederick <-> Washington MARC info

Both Frederick and Washington D.C. are on the Brunswick line, and the
code for Frederick is FRC (thanks you-know-who). The cost of that
ticket is $9 in CharmPass, so that's a Four Zone.

4 months agocgi-bin/code.cgi: new CGI script to update the daily code on a web host
Michael Orlitzky [Tue, 12 Dec 2023 21:00:20 +0000 (16:00 -0500)]
cgi-bin/code.cgi: new CGI script to update the daily code on a web host

This isn't really part of CharmBypass, but it will come in handy on
charm-bypass.com, and where else to put it? It's a CGI script that
allows visitors to update the code. You should probably password
protect it and make it available only to trusted users.

The script is written in POSIX shell script. Why? Because I didn't
really want to venture beyond a single-page, off-line, static HTML
file. But writing a CGI script in POSIX shell was just too dumb to say
no to. It uses sed to parse/edit index.html. Everything about it is
bad.

It can be tested with "python -m http.server --cgi", but the 302
redirect won't work because python doesn't support it.

5 months agoREADME: mention that fontforge needs woff2 support
Michael Orlitzky [Mon, 20 Nov 2023 18:11:27 +0000 (13:11 -0500)]
README: mention that fontforge needs woff2 support

5 months agoindex.html.in: add blank value="" attrs after name="code" on inputs
Michael Orlitzky [Fri, 17 Nov 2023 21:34:20 +0000 (16:34 -0500)]
index.html.in: add blank value="" attrs after name="code" on inputs

This will make it easy/safe to use sed every night at 3am to reset
the daily security code (if we typed one in the day before).

5 months agoindex.html.in: link "optional" to daily security code info
Michael Orlitzky [Mon, 13 Nov 2023 20:51:18 +0000 (15:51 -0500)]
index.html.in: link "optional" to daily security code info

5 months ago.gitignore: ignore "make check" byproducts
Michael Orlitzky [Fri, 10 Nov 2023 15:53:28 +0000 (10:53 -0500)]
.gitignore: ignore "make check" byproducts

5 months agoindex.html.in: add Halethorpe MARC station
Michael Orlitzky [Fri, 10 Nov 2023 15:49:43 +0000 (10:49 -0500)]
index.html.in: add Halethorpe MARC station

5 months agoindex.html.in: name origin/destination <input>s after their values
Michael Orlitzky [Fri, 10 Nov 2023 15:45:52 +0000 (10:45 -0500)]
index.html.in: name origin/destination <input>s after their values

They were named originX and destinationX (X = 1,2,...), but that makes
it plenty annoying to insert a new one into the list, which I'm about
to do.

5 months agoindex.html.in: add Halethorpe (HAE) zone mapping
Michael Orlitzky [Fri, 10 Nov 2023 15:40:55 +0000 (10:40 -0500)]
index.html.in: add Halethorpe (HAE) zone mapping

5 months agoindex.html.in: move the article links to after the forms
Michael Orlitzky [Thu, 9 Nov 2023 02:40:59 +0000 (21:40 -0500)]
index.html.in: move the article links to after the forms

5 months agoREADME: start adding substance; in particular, links to my articles
Michael Orlitzky [Thu, 9 Nov 2023 01:31:59 +0000 (20:31 -0500)]
README: start adding substance; in particular, links to my articles

5 months agoindex.html.in: update part 1 URL; add the link to part 2
Michael Orlitzky [Thu, 9 Nov 2023 01:17:03 +0000 (20:17 -0500)]
index.html.in: update part 1 URL; add the link to part 2

5 months agotableau.svg: overlap the city and its copy by one unit
Michael Orlitzky [Wed, 8 Nov 2023 23:58:10 +0000 (18:58 -0500)]
tableau.svg: overlap the city and its copy by one unit

This fixes a display glitch where there's one pixel of space visible
between the end of the city (or its copy) and the beginning of its
copy (or the original).

5 months agoREADME: document the new tidy-html5 test suite requirement
Michael Orlitzky [Wed, 8 Nov 2023 23:30:40 +0000 (18:30 -0500)]
README: document the new tidy-html5 test suite requirement

5 months agoMakefile.am: run the new test suite with "make check"
Michael Orlitzky [Wed, 8 Nov 2023 23:30:03 +0000 (18:30 -0500)]
Makefile.am: run the new test suite with "make check"

5 months agorun-tests.sh: new minimal test suite
Michael Orlitzky [Wed, 8 Nov 2023 23:29:49 +0000 (18:29 -0500)]
run-tests.sh: new minimal test suite

5 months agoindex.html.in: speed up the tree-scroll animation some more
Michael Orlitzky [Wed, 8 Nov 2023 22:38:15 +0000 (17:38 -0500)]
index.html.in: speed up the tree-scroll animation some more

They move relatively fast compared to the city skyline.

5 months agotableau.svg: strip all stroke-foo properties that follow stroke:none
Michael Orlitzky [Wed, 8 Nov 2023 22:33:11 +0000 (17:33 -0500)]
tableau.svg: strip all stroke-foo properties that follow stroke:none

Inkscape crams all of these properties into the file, I guess so that
information isn't lost if you disable and re-enable the stroke on some
element. And most of them are stripped during minimization, but a
bunch of impotent stroke-widths make it through to the final document.

I've stripped all of it by hand, since removing it all was just as
easy as removing the stroke-width.

5 months agotableau.svg: shrink/translate everything down to width=2932
Michael Orlitzky [Wed, 8 Nov 2023 21:55:46 +0000 (16:55 -0500)]
tableau.svg: shrink/translate everything down to width=2932

Previously, we had width=2932.6 and a matching viewport. It shouldn't
matter when a viewport is defined, but in the interest of pedantry:
SVG2 punts to CSS2.1 for the width, and CSS2.1 doesn't support user
(SVG internal) coordinates. Instead, width=2932.6 would represent
pixels, and 0.6 pixels doesn't make sense. We avoid the non-issue by
shrinking/translating things a tiny bit.

5 months agosvgclean.xsl: strip all deprecated xml:space attributes
Michael Orlitzky [Wed, 8 Nov 2023 21:24:27 +0000 (16:24 -0500)]
svgclean.xsl: strip all deprecated xml:space attributes

5 months agoMakefile.am: prefix svgclean.xsl with $(srcdir) for out-of-source builds
Michael Orlitzky [Wed, 8 Nov 2023 21:10:03 +0000 (16:10 -0500)]
Makefile.am: prefix svgclean.xsl with $(srcdir) for out-of-source builds

5 months agoMakefile.am: pass the output file to sfd2woff.ff
Michael Orlitzky [Wed, 8 Nov 2023 21:06:00 +0000 (16:06 -0500)]
Makefile.am: pass the output file to sfd2woff.ff

This is required as of ce8a3cc46218347579ca35e370d1afb20a5a4f48. We
also prefix the path to sfd2woff.ff with $(srcdir) for out-of-source
builds.

5 months agosfd2woff.ff: take the output file as another argument
Michael Orlitzky [Wed, 8 Nov 2023 21:05:25 +0000 (16:05 -0500)]
sfd2woff.ff: take the output file as another argument

In out-of-source builds, we can't write the output to the same
directory as the input.

5 months agoMakefile.am: clean up a bit, and include everything in the dist tarball
Michael Orlitzky [Wed, 8 Nov 2023 20:55:32 +0000 (15:55 -0500)]
Makefile.am: clean up a bit, and include everything in the dist tarball

5 months ago.gitignore: ignore the dist tarball
Michael Orlitzky [Wed, 8 Nov 2023 20:51:12 +0000 (15:51 -0500)]
.gitignore: ignore the dist tarball

5 months agoMakefile.am: don't include "doc" and "src" subdirectories
Michael Orlitzky [Wed, 8 Nov 2023 16:39:41 +0000 (11:39 -0500)]
Makefile.am: don't include "doc" and "src" subdirectories

Because they no longer exist.

5 months agodoc: move into the top-level
Michael Orlitzky [Wed, 8 Nov 2023 16:38:51 +0000 (11:38 -0500)]
doc: move into the top-level

We're not doing subdirectories any more, and there are only two files
in here.

5 months agodoc/LICENSE: rename to doc/COPYING
Michael Orlitzky [Wed, 8 Nov 2023 16:37:57 +0000 (11:37 -0500)]
doc/LICENSE: rename to doc/COPYING

The name COPYING is supported out-of-the-box by autoconf, and my
preferences just isn't that strong.

5 months agoindex.html.in: speed up the animations
Michael Orlitzky [Wed, 8 Nov 2023 16:35:51 +0000 (11:35 -0500)]
index.html.in: speed up the animations

They were running a little bit slower than they should have been.

5 months agoCharmBypass-Bold.sfd: drop unused glyphs
Michael Orlitzky [Wed, 8 Nov 2023 12:12:11 +0000 (07:12 -0500)]
CharmBypass-Bold.sfd: drop unused glyphs

The only thing we use bold for are the service identifiers, and there
are only two of those: F and R.

5 months agoindex.html.in: replace the hint with a link to my introduction
Michael Orlitzky [Tue, 7 Nov 2023 23:19:52 +0000 (18:19 -0500)]
index.html.in: replace the hint with a link to my introduction

5 months agoindex.html.in: new slogan and better semantic markup for it
Michael Orlitzky [Tue, 7 Nov 2023 23:15:53 +0000 (18:15 -0500)]
index.html.in: new slogan and better semantic markup for it

5 months agofavicon.svg: use an arrow instead of a calligraphic stroke
Michael Orlitzky [Tue, 7 Nov 2023 14:01:45 +0000 (09:01 -0500)]
favicon.svg: use an arrow instead of a calligraphic stroke

5 months agoindex.html.in: add missing origin/destination => zone mappings
Michael Orlitzky [Sat, 4 Nov 2023 15:07:57 +0000 (11:07 -0400)]
index.html.in: add missing origin/destination => zone mappings

5 months agoindex.html.in: use a footnote (dagger) to explain the Commuter Bus zone
Michael Orlitzky [Sat, 4 Nov 2023 14:18:54 +0000 (10:18 -0400)]
index.html.in: use a footnote (dagger) to explain the Commuter Bus zone

Because, just kidding, <abbr> doesn't work at all in any mobile
browsers.

5 months agoindex.html.in: use <abbr> to explain the Commuter Bus zone
Michael Orlitzky [Sat, 4 Nov 2023 14:07:11 +0000 (10:07 -0400)]
index.html.in: use <abbr> to explain the Commuter Bus zone

5 months agoindex.html.in: yet another slogan tweak
Michael Orlitzky [Sat, 4 Nov 2023 13:43:29 +0000 (09:43 -0400)]
index.html.in: yet another slogan tweak

5 months agoindex.html.in: work around busted form validation in mobile Firefox
Michael Orlitzky [Sat, 4 Nov 2023 00:32:02 +0000 (20:32 -0400)]
index.html.in: work around busted form validation in mobile Firefox

Shit's broke yo:

  https://bugzilla.mozilla.org/show_bug.cgi?id=1510450

So now when the user-agent contains both "firefox" and "mobile", we
display our own errors and disable the submit button.

5 months agoindex.html.in: replace a few tabs with spaces
Michael Orlitzky [Sat, 4 Nov 2023 00:31:48 +0000 (20:31 -0400)]
index.html.in: replace a few tabs with spaces

5 months agoindex.html.in: reword the daily security code hint
Michael Orlitzky [Fri, 3 Nov 2023 20:32:31 +0000 (16:32 -0400)]
index.html.in: reword the daily security code hint

5 months agoindex.html.in: set the body font to sans-serif for consistency
Michael Orlitzky [Fri, 3 Nov 2023 20:31:57 +0000 (16:31 -0400)]
index.html.in: set the body font to sans-serif for consistency

All of the SVG fields are sans-serif.

5 months agoindex.html.in: display a special error message if origin == destination
Michael Orlitzky [Fri, 3 Nov 2023 17:49:24 +0000 (13:49 -0400)]
index.html.in: display a special error message if origin == destination

5 months agoindex.html.in: also validate the origin/destination when the page loads
Michael Orlitzky [Fri, 3 Nov 2023 17:42:21 +0000 (13:42 -0400)]
index.html.in: also validate the origin/destination when the page loads

Firefox (at least) retains your origin/destination selections when the
page reloads, so if we don't validate those choices at page load, it's
possible to "skip" validation of an invalid pair by submitting the
form right after a reload.

5 months agoindex.html.in: fix typos in the origin/destination => zone map
Michael Orlitzky [Fri, 3 Nov 2023 17:42:07 +0000 (13:42 -0400)]
index.html.in: fix typos in the origin/destination => zone map

5 months agoindex.html.in: validate MARC origin/destination before submission
Michael Orlitzky [Fri, 3 Nov 2023 17:29:34 +0000 (13:29 -0400)]
index.html.in: validate MARC origin/destination before submission

5 months agoindex.html.in: set default zone, origin, and destination options
Michael Orlitzky [Fri, 3 Nov 2023 17:26:58 +0000 (13:26 -0400)]
index.html.in: set default zone, origin, and destination options

5 months agoindex.html.in: add a few more (origin,destination) => zone mappings
Michael Orlitzky [Fri, 3 Nov 2023 17:25:55 +0000 (13:25 -0400)]
index.html.in: add a few more (origin,destination) => zone mappings

5 months agoindex.html.in: use strict equality checks everywhere
Michael Orlitzky [Fri, 3 Nov 2023 16:43:44 +0000 (12:43 -0400)]
index.html.in: use strict equality checks everywhere

5 months agoindex.html.in: big Javascript and comment cleanup
Michael Orlitzky [Fri, 3 Nov 2023 16:11:25 +0000 (12:11 -0400)]
index.html.in: big Javascript and comment cleanup

5 months agoindex.html.in: whitespace cleanup
Michael Orlitzky [Fri, 3 Nov 2023 14:55:53 +0000 (10:55 -0400)]
index.html.in: whitespace cleanup

5 months agoindex.html.in: use less vertical (white)space for keyframes
Michael Orlitzky [Fri, 3 Nov 2023 14:44:52 +0000 (10:44 -0400)]
index.html.in: use less vertical (white)space for keyframes

5 months agoMakefile.am: comment the new favicon target
Michael Orlitzky [Fri, 3 Nov 2023 14:37:17 +0000 (10:37 -0400)]
Makefile.am: comment the new favicon target

5 months ago.gitignore: ignore favicon build products
Michael Orlitzky [Fri, 3 Nov 2023 14:34:05 +0000 (10:34 -0400)]
.gitignore: ignore favicon build products

5 months agoMakefile.am: base64-encode and substitute the favicon into index.html
Michael Orlitzky [Fri, 3 Nov 2023 14:32:13 +0000 (10:32 -0400)]
Makefile.am: base64-encode and substitute the favicon into index.html

5 months agoindex.html.in: replace the favicon link with a @PLACEHOLDER@
Michael Orlitzky [Fri, 3 Nov 2023 14:31:14 +0000 (10:31 -0400)]
index.html.in: replace the favicon link with a @PLACEHOLDER@

This is in preparation for (base64) inlining the favicon data just
like we do with the fonts. The whole thing should be self-contained.

5 months agoMakefile.am: factor our the "scour" command into a macro
Michael Orlitzky [Fri, 3 Nov 2023 14:22:23 +0000 (10:22 -0400)]
Makefile.am: factor our the "scour" command into a macro

5 months agoindex.html.in: add meta-charset element
Michael Orlitzky [Fri, 3 Nov 2023 07:16:20 +0000 (03:16 -0400)]
index.html.in: add meta-charset element

Without this, the unicode right-arrow doesn't show up on android. (If
we try to outsmart it with an XML entity reference, our minimization
pipeline deletes the entity reference and puts the arrow back. Thanks
for that.)

5 months agoindex.html.in: do-over of the legend/form spacing
Michael Orlitzky [Fri, 3 Nov 2023 06:08:21 +0000 (02:08 -0400)]
index.html.in: do-over of the legend/form spacing

The legend margin doesn't work the same way in Chrome as it does in
Firefox, so here's another attempt to "evenly" space things
vertically.

5 months agoindex.html.in: rename "Get Ticket" -> "Generate Ticket"
Michael Orlitzky [Fri, 3 Nov 2023 05:56:00 +0000 (01:56 -0400)]
index.html.in: rename "Get Ticket" -> "Generate Ticket"

Sounds a bit more like what actually happens? I don't know.

5 months agotableau.svg: simplify arrow spacing a tiny bit
Michael Orlitzky [Fri, 3 Nov 2023 05:55:44 +0000 (01:55 -0400)]
tableau.svg: simplify arrow spacing a tiny bit

5 months agoindex.html.in: use <p> instead of <h3> for radio group labels
Michael Orlitzky [Fri, 3 Nov 2023 05:53:02 +0000 (01:53 -0400)]
index.html.in: use <p> instead of <h3> for radio group labels

This is more semantically correct, and (more to the point) looks
better.

5 months agoindex.html.in: boldface and improved margins for <legend>
Michael Orlitzky [Fri, 3 Nov 2023 05:49:44 +0000 (01:49 -0400)]
index.html.in: boldface and improved margins for <legend>

I said I wanted to leave the menu controls alone, but this just looks
so much better.

5 months agoindex.html.in: set size="2" on daily code inputs
Michael Orlitzky [Fri, 3 Nov 2023 05:47:08 +0000 (01:47 -0400)]
index.html.in: set size="2" on daily code inputs

There's no need for all that box.

5 months agoindex.html.in: change the slogan again
Michael Orlitzky [Fri, 3 Nov 2023 05:25:30 +0000 (01:25 -0400)]
index.html.in: change the slogan again

5 months agoindex.html.in: link to the new favicon
Michael Orlitzky [Fri, 3 Nov 2023 05:21:58 +0000 (01:21 -0400)]
index.html.in: link to the new favicon

5 months agofavicon.svg: new favicon
Michael Orlitzky [Fri, 3 Nov 2023 05:15:11 +0000 (01:15 -0400)]
favicon.svg: new favicon

5 months agoindex.html.in: fix zone handling for non-MARC services
Michael Orlitzky [Fri, 3 Nov 2023 03:16:19 +0000 (23:16 -0400)]
index.html.in: fix zone handling for non-MARC services

5 months agoindex.html.in: set the MARC origin/destination when applicable
Michael Orlitzky [Fri, 3 Nov 2023 03:02:50 +0000 (23:02 -0400)]
index.html.in: set the MARC origin/destination when applicable

5 months agoMakefile.am: preserve origin/destination ids during minimization
Michael Orlitzky [Fri, 3 Nov 2023 02:47:58 +0000 (22:47 -0400)]
Makefile.am: preserve origin/destination ids during minimization

5 months agosvgclean.xsl: fix text node processing
Michael Orlitzky [Fri, 3 Nov 2023 02:47:02 +0000 (22:47 -0400)]
svgclean.xsl: fix text node processing

We have to use node() instead of "*" to match (child) text nodes.

5 months agotableau.svg: add the MARC Train origin/destination
Michael Orlitzky [Fri, 3 Nov 2023 02:07:33 +0000 (22:07 -0400)]
tableau.svg: add the MARC Train origin/destination

This (finally?) had to be hacked into the XML by hand because inkscape
isn't smart enough to handle multiple <tspan>s within a single <text>
element. We want to keep the origin, arrow, and destination all as
separate tspans (with ids) so that we can change the origin and
destination easily from a script.

Since I was already hacking it by hand, I cleaned up the XML a bit.
Hopefully it can survive a round trip through inkscape in the future.

5 months agoCharmBypass-Regular.sfd: add unicode arrowright
Michael Orlitzky [Fri, 3 Nov 2023 02:03:42 +0000 (22:03 -0400)]
CharmBypass-Regular.sfd: add unicode arrowright

This is what CharmPass uses for the -> between the MARC Train origin
and destination.

5 months agosvgclean.xsl: update a comment
Michael Orlitzky [Fri, 3 Nov 2023 01:30:42 +0000 (21:30 -0400)]
svgclean.xsl: update a comment

Explain how we're going to group tspans to avoid clobbering them.

5 months agoindex.html.in: handle the MARC Train ticket size and zone setting
Michael Orlitzky [Fri, 3 Nov 2023 00:59:54 +0000 (20:59 -0400)]
index.html.in: handle the MARC Train ticket size and zone setting

5 months agoindex.html.in: use the right font for the zone
Michael Orlitzky [Fri, 3 Nov 2023 00:30:06 +0000 (20:30 -0400)]
index.html.in: use the right font for the zone

5 months agoindex.html.in: set the service zone when the page loads
Michael Orlitzky [Fri, 3 Nov 2023 00:28:34 +0000 (20:28 -0400)]
index.html.in: set the service zone when the page loads

5 months agoindex.html.in: fix comment header alignment
Michael Orlitzky [Fri, 3 Nov 2023 00:26:31 +0000 (20:26 -0400)]
index.html.in: fix comment header alignment

5 months agoMakefile.am: preserve the "zone" id during minimization
Michael Orlitzky [Fri, 3 Nov 2023 00:26:08 +0000 (20:26 -0400)]
Makefile.am: preserve the "zone" id during minimization

5 months agotableau.svg: don't set "inline-size: 0" on the hidden zone
Michael Orlitzky [Fri, 3 Nov 2023 00:19:07 +0000 (20:19 -0400)]
tableau.svg: don't set "inline-size: 0" on the hidden zone

It already has "display: none;" you're overdoing it.

5 months agotableau.svg: add (hidden) service zone to the ticket
Michael Orlitzky [Fri, 3 Nov 2023 00:18:40 +0000 (20:18 -0400)]
tableau.svg: add (hidden) service zone to the ticket

5 months agoindex.html.in: begin writing a function to resize the ticket
Michael Orlitzky [Thu, 2 Nov 2023 21:21:05 +0000 (17:21 -0400)]
index.html.in: begin writing a function to resize the ticket

The BaltimoreLink, Commuter Bus, and MARC Train tickets are all
different sizes and have their service/zone names laid out a little
bit differently.

This commit adds a function, resize_ticket(), that will eventually
handle that.

5 months agoMakefile.am: preserve the "ticketbg" id when minimizing the tableau
Michael Orlitzky [Thu, 2 Nov 2023 21:13:38 +0000 (17:13 -0400)]
Makefile.am: preserve the "ticketbg" id when minimizing the tableau

5 months agoindex.html.in: don't double-bold the service identifier
Michael Orlitzky [Thu, 2 Nov 2023 21:13:04 +0000 (17:13 -0400)]
index.html.in: don't double-bold the service identifier

It's too bold.

6 months agoindex.html.in: use "*" instead of "+" for input pattern validation
Michael Orlitzky [Thu, 2 Nov 2023 04:34:33 +0000 (00:34 -0400)]
index.html.in: use "*" instead of "+" for input pattern validation

The two are equivalent given the minlength restriction; I just like
this better.

6 months agoindex.html.in: tweak the slogan and add a security code hint
Michael Orlitzky [Thu, 2 Nov 2023 04:32:29 +0000 (00:32 -0400)]
index.html.in: tweak the slogan and add a security code hint

6 months agoindex.html.in: add the daily security code to the menu
Michael Orlitzky [Thu, 2 Nov 2023 04:23:45 +0000 (00:23 -0400)]
index.html.in: add the daily security code to the menu

6 months agoindex.html.in: uppercase the security code automatically
Michael Orlitzky [Thu, 2 Nov 2023 04:22:06 +0000 (00:22 -0400)]
index.html.in: uppercase the security code automatically

There's no reason to do this, except the only reason to do this:
people are dumb and this will help their dumb asses when we make
it possible to change the code via the menu.

6 months agoindex.html.in: make radio buttons on the menu required fields
Michael Orlitzky [Thu, 2 Nov 2023 02:35:06 +0000 (22:35 -0400)]
index.html.in: make radio buttons on the menu required fields

6 months agoindex.html.in: return the empty string for unknown MARC zones
Michael Orlitzky [Thu, 2 Nov 2023 02:33:17 +0000 (22:33 -0400)]
index.html.in: return the empty string for unknown MARC zones

6 months agoindex.html.in: add a few more MARC Train zone mappings
Michael Orlitzky [Thu, 2 Nov 2023 02:11:47 +0000 (22:11 -0400)]
index.html.in: add a few more MARC Train zone mappings

6 months agoindex.html.in: sketch the MARC zone-setting logic
Michael Orlitzky [Thu, 2 Nov 2023 01:48:50 +0000 (21:48 -0400)]
index.html.in: sketch the MARC zone-setting logic

6 months agoindex.html.in: tweak the slogan
Michael Orlitzky [Wed, 1 Nov 2023 23:48:46 +0000 (19:48 -0400)]
index.html.in: tweak the slogan

6 months agoindex.html.in: improved menu styling
Michael Orlitzky [Wed, 1 Nov 2023 23:46:14 +0000 (19:46 -0400)]
index.html.in: improved menu styling

In particular we no longer reset all of the html/body styles; we leave
them up to the user agent. Only when showing the ticket do we zero out
the margin and padding explicitly.

6 months agoindex.html.in: don't hide the body overflow on the menu screen
Michael Orlitzky [Wed, 1 Nov 2023 23:11:54 +0000 (19:11 -0400)]
index.html.in: don't hide the body overflow on the menu screen

6 months agoindex.html.in: add MARC Train origin/destination fields
Michael Orlitzky [Wed, 1 Nov 2023 23:07:10 +0000 (19:07 -0400)]
index.html.in: add MARC Train origin/destination fields

6 months agoindex.html.in: clean up var/let/const usage
Michael Orlitzky [Wed, 1 Nov 2023 19:18:45 +0000 (15:18 -0400)]
index.html.in: clean up var/let/const usage

6 months agoindex.html.in: ten-minute expiry for commuter bus tickets
Michael Orlitzky [Wed, 1 Nov 2023 19:14:23 +0000 (15:14 -0400)]
index.html.in: ten-minute expiry for commuter bus tickets

6 months agoindex.html.in: begin the menu process
Michael Orlitzky [Wed, 1 Nov 2023 19:09:49 +0000 (15:09 -0400)]
index.html.in: begin the menu process

The page should begin as a form that lets you select a ticket. Only
when that form is submitted should we display the ticket. This commit
starts the transition.