Add workspace handler and move mock data into server

This commit is contained in:
Brian Duggan
2018-05-31 11:00:02 -04:00
parent 2732ccfb12
commit 03e6cab26a
3 changed files with 29 additions and 7 deletions

View File

@@ -9,22 +9,24 @@
<table class="usa-table-borderless" width="100%">
<thead>
<tr>
<th scope="col" width="50%">Workplace Name</th>
<th scope="col" width="30%">Workplace Info</th>
<th scope="col" width="50%">Workspace Name</th>
<th scope="col" width="30%">Workspace Info</th>
<th scope="col" width="20%">Actions</th>
</tr>
</thead>
<tbody>
<tr>
{% for w in workspaces %}
<tr>
<th scope="row">
<a href="">Unclassified IaaS and PaaS for Defense Digital Service (DDS)</a><br>
Task Order: #123456
<a href="">{{ w['name'] }}</a><br>
Task Order: #{{ w['task_order']['number'] }}
</th>
<td>
<span class="usa-label">23</span><br>Users
<span class="usa-label">{{ w['user_count'] }}</span><br>Users
</td>
<td><button class="usa-button-secondary">Launch</button></td>
</tr>
{% end %}
</tbody>
</table>