blob: b85e193f3833cff54cf78937cd65350f5a3b1ec4 [file] [log] [blame]
<div class="overview-body" >
<div style="min-width: 1048px; overflow: auto">
<div class="maincontent" *ngIf="responsiblitiesRetrieveDone">
<div class="row">
<div class="col-xs-3">
<span style="font-size: 30px">Betriebstagebuch</span>
</div>
<div class="col-xs-9">
<div class="pull-right">
<button class="btn btn-primary" (click)="openDialogNewEntry()">
Eintrag anlegen
</button>
<button *ngIf="isSpecialUser()" class="btn btn-info" (click)="openInstructionDialogNewEntry()">
Anweisung anlegen
</button>
<!-- Datenimport starten -->
<!-- old: (click)="openDialogShiftChange() Schicht übergeben -->
<button class="btn btn-primary" id="dataimport" [ngClass]="{'btn-warning': sessionContext.isImportFileAvailable()}" (click)="openDialogDataImport()">
Datenimport
</button>
</div>
</div>
</div>
<div class="panel-group">
<app-filter [shiftChangeProtocolConfirmed]="shiftChangeClosed" [shiftChangeProtocolOpened]="shiftChangeOpened" [filterExpanded]="filterExpanded_"></app-filter>
<app-future-notifications
(onEditNotification)="openDialogEditEntry($event)" (onLookUpNotification)="openDialogLookUpEntry($event)" [withCheckboxes]="false"
[withEditButtons]="true" [isCollapsible]="true" [stayHidden]="true" [gridId]="'OverviewFutureNot'"></app-future-notifications>
<app-open-notifications
(onEditNotification)="openDialogEditEntry($event)" (onLookUpNotification)="openDialogLookUpEntry($event)" [withCheckboxes]="false"
[withEditButtons]="true" [isCollapsible]="true" [stayHidden]="false" [gridId]="'OverviewOpenNot'"></app-open-notifications>
<app-finished-notifications
(onEditNotification)="openDialogEditEntry($event)" [withCheckboxes]="false" (onLookUpNotification)="openDialogLookUpEntry($event)"
[withEditButtons]="true" [isCollapsible]="true" [stayHidden]="true" [gridId]="'OverviewFinishedNot'"></app-finished-notifications>
</div>
</div>
</div>
</div>