kalafut / wwv

WWV Simulator

Home Page:https://wwv.mcodes.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Bedside Clock

NCJECulver opened this issue · comments

Wanting this as a nightstand clock, I installed it on my home server and hacked the CSS (with a couple of minor html changes) to produce a simplified red-on-black clock display. In Safari on iOS do "Add to Homescreen" and you get an eminently usable facisimile of a WWV bedside clock app. I'll attach my hacks when they're ready. Meanwhile, the result can be viewed online (until such time as I take it down) at:

http://www.jenandcal.familyds.org/wwv/

One feature request: The ability to toggle display (only!) between local and UTC.

I like it! I’d be willing to have this as a setting or link on the main site. Though for that I think I prefer what you had originally... Bigger, centered, white controls.

I've got the CSS pretty much where I want it, so I'm posting the update here. Anyone's welcome to hack it for their tastes or to further improve it. I'm sure lots could be done with it.

There are three small modifications to INDEX.HTML: lines 65 and 124 add class "nodisplay" to allow the divs to be styled. And line 16 changes "main.css" to "nightstand.css".

Installation:

  1. Backup INDEX.HTML.
  2. Drop the new INDEX.HTML and NIGHTSTAND.CSS into the main folder.
  3. Place the included fonts in the font/ folder.

To go back to the default site, on line 16 of INDEX.HTML change "nightstand.css" to "main.css".

Here's the source (32.5kb): nightstand.zip

PS. Kalafut: I went with green controls because my eyes found the bright white a bit harsh when viewed in the dark. But of course that can be easily changed on line 103 of nightstand.css.