Remove column wrapper divs, add class to sections directly

This commit is contained in:
igorkorenfeld 2023-01-31 14:33:46 -05:00
parent 45ff32b62f
commit 6f0af3d571
No known key found for this signature in database
GPG key ID: 826947A4B867F659

View file

@ -14,9 +14,7 @@
<p><a href="{% url 'application:' %}" class="usa-button">Start a new domain request</a></p>
<div class="tablet:grid-col-11 desktop:grid-col-10">
<section class="dashboard">
<section class="dashboard tablet:grid-col-11 desktop:grid-col-10">
<h2>Registered domains</h2>
{% if domains %}
{% for domain in domains %}
@ -26,10 +24,8 @@
<p>You don't have any registered domains yet</p>
{% endif %}
</section>
</div>
<div class="tablet:grid-col-11 desktop:grid-col-10">
<section class="dashboard">
<section class="dashboard tablet:grid-col-11 desktop:grid-col-10">
<h2>Active domain requests</h2>
{% if domain_applications %}
<table class="usa-table usa-table--borderless usa-table--stacked">
@ -75,10 +71,8 @@
{% endif %}
<p><a href="{% url 'application:' %}" class="usa-button">Start a new domain request</a></p>
</section>
</div>
<div class="tablet:grid-col-11 desktop:grid-col-10">
<section class="dashboard">
<section class="dashboard tablet:grid-col-11 desktop:grid-col-10">
<h2>Archived domains</h2>
{% if archived_domains %}
{% for domain in archived_domains %}
@ -88,15 +82,14 @@
<p>You don't have any archived domains</p>
{% endif %}
</section>
</div>
<div class="tablet:grid-col-11 desktop:grid-col-10">
<section class="tablet:grid-col-11 desktop:grid-col-10">
<h2 class="padding-top-1 mobile-lg:padding-top-3"> Export domains</h2>
<p>If you would like to analyze your list of domains further, you can download the list of domains and their statuses as csv file</p>
<a href="{% url 'todo' %}" class="usa-button usa-button--outline">
Export domains as csv
</a>
</div>
</section>
</div>