Config, secrets, basic POST handling

* add script/config
  * add atst.ini
  * add cookie_secret
  * update docs
This commit is contained in:
Brian Duggan
2018-05-31 13:55:18 -04:00
committed by Jason Garber
parent 6cf7a7bffa
commit a340eede07
11 changed files with 43 additions and 22 deletions

View File

@@ -5,5 +5,5 @@
<h5 class="usa-footer-slim-logo-heading">Joint Enterprise Defense Infrastructure</h5>
</div>
</div>
</footer>

View File

@@ -3,7 +3,7 @@
{% block form %}
<h2>Details of Use</h2>
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Doloremque placeat distinctio accusamus quo temporibus facilis, dicta delectus asperiores. Nihil aut quod quibusdam id fugit, officia dolorum laudantium! Quidem tempora, aliquam.</p>
<form>
<h3 id="application-details">Application Details</h3>
<p>These headings introduce, respectively, sections and subsections within your body copy. As you create these headings, follow the same guidelines that you use when writing section headings: Be succinct, descriptive, and precise.</p>
@@ -143,15 +143,4 @@
<input id="" name="" type="text" placeholder="Total number of environments">
<br><br>
<button class="usa-button-secondary">Create Application</button>
<br>
<button class="usa-button-secondary" disabled>Save &amp; Continue</button>
</form>
{% end %}

View File

@@ -8,19 +8,21 @@
<h1>New Request</h1>
<aside class="sidenav usa-width-one-third">
{% include 'requests/sidebar.html.to' %}
</aside>
<main class="main-content usa-width-two-thirds">
{% block form %}
<form method='POST' action='{{ reverse_url('request_form', current) }}'>
{% module xsrf_form_html() %}
{% block form %}
form goes here
{% end %}
{% block next %}
<a class='usa-button usa-button-primary' href='{{ reverse_url('request_form',next_screen) }}'>Save &amp; Continue</a>
{% end %}
{% end %}
{% block next %}
<input type='submit' class='usa-button usa-button-primary' value='Save & Continue' />
{% end %}
</form>
</main>