mirror of
https://forge.chapril.org/tykayn/osm-commerces
synced 2025-10-09 17:02:46 +02:00
up wiki compare
This commit is contained in:
parent
ce508974c9
commit
2f49ef6479
23 changed files with 567403 additions and 5132 deletions
|
@ -8,14 +8,29 @@
|
|||
transform: none !important;
|
||||
box-shadow: none !important;
|
||||
}
|
||||
.title-level-1 {
|
||||
font-weight: bold;
|
||||
}
|
||||
.title-level-2 {
|
||||
padding-left: 1.5rem;
|
||||
}
|
||||
.title-level-3 {
|
||||
padding-left: 2.8rem;
|
||||
}
|
||||
.title-level-4 {
|
||||
padding-left: 4rem;
|
||||
}
|
||||
.title-level-5 {
|
||||
padding-left: 5.2rem;
|
||||
}
|
||||
.title-level-6 {
|
||||
padding-left: 6.4rem;
|
||||
font-size: 0.9rem;
|
||||
}
|
||||
</style>
|
||||
<div class="container mt-4">
|
||||
{% include 'admin/_wiki_navigation.html.twig' %}
|
||||
|
||||
<h1>Comparaison Wiki OpenStreetMap - {{ key }}</h1>
|
||||
<p class="lead">Comparaison détaillée des pages wiki en français et en anglais pour la clé OSM "{{ key }}".</p>
|
||||
|
||||
|
@ -118,22 +133,20 @@
|
|||
<span class="badge bg-light text-dark">{{ en_page.sections }} sections</span>
|
||||
</div>
|
||||
<div class="card-body">
|
||||
{# <h4>Sections communes ({{ detailed_comparison.section_comparison.common|length }})</h4>#}
|
||||
{# <ul class="list-group mb-3">#}
|
||||
{# {% for section in detailed_comparison.section_comparison.common %}#}
|
||||
{# <li class="list-group-item">#}
|
||||
{# <span class="badge bg-secondary">h{{ section.en.level }}</span>#}
|
||||
{# {{ section.en.title }}#}
|
||||
{# </li>#}
|
||||
{# {% endfor %}#}
|
||||
{# </ul>#}
|
||||
|
||||
<h4>Sections uniquement en anglais ({{ detailed_comparison.section_comparison.en_only|length }})</h4>
|
||||
<ul class="list-group">
|
||||
<h4>Sections alignées par hiérarchie</h4>
|
||||
<ul class="list-group mb-3">
|
||||
{% for section in detailed_comparison.section_comparison.common %}
|
||||
<li class="list-group-item title-level-{{ section.en.level }}">
|
||||
<span class="badge bg-secondary">h{{ section.en.level }}</span>
|
||||
{{ section.en.title }}
|
||||
</li>
|
||||
{% endfor %}
|
||||
|
||||
{% for section in detailed_comparison.section_comparison.en_only %}
|
||||
<li class="list-group-item list-group-item-warning title-level-{{ section.level }}">
|
||||
<li class="list-group-item list-group-item-warning title-level-{{ section.level }}">
|
||||
<span class="badge bg-secondary">h{{ section.level }}</span>
|
||||
{{ section.title }}
|
||||
<span class="badge bg-warning text-dark float-end">EN uniquement</span>
|
||||
</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
|
@ -147,22 +160,20 @@
|
|||
<span class="badge bg-light text-dark">{{ fr_page.sections }} sections</span>
|
||||
</div>
|
||||
<div class="card-body">
|
||||
{# <h4>Sections communes ({{ detailed_comparison.section_comparison.common|length }})</h4>#}
|
||||
{# <ul class="list-group mb-3">#}
|
||||
{# {% for section in detailed_comparison.section_comparison.common %}#}
|
||||
{# <li class="list-group-item">#}
|
||||
{# <span class="badge bg-secondary">h{{ section.fr.level }}</span>#}
|
||||
{# {{ section.fr.title }}#}
|
||||
{# </li>#}
|
||||
{# {% endfor %}#}
|
||||
{# </ul>#}
|
||||
|
||||
<h4>Sections uniquement en français ({{ detailed_comparison.section_comparison.fr_only|length }})</h4>
|
||||
<ul class="list-group">
|
||||
<h4>Sections alignées par hiérarchie</h4>
|
||||
<ul class="list-group mb-3">
|
||||
{% for section in detailed_comparison.section_comparison.common %}
|
||||
<li class="list-group-item title-level-{{ section.fr.level }}">
|
||||
<span class="badge bg-secondary">h{{ section.fr.level }}</span>
|
||||
{{ section.fr.title }}
|
||||
</li>
|
||||
{% endfor %}
|
||||
|
||||
{% for section in detailed_comparison.section_comparison.fr_only %}
|
||||
<li class="list-group-item list-group-item-info title-level-{{ section.level }}">
|
||||
<li class="list-group-item list-group-item-info title-level-{{ section.level }}">
|
||||
<span class="badge bg-secondary">h{{ section.level }}</span>
|
||||
{{ section.title }}
|
||||
<span class="badge bg-info float-end">FR uniquement</span>
|
||||
</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue