-
-
Notifications
You must be signed in to change notification settings - Fork 230
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Dashboard #1196
Dashboard #1196
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I wonder if we want search results to match that new table style 🤔
@@ -0,0 +1,29 @@ | |||
{% load umap_tags umap_tags i18n %} | |||
<table class="maps"> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A <caption>
is missing.
umap/templates/umap/map_table.html
Outdated
@@ -0,0 +1,29 @@ | |||
{% load umap_tags umap_tags i18n %} | |||
<table class="maps"> | |||
<tr> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That tr
should be in a thead
umap/templates/umap/map_table.html
Outdated
<th>{% blocktrans %}Owner{% endblocktrans %}</th> | ||
<th>{% blocktrans %}Actions{% endblocktrans %}</th> | ||
</tr> | ||
{% for map_inst in maps %} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That part should be in a <tbody>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you elaborate on why we should add those tags ? I thought that HTML5 thing was to only add needed tags, to KISS :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added <thead>
and <tbody>
, but not sure why we'd have a <caption>
.
Note that all seems optional according to (my understanding of) MDN: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/table :)
I'd say no, given those pages do not a address the same users/needs (we don't need status nor actions for example in the search results) |
Co-authored-by: David Larlet <3556+davidbgk@users.noreply.github.com>
b0c1a6a
to
b14733e
Compare
That way is more consistent with ?download and ?edit
Merging, so I can put it in today's release, and start working on it in DSRF version. Let's iterate to make it better :) |
thank you for this new dashboard interface. I am new to github. Is here that I can suggest an addition in the "status" column, can you also add the detail "Who can see" in addition to "Who can modify" |
Very basic version. Must land here so we can theme it in DSFR.
fix #1062
fix #391
cf #1048