Commit Graph

3 Commits (03c6d1a120fc99b35423c38d5b237e549ac252bf)

Author SHA1 Message Date
Mailkov b53bcd0e51 Issue #1163 - Convert PublicDNS to use template 2015-12-09 18:59:10 +00:00
Matt Miller 704fc8cb6b PublicDNS: improve styling.
- Add a heading.
- Attempt to recreate a more appealing style.
- Add ABSTRACT to reduce test scroll-spam.

I tried to copy a suggested style.  I think I am pretty close, but since
that style is external, I can't just reuse it with impunity.
2014-04-27 10:25:04 +08:00
Matt Miller 47da8db500 PublicDNS: put items in a table.
Possibly the most roundabout way to resolve issue #375.

- Remove static files from share directory.
- Put info into a perl structure.
- Generate the two static texts from the structure.
- Add minimal test for proper form.

It's almost like I haven't heard of Text::Table or Template::Toolkit.
Nevertheless, I think this is not too arcane for this relatively simple
usage.  On the other hand, I am going to feel like a fool for not just
editing the two static files when it turns out there are never any
changes to the data.
2014-04-21 08:28:58 +08:00