-
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
72bba16
commit ebf0566
Showing
12 changed files
with
98 additions
and
105 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 1 addition & 3 deletions
4
...ge.Scripture/ClientApp/src/app/serval-administration/serval-administration.component.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,3 @@ | ||
<div fxLayout="column" fxLayoutAlign="center start" class="body-content"> | ||
<h1>Serval Administration</h1> | ||
</div> | ||
<h1>Serval Administration</h1> | ||
|
||
<app-serval-projects></app-serval-projects> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
68 changes: 32 additions & 36 deletions
68
...IL.XForge.Scripture/ClientApp/src/app/serval-administration/serval-project.component.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,39 +1,35 @@ | ||
<div fxLayout="column" fxLayoutAlign="center start" class="body-content"> | ||
<h1>{{ projectName }}</h1> | ||
<div> | ||
<a mat-raised-button color="primary" [appRouterLink]="'/serval-administration'">Back to Projects</a> | ||
</div> | ||
<h2>Pre-Translation Configuration</h2> | ||
<div> | ||
<mat-checkbox [checked]="preTranslate" (change)="onUpdatePreTranslate($event.checked)"> | ||
Pre-Translation Drafting Enabled | ||
</mat-checkbox> | ||
</div> | ||
<h2>Downloads</h2> | ||
<app-notice icon="info"> | ||
The Zip archives contain the Paratext files for the project at the time of last sync. | ||
</app-notice> | ||
<div class="table-container"> | ||
<table mat-table [dataSource]="rows"> | ||
<ng-container | ||
*ngFor="let column of columnsToDisplay | slice : 0 : columnsToDisplay.length - 1" | ||
[matColumnDef]="column" | ||
> | ||
<th mat-header-cell *matHeaderCellDef>{{ headingsToDisplay[column] }}</th> | ||
<td mat-cell *matCellDef="let row">{{ row[column] }}</td> | ||
</ng-container> | ||
<h1>{{ projectName }}</h1> | ||
<a mat-raised-button color="primary" [appRouterLink]="'/serval-administration'">Back to Projects</a> | ||
|
||
<ng-container matColumnDef="id"> | ||
<th mat-header-cell *matHeaderCellDef></th> | ||
<td mat-cell *matCellDef="let row"> | ||
<button mat-raised-button color="primary" (click)="downloadProject(row['id'], row['fileName'])"> | ||
Download | ||
</button> | ||
</td> | ||
</ng-container> | ||
<h2>Pre-Translation Configuration</h2> | ||
<mat-checkbox [checked]="preTranslate" (change)="onUpdatePreTranslate($event.checked)"> | ||
Pre-Translation Drafting Enabled | ||
</mat-checkbox> | ||
|
||
<tr mat-header-row *matHeaderRowDef="columnsToDisplay"></tr> | ||
<tr mat-row *matRowDef="let myRowData; columns: columnsToDisplay"></tr> | ||
</table> | ||
</div> | ||
<h2>Downloads</h2> | ||
<app-notice icon="info"> | ||
The Zip archives contain the Paratext files for the project at the time of last sync. | ||
</app-notice> | ||
<div class="table-container"> | ||
<table mat-table [dataSource]="rows"> | ||
<ng-container | ||
*ngFor="let column of columnsToDisplay | slice : 0 : columnsToDisplay.length - 1" | ||
[matColumnDef]="column" | ||
> | ||
<th mat-header-cell *matHeaderCellDef>{{ headingsToDisplay[column] }}</th> | ||
<td mat-cell *matCellDef="let row">{{ row[column] }}</td> | ||
</ng-container> | ||
|
||
<ng-container matColumnDef="id"> | ||
<th mat-header-cell *matHeaderCellDef></th> | ||
<td mat-cell *matCellDef="let row"> | ||
<button mat-raised-button color="primary" (click)="downloadProject(row['id'], row['fileName'])"> | ||
Download | ||
</button> | ||
</td> | ||
</ng-container> | ||
|
||
<tr mat-header-row *matHeaderRowDef="columnsToDisplay"></tr> | ||
<tr mat-row *matRowDef="let myRowData; columns: columnsToDisplay"></tr> | ||
</table> | ||
</div> |
Oops, something went wrong.