Merge pull request #114 from dod-ccpo/ui/workspaces-list

Clean up workspace list layout
This commit is contained in:
andrewdds 2018-07-31 12:01:24 -04:00 committed by GitHub
commit 81999dc486
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -5,22 +5,23 @@
<table> <table>
<thead> <thead>
<tr> <tr>
<th scope="col" width="50%">Workspace Name</th> <th>Workspace Name</th>
<th scope="col" width="30%">Workspace Info</th> <th>Task Order</th>
<th scope="col" width="20%">Actions</th> <th>Users</th>
</tr> </tr>
</thead> </thead>
<tbody> <tbody>
{% for w in workspaces %} {% for w in workspaces %}
<tr> <tr>
<td scope="row"> <td>
<a href="/workspaces/{{w['task_order']['number']}}/projects">{{ w['name'] }}</a><br> <a class='icon-link icon-link--large' href="/workspaces/{{w['task_order']['number']}}/projects">{{ w['name'] }}</a><br>
Task Order: #{{ w['task_order']['number'] }}
</td> </td>
<td> <td>
<span class="usa-label">{{ w['user_count'] }}</span><br>Users #{{ w['task_order']['number'] }}
</td>
<td>
<span class="label">{{ w['user_count'] }}</span><span class='h6'>Users</span>
</td> </td>
<td><button class="usa-button-secondary">Launch</button></td>
</tr> </tr>
{% end %} {% end %}
</tbody> </tbody>