mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-07-31 15:06:32 +02:00
Review feedback: live region, SVG width, etc.
This commit is contained in:
parent
bf54a4cf8f
commit
8fa761f4ab
1 changed files with 10 additions and 18 deletions
|
@ -7,7 +7,7 @@
|
||||||
{% block content %}
|
{% block content %}
|
||||||
<main id="main-content" class="grid-container">
|
<main id="main-content" class="grid-container">
|
||||||
{% if user.is_authenticated %}
|
{% if user.is_authenticated %}
|
||||||
{# complete logged in page together here #}
|
{# the entire logged in page goes here #}
|
||||||
|
|
||||||
<div class="tablet:grid-offset-1 desktop:grid-offset-2">
|
<div class="tablet:grid-offset-1 desktop:grid-offset-2">
|
||||||
<h1>Manage your domains</h2>
|
<h1>Manage your domains</h2>
|
||||||
|
@ -16,13 +16,7 @@
|
||||||
|
|
||||||
<section class="dashboard tablet:grid-col-11 desktop:grid-col-10">
|
<section class="dashboard tablet:grid-col-11 desktop:grid-col-10">
|
||||||
<h2>Registered domains</h2>
|
<h2>Registered domains</h2>
|
||||||
{% if domains %}
|
<p>You don't have any registered domains yet</p>
|
||||||
{% for domain in domains %}
|
|
||||||
{{ domain }}
|
|
||||||
{% endfor %}
|
|
||||||
{% else %}
|
|
||||||
<p>You don't have any registered domains yet</p>
|
|
||||||
{% endif %}
|
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
<section class="dashboard tablet:grid-col-11 desktop:grid-col-10">
|
<section class="dashboard tablet:grid-col-11 desktop:grid-col-10">
|
||||||
|
@ -35,7 +29,7 @@
|
||||||
<th data-sortable scope="col" role="columnheader">Domain name</th>
|
<th data-sortable scope="col" role="columnheader">Domain name</th>
|
||||||
<th data-sortable scope="col" role="columnheader">Date created</th>
|
<th data-sortable scope="col" role="columnheader">Date created</th>
|
||||||
<th data-sortable scope="col" role="columnheader">Status</th>
|
<th data-sortable scope="col" role="columnheader">Status</th>
|
||||||
<th role="columnheader"><span class="usa-sr-only">Action</span></th>
|
<th scope="col" role="columnheader"><span class="usa-sr-only">Action</span></th>
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
|
@ -49,13 +43,13 @@
|
||||||
<td>
|
<td>
|
||||||
<a href="{% url 'edit-application' application.pk %}">
|
<a href="{% url 'edit-application' application.pk %}">
|
||||||
{% if application.status == "started" %}
|
{% if application.status == "started" %}
|
||||||
<svg class="usa-icon" aria-hidden="true" focusable="false" role="img">
|
<svg class="usa-icon" aria-hidden="true" focusable="false" role="img" width="24">
|
||||||
<use xlink:href="{%static 'img/sprite.svg'%}#edit"></use>
|
<use xlink:href="{%static 'img/sprite.svg'%}#edit"></use>
|
||||||
</svg>
|
</svg>
|
||||||
Edit <span class="usa-sr-only">{{ application.requested_domain.name|default:"New domain request" }} </span>
|
Edit <span class="usa-sr-only">{{ application.requested_domain.name|default:"New domain request" }} </span>
|
||||||
|
|
||||||
{% else %}
|
{% else %}
|
||||||
<svg class="usa-icon" aria-hidden="true" focusable="false" role="img">
|
<svg class="usa-icon" aria-hidden="true" focusable="false" role="img" width="24">
|
||||||
<use xlink:href="{%static 'img/sprite.svg'%}#settings"></use>
|
<use xlink:href="{%static 'img/sprite.svg'%}#settings"></use>
|
||||||
</svg>
|
</svg>
|
||||||
Manage <span class="usa-sr-only">{{application.requested_domain.name}} </span>
|
Manage <span class="usa-sr-only">{{application.requested_domain.name}} </span>
|
||||||
|
@ -66,6 +60,10 @@
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
|
<div
|
||||||
|
class="usa-sr-only usa-table__announcement-region"
|
||||||
|
aria-live="polite"
|
||||||
|
></div>
|
||||||
{% else %}
|
{% else %}
|
||||||
<p>You don't have any active domain requests right now</p>
|
<p>You don't have any active domain requests right now</p>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
@ -74,13 +72,7 @@
|
||||||
|
|
||||||
<section class="dashboard tablet:grid-col-11 desktop:grid-col-10">
|
<section class="dashboard tablet:grid-col-11 desktop:grid-col-10">
|
||||||
<h2>Archived domains</h2>
|
<h2>Archived domains</h2>
|
||||||
{% if archived_domains %}
|
|
||||||
{% for domain in archived_domains %}
|
|
||||||
{{ domain }}
|
|
||||||
{% endfor %}
|
|
||||||
{% else %}
|
|
||||||
<p>You don't have any archived domains</p>
|
<p>You don't have any archived domains</p>
|
||||||
{% endif %}
|
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
<section class="tablet:grid-col-11 desktop:grid-col-10">
|
<section class="tablet:grid-col-11 desktop:grid-col-10">
|
||||||
|
@ -94,7 +86,7 @@
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{% else %} {# not user.is_authenticated #}
|
{% else %} {# not user.is_authenticated #}
|
||||||
{# complete logged out page here #}
|
{# the entire logged out page goes here #}
|
||||||
|
|
||||||
<p><a class="usa-button" href="{% url 'login' %}">
|
<p><a class="usa-button" href="{% url 'login' %}">
|
||||||
Sign in
|
Sign in
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue