Commit graph

575 commits

Author SHA1 Message Date
e9c732e4ae Handle tricky problems to get subtitles working on intro video
First and foremost, the mime type has to be supported by the web
server.  Either you have to add a `.vtt` mimetype, *or* just put it
as a `.txt` file.  I chose the latter since it doesn't require a
custom Apache configuration.

Second, even if you make it a `.txt` file, using a CDN does not seem
to work.  I suspect that maybe CDNs do really weird things with
mimetypes when they server them, or maybe the <track> element just
really doesn't like it when the URL is 301'd. 🤷

Anyway, with these two changes: using a `.txt` file, and hosting the
file locally, the subtitles now work properly!

Note, if you use the `default` attribute in the <track> tag, it'll
turn them on by default.  Leaving it off does allow the user to turn
them on in my tests in both Chromium and Firefox.
2022-05-12 17:15:30 -07:00
f3aa8b2de5 Correct subtitle file name. 2022-05-12 16:12:55 -07:00
11c1a1c08c Add track tag for subtitles; make source tag HTML5 closed. 2022-05-12 15:59:53 -07:00
8d5184e522 Sustainer page — note about video; frontpage — wider; add youtube
Link to the Youtube version for browsers where <video> element
doesn't work.

Note on the sustainer page that folks should watch it to learn about
us.

Widen into the big box on front page.
2022-05-12 15:39:29 -07:00
2d474ec09f put intro video on first page and replace holiday card 2022-05-12 15:26:51 -07:00
952ad1ae5a Switch alert box to talk about Neo4j 2022-03-30 10:31:38 -07:00
6186cadd17 add open letter to front page of website 2022-02-01 09:46:05 -08:00
bf3a3a3557 mdash html typos 2022-01-05 10:06:33 -08:00
76d739392d increase font size for full match 2022-01-04 15:42:03 -08:00
79e5e3df2c separate divs and add css for exceeded 2022-01-04 14:34:28 -08:00
f9de2d3c5a Make additional bar when time left with donation exceeding goal
This is a first draft of making another bar appear after the
completed "matched!" bar that will show how much extra we've gotten
beyond the match amount.
2022-01-04 14:05:16 -08:00
0cd9f174f5 fix link to vizio update 2022-01-04 07:19:49 -08:00
03391226c8 move holiday banner and put motion to remand info 2022-01-03 15:42:59 -08:00
151d7860fe Fix the anchor. 2022-01-01 20:19:21 -08:00
61ab745ca8 grammar fix 2021-12-29 10:29:38 -08:00
778efc615b change language around $1.7m 2021-12-29 10:20:42 -08:00
e578f0e003 add motion to remand to frontpage and update TotW 2021-12-28 18:07:57 -07:00
09de2c5c93 Restore anchor for Supporters; #supporters URL links may be common 2021-12-27 13:01:28 -08:00
2da09fd6e4 Remove holiday greeting from every page. 2021-12-27 09:40:02 -08:00
6274c97a50 Even more space is ok here. 2021-12-24 17:33:14 -08:00
6596b5d1b7 Take up more of the screen. 2021-12-24 17:29:29 -08:00
a3865b9bc1 Add CCS and add video to sustainer page. 2021-12-24 17:28:03 -08:00
c8428be9fe Formatting improvement. 2021-12-24 17:23:55 -08:00
1da80df423 Use video tag instead of image with a link to the video. 2021-12-24 17:22:09 -08:00
b52513592c Remove stray character. 2021-12-24 17:17:12 -08:00
6618fd1798 Slightly better formatting. 2021-12-24 17:16:35 -08:00
41789c474d Correct location of link. 2021-12-24 17:11:32 -08:00
b3cdec6be4 Add holiday card to banner at top for next few days
Also, fix a few URLs .
2021-12-24 17:08:47 -08:00
828445e2ed visual postcard link and add to /sustainer 2021-12-23 16:52:45 -05:00
14335e536e add postcard to frontpage 2021-12-23 15:10:47 -05:00
4ad5c2cdbb Revert removal of "safe" template tag from blog/news headlines.
Conservancy use HTML entities in their titles.
2021-12-18 08:58:53 +11:00
57a201dda5 remove number of sustainers 2021-12-17 09:43:02 -08:00
86d4c919b1 Remove unnecessary use of "safe" template tag.
This tag marks a variable as not requiring escaping by the template engine,
potentially creating cross-site scripting vulnerabilities, so shouldn't be used
unless absolutely necessary. In these cases, I don't think it's necessary.
2021-12-17 21:55:47 +11:00
3021e0d326 assignment: Accept current date anywhere on earth. 2021-12-17 10:54:47 +11:00
ecdfd87ffb assignment: Apply further wording updates from Pam/Denver. 2021-12-17 09:53:13 +11:00
8065de9b5c assignment: Mention 7 days on form. 2021-12-11 10:40:07 +11:00
56bcbd1e00 assignment: Validate that end date is provided if you didn't choose open-ended. 2021-12-10 18:37:13 +11:00
d3f3074f38 assignment: Apply Denver's requested changes. 2021-12-10 11:33:37 +11:00
a505a1c9f0 Add missing template. 2021-12-07 17:02:04 +11:00
58b38e93c2 Update the assignment form with feedback from Pam/Denver. 2021-12-07 16:55:45 +11:00
9bf3e2d03a Add assignment date range. 2021-12-07 09:59:40 +11:00
6a27ad74fe Add assignment thanks page. 2021-12-07 09:59:38 +11:00
030ce8d60c Add assignment template. 2021-12-07 09:58:56 +11:00
6b93bcc0ff Add selected highlight to top feature menu. 2021-12-03 15:04:54 +11:00
93fb48e3e3 Add simple CCS upload (no JavaScript). 2021-12-03 11:38:21 +11:00
456884437c Update glossary term of the week to CCS. 2021-11-30 06:23:22 -08:00
4465425441 Shorten DMCA text in the call-out since news is getting stale. 2021-11-30 06:23:22 -08:00
d7de456152 Continuing saga of the sizing chart problems for original shirts
Gildan removed the sizing chart entirely from their website again
after yet another redesign.  Originally, we deep-linked into files in
their CDN for the charts, but it appears that in fc2e002 that I
introduced cut-and-paste error on the sizing charts.  I cannot find
the original links, but finally I simply decided we'd mirror the
files in our CDN, which is where these now link to.

I suspect that I didn't do this to start for worrying about copyright
infringement, but upon second thought, I think it's very reasonably
fair use for us to distribute these images.  We bought a lot of
t-shirts from Gildan and just trying to sell through.
2021-11-27 10:51:51 -08:00
f0df8d0abd progress bar: Remove display-table vertical align workaround.
Was causing some display glitches on some browsers. Using nested flexbox instead.
2021-11-26 09:10:25 +11:00
c1886ed1a5 Remove one event per discussion with karen. 2021-11-23 10:12:55 -08:00