OpenProject is the leading open source project management software.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
openproject/app/assets/stylesheets/content/_work_packages_table.lsg

168 lines
4.5 KiB

# Work packages table
## with work packages
```
<div class="generic-table--container work-package-table--container">
<div class="generic-table--results-container">
<table class="generic-table" interactive-table>
<colgroup>
<col highlight-col>
<col highlight-col>
<col highlight-col>
<col highlight-col>
<col highlight-col>
</colgroup>
<thead>
<tr>
<th>
<div class="generic-table--header-outer">
<input type="checkbox">
</div>
</th>
<th>
<div class="generic-table--sort-header-outer">
<span class="generic-table--sort-header">
#
9 years ago
<span class="icon-context icon-button icon-pulldown dropdown-indicator"></span>
</span>
</div>
</th>
<th class="active-column">
<div class="generic-table--sort-header-outer">
<span class="generic-table--sort-header">
Subject
9 years ago
<span class="icon-context icon-button icon-pulldown dropdown-indicator"></span>
</span>
</div>
</th>
<th>
<div class="generic-table--sort-header-outer">
<span class="generic-table--sort-header">
Type
9 years ago
<span class="icon-context icon-button icon-pulldown dropdown-indicator"></span>
</span>
</div>
</th>
<th>
<div class="generic-table--sort-header-outer">
<span class="generic-table--sort-header">
Status
9 years ago
<span class="icon-context icon-button icon-pulldown dropdown-indicator"></span>
</span>
</div>
</th>
<th>
<div class="generic-table--sort-header-outer">
<span class="generic-table--sort-header">
Priority
9 years ago
<span class="icon-context icon-button icon-pulldown dropdown-indicator"></span>
</span>
</div>
</th>
<th>
<div class="generic-table--sort-header-outer">
<span class="generic-table--sort-header">
Assignee
9 years ago
<span class="icon-context icon-button icon-pulldown dropdown-indicator"></span>
</span>
</div>
</th>
</tr>
</thead>
<tbody>
<tr>
<td class="checkbox">
<p><input type="checkbox"></p>
</td>
<td class="id">
<p>1234</p>
</td>
<td>
<p>Lorem ipsum</p>
</td>
<td>
<p>User Story</p>
<div class="active-column"></div>
</td>
<td>
<p>In Progress</p>
</td>
<td>
<p>Normal</p>
</td>
<td>
<p>John Doe</p>
</td>
</tr>
<tr>
<td class="checkbox">
<p><input type="checkbox"></p>
</td>
<td class="id">
<p>1234</p>
</td>
<td>
<p>Lorem ipsum</p>
</td>
<td>
<p>User Story</p>
<div class="active-column"></div>
</td>
<td>
<p>In Progress</p>
</td>
<td>
<p>Normal</p>
</td>
<td>
<p>John Doe</p>
</td>
</tr>
<tr>
<td class="checkbox">
<p><input type="checkbox"></p>
</td>
<td class="id">
<p>1234</p>
</td>
<td>
<p>Lorem ipsum</p>
</td>
<td>
<p>User Story</p>
<div class="active-column"></div>
</td>
<td>
<p>In Progress</p>
</td>
<td>
<p>Normal</p>
</td>
<td>
<p>John Doe</p>
</td>
</tr>
</tbody>
</table>
<div class="generic-table--header-background"></div>
</div>
</div>
```
## with no work packages
```
<div class="generic-table--container work-package-table--container" style="height:150px">
<div class="generic-table--no-results-container">
9 years ago
<i class="icon-info1"></i>
<h2 class="generic-table--no-results-title">
No work packages to display
</h2>
<div class="generic-table--no-results-description">
<p>Either none have been created or all work packages are filtered out.</p>
</div>
</div>
</div>
```