Make SupportedDivecomputer HTML more compact

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Dirk Hohndel 2014-08-09 12:04:48 -07:00
parent 4617225f68
commit f80c3d8608
2 changed files with 46 additions and 89 deletions

View file

@ -1,110 +1,67 @@
<dl><dt>Aeris</dt><dd>
<ul>
<li>A300, A300 AI, Atmos 2, Atmos AI, Atmos AI 2, Compumask, Elite, Elite T3, Elite T3, Epic, Epic, F10, Manta, XR-1 NX, XR-2</li>
</ul>
<dl><dt>Aeris</dt><dd><ul>
<li>A300, A300 AI, Atmos 2, Atmos AI, Atmos AI 2, Compumask, Elite, Elite T3, Elite T3, Epic, Epic, F10, Manta, XR-1 NX, XR-2</li></ul>
</dd>
<dt>Apeks</dt><dd>
<ul>
<li>Quantum X</li>
</ul>
<dt>Apeks</dt><dd><ul>
<li>Quantum X</li></ul>
</dd>
<dt>Atomic Aquatics</dt><dd>
<ul>
<li>Cobalt, Cobalt 2</li>
</ul>
<dt>Atomic Aquatics</dt><dd><ul>
<li>Cobalt, Cobalt 2</li></ul>
</dd>
<dt>Beuchat</dt><dd>
<ul>
<li>Voyager 2G</li>
</ul>
<dt>Beuchat</dt><dd><ul>
<li>Voyager 2G</li></ul>
</dd>
<dt>Cressi</dt><dd>
<ul>
<li>Edy, Giotto, Leonardo</li>
</ul>
<dt>Cressi</dt><dd><ul>
<li>Edy, Giotto, Leonardo</li></ul>
</dd>
<dt>Dive Rite</dt><dd>
<ul>
<li>NiTek Q, NiTek Trio</li>
</ul>
<dt>Dive Rite</dt><dd><ul>
<li>NiTek Q, NiTek Trio</li></ul>
</dd>
<dt>Genesis</dt><dd>
<ul>
<li>React Pro, React Pro White</li>
</ul>
<dt>Genesis</dt><dd><ul>
<li>React Pro, React Pro White</li></ul>
</dd>
<dt>Heinrichs Weikamp</dt><dd>
<ul>
<li>Frog, OSTC, OSTC 2C, OSTC 2N, OSTC 3, OSTC Mk2</li>
</ul>
<dt>Heinrichs Weikamp</dt><dd><ul>
<li>Frog, OSTC, OSTC 2C, OSTC 2N, OSTC 3, OSTC Mk2</li></ul>
</dd>
<dt>Hollis</dt><dd>
<ul>
<li>DG03, TX1</li>
</ul>
<dt>Hollis</dt><dd><ul>
<li>DG03, TX1</li></ul>
</dd>
<dt>Mares</dt><dd>
<ul>
<li>Darwin, Darwin Air, Icon HD, Icon HD Net Ready, M1, M2, Matrix, Nemo, Nemo Air, Nemo Apneist, Nemo Excel, Nemo Steel, Nemo Titanium, Nemo Wide, Nemo Wide 2, Puck, Puck 2, Puck Air, Puck Pro</li>
</ul>
<dt>Mares</dt><dd><ul>
<li>Darwin, Darwin Air, Icon HD, Icon HD Net Ready, M1, M2, Matrix, Nemo, Nemo Air, Nemo Apneist, Nemo Excel, Nemo Steel, Nemo Titanium, Nemo Wide, Nemo Wide 2, Puck, Puck 2, Puck Air, Puck Pro</li></ul>
</dd>
<dt>Oceanic</dt><dd>
<ul>
<li>Atom 1.0, Atom 2.0, Atom 3.0, Atom 3.1, Datamask, Geo, Geo 2.0, OC1, OC1, OC1, OCS, OCi, Pro Plus 2, Pro Plus 2.1, Pro Plus 3, VT 4.1, VT Pro, VT3, VT4, Veo 1.0, Veo 180, Veo 2.0, Veo 200, Veo 250, Veo 3.0, Versa Pro</li>
</ul>
<dt>Oceanic</dt><dd><ul>
<li>Atom 1.0, Atom 2.0, Atom 3.0, Atom 3.1, Datamask, Geo, Geo 2.0, OC1, OC1, OC1, OCS, OCi, Pro Plus 2, Pro Plus 2.1, Pro Plus 3, VT 4.1, VT Pro, VT3, VT4, Veo 1.0, Veo 180, Veo 2.0, Veo 200, Veo 250, Veo 3.0, Versa Pro</li></ul>
</dd>
<dt>Reefnet</dt><dd>
<ul>
<li>Sensus, Sensus Pro, Sensus Ultra</li>
</ul>
<dt>Reefnet</dt><dd><ul>
<li>Sensus, Sensus Pro, Sensus Ultra</li></ul>
</dd>
<dt>Scubapro</dt><dd>
<ul>
<li>Meridian, XTender 5</li>
</ul>
<dt>Scubapro</dt><dd><ul>
<li>Meridian, XTender 5</li></ul>
</dd>
<dt>Seemann</dt><dd>
<ul>
<li>XP5</li>
</ul>
<dt>Seemann</dt><dd><ul>
<li>XP5</li></ul>
</dd>
<dt>Shearwater</dt><dd>
<ul>
<li>Petrel, Predator</li>
</ul>
<dt>Shearwater</dt><dd><ul>
<li>Petrel, Predator</li></ul>
</dd>
<dt>Sherwood</dt><dd>
<ul>
<li>Amphos, Insight, Insight 2, Wisdom, Wisdom 2, Wisdom 3</li>
</ul>
<dt>Sherwood</dt><dd><ul>
<li>Amphos, Insight, Insight 2, Wisdom, Wisdom 2, Wisdom 3</li></ul>
</dd>
<dt>Subgear</dt><dd>
<ul>
<li>XP Air, XP-10</li>
</ul>
<dt>Subgear</dt><dd><ul>
<li>XP Air, XP-10</li></ul>
</dd>
<dt>Suunto</dt><dd>
<ul>
<li>Cobra, Cobra 2, Cobra 3, D3, D4, D4i, D6, D6i, D9, D9tx, DX, Eon, Gekko, HelO2, Mosquito, Solution, Solution Alpha, Solution Nitrox, Spyder, Stinger, Vyper, Vyper 2, Vyper Air, Vytec, Zoop</li>
</ul>
<dt>Suunto</dt><dd><ul>
<li>Cobra, Cobra 2, Cobra 3, D3, D4, D4i, D6, D6i, D9, D9tx, DX, Eon, Gekko, HelO2, Mosquito, Solution, Solution Alpha, Solution Nitrox, Spyder, Stinger, Vyper, Vyper 2, Vyper Air, Vytec, Zoop</li></ul>
</dd>
<dt>Tusa</dt><dd>
<ul>
<li>Element II (IQ-750), Zen (IQ-900), Zen Air (IQ-950)</li>
</ul>
<dt>Tusa</dt><dd><ul>
<li>Element II (IQ-750), Zen (IQ-900), Zen Air (IQ-950)</li></ul>
</dd>
<dt>Uemis</dt><dd>
<ul>
<li>Zürich SDA</li>
</ul>
<dt>Uemis</dt><dd><ul>
<li>Zürich SDA</li></ul>
</dd>
<dt>Uwatec</dt><dd>
<ul>
<li>Aladin 2G, Aladin 2G, Aladin Air Twin, Aladin Air Z, Aladin Air Z Nitrox, Aladin Air Z O2, Aladin Prime, Aladin Pro, Aladin Pro Ultra, Aladin Sport Plus, Aladin Tec, Aladin Tec 2G, Galileo Luna, Galileo Sol, Galileo Terra, Galileo Trimix, Memomouse, Smart Com, Smart Pro, Smart Tec, Smart Z</li>
</ul>
<dt>Uwatec</dt><dd><ul>
<li>Aladin 2G, Aladin 2G, Aladin Air Twin, Aladin Air Z, Aladin Air Z Nitrox, Aladin Air Z O2, Aladin Prime, Aladin Pro, Aladin Pro Ultra, Aladin Sport Plus, Aladin Tec, Aladin Tec 2G, Galileo Luna, Galileo Sol, Galileo Terra, Galileo Trimix, Memomouse, Smart Com, Smart Pro, Smart Tec, Smart Z</li></ul>
</dd>
<dt>Zeagle</dt><dd>
<ul>
<dt>Zeagle</dt><dd><ul>
<li>N2iTiON3</li>
</ul>
</dd>

View file

@ -36,12 +36,12 @@ foreach (@sortedDescriptors) {
printf(", %s", $mod);
} else {
if ($lastVend lt "Uemis" && $vend gt "Uemis") {
printf("</li>\n\t</ul>\n </dd>\n <dt>Uemis</dt><dd>\n\t<ul>\n\t <li>Zürich SDA");
printf("</li></ul>\n </dd>\n <dt>Uemis</dt><dd><ul>\n\t <li>Zürich SDA");
}
if ($lastVend eq "") {
printf("<dl><dt>%s</dt><dd>\n\t<ul>\n\t <li>%s", $vend, $mod);
printf("<dl><dt>%s</dt><dd><ul>\n\t <li>%s", $vend, $mod);
} else {
printf("</li>\n\t</ul>\n </dd>\n <dt>%s</dt><dd>\n\t<ul>\n\t <li>%s", $vend, $mod);
printf("</li></ul>\n </dd>\n <dt>%s</dt><dd><ul>\n\t <li>%s", $vend, $mod);
}
}
} else {