mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-07-25 12:08:40 +02:00
* Move error msg in domain_add_user * Move errors in profile * Update remaining domain org model templates * Update member org templates * Also move other alerts * Move success alerts in profile * Add breadcrumbs block to domain_base and move breadcrumbs out of domain_content block into content block * Remove extra div to fix spacing * Update domain_renewal and suborganization pages
This commit is contained in:
parent
2fd24c7d14
commit
1ee1382dfd
17 changed files with 126 additions and 102 deletions
|
@ -3,9 +3,6 @@
|
||||||
|
|
||||||
{% block title %}Add a domain manager | {% endblock %}
|
{% block title %}Add a domain manager | {% endblock %}
|
||||||
|
|
||||||
{% block domain_content %}
|
|
||||||
|
|
||||||
{% include "includes/form_errors.html" with form=form %}
|
|
||||||
|
|
||||||
{% block breadcrumb %}
|
{% block breadcrumb %}
|
||||||
{% if portfolio %}
|
{% if portfolio %}
|
||||||
|
@ -41,6 +38,11 @@
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endblock breadcrumb %}
|
{% endblock breadcrumb %}
|
||||||
|
|
||||||
|
{% block domain_content %}
|
||||||
|
|
||||||
|
<!-- Error message -->
|
||||||
|
{% include "includes/form_errors.html" with form=form %}
|
||||||
|
|
||||||
<h1>Add a domain manager</h1>
|
<h1>Add a domain manager</h1>
|
||||||
{% if portfolio %}
|
{% if portfolio %}
|
||||||
<p>
|
<p>
|
||||||
|
|
|
@ -21,7 +21,13 @@
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="tablet:grid-col" id="main-content">
|
<main id="main-content" class="grid-container tablet:grid-col">
|
||||||
|
|
||||||
|
<!-- Navigation breadcrumbs -->
|
||||||
|
{% block breadcrumb %}
|
||||||
|
{% endblock breadcrumb %}
|
||||||
|
|
||||||
|
<!-- Alert messages -->
|
||||||
{% if not domain.domain_info %}
|
{% if not domain.domain_info %}
|
||||||
<div class="usa-alert usa-alert--error margin-bottom-2">
|
<div class="usa-alert usa-alert--error margin-bottom-2">
|
||||||
<div class="usa-alert__body">
|
<div class="usa-alert__body">
|
||||||
|
@ -62,7 +68,7 @@
|
||||||
|
|
||||||
{% endblock %} {# domain_content #}
|
{% endblock %} {# domain_content #}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</div>
|
</main>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
{% endblock %} {# content #}
|
{% endblock %} {# content #}
|
|
@ -2,7 +2,6 @@
|
||||||
{% load static url_helpers %}
|
{% load static url_helpers %}
|
||||||
{% load custom_filters %}
|
{% load custom_filters %}
|
||||||
|
|
||||||
{% block domain_content %}
|
|
||||||
{% block breadcrumb %}
|
{% block breadcrumb %}
|
||||||
{% if portfolio %}
|
{% if portfolio %}
|
||||||
<!-- Navigation breadcrumbs -->
|
<!-- Navigation breadcrumbs -->
|
||||||
|
@ -19,6 +18,7 @@
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endblock breadcrumb %}
|
{% endblock breadcrumb %}
|
||||||
|
|
||||||
|
{% block domain_content %}
|
||||||
{{ block.super }}
|
{{ block.super }}
|
||||||
<div class="margin-top-2 tablet:grid-col-10">
|
<div class="margin-top-2 tablet:grid-col-10">
|
||||||
<h2 class="string-wrap margin-top-2">{{ domain.name }}</h2>
|
<h2 class="string-wrap margin-top-2">{{ domain.name }}</h2>
|
||||||
|
|
|
@ -3,7 +3,6 @@
|
||||||
|
|
||||||
{% block title %}DNS | {{ domain.name }} | {% endblock %}
|
{% block title %}DNS | {{ domain.name }} | {% endblock %}
|
||||||
|
|
||||||
{% block domain_content %}
|
|
||||||
{% block breadcrumb %}
|
{% block breadcrumb %}
|
||||||
{% if portfolio %}
|
{% if portfolio %}
|
||||||
<!-- Navigation breadcrumbs -->
|
<!-- Navigation breadcrumbs -->
|
||||||
|
@ -23,6 +22,8 @@
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endblock breadcrumb %}
|
{% endblock breadcrumb %}
|
||||||
|
|
||||||
|
{% block domain_content %}
|
||||||
|
|
||||||
<h1>DNS</h1>
|
<h1>DNS</h1>
|
||||||
|
|
||||||
<p>The Domain Name System (DNS) is the internet service that translates your domain name into an IP address. Before your .gov domain can be used, you'll need to connect it to a DNS hosting service and provide us with your name server information.</p>
|
<p>The Domain Name System (DNS) is the internet service that translates your domain name into an IP address. Before your .gov domain can be used, you'll need to connect it to a DNS hosting service and provide us with your name server information.</p>
|
||||||
|
|
|
@ -3,7 +3,6 @@
|
||||||
|
|
||||||
{% block title %}DNSSEC | {{ domain.name }} | {% endblock %}
|
{% block title %}DNSSEC | {{ domain.name }} | {% endblock %}
|
||||||
|
|
||||||
{% block domain_content %}
|
|
||||||
|
|
||||||
{% block breadcrumb %}
|
{% block breadcrumb %}
|
||||||
{% if portfolio %}
|
{% if portfolio %}
|
||||||
|
@ -26,6 +25,8 @@
|
||||||
</nav>
|
</nav>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endblock breadcrumb %}
|
{% endblock breadcrumb %}
|
||||||
|
|
||||||
|
{% block domain_content %}
|
||||||
|
|
||||||
<h1 id="domain-dnssec">DNSSEC</h1>
|
<h1 id="domain-dnssec">DNSSEC</h1>
|
||||||
|
|
||||||
|
|
|
@ -3,11 +3,6 @@
|
||||||
|
|
||||||
{% block title %}DS data | {{ domain.name }} | {% endblock %}
|
{% block title %}DS data | {{ domain.name }} | {% endblock %}
|
||||||
|
|
||||||
{% block domain_content %}
|
|
||||||
|
|
||||||
{% for form in formset %}
|
|
||||||
{% include "includes/form_errors.html" with form=form %}
|
|
||||||
{% endfor %}
|
|
||||||
|
|
||||||
{% block breadcrumb %}
|
{% block breadcrumb %}
|
||||||
{% if portfolio %}
|
{% if portfolio %}
|
||||||
|
@ -34,6 +29,13 @@
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endblock breadcrumb %}
|
{% endblock breadcrumb %}
|
||||||
|
|
||||||
|
{% block domain_content %}
|
||||||
|
|
||||||
|
<!-- Error message -->
|
||||||
|
{% for form in formset %}
|
||||||
|
{% include "includes/form_errors.html" with form=form %}
|
||||||
|
{% endfor %}
|
||||||
|
|
||||||
<div class="grid-row grid-gap">
|
<div class="grid-row grid-gap">
|
||||||
<div class="tablet:grid-col-6">
|
<div class="tablet:grid-col-6">
|
||||||
<h1 class="tablet:margin-bottom-1" id="domain-dsdata">DS data</h1>
|
<h1 class="tablet:margin-bottom-1" id="domain-dsdata">DS data</h1>
|
||||||
|
|
|
@ -2,47 +2,46 @@
|
||||||
{% load static field_helpers%}
|
{% load static field_helpers%}
|
||||||
|
|
||||||
{% block title %}DNS name servers | {{ domain.name }} | {% endblock %}
|
{% block title %}DNS name servers | {{ domain.name }} | {% endblock %}
|
||||||
|
{% block breadcrumb %}
|
||||||
|
{% if portfolio %}
|
||||||
|
<!-- Navigation breadcrumbs -->
|
||||||
|
<nav class="usa-breadcrumb padding-top-0" aria-label="Domain breadcrumb">
|
||||||
|
<ol class="usa-breadcrumb__list">
|
||||||
|
<li class="usa-breadcrumb__list-item">
|
||||||
|
<a href="{% url 'domains' %}" class="usa-breadcrumb__link"><span>Domains</span></a>
|
||||||
|
</li>
|
||||||
|
<li class="usa-breadcrumb__list-item">
|
||||||
|
<a href="{% url 'domain' domain_pk=domain.id %}" class="usa-breadcrumb__link"><span>{{ domain.name }}</span></a>
|
||||||
|
</li>
|
||||||
|
<li class="usa-breadcrumb__list-item">
|
||||||
|
<a href="{% url 'domain-dns' domain_pk=domain.id %}" class="usa-breadcrumb__link"><span>DNS</span></a>
|
||||||
|
</li>
|
||||||
|
<li class="usa-breadcrumb__list-item usa-current" aria-current="page">
|
||||||
|
<span>DNS name servers</span>
|
||||||
|
</li>
|
||||||
|
</ol>
|
||||||
|
</nav>
|
||||||
|
{% endif %}
|
||||||
|
{% endblock breadcrumb %}
|
||||||
|
|
||||||
{% block domain_content %}
|
{% block domain_content %}
|
||||||
|
|
||||||
{# this is right after the messages block in the parent template. #}
|
{# this is right after the messages block in the parent template. #}
|
||||||
|
<!-- Error message -->
|
||||||
|
{% if formset.initial|length >= formset.max_num %}
|
||||||
|
<div class="usa-alert usa-alert--do-not-reset usa-alert--info usa-alert--slim margin-bottom-2" role="alert">
|
||||||
|
<div class="usa-alert__body">
|
||||||
|
<p class="usa-alert__text">
|
||||||
|
You’ve reached the maximum amount of allowed name server records (13).
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
{% for form in formset %}
|
{% for form in formset %}
|
||||||
{% include "includes/form_errors.html" with form=form %}
|
{% include "includes/form_errors.html" with form=form %}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
|
||||||
{% if formset.initial|length >= formset.max_num %}
|
|
||||||
<div class="usa-alert usa-alert--do-not-reset usa-alert--info usa-alert--slim margin-bottom-2" role="alert">
|
|
||||||
<div class="usa-alert__body">
|
|
||||||
<p class="usa-alert__text">
|
|
||||||
You’ve reached the maximum amount of allowed name server records (13).
|
|
||||||
</p>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
{% endif %}
|
|
||||||
|
|
||||||
{% block breadcrumb %}
|
|
||||||
{% if portfolio %}
|
|
||||||
<!-- Navigation breadcrumbs -->
|
|
||||||
<nav class="usa-breadcrumb padding-top-0" aria-label="Domain breadcrumb">
|
|
||||||
<ol class="usa-breadcrumb__list">
|
|
||||||
<li class="usa-breadcrumb__list-item">
|
|
||||||
<a href="{% url 'domains' %}" class="usa-breadcrumb__link"><span>Domains</span></a>
|
|
||||||
</li>
|
|
||||||
<li class="usa-breadcrumb__list-item">
|
|
||||||
<a href="{% url 'domain' domain_pk=domain.id %}" class="usa-breadcrumb__link"><span>{{ domain.name }}</span></a>
|
|
||||||
</li>
|
|
||||||
<li class="usa-breadcrumb__list-item">
|
|
||||||
<a href="{% url 'domain-dns' domain_pk=domain.id %}" class="usa-breadcrumb__link"><span>DNS</span></a>
|
|
||||||
</li>
|
|
||||||
<li class="usa-breadcrumb__list-item usa-current" aria-current="page">
|
|
||||||
<span>DNS name servers</span>
|
|
||||||
</li>
|
|
||||||
</ol>
|
|
||||||
</nav>
|
|
||||||
{% endif %}
|
|
||||||
{% endblock breadcrumb %}
|
|
||||||
|
|
||||||
<div class="grid-row grid-gap">
|
<div class="grid-row grid-gap">
|
||||||
<div class="tablet:grid-col-6">
|
<div class="tablet:grid-col-6">
|
||||||
<h1 class="tablet:margin-bottom-1">Name servers</h1>
|
<h1 class="tablet:margin-bottom-1">Name servers</h1>
|
||||||
|
|
|
@ -2,20 +2,8 @@
|
||||||
{% load static url_helpers %}
|
{% load static url_helpers %}
|
||||||
{% load custom_filters %}
|
{% load custom_filters %}
|
||||||
|
|
||||||
{% block domain_content %}
|
|
||||||
{% block breadcrumb %}
|
{% block breadcrumb %}
|
||||||
|
|
||||||
<!-- Banner for if_policy_acknowledged -->
|
|
||||||
{% if form.is_policy_acknowledged.errors %}
|
|
||||||
<div class="usa-alert usa-alert--error usa-alert--slim margin-bottom-2" role="alert">
|
|
||||||
<div class="usa-alert__body">
|
|
||||||
{% for error in form.is_policy_acknowledged.errors %}
|
|
||||||
<p class="usa-alert__text">{{ error }}</p>
|
|
||||||
{% endfor %}
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
{% endif %}
|
|
||||||
|
|
||||||
{% if portfolio %}
|
{% if portfolio %}
|
||||||
<!-- Navigation breadcrumbs -->
|
<!-- Navigation breadcrumbs -->
|
||||||
<nav class="usa-breadcrumb padding-top-0" aria-label="Domain breadcrumb">
|
<nav class="usa-breadcrumb padding-top-0" aria-label="Domain breadcrumb">
|
||||||
|
@ -35,6 +23,18 @@
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endblock breadcrumb %}
|
{% endblock breadcrumb %}
|
||||||
|
|
||||||
|
{% block domain_content %}
|
||||||
|
<!-- Banner for if_policy_acknowledged -->
|
||||||
|
{% if form.is_policy_acknowledged.errors %}
|
||||||
|
<div class="usa-alert usa-alert--error usa-alert--slim margin-bottom-2" role="alert">
|
||||||
|
<div class="usa-alert__body">
|
||||||
|
{% for error in form.is_policy_acknowledged.errors %}
|
||||||
|
<p class="usa-alert__text">{{ error }}</p>
|
||||||
|
{% endfor %}
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
{{ block.super }}
|
{{ block.super }}
|
||||||
<div class="margin-top-4 tablet:grid-col-10">
|
<div class="margin-top-4 tablet:grid-col-10">
|
||||||
<h2 class="domain-name-wrap">Confirm the following information for accuracy</h2>
|
<h2 class="domain-name-wrap">Confirm the following information for accuracy</h2>
|
||||||
|
|
|
@ -3,9 +3,6 @@
|
||||||
|
|
||||||
{% block title %}Security email | {{ domain.name }} | {% endblock %}
|
{% block title %}Security email | {{ domain.name }} | {% endblock %}
|
||||||
|
|
||||||
{% block domain_content %}
|
|
||||||
|
|
||||||
{% include "includes/form_errors.html" with form=form %}
|
|
||||||
|
|
||||||
{% block breadcrumb %}
|
{% block breadcrumb %}
|
||||||
{% if portfolio %}
|
{% if portfolio %}
|
||||||
|
@ -26,6 +23,10 @@
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endblock breadcrumb %}
|
{% endblock breadcrumb %}
|
||||||
|
|
||||||
|
{% block domain_content %}
|
||||||
|
<!-- Error message -->
|
||||||
|
{% include "includes/form_errors.html" with form=form %}
|
||||||
|
|
||||||
<h1>Security email</h1>
|
<h1>Security email</h1>
|
||||||
|
|
||||||
<p>We strongly recommend that you provide a security email. This email will allow the public to report observed or suspected security issues on your domain. Security emails are made public and included in the <a class="usa-link" rel="noopener noreferrer" target="_blank" href="{% public_site_url 'about/data/' %}">.gov domain data</a> we provide.</p>
|
<p>We strongly recommend that you provide a security email. This email will allow the public to report observed or suspected security issues on your domain. Security emails are made public and included in the <a class="usa-link" rel="noopener noreferrer" target="_blank" href="{% public_site_url 'about/data/' %}">.gov domain data</a> we provide.</p>
|
||||||
|
|
|
@ -3,10 +3,6 @@
|
||||||
|
|
||||||
{% block title %}Suborganization{% if suborganization_name %} | suborganization_name{% endif %} | {% endblock %}
|
{% block title %}Suborganization{% if suborganization_name %} | suborganization_name{% endif %} | {% endblock %}
|
||||||
|
|
||||||
{% block domain_content %}
|
|
||||||
|
|
||||||
{% include "includes/form_errors.html" with form=form %}
|
|
||||||
|
|
||||||
{% block breadcrumb %}
|
{% block breadcrumb %}
|
||||||
{% if portfolio %}
|
{% if portfolio %}
|
||||||
<!-- Navigation breadcrumbs -->
|
<!-- Navigation breadcrumbs -->
|
||||||
|
@ -26,6 +22,11 @@
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endblock breadcrumb %}
|
{% endblock breadcrumb %}
|
||||||
|
|
||||||
|
{% block domain_content %}
|
||||||
|
|
||||||
|
<!-- Error message -->
|
||||||
|
{% include "includes/form_errors.html" with form=form %}
|
||||||
|
|
||||||
<h1>Suborganization</h1>
|
<h1>Suborganization</h1>
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
|
|
|
@ -3,7 +3,6 @@
|
||||||
|
|
||||||
{% block title %}Domain managers | {{ domain.name }} | {% endblock %}
|
{% block title %}Domain managers | {{ domain.name }} | {% endblock %}
|
||||||
|
|
||||||
{% block domain_content %}
|
|
||||||
{% block breadcrumb %}
|
{% block breadcrumb %}
|
||||||
{% if portfolio %}
|
{% if portfolio %}
|
||||||
<!-- Navigation breadcrumbs -->
|
<!-- Navigation breadcrumbs -->
|
||||||
|
@ -23,6 +22,8 @@
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endblock breadcrumb %}
|
{% endblock breadcrumb %}
|
||||||
|
|
||||||
|
{% block domain_content %}
|
||||||
|
|
||||||
<h1>Domain managers</h1>
|
<h1>Domain managers</h1>
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
|
|
|
@ -9,11 +9,6 @@ Organization member
|
||||||
|
|
||||||
{% block portfolio_content %}
|
{% block portfolio_content %}
|
||||||
<div id="main-content" class="{% if not is_widescreen_centered %}desktop:grid-offset-2{% endif %}">
|
<div id="main-content" class="{% if not is_widescreen_centered %}desktop:grid-offset-2{% endif %}">
|
||||||
<!-- Form messages -->
|
|
||||||
{% include "includes/form_errors.html" with form=form %}
|
|
||||||
{% block messages %}
|
|
||||||
{% include "includes/form_messages.html" %}
|
|
||||||
{% endblock messages%}
|
|
||||||
|
|
||||||
{% url 'members' as url %}
|
{% url 'members' as url %}
|
||||||
<nav class="usa-breadcrumb padding-top-0" aria-label="Portfolio member breadcrumb">
|
<nav class="usa-breadcrumb padding-top-0" aria-label="Portfolio member breadcrumb">
|
||||||
|
@ -27,6 +22,11 @@ Organization member
|
||||||
</ol>
|
</ol>
|
||||||
</nav>
|
</nav>
|
||||||
|
|
||||||
|
<!-- Form messages -->
|
||||||
|
{% block messages %}
|
||||||
|
{% include "includes/form_messages.html" %}
|
||||||
|
{% endblock messages%}
|
||||||
|
{% include "includes/form_errors.html" with form=form %}
|
||||||
|
|
||||||
<h1 class="margin-bottom-3">Manage member</h1>
|
<h1 class="margin-bottom-3">Manage member</h1>
|
||||||
|
|
||||||
|
|
|
@ -7,11 +7,6 @@
|
||||||
|
|
||||||
{% block portfolio_content %}
|
{% block portfolio_content %}
|
||||||
<div id="main-content" class=" {% if not is_widescreen_centered %}desktop:grid-offset-2{% endif %}">
|
<div id="main-content" class=" {% if not is_widescreen_centered %}desktop:grid-offset-2{% endif %}">
|
||||||
<!-- Form messages -->
|
|
||||||
{% include "includes/form_errors.html" with form=form %}
|
|
||||||
{% block messages %}
|
|
||||||
{% include "includes/form_messages.html" %}
|
|
||||||
{% endblock messages%}
|
|
||||||
|
|
||||||
{% url 'members' as url %}
|
{% url 'members' as url %}
|
||||||
{% if portfolio_permission %}
|
{% if portfolio_permission %}
|
||||||
|
@ -35,6 +30,13 @@
|
||||||
</ol>
|
</ol>
|
||||||
</nav>
|
</nav>
|
||||||
|
|
||||||
|
<!-- Form messages -->
|
||||||
|
{% block messages %}
|
||||||
|
{% include "includes/form_messages.html" %}
|
||||||
|
{% endblock messages%}
|
||||||
|
{% include "includes/form_errors.html" with form=form %}
|
||||||
|
|
||||||
|
|
||||||
<div class="grid-row grid-gap">
|
<div class="grid-row grid-gap">
|
||||||
<div class="mobile:grid-col-12 tablet:grid-col-7">
|
<div class="mobile:grid-col-12 tablet:grid-col-7">
|
||||||
<h1>Domain assignments</h1>
|
<h1>Domain assignments</h1>
|
||||||
|
|
|
@ -7,11 +7,6 @@
|
||||||
|
|
||||||
{% block portfolio_content %}
|
{% block portfolio_content %}
|
||||||
<div id="main-content" class=" {% if not is_widescreen_centered %}desktop:grid-offset-2{% endif %}">
|
<div id="main-content" class=" {% if not is_widescreen_centered %}desktop:grid-offset-2{% endif %}">
|
||||||
<!-- Form messages -->
|
|
||||||
{% include "includes/form_errors.html" with form=form %}
|
|
||||||
{% block messages %}
|
|
||||||
{% include "includes/form_messages.html" %}
|
|
||||||
{% endblock messages%}
|
|
||||||
|
|
||||||
{% url 'members' as url %}
|
{% url 'members' as url %}
|
||||||
{% if portfolio_permission %}
|
{% if portfolio_permission %}
|
||||||
|
@ -38,6 +33,12 @@
|
||||||
</ol>
|
</ol>
|
||||||
</nav>
|
</nav>
|
||||||
|
|
||||||
|
<!-- Form messages -->
|
||||||
|
{% block messages %}
|
||||||
|
{% include "includes/form_messages.html" %}
|
||||||
|
{% endblock messages%}
|
||||||
|
{% include "includes/form_errors.html" with form=form %}
|
||||||
|
|
||||||
<section id="domain-assignments-edit-view">
|
<section id="domain-assignments-edit-view">
|
||||||
<h1>Edit domain assignments</h1>
|
<h1>Edit domain assignments</h1>
|
||||||
|
|
||||||
|
|
|
@ -11,11 +11,6 @@
|
||||||
{% block portfolio_content %}
|
{% block portfolio_content %}
|
||||||
|
|
||||||
<div id="main-content" class=" {% if not is_widescreen_centered %}desktop:grid-offset-2{% endif %}">
|
<div id="main-content" class=" {% if not is_widescreen_centered %}desktop:grid-offset-2{% endif %}">
|
||||||
<!-- Form messages -->
|
|
||||||
{% include "includes/form_errors.html" with form=form %}
|
|
||||||
{% block messages %}
|
|
||||||
{% include "includes/form_messages.html" %}
|
|
||||||
{% endblock messages%}
|
|
||||||
|
|
||||||
<!-- Navigation breadcrumbs -->
|
<!-- Navigation breadcrumbs -->
|
||||||
{% url 'members' as url %}
|
{% url 'members' as url %}
|
||||||
|
@ -38,6 +33,13 @@
|
||||||
</ol>
|
</ol>
|
||||||
</nav>
|
</nav>
|
||||||
|
|
||||||
|
<!-- Form messages -->
|
||||||
|
{% block messages %}
|
||||||
|
{% include "includes/form_messages.html" %}
|
||||||
|
{% endblock messages%}
|
||||||
|
{% include "includes/form_errors.html" with form=form %}
|
||||||
|
|
||||||
|
|
||||||
<!-- Page header -->
|
<!-- Page header -->
|
||||||
<h1>Member access and permissions</h1>
|
<h1>Member access and permissions</h1>
|
||||||
|
|
||||||
|
|
|
@ -11,11 +11,7 @@
|
||||||
{% block portfolio_content %}
|
{% block portfolio_content %}
|
||||||
|
|
||||||
<div id="main-content" class=" {% if not is_widescreen_centered %}desktop:grid-offset-2{% endif %}">
|
<div id="main-content" class=" {% if not is_widescreen_centered %}desktop:grid-offset-2{% endif %}">
|
||||||
<!-- Form messages -->
|
|
||||||
{% include "includes/form_errors.html" with form=form %}
|
|
||||||
{% block messages %}
|
|
||||||
{% include "includes/form_messages.html" %}
|
|
||||||
{% endblock messages%}
|
|
||||||
|
|
||||||
<!-- Navigation breadcrumbs -->
|
<!-- Navigation breadcrumbs -->
|
||||||
<nav class="usa-breadcrumb padding-top-0 bg-gray-1" aria-label="Domain request breadcrumb">
|
<nav class="usa-breadcrumb padding-top-0 bg-gray-1" aria-label="Domain request breadcrumb">
|
||||||
|
@ -29,6 +25,12 @@
|
||||||
</ol>
|
</ol>
|
||||||
</nav>
|
</nav>
|
||||||
|
|
||||||
|
<!-- Form messages -->
|
||||||
|
{% block messages %}
|
||||||
|
{% include "includes/form_messages.html" %}
|
||||||
|
{% endblock messages%}
|
||||||
|
{% include "includes/form_errors.html" with form=form %}
|
||||||
|
|
||||||
<!-- Page header -->
|
<!-- Page header -->
|
||||||
<h1>Add a new member</h1>
|
<h1>Add a new member</h1>
|
||||||
|
|
||||||
|
|
|
@ -14,16 +14,6 @@ Edit your User Profile |
|
||||||
<main id="main-content" class="grid-container grid-container--widescreen">
|
<main id="main-content" class="grid-container grid-container--widescreen">
|
||||||
<div class="{% if not is_widescreen_centered %}max-width--grid-container{% endif %}">
|
<div class="{% if not is_widescreen_centered %}max-width--grid-container{% endif %}">
|
||||||
<div class="desktop:grid-col-8 desktop:grid-offset-2">
|
<div class="desktop:grid-col-8 desktop:grid-offset-2">
|
||||||
{% if messages %}
|
|
||||||
{% for message in messages %}
|
|
||||||
<div class="usa-alert usa-alert--{{ message.tags }} usa-alert--slim margin-bottom-3" role="alert">
|
|
||||||
<div class="usa-alert__body">
|
|
||||||
{{ message }}
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
{% endfor %}
|
|
||||||
{% endif %}
|
|
||||||
{% include "includes/form_errors.html" with form=form %}
|
|
||||||
|
|
||||||
{% if show_back_button %}
|
{% if show_back_button %}
|
||||||
<a href="{% url form.initial.redirect %}" class="breadcrumb__back">
|
<a href="{% url form.initial.redirect %}" class="breadcrumb__back">
|
||||||
|
@ -35,7 +25,20 @@ Edit your User Profile |
|
||||||
</p>
|
</p>
|
||||||
</a>
|
</a>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
|
<!-- Form messages -->
|
||||||
|
{% if messages %}
|
||||||
|
{% for message in messages %}
|
||||||
|
<div class="usa-alert usa-alert--{{ message.tags }} usa-alert--slim margin-bottom-3" role="alert">
|
||||||
|
<div class="usa-alert__body">
|
||||||
|
{{ message }}
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
{% endfor %}
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
|
{% include "includes/form_errors.html" with form=form %}
|
||||||
|
|
||||||
{% if show_confirmation_modal %}
|
{% if show_confirmation_modal %}
|
||||||
<a
|
<a
|
||||||
href="#toggle-confirmation-modal"
|
href="#toggle-confirmation-modal"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue