parent
5927709d3b
commit
6a8d7cf806
@ -1,125 +1,30 @@ |
||||
<div class="generic-table--container form--section"> |
||||
<div class="generic-table--results-container"> |
||||
<table class="generic-table"> |
||||
<colgroup> |
||||
<col> |
||||
<col opHighlightCol> |
||||
<col opHighlightCol> |
||||
<col opHighlightCol> |
||||
<col opHighlightCol> |
||||
<col opHighlightCol> |
||||
<col opHighlightCol> |
||||
<col opHighlightCol> |
||||
<col opHighlightCol> |
||||
<col opHighlightCol> |
||||
<col opHighlightCol> |
||||
</colgroup> |
||||
<table |
||||
class="op-table" |
||||
*ngIf="showTable$ | async" |
||||
> |
||||
<thead> |
||||
<tr> |
||||
<th> |
||||
<div class="generic-table--empty-header"></div> |
||||
</th> |
||||
<th> |
||||
<div class="generic-table--sort-header-outer"> |
||||
<div class="generic-table--sort-header"> |
||||
<span [textContent]="text.channel_header"></span> |
||||
</div> |
||||
</div> |
||||
</th> |
||||
<th> |
||||
<div class="generic-table--sort-header-outer"> |
||||
<div class="generic-table--sort-header"> |
||||
<span [textContent]="text.involved_header"></span> |
||||
</div> |
||||
</div> |
||||
</th> |
||||
<th> |
||||
<div class="generic-table--sort-header-outer"> |
||||
<div class="generic-table--sort-header"> |
||||
<span [textContent]="text.mentioned_header"></span> |
||||
</div> |
||||
</div> |
||||
</th> |
||||
<th> |
||||
<div class="generic-table--sort-header-outer"> |
||||
<div class="generic-table--sort-header"> |
||||
<span [textContent]="text.watched_header"></span> |
||||
</div> |
||||
</div> |
||||
</th> |
||||
<th> |
||||
<div class="generic-table--sort-header-outer"> |
||||
<div class="generic-table--sort-header"> |
||||
<span [textContent]="text.work_package_created_header"></span> |
||||
</div> |
||||
</div> |
||||
</th> |
||||
<th> |
||||
<div class="generic-table--sort-header-outer"> |
||||
<div class="generic-table--sort-header"> |
||||
<span [textContent]="text.work_package_commented_header"></span> |
||||
</div> |
||||
</div> |
||||
</th> |
||||
<th> |
||||
<div class="generic-table--sort-header-outer"> |
||||
<div class="generic-table--sort-header"> |
||||
<span [textContent]="text.work_package_processed_header"></span> |
||||
</div> |
||||
</div> |
||||
</th> |
||||
<th> |
||||
<div class="generic-table--sort-header-outer"> |
||||
<div class="generic-table--sort-header"> |
||||
<span [textContent]="text.work_package_prioritized_header"></span> |
||||
</div> |
||||
</div> |
||||
</th> |
||||
<th> |
||||
<div class="generic-table--sort-header-outer"> |
||||
<div class="generic-table--sort-header"> |
||||
<span [textContent]="text.work_package_scheduled_header"></span> |
||||
</div> |
||||
</div> |
||||
</th> |
||||
<th> |
||||
<div class="generic-table--sort-header-outer"> |
||||
<div class="generic-table--sort-header"> |
||||
<span [textContent]="text.any_event_header"></span> |
||||
</div> |
||||
</div> |
||||
</th> |
||||
<th> |
||||
<div class="generic-table--empty-header"></div> |
||||
</th> |
||||
<th class="op-table--cell--cell_heading"></th> |
||||
<ng-container |
||||
*ngFor="let item of (groupedNotificationSettings$ | async) | keyvalue" |
||||
> |
||||
<th class="op-table--cell op-table--cell_heading">{{ item.key }}</th> |
||||
</ng-container> |
||||
</tr> |
||||
</thead> |
||||
<tbody> |
||||
<ng-container *ngFor="let item of (groupedNotificationSettings$ | async) | keyvalue: projectOrder"> |
||||
<ng-container *ngFor="let setting of item.value; let first = first; let last = last"> |
||||
<tr |
||||
class="-no-highlighting" |
||||
op-notification-setting-row |
||||
[attr.data-qa-notification-project]="item.key" |
||||
[attr.data-qa-notification-channel]="setting.channel" |
||||
[count]="item.value.length" |
||||
[first]="first" |
||||
[setting]="setting" |
||||
> |
||||
</tr> |
||||
<tr *ngIf="last" |
||||
class="op-notifications-settings-table--spacer"> |
||||
<td colspan="7"></td> |
||||
</tr> |
||||
</ng-container> |
||||
<tr> |
||||
<th class="op-table--cell op-table--cell_soft-heading">{{ text.mentioned_header }}</th> |
||||
<ng-container *ngFor="let item of (groupedNotificationSettings$ | async) | keyvalue"> |
||||
<td><input type="checkbox" disabled checked /></td> |
||||
</ng-container> |
||||
</tr> |
||||
</tbody> |
||||
</table> |
||||
<op-notification-setting-inline-create |
||||
</table> |
||||
|
||||
<op-notification-setting-inline-create |
||||
*ngIf="userId" |
||||
[userId]="userId" |
||||
(selected)="addRow($event)" |
||||
data-qa-selector="notification-setting-inline-create" |
||||
></op-notification-setting-inline-create> |
||||
</div> |
||||
</div> |
||||
></op-notification-setting-inline-create> |
@ -0,0 +1,20 @@ |
||||
<div class="op-popout--headline"> |
||||
<h1>Select project(s)</h1> |
||||
<button |
||||
class="op-link" |
||||
type="button" |
||||
(click)="clearSelection()" |
||||
></button> |
||||
</div> |
||||
|
||||
<label> |
||||
<span class="hidden-for-sighted">Search</span> |
||||
<input |
||||
type="text" |
||||
(input)="search()" |
||||
/> |
||||
</label> |
||||
|
||||
<ul> |
||||
<li>Project A</li> |
||||
</ul> |
@ -0,0 +1,18 @@ |
||||
import { |
||||
Component, |
||||
HostBinding, |
||||
} from '@angular/core'; |
||||
|
||||
@Component({ |
||||
selector: 'op-project-list-select', |
||||
templateUrl: './project-list-select.component.html', |
||||
}) |
||||
export class OpProjectListSelectComponent { |
||||
@HostBinding('class.op-project-list-select') className = true; |
||||
|
||||
public clearSelection() { |
||||
} |
||||
|
||||
public search() { |
||||
} |
||||
} |
@ -0,0 +1,17 @@ |
||||
.op-table |
||||
max-width: 100% |
||||
overflow-x: scroll |
||||
border-collapse: collapse |
||||
|
||||
&--cell |
||||
padding: 12px 16px |
||||
border: 1px solid #cccccc |
||||
text-align: center |
||||
|
||||
&_heading |
||||
background-color: #f3f3f3 |
||||
font-weight: bold |
||||
text-align: left |
||||
|
||||
&_soft-heading |
||||
background-color: transparent |
Loading…
Reference in new issue