Show each trail's own emblem, keep a history on every record, and list what was left out
- Emblems for 81 trails, up from 41. Each is the trail's own crest, badge or roundel alone, cropped out of a larger logo where need be and made transparent where that could be done cleanly. Records without one say where an emblem was looked for. The validator checks the logo state. - Every record has a `[[history]]` list: what changed or was asked for, on what basis, who asked and whether it was applied or declined. `tools/check_history.py` fails a changed fact with no history entry and prints earlier entries about a changed field. It runs in CI before the site deploys. Each trail page shows the history. - A new page, "Considered and left out", built from `left-out.toml`: 35 trails and routes with the reason, the deciding fact and its source. - The Hoosier Heritage Trail has its ends, its free map set and its emblem from its association (issue 2). Any trail may list its holder's own guide or map set. - A stated permission is quoted in the download credit box. - `tools/gpx_track.py` turns a GPX file from a holder or a hiker into a record's track files. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
No files matched your search
@@ -1919,6 +1919,19 @@ td .linklist a { font-weight: 400; }
|
||||
.about-data > summary:focus-visible { outline-offset: -5px; }
|
||||
.about-data__body { max-inline-size: 54rem; padding: var(--space-5); border-block-start: 1px solid var(--rule); }
|
||||
.about-data__body > .rawrecord { margin-block-start: var(--space-7); }
|
||||
.about-data + .about-data { margin-block-start: var(--space-3); }
|
||||
|
||||
/* History of the record */
|
||||
.history { margin: 0; padding: 0; list-style: none; display: grid; gap: var(--space-4); font-family: var(--font-sans); }
|
||||
.history__entry { display: grid; gap: var(--space-1); padding-block-start: var(--space-4); border-block-start: 1px dotted var(--rule-strong); }
|
||||
.history__entry:first-child { padding-block-start: 0; border-block-start: 0; }
|
||||
.history__entry p { margin: 0; }
|
||||
.history__head { display: flex; flex-wrap: wrap; align-items: baseline; gap: var(--space-2); font-weight: 600; }
|
||||
.history__outcome { padding-inline: var(--space-2); border: 1px solid var(--rule-strong); font: 600 var(--step--2)/1.6 var(--font-sans); letter-spacing: 0.08em; text-transform: uppercase; }
|
||||
.history__basis, .history__who { color: var(--ink-2); font-size: var(--step--1); line-height: 1.5; }
|
||||
.history__basis a { overflow-wrap: anywhere; }
|
||||
.history__label { color: var(--ink); font-weight: 600; }
|
||||
.history__fields { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: var(--space-1) var(--space-2); font-size: var(--step--1); }
|
||||
|
||||
/* Home: collections ("Ways in") and states */
|
||||
.mapfig--wide { --map-ratio: 2 / 1; }
|
||||
|
||||
@@ -249,9 +249,11 @@ def logos_page(records, site, repo_root):
|
||||
<div class="container section"><div class="section-head"><h2>Every logo in the dataset</h2>
|
||||
<p>{len(with_logo)} records include a logo file.</p></div>
|
||||
<ul class="logo-grid">{cards}</ul>
|
||||
<p class="note">No logo file is included for the other records: {counts["no-logo-exists"]} are recorded as
|
||||
having no logo (<code class="raw">no-logo-exists</code>) and {counts["logo-not-found"]} as
|
||||
logo not found (<code class="raw">logo-not-found</code>).</p></div>"""
|
||||
<p class="note">No logo file is included for the other records. {counts["no-logo-exists"]} have no emblem of
|
||||
their own (<code class="raw">no-logo-exists</code>): the pages that would show one were checked and none does.
|
||||
{counts["logo-not-found"]} have an emblem, or may have one, but no usable artwork of it was found at a source the
|
||||
dataset allows (<code class="raw">logo-not-found</code>). Each record says in its logo note where an emblem was
|
||||
looked for.</p></div>"""
|
||||
return "Logos", "Trail logos, their holders, and how a holder can ask for removal.", Markup(body)
|
||||
|
||||
|
||||
@@ -267,6 +269,7 @@ ABOUT_PARTS = (
|
||||
("/logos/", "Logos", "Each trail's logo, who holds it, and how to ask for removal"),
|
||||
("/data/schema/", "Record schema", "Every field of a trail's record (trail.toml) and what it means"),
|
||||
("/data/changelog/", "Changelog", "What changed, release by release"),
|
||||
("/left-out/", "Considered and left out", "Trails that were looked at and left out, and why"),
|
||||
("#correct-or-add", "Correct or add a trail", "Report a problem, suggest a trail, or edit the data"),
|
||||
)
|
||||
|
||||
@@ -312,7 +315,8 @@ def about_page(records, site, repo_root):
|
||||
forms = (f'<ul class="linklist">'
|
||||
f'<li><a href="{esc(site.correction_url())}">Report a problem</a><small>A short form, no git needed. '
|
||||
f'Every trail page also has its own link, with the trail filled in.</small></li>'
|
||||
f'<li><a href="{esc(site.new_trail_url)}">Suggest a trail</a><small>A short form for a trail that is missing</small></li>'
|
||||
f'<li><a href="{esc(site.new_trail_url)}">Suggest a trail</a><small>A short form for a trail that is missing. '
|
||||
f'First look at <a href="/left-out/">Considered and left out</a>, in case it has been decided already</small></li>'
|
||||
f'<li><a href="{esc(site.removal_url)}">Ask for a track or logo to be removed</a><small>For the holder of a track or a logo</small></li>'
|
||||
f'<li><a href="{esc(site.repo_url)}">Edit the data yourself</a><small>The source repository: one text file per trail</small></li>'
|
||||
f'</ul>')
|
||||
@@ -342,6 +346,8 @@ a trail association, or a route: {esc(facets.ROUTE_DEFINITION[0].lower() + facet
|
||||
trails between 37 and 50 miles (60 and 80 km).</p>
|
||||
<p>Each record has a <em>tier</em>, which says why it is listed. A record can also be <em>held</em>: listed,
|
||||
but with something about it not yet settled, which its note says.</p>
|
||||
<p>Trails that were looked at and left out are kept in the open too, with the reason for each one:
|
||||
<a href="/left-out/">Considered and left out</a>. Look there before suggesting a trail.</p>
|
||||
<div class="table-wrap"><table><thead><tr><th scope="col">Tier</th><th scope="col">What it means</th><th scope="col">Records</th></tr></thead>
|
||||
<tbody>{tier_rows}<tr><td>Held <code class="raw">wave = "held"</code></td><td>{esc(words.meaning(words.WAVES, "held"))}. Any tier can be held.</td><td class="num">{held}</td></tr></tbody></table></div>
|
||||
<p>These states are for keeping the dataset. They are not shown when browsing trails, and they do not change
|
||||
|
||||
@@ -30,7 +30,8 @@ NAV = (
|
||||
# lists (Routes among them) are part of Trails; the dataset pages are part of
|
||||
# About and are linked from the About hub and the footer.
|
||||
NAV_PARENT = {"/trails/": "/", "/lists/": "/", "/routes/": "/",
|
||||
"/sources/": "/about/", "/logos/": "/about/", "/data/": "/about/"}
|
||||
"/sources/": "/about/", "/logos/": "/about/", "/data/": "/about/",
|
||||
"/left-out/": "/about/"}
|
||||
|
||||
FONT_PRELOADS = (
|
||||
"/assets/fonts/source-serif-4-latin.woff2",
|
||||
@@ -146,6 +147,7 @@ def footer(site):
|
||||
<li><a href="/data/">Data and downloads</a></li>
|
||||
<li><a href="/sources/">Sources and their terms</a></li>
|
||||
<li><a href="/logos/">Logos</a></li>
|
||||
<li><a href="/left-out/">Considered and left out</a></li>
|
||||
{report}
|
||||
</ul>
|
||||
</nav>
|
||||
|
||||
@@ -0,0 +1,144 @@
|
||||
"""The Considered and left out page (/left-out/): built from left-out.toml.
|
||||
|
||||
left-out.toml holds the trails and routes that were looked at and left out
|
||||
of the dataset, with the reason, the deciding fact, the page that shows it
|
||||
and the date the decision was made. Its fields are in docs/schema.md.
|
||||
Everything on this page comes from that file and from web/site.toml.
|
||||
"""
|
||||
import os
|
||||
import tomllib
|
||||
|
||||
from . import words
|
||||
from .markup import Markup, esc
|
||||
|
||||
FILE_NAME = "left-out.toml"
|
||||
PATH = "/left-out/"
|
||||
REAL_ROOT = os.path.dirname(os.path.dirname(os.path.dirname(os.path.abspath(__file__))))
|
||||
|
||||
# reason -> (heading, one plain sentence on what the heading means).
|
||||
# Ordered as the inclusion rule states them; the page follows this order.
|
||||
REASONS = {
|
||||
"below-floor": ("Below the 50 mile floor",
|
||||
"The floor for this list is 50 miles (80 km), apart from a few well known shorter trails."),
|
||||
"rail-trail-or-towpath": ("Rail trails and canal towpaths",
|
||||
"Paths made mainly for cycling, such as gravel rail trails and canal towpaths, are not listed."),
|
||||
"driving-route": ("Mainly driving or motor routes",
|
||||
"Historic trails that are mainly driving routes with short walkable pieces are not listed."),
|
||||
"not-mainly-walking": ("Mainly for bikes, horses or motor vehicles",
|
||||
"A trail made mainly for other users is not a walking trail for this list."),
|
||||
"network": ("Networks, not one trail",
|
||||
"This list holds one named trail or route at a time, not a whole network of trails."),
|
||||
"cannot-be-walked-through": ("Cannot be walked through",
|
||||
"A listed trail can be walked as one continuous walk, road links allowed."),
|
||||
"mostly-unbuilt": ("Mostly unbuilt or still proposed",
|
||||
"A trail that does not yet exist on the ground cannot be listed."),
|
||||
"not-published-as-route": ("Not published as a route by its author",
|
||||
"A route is listed when its author has published it as a route, with a stated length."),
|
||||
"waiting": ("Waiting",
|
||||
"Not left out for good. Each entry says what would change the decision."),
|
||||
}
|
||||
REASON_ORDER = tuple(REASONS)
|
||||
|
||||
|
||||
def load_entries(repo_root):
|
||||
"""The [[trail]] entries of left-out.toml, or [] when the file is not there."""
|
||||
for base in (repo_root, REAL_ROOT):
|
||||
path = os.path.join(base, FILE_NAME)
|
||||
if os.path.isfile(path):
|
||||
with open(path, "rb") as f:
|
||||
doc = tomllib.load(f)
|
||||
return doc.get("trail") or []
|
||||
return []
|
||||
|
||||
|
||||
def _where(entry):
|
||||
names = [words.region_name(str(c)) for c in entry.get("regions", [])]
|
||||
return ", ".join(names)
|
||||
|
||||
|
||||
def _length(entry):
|
||||
"""The length as the holder or author states it: length_note in words,
|
||||
else both units with miles first, else nothing (no page states one)."""
|
||||
note = entry.get("length_note")
|
||||
if note:
|
||||
return esc(note)
|
||||
km = entry.get("length_km")
|
||||
mi = entry.get("length_mi")
|
||||
if km is None and mi is not None:
|
||||
km = mi * words.KM_PER_MI
|
||||
if km is None:
|
||||
return Markup("")
|
||||
return words.length(km, mi=mi)
|
||||
|
||||
|
||||
def _opening(entries, site):
|
||||
n = len(entries)
|
||||
gone = sum(1 for e in entries if e.get("was_listed"))
|
||||
second = ("Every one of them is a good walk in its own right and was left "
|
||||
"out only because it does not meet the rule this list uses")
|
||||
if gone:
|
||||
second += (f", and {gone} of them {'were' if gone != 1 else 'was'} "
|
||||
"listed here once and later removed")
|
||||
parts = [
|
||||
f"This page lists {n} trails and routes that were considered for this "
|
||||
"dataset and left out, with the reason, the deciding fact and the date "
|
||||
"for each one.",
|
||||
second + ".",
|
||||
]
|
||||
ask = "open an issue"
|
||||
if site.issues_url:
|
||||
ask = f'<a href="{esc(site.issues_url)}">open an issue</a>'
|
||||
parts.append(
|
||||
f"If the facts behind a decision have changed, {ask} and give a page "
|
||||
"that shows the change, and the decision will be looked at again.")
|
||||
return Markup(" ".join(parts))
|
||||
|
||||
|
||||
def left_out_page(entries, site, repo_root):
|
||||
"""(title, description, body) for /left-out/, from left-out.toml entries."""
|
||||
bread = Markup('<nav class="breadcrumb" aria-label="Breadcrumb"><ol>'
|
||||
'<li><a href="/about/">About</a></li>')
|
||||
groups = ""
|
||||
for reason in REASON_ORDER:
|
||||
listed = [e for e in entries if e.get("reason") == reason]
|
||||
if not listed:
|
||||
continue
|
||||
heading, meaning = REASONS[reason]
|
||||
rows = ""
|
||||
for e in listed:
|
||||
mark = ""
|
||||
if e.get("was_listed"):
|
||||
mark = '<br><span class="tag">Once listed here</span>'
|
||||
why = f"<p>{esc(e.get('note', ''))}</p>"
|
||||
if e.get("waiting_for"):
|
||||
why += (f"<p>It would be listed if this changes: "
|
||||
f"{esc(e['waiting_for'])}</p>")
|
||||
source = ""
|
||||
if e.get("source_url"):
|
||||
source = (f'<a href="{esc(e["source_url"])}">Source page</a>')
|
||||
rows += (
|
||||
f"<tr><td>{esc(e.get('name', ''))}{mark}</td>"
|
||||
f"<td>{esc(_where(e))}</td>"
|
||||
f"<td>{_length(e)}</td>"
|
||||
f"<td>{why}</td>"
|
||||
f'<td><time datetime="{esc(e.get("decided", ""))}">'
|
||||
f"{esc(e.get('decided', ''))}</time></td>"
|
||||
f"<td>{source}</td></tr>")
|
||||
groups += f"""<section aria-labelledby="left-out-{esc(reason)}">
|
||||
<div class="section-head"><h2 id="left-out-{esc(reason)}">{esc(heading)}</h2>
|
||||
<p>{esc(meaning)}</p></div>
|
||||
<div class="table-wrap"><table>
|
||||
<thead><tr><th scope="col">Trail</th><th scope="col">Where</th><th scope="col">Length</th><th scope="col">Why it is left out</th><th scope="col">Decided</th><th scope="col">Source</th></tr></thead>
|
||||
<tbody>{rows}</tbody></table></div>
|
||||
</section>"""
|
||||
body = f"""<div class="page-head"><div class="container">{bread}<li aria-current="page">Considered and left out</li></ol></nav><header class="titleblock">
|
||||
<div class="titleblock__text"><h1>Considered and left out</h1>
|
||||
<p class="page-head__lede">Trails and routes that were looked at for this dataset and left out, and why.</p>
|
||||
</div></header></div></div>
|
||||
<div class="container section">
|
||||
<p class="prose">{_opening(entries, site)}</p>
|
||||
{groups}
|
||||
</div>"""
|
||||
description = ("Trails and routes considered for this dataset and left out: "
|
||||
"the reason, the deciding fact and its source page for each one.")
|
||||
return "Considered and left out", description, Markup(body)
|
||||
@@ -10,7 +10,7 @@ writes:
|
||||
/trails/<id>/shield-thumb.png the list-size copy of a PNG logo (olt/thumbs.py)
|
||||
/regions/, /regions/<slug>/ Places: the hub and one page per state or province
|
||||
/lists/, /lists/<key>/ the lists shown today (olt/browse.py); /routes/ is the Routes list
|
||||
/about/ and the pages under it: /data/, /data/schema/, /data/changelog/, /sources/, /logos/
|
||||
/about/ and the pages under it: /data/, /data/schema/, /data/changelog/, /sources/, /logos/, /left-out/
|
||||
/saved/ the visitor's saved trails (olt/saved.py; not indexed)
|
||||
/404.html not found
|
||||
|
||||
@@ -22,7 +22,7 @@ import json
|
||||
import os
|
||||
import shutil
|
||||
|
||||
from . import browse, docs, home, layout, regions, saved, seo, site as site_settings, thumbs, trail
|
||||
from . import browse, docs, home, layout, leftout, regions, saved, seo, site as site_settings, thumbs, trail
|
||||
|
||||
WEB_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
|
||||
ASSETS_DIR = os.path.join(WEB_DIR, "assets")
|
||||
@@ -133,6 +133,8 @@ def render_site(records, out_dir, repo_root, site=None):
|
||||
add("/data/schema/", t, d, b)
|
||||
t, d, b = docs.changelog_page(site, repo_root)
|
||||
add("/data/changelog/", t, d, b)
|
||||
t, d, b = leftout.left_out_page(leftout.load_entries(repo_root), site, repo_root)
|
||||
add(leftout.PATH, t, d, b)
|
||||
# The visitor's own list: not indexed, and left out of the sitemap below.
|
||||
t, d, b = saved.saved_page(records, site)
|
||||
layout.write_page(out_dir, saved.PATH, layout.layout(
|
||||
|
||||
@@ -69,6 +69,6 @@ def all_paths(records, region_paths):
|
||||
"""Every indexable page path, in nav order then record pages."""
|
||||
paths = ["/", "/regions/"] + list(region_paths) + [
|
||||
"/routes/", "/sources/", "/logos/", "/about/", "/data/",
|
||||
"/data/schema/", "/data/changelog/"]
|
||||
"/data/schema/", "/data/changelog/", "/left-out/"]
|
||||
paths += [common.trail_path(r) for r in sorted(records, key=lambda r: r["id"])]
|
||||
return paths
|
||||
@@ -575,7 +575,9 @@ def downloads_panel(rec):
|
||||
licence_html = Markup(f'{licence_html}; OpenStreetMap parts {ext_link(words.LICENCE_URLS["ODbL-1.0"], "ODbL 1.0")}')
|
||||
osm_note = ("<p class=\"note\">Tracks from OpenStreetMap need the credit “© OpenStreetMap contributors” "
|
||||
"and stay under the ODbL (share-alike).</p>") if "ODbL" in src.get("attribution", "") + licence else ""
|
||||
licence_note = (f'<p class="note">{esc(words.LICENCE_NOTES[licence])}</p>'
|
||||
permission = permission_figure(src)
|
||||
licence_note = (f'<p class="note">{esc(words.LICENCE_NOTES[licence])}'
|
||||
f'{" The statement is quoted below." if permission else ""}</p>'
|
||||
if licence in words.LICENCE_NOTES else "")
|
||||
release = (f'<p class="note"><a href="/trails/{esc(rec["id"])}/release.txt">release.txt</a>: '
|
||||
f"the source, licence and date the track files came from.</p>"
|
||||
@@ -594,7 +596,7 @@ def downloads_panel(rec):
|
||||
<button class="button button--quiet" type="button" data-copy="#credit-text" data-copy-status="#credit-done" aria-describedby="credit-label" hidden>Copy credit</button>
|
||||
</div>
|
||||
<p class="credit__done" id="credit-done" role="status"></p>
|
||||
{osm_note}{licence_note}
|
||||
{osm_note}{licence_note}{permission}
|
||||
</div>
|
||||
{release}
|
||||
</div>
|
||||
@@ -647,10 +649,10 @@ def guides_panel(rec):
|
||||
return ""
|
||||
cards = "".join(guide_card(g, i) for i, g in enumerate(guides, 1))
|
||||
return f"""<section class="panel" aria-labelledby="guides-title">
|
||||
<h2 class="panel__head" id="guides-title">Where to get the route</h2>
|
||||
<h2 class="panel__head" id="guides-title">{"Where to get the route" if common.is_route(rec) else "Maps and guides"}</h2>
|
||||
<div class="panel__body">
|
||||
<ul class="guides">{cards}</ul>
|
||||
<p class="note">Links go to the author’s or publisher’s own page for each guide.</p>
|
||||
<p class="note">Links go to the {"author’s or publisher’s" if common.is_route(rec) else "holder’s"} own page for each guide.</p>
|
||||
</div>
|
||||
</section>"""
|
||||
|
||||
@@ -936,6 +938,21 @@ def elevation_block(rec):
|
||||
return block("elevation-data-title", "Elevation", content)
|
||||
|
||||
|
||||
def permission_figure(src):
|
||||
"""The quoted words of a track shared by stated permission: the quotation, who said it and
|
||||
when, and the page it was read at. Empty for any other licence."""
|
||||
if src.get("licence") != "stated-permission" or not src.get("permission_quote"):
|
||||
return ""
|
||||
url = src.get("permission_url", "")
|
||||
return f"""<figure class="quote">
|
||||
<blockquote{f' cite="{esc(url)}"' if url else ""}><p>{esc(src["permission_quote"])}</p></blockquote>
|
||||
<figcaption>
|
||||
<p class="quote__who">Said by {esc(src.get("permission_by", ""))} on {esc(src.get("permission_date", ""))}.</p>
|
||||
{f'<p>Read at {ext_link(url)}.</p>' if url else ""}
|
||||
</figcaption>
|
||||
</figure>"""
|
||||
|
||||
|
||||
def source_block(rec):
|
||||
src = rec["source"]
|
||||
line = common.has_line(rec)
|
||||
@@ -973,17 +990,9 @@ def source_block(rec):
|
||||
]
|
||||
if src.get("decision") or src.get("decision_text"):
|
||||
rows.append(fact("Decision", src.get("decision_text", "") or words.DECISIONS.get(src.get("decision", ""), src.get("decision", ""))))
|
||||
licence_note = (f'<p>{esc(words.LICENCE_NOTES[licence])}</p>' if licence in words.LICENCE_NOTES else "")
|
||||
permission = ""
|
||||
if licence == "stated-permission" and src.get("permission_quote"):
|
||||
url = src.get("permission_url", "")
|
||||
permission = f"""<figure class="quote">
|
||||
<blockquote{f' cite="{esc(url)}"' if url else ""}><p>{esc(src["permission_quote"])}</p></blockquote>
|
||||
<figcaption>
|
||||
<p class="quote__who">Said by {esc(src.get("permission_by", ""))} on {esc(src.get("permission_date", ""))}.</p>
|
||||
{f'<p>Read at {ext_link(url)}.</p>' if url else ""}
|
||||
</figcaption>
|
||||
</figure>"""
|
||||
permission = permission_figure(src)
|
||||
licence_note = (f'<p>{esc(words.LICENCE_NOTES[licence])}{" The statement is quoted below." if permission else ""}</p>'
|
||||
if licence in words.LICENCE_NOTES else "")
|
||||
licence_text = (f'<h3 class="block__sub">What the source says</h3>{licence_note}{Markup(permission)}{record_text(src["licence_text"])}'
|
||||
'<p class="note">With the page it was read on. Not legal advice.</p>') if src.get("licence_text") else ""
|
||||
return block("source-title", "Source and licence", facts(*rows) + Markup(licence_text))
|
||||
@@ -1005,16 +1014,13 @@ def logo_block(rec):
|
||||
sh = rec.get("shield", {})
|
||||
status = sh.get("status", "")
|
||||
if not common.shield_url(rec):
|
||||
# No logo file: one line, the status and the record's note.
|
||||
lead = {"no-logo-exists": "No logo", "logo-not-found": "Logo not found",
|
||||
"use-real-logo": "Logo not included"}.get(status, "No logo file")
|
||||
# No logo file. The two states say different things: the trail has no emblem of its
|
||||
# own, or it has (or may have) one and no usable artwork of it was found.
|
||||
lead = {"no-logo-exists": "No emblem of its own",
|
||||
"logo-not-found": "Emblem not found"}.get(status, "No logo file")
|
||||
why = {"logo-not-found": " An emblem exists or may exist, but no usable artwork of it was found "
|
||||
"at a source the dataset allows."}.get(status, "")
|
||||
note = sh.get("note", "")
|
||||
# "use-real-logo" without a file: the trail has a logo, but no copy is here.
|
||||
why = ""
|
||||
if status == "use-real-logo":
|
||||
holder = sh.get("logo_owner") or sh.get("contact") or ""
|
||||
why = (f" The trail has a logo{', held by ' + str(esc(holder)) if holder else ''}, "
|
||||
"but no copy of it is in this dataset.")
|
||||
return block("logo-title", "Logo", Markup(
|
||||
f'<p class="record-text"><strong>{esc(lead)}.</strong>{why}{" " + common.rich(note) if note else ""}</p>'))
|
||||
rows = [
|
||||
@@ -1096,6 +1102,45 @@ def about_data(rec, site):
|
||||
</details>"""
|
||||
|
||||
|
||||
HISTORY_LABELS = {"declined": "Request declined"}
|
||||
|
||||
|
||||
def history_entry(e):
|
||||
"""One entry of the record's [[history]], as a list item."""
|
||||
outcome = e.get("outcome", "")
|
||||
label = HISTORY_LABELS.get(outcome, "")
|
||||
url = e.get("basis_url", "")
|
||||
basis = esc(e.get("basis", ""))
|
||||
link = f' <a href="{esc(url)}">{esc(url)}</a>' if url else ""
|
||||
fields = "".join(f"<li><code>{esc(f)}</code></li>" for f in e.get("fields", []))
|
||||
date = esc(e.get("date", ""))
|
||||
return f"""<li class="history__entry history__entry--{esc(outcome)}">
|
||||
<p class="history__head"><time datetime="{date}">{date}</time>{f' <strong class="history__outcome">{esc(label)}</strong>' if label else ""}</p>
|
||||
<p class="history__change">{esc(e.get("change", ""))}</p>
|
||||
<p class="history__basis"><span class="history__label">Basis:</span> {basis}{link}</p>
|
||||
<p class="history__who"><span class="history__label">Asked by:</span> {esc(e.get("asked_by", ""))}</p>
|
||||
<ul class="history__fields" aria-label="Fields it concerns">{fields}</ul>
|
||||
</li>"""
|
||||
|
||||
|
||||
def history_section(rec):
|
||||
"""Who asked for what on this record, on what evidence, and what was declined: collapsed,
|
||||
beside "About this data". Left out when the record has no history."""
|
||||
entries = [e for e in rec.get("history", []) if isinstance(e, dict)]
|
||||
if not entries:
|
||||
return ""
|
||||
count = len(entries)
|
||||
return f"""<details class="about-data about-data--history" id="record-history">
|
||||
<summary><h2 id="record-history-title">History of this record</h2>
|
||||
<span class="about-data__hint">What was changed or asked for, on what evidence, and who asked, oldest first ({count} entr{"y" if count == 1 else "ies"})</span></summary>
|
||||
<div class="about-data__body detail__main">
|
||||
<ol class="history">
|
||||
{"".join(history_entry(e) for e in entries)}
|
||||
</ol>
|
||||
</div>
|
||||
</details>"""
|
||||
|
||||
|
||||
def page_foot(rec, site):
|
||||
"""The plain lines under the hiker's part: not for navigation, and how to report a problem."""
|
||||
report = ""
|
||||
@@ -1224,6 +1269,7 @@ def render(rec, site, records=None):
|
||||
{onward(rec, records)}
|
||||
{page_foot(rec, site)}
|
||||
{about_data(rec, site)}
|
||||
{history_section(rec)}
|
||||
</div>"""
|
||||
return rec["name"], description(rec), body, has_map
|
||||
|
||||
|
||||
@@ -72,8 +72,7 @@ LICENCES = {
|
||||
}
|
||||
LICENCE_NOTES = {
|
||||
"stated-permission": ("Shared with permission. The holder has said in writing that this track may be "
|
||||
"shared; the statement is quoted below. It is not public domain and not a "
|
||||
"Creative Commons licence."),
|
||||
"shared. It is not public domain and not a Creative Commons licence."),
|
||||
}
|
||||
LICENCE_URLS = {
|
||||
"us-gov-public-domain": "https://www.usa.gov/government-works",
|
||||
@@ -94,8 +93,8 @@ POLICIES = {
|
||||
}
|
||||
SHIELD_STATUS = {
|
||||
"use-real-logo": ("Logo in use", "The trail has a logo"),
|
||||
"no-logo-exists": ("No logo", "No logo exists for this trail"),
|
||||
"logo-not-found": ("Logo not found", "No logo file was found"),
|
||||
"no-logo-exists": ("No emblem of its own", "The trail has no emblem of its own"),
|
||||
"logo-not-found": ("Emblem not found", "An emblem exists or may exist, but no usable artwork of it was found"),
|
||||
}
|
||||
ACCESS = {"free": "Free", "purchase": "Purchase"}
|
||||
DECISIONS = {"included-named": "Included with its name"}
|
||||
|
||||
@@ -145,7 +145,9 @@ class BuildTreeTest(unittest.TestCase):
|
||||
f.write("x")
|
||||
os.remove(os.path.join(self.root, "avon", "line.geojson"))
|
||||
self.build()
|
||||
self.assertEqual(sorted(os.listdir(tdir)), ["index.html", "release.txt", "trail.toml"])
|
||||
# The trail's own logo file, where the record has one, is copied beside its page.
|
||||
logo = [f for f in ("shield.png", "shield.svg") if os.path.exists(os.path.join(self.root, "avon", f))]
|
||||
self.assertEqual(sorted(os.listdir(tdir)), sorted(["index.html", "release.txt", "trail.toml"] + logo))
|
||||
|
||||
def test_removed_trail_directory_is_pruned(self):
|
||||
self.build()
|
||||
|
||||
@@ -0,0 +1,179 @@
|
||||
"""The "History of this record" section of a trail page, and the permission block in the credit box."""
|
||||
import html
|
||||
import os
|
||||
import re
|
||||
import sys
|
||||
import unittest
|
||||
|
||||
WEB = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
|
||||
sys.path.insert(0, WEB)
|
||||
sys.path.insert(0, os.path.dirname(os.path.abspath(__file__)))
|
||||
|
||||
from olt import records, site, trail, words # noqa: E402
|
||||
from test_hike import with_line # noqa: E402
|
||||
from test_pages import sample_record # noqa: E402
|
||||
|
||||
S = site.Site("N", "T", repo_url="https://github.com/o/r")
|
||||
QUOTE = "It's completely public and free to share."
|
||||
ADDED = {"date": "2026-11-01", "change": "The record was added.", "fields": ["record"],
|
||||
"basis": "The record's own source entry: Example Trail Association.",
|
||||
"asked_by": "the dataset's own check", "outcome": "applied"}
|
||||
CHANGED = {"date": "2026-11-12", "change": "The length was changed to 160 miles (257 km).",
|
||||
"fields": ["length_km", "length_note"], "basis": "The association's page for the trail gives 160 miles.",
|
||||
"basis_url": "https://example.org/trail?a=1&b=2", "asked_by": "the trail association's president",
|
||||
"outcome": "applied"}
|
||||
DECLINED = {"date": "2026-11-14", "change": "A request to shorten it to 150 miles (241 km) was not applied.",
|
||||
"fields": ["length_km"], "basis": "The association's own page still says 160 miles.",
|
||||
"basis_url": "https://github.com/o/r/issues/9", "asked_by": "a hiker", "outcome": "declined"}
|
||||
|
||||
|
||||
def with_history(*entries):
|
||||
rec = sample_record("Example Trail")
|
||||
rec["history"] = [dict(e) for e in entries]
|
||||
return rec
|
||||
|
||||
|
||||
def flat(text):
|
||||
return re.sub(r"\s+", " ", html.unescape(re.sub(r"<[^>]+>", " ", text)))
|
||||
|
||||
|
||||
def permission_record():
|
||||
rec = with_line(sample_record("Example Trail"))
|
||||
rec["source"].update({"licence": "stated-permission", "attribution": "Example Trail Association",
|
||||
"licence_text": "The association's president answered a form on the issue tracker.",
|
||||
"permission_quote": QUOTE, "permission_by": "the association's president",
|
||||
"permission_date": "2026-11-16",
|
||||
"permission_url": "https://github.com/o/r/issues/2"})
|
||||
return rec
|
||||
|
||||
|
||||
class HistorySectionTest(unittest.TestCase):
|
||||
def section(self, *entries):
|
||||
return trail.history_section(with_history(*entries))
|
||||
|
||||
def test_collapsed_section_beside_about_this_data(self):
|
||||
body = trail.render(with_history(ADDED, CHANGED), S)[2]
|
||||
self.assertIn('<details class="about-data about-data--history" id="record-history">', body)
|
||||
self.assertNotIn("<details class=\"about-data about-data--history\" id=\"record-history\" open", body)
|
||||
self.assertIn("<h2 id=\"record-history-title\">History of this record</h2>", body)
|
||||
self.assertLess(body.index('<details class="about-data" id="about-data">'), body.index("History of this record"))
|
||||
self.assertEqual(body.count("History of this record"), 1)
|
||||
|
||||
def test_one_entry(self):
|
||||
part = self.section(ADDED, CHANGED)
|
||||
self.assertIn('<li class="history__entry history__entry--applied">', part)
|
||||
self.assertIn('<time datetime="2026-11-12">2026-11-12</time>', part)
|
||||
self.assertIn('<p class="history__change">The length was changed to 160 miles (257 km).</p>', part)
|
||||
self.assertIn('<p class="history__basis"><span class="history__label">Basis:</span> '
|
||||
"The association's page for the trail gives 160 miles. "
|
||||
'<a href="https://example.org/trail?a=1&b=2">https://example.org/trail?a=1&b=2</a></p>', part)
|
||||
self.assertIn('<p class="history__who"><span class="history__label">Asked by:</span> '
|
||||
"the trail association's president</p>", part)
|
||||
self.assertIn("<li><code>length_km</code></li><li><code>length_note</code></li>", part)
|
||||
|
||||
def test_entries_run_oldest_first_as_the_record_has_them(self):
|
||||
part = self.section(ADDED, CHANGED, DECLINED)
|
||||
self.assertLess(part.index("2026-11-01"), part.index("2026-11-12"))
|
||||
self.assertLess(part.index("2026-11-12"), part.index("2026-11-14"))
|
||||
self.assertIn("3 entries", part)
|
||||
self.assertIn("1 entry", self.section(ADDED))
|
||||
|
||||
def test_declined_request_has_a_plain_label_and_applied_has_none(self):
|
||||
part = self.section(ADDED, DECLINED)
|
||||
self.assertIn('<li class="history__entry history__entry--declined">', part)
|
||||
self.assertEqual(part.count("Request declined"), 1)
|
||||
declined = part[part.index("history__entry--declined"):]
|
||||
self.assertIn('<strong class="history__outcome">Request declined</strong>', declined)
|
||||
self.assertNotIn("Request declined", part[:part.index("history__entry--declined")])
|
||||
|
||||
def test_no_address_means_no_link(self):
|
||||
part = self.section(ADDED)
|
||||
self.assertNotIn("<a ", part)
|
||||
self.assertIn("The record's own source entry: Example Trail Association.", part)
|
||||
|
||||
def test_text_is_escaped(self):
|
||||
bad = dict(CHANGED, change="<script>alert(1)</script>", asked_by='"a" & <b>')
|
||||
part = self.section(ADDED, bad)
|
||||
self.assertNotIn("<script>", part)
|
||||
self.assertIn("<script>", part)
|
||||
self.assertIn("& <b>", part)
|
||||
|
||||
def test_a_record_with_no_history_has_no_section(self):
|
||||
rec = sample_record("Example Trail")
|
||||
self.assertEqual(trail.history_section(rec), "")
|
||||
self.assertNotIn("History of this record", trail.render(rec, S)[2])
|
||||
|
||||
def test_it_is_generated_from_the_record_alone(self):
|
||||
words_in_page = flat(self.section(ADDED, CHANGED, DECLINED))
|
||||
for label in ("History of this record", "Basis:", "Asked by:", "Request declined"):
|
||||
self.assertIn(label, words_in_page)
|
||||
self.assertEqual(self.section(ADDED, CHANGED), self.section(ADDED, CHANGED))
|
||||
|
||||
def test_the_source_block_is_not_changed_by_it(self):
|
||||
self.assertNotIn("record-history", trail.about_data(with_history(ADDED), S))
|
||||
|
||||
def test_real_records_all_show_their_history(self):
|
||||
recs = records.load_records()
|
||||
self.assertEqual(len(recs), 204)
|
||||
for rec in recs:
|
||||
part = trail.history_section(rec)
|
||||
self.assertIn("History of this record", part, rec["id"])
|
||||
self.assertEqual(part.count('<li class="history__entry '), len(rec["history"]), rec["id"])
|
||||
|
||||
def test_hoosier_heritage_trail_history(self):
|
||||
rec = next(r for r in records.load_records() if r["id"] == "hoosier-heritage-trail")
|
||||
part = trail.history_section(rec)
|
||||
self.assertEqual(part.count("history__entry--applied"), len(rec["history"]))
|
||||
self.assertGreaterEqual(len(rec["history"]), 2)
|
||||
self.assertIn("the trail association's president", part)
|
||||
self.assertIn('<a href="https://github.com/swaits/longhikes/issues/2">', part)
|
||||
|
||||
|
||||
class CreditBoxPermissionTest(unittest.TestCase):
|
||||
def credit_box(self, rec):
|
||||
page = trail.render(rec, S)[2]
|
||||
start = page.index('<div class="credit">')
|
||||
return page[start:page.index("</section>", start)]
|
||||
|
||||
def test_the_credit_box_shows_the_quotation_who_when_and_a_link(self):
|
||||
box = self.credit_box(permission_record())
|
||||
self.assertIn('<blockquote cite="https://github.com/o/r/issues/2"><p>It's completely public and free to share.</p></blockquote>', box)
|
||||
self.assertIn("Said by the association's president on 2026-11-16.", box)
|
||||
self.assertIn('<a href="https://github.com/o/r/issues/2">https://github.com/o/r/issues/2</a>', box)
|
||||
|
||||
def test_the_sentence_is_true_where_it_stands(self):
|
||||
box = self.credit_box(permission_record())
|
||||
self.assertIn("The statement is quoted below.", box)
|
||||
self.assertLess(box.index("The statement is quoted below."), box.index("<blockquote"))
|
||||
self.assertNotIn("quoted below", words.LICENCE_NOTES["stated-permission"])
|
||||
|
||||
def test_the_about_block_still_shows_it_too(self):
|
||||
page = trail.render(permission_record(), S)[2]
|
||||
self.assertEqual(page.count("<blockquote"), 2)
|
||||
self.assertEqual(page.count("The statement is quoted below."), 2)
|
||||
|
||||
def test_no_claim_without_a_quotation(self):
|
||||
rec = permission_record()
|
||||
del rec["source"]["permission_quote"]
|
||||
page = trail.render(rec, S)[2]
|
||||
self.assertNotIn("quoted below", page)
|
||||
self.assertNotIn("<blockquote", page)
|
||||
|
||||
def test_other_licences_get_no_block(self):
|
||||
rec = permission_record()
|
||||
rec["source"]["licence"] = "CC-BY-4.0"
|
||||
box = self.credit_box(rec)
|
||||
self.assertNotIn("<blockquote", box)
|
||||
self.assertNotIn("Said by", box)
|
||||
|
||||
def test_the_real_record(self):
|
||||
rec = next(r for r in records.load_records() if r["id"] == "hoosier-heritage-trail")
|
||||
rec["derived"].setdefault("downloads", [{"role": "main", "format": "GPX", "file": "x.gpx", "bytes": 1000}])
|
||||
box = self.credit_box(rec)
|
||||
self.assertIn("completely public and free to share", box)
|
||||
self.assertIn("Said by the association's president on 2026-11-16.", box)
|
||||
self.assertIn("https://github.com/swaits/longhikes/issues/2", box)
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
unittest.main()
|
||||
@@ -0,0 +1,106 @@
|
||||
"""Tests for the Considered and left out page (web/olt/leftout.py).
|
||||
|
||||
Run from the repository root:
|
||||
python3 -m unittest discover -s web/tests
|
||||
"""
|
||||
import os
|
||||
import sys
|
||||
import unittest
|
||||
|
||||
WEB = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
|
||||
ROOT = os.path.dirname(WEB)
|
||||
sys.path.insert(0, WEB)
|
||||
|
||||
from olt import leftout, seo, site # noqa: E402
|
||||
|
||||
ENTRIES = [
|
||||
{
|
||||
"id": "waiting-trail",
|
||||
"name": "Waiting Trail",
|
||||
"country": "US",
|
||||
"regions": ["KY"],
|
||||
"length_mi": 120,
|
||||
"length_km": 193,
|
||||
"length_note": "120 miles planned",
|
||||
"reason": "waiting",
|
||||
"note": "Only part of it is built.",
|
||||
"source_url": "https://example.org/waiting",
|
||||
"decided": "2026-11-16",
|
||||
"was_listed": False,
|
||||
"waiting_for": "Enough of it is built to walk through.",
|
||||
},
|
||||
{
|
||||
"id": "example-trail",
|
||||
"name": "Example & Trail",
|
||||
"country": "US",
|
||||
"regions": ["PA", "MD"],
|
||||
"length_mi": 42.0,
|
||||
"length_km": 68,
|
||||
"reason": "below-floor",
|
||||
"note": "The holder gives it as 42 miles.",
|
||||
"source_url": "https://example.org/example?a=1&b=2",
|
||||
"decided": "2026-11-14",
|
||||
"was_listed": True,
|
||||
},
|
||||
]
|
||||
|
||||
|
||||
class PageTest(unittest.TestCase):
|
||||
def setUp(self):
|
||||
self.site = site.Site(name="Long Hikes", tagline="Tagline",
|
||||
base_url="https://example.org",
|
||||
repo_url="https://github.com/swaits/longhikes")
|
||||
self.title, self.description, self.body = leftout.left_out_page(
|
||||
ENTRIES, self.site, ROOT)
|
||||
self.text = str(self.body)
|
||||
|
||||
def test_title(self):
|
||||
self.assertEqual(self.title, "Considered and left out")
|
||||
|
||||
def test_opening_is_generated_from_the_entries(self):
|
||||
self.assertIn("lists 2 trails and routes", self.text)
|
||||
self.assertIn("1 of them was listed here once", self.text)
|
||||
self.assertIn("open an issue", self.text)
|
||||
|
||||
def test_grouped_by_reason_in_order(self):
|
||||
self.assertLess(self.text.index("Below the 50 mile floor"),
|
||||
self.text.index("Waiting"))
|
||||
|
||||
def test_entry_facts_and_escaping(self):
|
||||
self.assertIn("Example & Trail", self.text)
|
||||
self.assertIn("Pennsylvania", self.text)
|
||||
self.assertIn("Maryland", self.text)
|
||||
self.assertIn("42 mi", self.text)
|
||||
self.assertIn("68 km", self.text)
|
||||
self.assertIn("The holder gives it as 42 miles.", self.text)
|
||||
self.assertIn('datetime="2026-11-14"', self.text)
|
||||
self.assertIn('href="https://example.org/example?a=1&b=2"', self.text)
|
||||
|
||||
def test_once_listed_mark(self):
|
||||
self.assertIn("Once listed here", self.text)
|
||||
self.assertEqual(self.text.count("Once listed here"), 1)
|
||||
|
||||
def test_waiting_shows_what_would_change_it(self):
|
||||
self.assertIn("Enough of it is built to walk through.", self.text)
|
||||
self.assertIn("120 miles planned", self.text)
|
||||
|
||||
def test_no_length_shows_nothing_made_up(self):
|
||||
entries = [dict(ENTRIES[1])]
|
||||
del entries[0]["length_mi"], entries[0]["length_km"]
|
||||
_, _, body = leftout.left_out_page(entries, self.site, ROOT)
|
||||
self.assertNotIn("len__mi", str(body))
|
||||
|
||||
def test_sitemap_includes_the_page(self):
|
||||
self.assertIn("/left-out/", seo.all_paths([], []))
|
||||
|
||||
def test_the_real_file_loads_sorted(self):
|
||||
entries = leftout.load_entries(ROOT)
|
||||
self.assertGreaterEqual(len(entries), 30)
|
||||
names = [e["name"].lower() for e in entries]
|
||||
self.assertEqual(names, sorted(names))
|
||||
reasons = {e["reason"] for e in entries}
|
||||
self.assertTrue(reasons <= set(leftout.REASON_ORDER))
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
unittest.main()
|
||||
@@ -0,0 +1,41 @@
|
||||
"""What a trail page says for each state of [shield], from the record alone."""
|
||||
import html
|
||||
import os
|
||||
import sys
|
||||
import unittest
|
||||
|
||||
WEB = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
|
||||
sys.path.insert(0, WEB)
|
||||
sys.path.insert(0, os.path.dirname(os.path.abspath(__file__)))
|
||||
|
||||
from olt import trail, words # noqa: E402
|
||||
from test_pages import sample_record # noqa: E402
|
||||
|
||||
|
||||
def logo_text(status, note):
|
||||
rec = sample_record("Example Trail")
|
||||
rec["shield"].update({"status": status, "note": note})
|
||||
return html.unescape(str(trail.logo_block(rec)))
|
||||
|
||||
|
||||
class LogoStatesTest(unittest.TestCase):
|
||||
def test_no_emblem_of_its_own(self):
|
||||
text = logo_text("no-logo-exists", "Looked at the association's site.")
|
||||
self.assertIn("No emblem of its own", text)
|
||||
self.assertIn("Looked at the association's site.", text)
|
||||
self.assertNotIn("Emblem not found", text)
|
||||
|
||||
def test_emblem_not_found(self):
|
||||
text = logo_text("logo-not-found", "A sign shows one.")
|
||||
self.assertIn("Emblem not found", text)
|
||||
self.assertIn("exists or may exist", text)
|
||||
self.assertIn("A sign shows one.", text)
|
||||
self.assertNotIn("No emblem of its own", text)
|
||||
|
||||
def test_words_agree_with_the_block(self):
|
||||
self.assertEqual(words.label(words.SHIELD_STATUS, "no-logo-exists"), "No emblem of its own")
|
||||
self.assertEqual(words.label(words.SHIELD_STATUS, "logo-not-found"), "Emblem not found")
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
unittest.main()
|
||||
@@ -494,13 +494,14 @@ class RenderUnitTest(unittest.TestCase):
|
||||
def test_logo_source_without_a_logo_file_is_not_called_taken_from(self):
|
||||
# A record can name where its logo is held without including the logo.
|
||||
rec = sample_record("X Trail")
|
||||
rec["shield"] = {"status": "use-real-logo", "logo_source": "https://holder.example/", "contact": "Holder",
|
||||
rec["shield"] = {"status": "logo-not-found", "logo_source": "https://holder.example/", "contact": "Holder",
|
||||
"note": "No policy found.", "logo_file": "", "logo_owner": "Holder & Co"}
|
||||
_, _, body, _ = trail.render(rec, site.Site("N", "T"))
|
||||
self.assertIn('href="https://holder.example/"', body)
|
||||
self.assertNotIn("logo was taken from", body)
|
||||
self.assertIn("the logo is not included here", body)
|
||||
self.assertIn("The trail has a logo, held by Holder & Co, but no copy of it is in this dataset.", body)
|
||||
self.assertIn("Emblem not found.", body)
|
||||
self.assertIn("An emblem exists or may exist, but no usable artwork of it was found at a source the dataset allows.", body)
|
||||
|
||||
def test_trail_correction_links_github_branch(self):
|
||||
gh = site.Site("N", "T", repo_url="https://github.com/o/r/", repo_branch="dev")
|
||||
@@ -549,8 +550,8 @@ class RenderUnitTest(unittest.TestCase):
|
||||
rec = sample_record(name="A & B")
|
||||
n = pages.render_site([rec], out, repo, site=site.Site("N", "T"))
|
||||
# trail page + home + 404 + places hub + 1 place + lists hub + routes,
|
||||
# sources, logos, about, data, schema, changelog, saved (no list holds MIN_SIZE trails)
|
||||
self.assertEqual(n, 14)
|
||||
# sources, logos, about, data, schema, changelog, left out, saved (no list holds MIN_SIZE trails)
|
||||
self.assertEqual(n, 15)
|
||||
with open(os.path.join(out, "trails", "x", "index.html"), encoding="utf-8") as f:
|
||||
self.assertIn("A & B", f.read())
|
||||
with open(os.path.join(out, "index.html"), encoding="utf-8") as f:
|
||||
|
||||
|
Before Width: | Height: | Size: 21 KiB After Width: | Height: | Size: 19 KiB |
|
After Width: | Height: | Size: 85 KiB |
|
After Width: | Height: | Size: 13 KiB |
|
After Width: | Height: | Size: 48 KiB |
|
After Width: | Height: | Size: 28 KiB |
|
After Width: | Height: | Size: 71 KiB |
|
Before Width: | Height: | Size: 6.2 KiB After Width: | Height: | Size: 60 KiB |
|
After Width: | Height: | Size: 47 KiB |
|
After Width: | Height: | Size: 42 KiB |
|
Before Width: | Height: | Size: 25 KiB After Width: | Height: | Size: 30 KiB |
|
Before Width: | Height: | Size: 17 KiB After Width: | Height: | Size: 1.3 KiB |
|
Before Width: | Height: | Size: 50 KiB After Width: | Height: | Size: 89 KiB |
|
Before Width: | Height: | Size: 2.5 KiB After Width: | Height: | Size: 6.7 KiB |
|
After Width: | Height: | Size: 22 KiB |
|
Before Width: | Height: | Size: 11 KiB After Width: | Height: | Size: 72 KiB |
|
After Width: | Height: | Size: 21 KiB |
|
After Width: | Height: | Size: 95 KiB |
|
Before Width: | Height: | Size: 17 KiB After Width: | Height: | Size: 26 KiB |
|
Before Width: | Height: | Size: 6.6 KiB After Width: | Height: | Size: 63 KiB |
|
Before Width: | Height: | Size: 25 KiB After Width: | Height: | Size: 16 KiB |
|
Before Width: | Height: | Size: 15 KiB After Width: | Height: | Size: 19 KiB |
|
Before Width: | Height: | Size: 21 KiB After Width: | Height: | Size: 23 KiB |
|
After Width: | Height: | Size: 77 KiB |
|
After Width: | Height: | Size: 44 KiB |
|
After Width: | Height: | Size: 8.0 KiB |
|
Before Width: | Height: | Size: 14 KiB After Width: | Height: | Size: 34 KiB |
|
After Width: | Height: | Size: 36 KiB |
|
After Width: | Height: | Size: 30 KiB |
|
After Width: | Height: | Size: 49 KiB |
|
After Width: | Height: | Size: 14 KiB |
|
Before Width: | Height: | Size: 19 KiB After Width: | Height: | Size: 30 KiB |
|
After Width: | Height: | Size: 10 KiB |
|
After Width: | Height: | Size: 18 KiB |
|
After Width: | Height: | Size: 1.4 KiB |
|
After Width: | Height: | Size: 41 KiB |
|
Before Width: | Height: | Size: 7.6 KiB After Width: | Height: | Size: 7.8 KiB |
|
After Width: | Height: | Size: 26 KiB |
|
After Width: | Height: | Size: 12 KiB |
|
After Width: | Height: | Size: 76 KiB |
|
After Width: | Height: | Size: 4.1 KiB |
|
After Width: | Height: | Size: 71 KiB |
|
After Width: | Height: | Size: 38 KiB |
|
Before Width: | Height: | Size: 16 KiB After Width: | Height: | Size: 12 KiB |
|
Before Width: | Height: | Size: 14 KiB After Width: | Height: | Size: 18 KiB |
|
After Width: | Height: | Size: 8.0 KiB |
|
Before Width: | Height: | Size: 16 KiB After Width: | Height: | Size: 31 KiB |
|
After Width: | Height: | Size: 50 KiB |
|
After Width: | Height: | Size: 103 KiB |
|
After Width: | Height: | Size: 69 KiB |
|
After Width: | Height: | Size: 35 KiB |
|
After Width: | Height: | Size: 17 KiB |
|
After Width: | Height: | Size: 42 KiB |
|
Before Width: | Height: | Size: 14 KiB After Width: | Height: | Size: 76 KiB |
|
Before Width: | Height: | Size: 13 KiB After Width: | Height: | Size: 4.5 KiB |
|
Before Width: | Height: | Size: 21 KiB After Width: | Height: | Size: 61 KiB |
|
Before Width: | Height: | Size: 7.2 KiB After Width: | Height: | Size: 40 KiB |
|
Before Width: | Height: | Size: 6.9 KiB |
|
Before Width: | Height: | Size: 49 KiB After Width: | Height: | Size: 59 KiB |
|
After Width: | Height: | Size: 72 KiB |
|
Before Width: | Height: | Size: 23 KiB After Width: | Height: | Size: 25 KiB |
|
Before Width: | Height: | Size: 11 KiB After Width: | Height: | Size: 13 KiB |
|
Before Width: | Height: | Size: 13 KiB After Width: | Height: | Size: 11 KiB |
|
After Width: | Height: | Size: 43 KiB |
|
After Width: | Height: | Size: 47 KiB |
|
Before Width: | Height: | Size: 28 KiB After Width: | Height: | Size: 33 KiB |
|
After Width: | Height: | Size: 60 KiB |
|
After Width: | Height: | Size: 13 KiB |