Handle styles for a panel subtitle
This commit is contained in:
parent
8d671b238b
commit
1503a519ed
@ -43,4 +43,12 @@
|
|||||||
padding: 0 ($gap * 4);
|
padding: 0 ($gap * 4);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.panel__heading {
|
||||||
|
margin: ($gap * 2) 0;
|
||||||
|
|
||||||
|
h1, h2, h3, h4, h5, h6 {
|
||||||
|
margin: 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
@ -4,7 +4,7 @@
|
|||||||
* @source https://github.com/uswds/uswds/blob/develop/src/stylesheets/elements/_typography.scss
|
* @source https://github.com/uswds/uswds/blob/develop/src/stylesheets/elements/_typography.scss
|
||||||
*/
|
*/
|
||||||
|
|
||||||
* {
|
* {
|
||||||
-webkit-font-smoothing: antialiased;
|
-webkit-font-smoothing: antialiased;
|
||||||
-moz-osx-font-smoothing: grayscale;
|
-moz-osx-font-smoothing: grayscale;
|
||||||
}
|
}
|
||||||
@ -17,6 +17,11 @@ p {
|
|||||||
h1, h2, h3, h4, h5, h6 {
|
h1, h2, h3, h4, h5, h6 {
|
||||||
font-family: $font-sans;
|
font-family: $font-sans;
|
||||||
margin: ($gap * 2) 0;
|
margin: ($gap * 2) 0;
|
||||||
|
|
||||||
|
+ .subtitle * {
|
||||||
|
margin-top: 0;
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
a,
|
a,
|
||||||
@ -36,3 +41,7 @@ dt {
|
|||||||
display: inline;
|
display: inline;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.subtitle {
|
||||||
|
color: $color-gray;
|
||||||
|
}
|
||||||
|
@ -1,7 +1,10 @@
|
|||||||
{% extends '../requests_new.html.to' %}
|
{% extends '../requests_new.html.to' %}
|
||||||
|
|
||||||
|
{% block subtitle %}
|
||||||
|
<h2>Details of Use</h2>
|
||||||
|
{% end %}
|
||||||
|
|
||||||
{% block form %}
|
{% block form %}
|
||||||
<h2>Details of Use</h2>
|
|
||||||
|
|
||||||
{% autoescape None %}
|
{% autoescape None %}
|
||||||
{% if f.errors %}
|
{% if f.errors %}
|
||||||
|
@ -1,5 +1,9 @@
|
|||||||
{% extends '../requests_new.html.to' %}
|
{% extends '../requests_new.html.to' %}
|
||||||
|
|
||||||
|
{% block subtitle %}
|
||||||
|
<h2>Information About You</h2>
|
||||||
|
{% end %}
|
||||||
|
|
||||||
{% block form %}
|
{% block form %}
|
||||||
|
|
||||||
{% autoescape None %}
|
{% autoescape None %}
|
||||||
@ -7,8 +11,6 @@
|
|||||||
<b class="usa-input-error-message">There were some errors, see below.</b>
|
<b class="usa-input-error-message">There were some errors, see below.</b>
|
||||||
{% end %}
|
{% end %}
|
||||||
|
|
||||||
|
|
||||||
<h2 id="Information About You">Information About You</h2>
|
|
||||||
<p class="usa-font-lead">Please tell us more about yourself.</p>
|
<p class="usa-font-lead">Please tell us more about yourself.</p>
|
||||||
|
|
||||||
{{ f.fname_request.label }}
|
{{ f.fname_request.label }}
|
||||||
|
@ -1,5 +1,9 @@
|
|||||||
{% extends '../requests_new.html.to' %}
|
{% extends '../requests_new.html.to' %}
|
||||||
|
|
||||||
|
{% block subtitle %}
|
||||||
|
<h2>Primary Government/Military <br> Point of Contact (POC)</h2>
|
||||||
|
{% end %}
|
||||||
|
|
||||||
{% block form %}
|
{% block form %}
|
||||||
|
|
||||||
{% autoescape None %}
|
{% autoescape None %}
|
||||||
@ -7,7 +11,6 @@
|
|||||||
<b class="usa-input-error-message">There were some errors, see below.</b>
|
<b class="usa-input-error-message">There were some errors, see below.</b>
|
||||||
{% end %}
|
{% end %}
|
||||||
|
|
||||||
<h2 id="primary-poc">Primary Government/Military <br> Point of Contact (POC)</h2>
|
|
||||||
<p class="usa-font-lead">Please designate a Primary Point of Contact that will be responsible for owning the workspace in the JEDI Cloud.</p>
|
<p class="usa-font-lead">Please designate a Primary Point of Contact that will be responsible for owning the workspace in the JEDI Cloud.</p>
|
||||||
<p>The Point of Contact will become the primary owner of the <em>workspace</em> created to use the JEDI Cloud. As a workspace owner, this person will have the ability to:
|
<p>The Point of Contact will become the primary owner of the <em>workspace</em> created to use the JEDI Cloud. As a workspace owner, this person will have the ability to:
|
||||||
<ul>
|
<ul>
|
||||||
|
@ -1,5 +1,9 @@
|
|||||||
{% extends '../requests_new.html.to' %}
|
{% extends '../requests_new.html.to' %}
|
||||||
|
|
||||||
|
{% block subtitle %}
|
||||||
|
<h2>Review & Submit</h2>
|
||||||
|
{% end %}
|
||||||
|
|
||||||
{% block form_action %}
|
{% block form_action %}
|
||||||
<form method='POST' action="{{ reverse_url('requests_submit', request_id) }}" autocomplete="off">
|
<form method='POST' action="{{ reverse_url('requests_submit', request_id) }}" autocomplete="off">
|
||||||
{% end %}
|
{% end %}
|
||||||
@ -11,8 +15,6 @@
|
|||||||
<b>There were some errors, see below.</b>
|
<b>There were some errors, see below.</b>
|
||||||
{% end %}
|
{% end %}
|
||||||
|
|
||||||
<h2 id="review-submit">Review & Submit</h2>
|
|
||||||
|
|
||||||
<p class="usa-font-lead">Before you can submit your request, please take a moment to review the information entered in the form. You may make changes by clicking the edit link on each section. When all information looks right, go ahead and submit.</p>
|
<p class="usa-font-lead">Before you can submit your request, please take a moment to review the information entered in the form. You may make changes by clicking the edit link on each section. When all information looks right, go ahead and submit.</p>
|
||||||
|
|
||||||
<h3>Details of Use <a href="{{ reverse_url('request_form_update', 1, request_id) }}">Edit</a></h3>
|
<h3>Details of Use <a href="{{ reverse_url('request_form_update', 1, request_id) }}">Edit</a></h3>
|
||||||
|
@ -11,6 +11,7 @@
|
|||||||
<main class="panel__content">
|
<main class="panel__content">
|
||||||
<div class="panel__heading">
|
<div class="panel__heading">
|
||||||
<h1>New Request</h1>
|
<h1>New Request</h1>
|
||||||
|
<div class="subtitle">{% block subtitle %}{% end %}</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{% block form_action %}
|
{% block form_action %}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user