Handle styles for a panel subtitle
This commit is contained in:
parent
8d671b238b
commit
1503a519ed
@ -43,4 +43,12 @@
|
||||
padding: 0 ($gap * 4);
|
||||
}
|
||||
}
|
||||
|
||||
.panel__heading {
|
||||
margin: ($gap * 2) 0;
|
||||
|
||||
h1, h2, h3, h4, h5, h6 {
|
||||
margin: 0;
|
||||
}
|
||||
}
|
||||
}
|
@ -17,6 +17,11 @@ p {
|
||||
h1, h2, h3, h4, h5, h6 {
|
||||
font-family: $font-sans;
|
||||
margin: ($gap * 2) 0;
|
||||
|
||||
+ .subtitle * {
|
||||
margin-top: 0;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
a,
|
||||
@ -36,3 +41,7 @@ dt {
|
||||
display: inline;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.subtitle {
|
||||
color: $color-gray;
|
||||
}
|
||||
|
@ -1,7 +1,10 @@
|
||||
{% extends '../requests_new.html.to' %}
|
||||
|
||||
{% block form %}
|
||||
{% block subtitle %}
|
||||
<h2>Details of Use</h2>
|
||||
{% end %}
|
||||
|
||||
{% block form %}
|
||||
|
||||
{% autoescape None %}
|
||||
{% if f.errors %}
|
||||
|
@ -1,5 +1,9 @@
|
||||
{% extends '../requests_new.html.to' %}
|
||||
|
||||
{% block subtitle %}
|
||||
<h2>Information About You</h2>
|
||||
{% end %}
|
||||
|
||||
{% block form %}
|
||||
|
||||
{% autoescape None %}
|
||||
@ -7,8 +11,6 @@
|
||||
<b class="usa-input-error-message">There were some errors, see below.</b>
|
||||
{% end %}
|
||||
|
||||
|
||||
<h2 id="Information About You">Information About You</h2>
|
||||
<p class="usa-font-lead">Please tell us more about yourself.</p>
|
||||
|
||||
{{ f.fname_request.label }}
|
||||
|
@ -1,5 +1,9 @@
|
||||
{% extends '../requests_new.html.to' %}
|
||||
|
||||
{% block subtitle %}
|
||||
<h2>Primary Government/Military <br> Point of Contact (POC)</h2>
|
||||
{% end %}
|
||||
|
||||
{% block form %}
|
||||
|
||||
{% autoescape None %}
|
||||
@ -7,7 +11,6 @@
|
||||
<b class="usa-input-error-message">There were some errors, see below.</b>
|
||||
{% 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>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>
|
||||
|
@ -1,5 +1,9 @@
|
||||
{% extends '../requests_new.html.to' %}
|
||||
|
||||
{% block subtitle %}
|
||||
<h2>Review & Submit</h2>
|
||||
{% end %}
|
||||
|
||||
{% block form_action %}
|
||||
<form method='POST' action="{{ reverse_url('requests_submit', request_id) }}" autocomplete="off">
|
||||
{% end %}
|
||||
@ -11,8 +15,6 @@
|
||||
<b>There were some errors, see below.</b>
|
||||
{% 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>
|
||||
|
||||
<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">
|
||||
<div class="panel__heading">
|
||||
<h1>New Request</h1>
|
||||
<div class="subtitle">{% block subtitle %}{% end %}</div>
|
||||
</div>
|
||||
|
||||
{% block form_action %}
|
||||
|
Loading…
x
Reference in New Issue
Block a user