Add existing requests table to reqs page
This commit is contained in:
parent
f6fa44b065
commit
5667aedce4
@ -8,8 +8,9 @@ def make_app(**kwargs):
|
||||
app = tornado.web.Application([
|
||||
url( r"/", MainHandler, {'page': 'login'}, name='login' ),
|
||||
url( r"/home", MainHandler, {'page': 'home'}, name='home' ),
|
||||
url( r"/requests", Request, {'page': 'requests'}, name='requests' ),
|
||||
url( r"/accounts", MainHandler, {'page': 'accounts'}, name='accounts' ),
|
||||
url( r"/requests", Request, {'page': 'requests'}, name='requests' ),
|
||||
url( r"/requests/new", Request, {'page': 'requests_new'}, name='request_new' ),
|
||||
url( r"/requests/([0-9])", Request, {'page': 'requests'}, name='request_form' ),
|
||||
url( r"/users", MainHandler, {'page': 'users'}, name='users' ),
|
||||
url( r"/reports", MainHandler, {'page': 'reports'}, name='reports' ),
|
||||
|
@ -1,3 +1,10 @@
|
||||
h1, h2, h3, h4, h5, h6 {
|
||||
font-family: $font-sans;
|
||||
}
|
||||
|
||||
.usa-button {
|
||||
position: relative;
|
||||
bottom: 0.5rem;
|
||||
left: 1rem;
|
||||
}
|
||||
|
||||
}
|
@ -7,7 +7,6 @@
|
||||
<h1>Accounts</h1>
|
||||
|
||||
<table class="usa-table-borderless" width="100%">
|
||||
<!-- <caption>Borderless table: A borderless table can be useful when you want the information to feel more a part of the text it accompanies and extends.</caption> -->
|
||||
<thead>
|
||||
<tr>
|
||||
<th scope="col" width="50%">Account Name</th>
|
||||
|
@ -4,7 +4,54 @@
|
||||
|
||||
<main class="usa-section usa-content" id="main-content">
|
||||
|
||||
<h1>Requests</h1>
|
||||
<h1>Requests <a class="usa-button usa-button-secondary">New Request</a></h1>
|
||||
|
||||
<table class="usa-table-borderless" width="100%">
|
||||
<thead>
|
||||
<tr>
|
||||
<th scope="col">Order ID</th>
|
||||
<th scope="col">Request Date</th>
|
||||
<th scope="col">Requester</th>
|
||||
<th scope="col">Total Apps</th>
|
||||
<th scope="col">Status</th>
|
||||
<th scope="col">Actions</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<th scope="row"><a href="#">#36552612</a> <span class="usa-label">New</span></th>
|
||||
<td>5/17/2018</td>
|
||||
<td>Friedrich Straat</td>
|
||||
<td>2</td>
|
||||
<td>Pending</td>
|
||||
<td><a href="">Download</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row"><a href="">#87362910</a></th>
|
||||
<td>10/2/2017</td>
|
||||
<td>Pietro Quirinis</td>
|
||||
<td>1</td>
|
||||
<td>Complete</td>
|
||||
<td><a href="">Download</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row"><a href="">#29938172</a></th>
|
||||
<td>1/7/2017</td>
|
||||
<td>Marina Borsetti</td>
|
||||
<td>1</td>
|
||||
<td>Denied</td>
|
||||
<td><a href="">Download</a></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
<br><br>
|
||||
<hr>
|
||||
|
||||
<a class="href="/requests">‹ All requests</a>
|
||||
<h1>New Request</h1>
|
||||
|
||||
|
||||
<aside class="usa-width-one-fourth usa-layout-docs-sidenav">
|
||||
{% include 'requests/sidebar.html.to' %}
|
||||
</aside>
|
||||
@ -17,6 +64,7 @@
|
||||
<a class='usa-button usa-button-primary' href='{{ reverse_url('request_form',next_screen) }}'>Save & Continue</a>
|
||||
{% end %}
|
||||
</div>
|
||||
|
||||
</main>
|
||||
|
||||
{% end %}
|
||||
|
11
templates/requests_new.html.to
Normal file
11
templates/requests_new.html.to
Normal file
@ -0,0 +1,11 @@
|
||||
{% extends "base.html.to" %}
|
||||
|
||||
{% block content %}
|
||||
|
||||
<main class="usa-section usa-content" id="main-content">
|
||||
|
||||
<h1>New Request</h1>
|
||||
</main>
|
||||
|
||||
{% end %}
|
||||
|
Loading…
x
Reference in New Issue
Block a user