diff --git a/umap/static/umap/content.css b/umap/static/umap/content.css index f5e49e31..3f51571b 100644 --- a/umap/static/umap/content.css +++ b/umap/static/umap/content.css @@ -293,12 +293,15 @@ table.maps .map_fragment { width: 100%; min-width: 200px; } -table.maps tr:nth-child(even) { +table.maps tbody tr:nth-child(odd) { background-color: #f4f4f4; } table.maps td { text-align: center; } +table.maps thead tr { + line-height: 2em; +} diff --git a/umap/templates/umap/map_table.html b/umap/templates/umap/map_table.html index 43d8e9a5..954c12ed 100644 --- a/umap/templates/umap/map_table.html +++ b/umap/templates/umap/map_table.html @@ -1,29 +1,33 @@ {% load umap_tags umap_tags i18n %}
{% blocktrans %}Map{% endblocktrans %} | -{% blocktrans %}Name{% endblocktrans %} | -{% blocktrans %}Status{% endblocktrans %} | -{% blocktrans %}Last save{% endblocktrans %} | -{% blocktrans %}Owner{% endblocktrans %} | -{% blocktrans %}Actions{% endblocktrans %} | -||||||
---|---|---|---|---|---|---|---|---|---|---|---|
{% map_fragment map_inst prefix=prefix page=request.GET.p %} | -- {{ map_inst.name }} - | -{{ map_inst.get_edit_status_display }} | -{{ map_inst.modified_at }} | -- {{ map_inst.owner }} - | -- {% translate "Share" %} - {% translate "Edit" %} - {% translate "Download" %} - | +{% blocktrans %}Map{% endblocktrans %} | +{% blocktrans %}Name{% endblocktrans %} | +{% blocktrans %}Status{% endblocktrans %} | +{% blocktrans %}Last save{% endblocktrans %} | +{% blocktrans %}Owner{% endblocktrans %} | +{% blocktrans %}Actions{% endblocktrans %} |
{% map_fragment map_inst prefix=prefix page=request.GET.p %} | ++ {{ map_inst.name }} + | +{{ map_inst.get_edit_status_display }} | +{{ map_inst.modified_at }} | ++ {{ map_inst.owner }} + | ++ {% translate "Share" %} + {% translate "Edit" %} + {% translate "Download" %} + | +