Commit Graph

14 Commits (194556f7388ca778528cde59aa8d4989e33e893f)

Author SHA1 Message Date
Matt Miller 1ea2b354b9 SunInfo: update tests for region_code -> region change. 2014-10-29 12:48:33 +02:00
Rob Emery ddf1784dc9 SunInfo: Cleaning up css & adding spaces 2014-10-29 12:48:33 +02:00
Rob Emery 13e4dd96d6 SunInfo: Switching markup to use linewrapping div and inline spans 2014-10-29 12:48:33 +02:00
Matt Miller 421518eb91 ImageLoader: use more standard methods to get at package symbols.
This may allwo for some code-sharing later.
2014-10-29 12:48:33 +02:00
Matt Miller 227e930310 SunInfo: expand triggering.
Allow for different ordering of terms.
2014-10-29 12:48:33 +02:00
Matt Miller cd2b374fe4 SunInfo: use ImageLoader to include images. 2014-10-29 12:48:33 +02:00
Matt Miller 903ce4331a SunInfo: add map pin. 2014-10-29 12:48:33 +02:00
Matt Miller 938fc03bdb SunInfo: iterating towards pretty.
Still not quite there, but perhaps @chrismorast is no longer vomiting.

Thanks to @mintsoft for the help.  Turns out that my previous hours of
trying similar things were undone by explicit `<br/s>` that I didn't
remember adding.  Sigh.

Outstanding questions:

- Is there a better way to pick max-width to avoid having it stretch too
  wide?
- Is there a theme-friendly way to pick the vertical separator (left
  border on right div) color?
- Don't I have a lot of repeated text for something which cascades?
2014-10-29 12:48:33 +02:00
Matt Miller c12449197e SunInfo: restyling.
Still not right, but perhaps salvageable.
2014-10-29 12:48:33 +02:00
Matt Miller 63afc4d8c9 SunInfo: create bizarre prose templating system.
Since I can't see what it looks like at the moment, I made it
crazy modular, extra emphasis on the crazy.
2014-10-29 12:48:33 +02:00
Matt Miller 0561d8ffec SunInfo: use less precise, but friendlier time. 2014-10-29 12:48:33 +02:00
Matt Miller f039a07278 SunInfo: trim back location to two most specific bits 2014-10-29 12:48:33 +02:00
Matt Miller 5121d7536f SunInfo: allow for question-form queries.
Also, add some more negative tests.
2014-10-29 12:48:33 +02:00
Matt Miller dc15d8cb83 SunInfo: add new Instant Answer for sunrise/sunset. 2014-10-29 12:48:33 +02:00