blob: cc15ba13c2aa6fc75129d5c57abec54a9738dd30 [file] [log] [blame]
<div class="panel panel-default">
<div class="panel-heading">
<form #fileImportForm="ngForm">
<table>
<tr>
<td style="width:80%;">
<h4 class="panel-title">
<div>Dateiauswahl Meldung importieren</div>
</h4>
</td>
</tr>
</table>
</form>
</div>
<div class="panel-body">
<table class="table table-striped table-bordered">
<thead>
<tr>
<th class="notification-tab-first-col">Erstellungs Datum</th>
<th class="notification-tab-filename">Dateiname</th>
<th class="notification-tab-branch"></th>
<th class="notification-tab-grid-territory"></th>
<th class="notification-tab-description">Kurztext</th>
<th class="notification-tab-edit-buttons"></th>
</tr>
</thead>
<tbody>
<tr *ngFor="let fileModel of defaultList" class='notification_row_testable'>
<td colspan="8" style="padding:0px;">
<table style="width:100%">
<tr>
<td class="notification-tab-first-col">
<span>
{{ fileModel.creationDate | formattedTimestamp: 'DD.MM.YYYY HH:mm' }}
</span>
</td>
<td class="notification-tab-filename">
{{ fileModel.fileName }}
</td>
<td class="notification-tab-branch" [ngClass]="sessionContext.getBranchClassByName(fileModel.branchName)">
{{ fileModel.branchName }}
</td>
<td class="notification-tab-grid-territory">
<span>
{{ fileModel.gridTerritoryName }}
</span>
</td>
<td class="notification-tab-description" data-toggle="tooltip"
[attr.data-original-title]="fileModel.notificationText">{{ fileModel.notificationText }}</td>
<td class="notification-tab-edit-buttons">
<button type="button" class="btn btn-primary btn-sm" (click)="importThisFile(fileModel)">
<span class="glyphicon glyphicon-import"></span>
</button>
</td>
</tr>
</table>
</td>
</tr>
</tbody>
</table>
</div>
<div>
<button class="btn btn-primary btn-sm" (click)="cancel()">Abbrechen</button>
</div>
</div>