-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #379 from spderosso/theming
Theming
- Loading branch information
Showing
82 changed files
with
697 additions
and
398 deletions.
There are no files selected for viewing
4 changes: 3 additions & 1 deletion
4
...es/catalog/allocator/src/app/allocator/create-allocation/create-allocation.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,6 +1,8 @@ | ||
<form (ngSubmit)="onSubmit()" class="form-horizontal"> | ||
<!-- TODO add the other fields --> | ||
<div class="form-group"> | ||
<button mat-button type="submit">{{buttonLabel}}</button> | ||
<div class="dv-mat-button"> | ||
<button mat-button type="submit">{{buttonLabel}}</button> | ||
</div> | ||
</div> | ||
</form> |
8 changes: 5 additions & 3 deletions
8
packages/catalog/allocator/src/app/allocator/delete-resource/delete-resource.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,7 @@ | ||
<div class="form-group"> | ||
<button mat-button (click)="deleteResource()"> | ||
<i class="material-icons">delete</i> | ||
</button> | ||
<div class="dv-mat-button"> | ||
<button mat-button (click)="deleteResource()"> | ||
<i class="material-icons">delete</i> | ||
</button> | ||
</div> | ||
</div> |
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
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: 3 additions & 1 deletion
4
packages/catalog/authentication/src/app/authentication/sign-out/sign-out.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 +1,3 @@ | ||
<button mat-button (click)="signOut()">{{buttonLabel}}</button> | ||
<div class="dv-mat-button"> | ||
<button mat-button (click)="signOut()">{{buttonLabel}}</button> | ||
</div> |
6 changes: 4 additions & 2 deletions
6
...og/authorization/src/app/authorization/add-remove-viewer/add-remove-viewer.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,4 +1,6 @@ | ||
<div *ngIf="resource || resourceId"> | ||
<button mat-button *ngIf="!canViewResource" (click)="addViewer()">Add Viewer</button> | ||
<button mat-button *ngIf="canViewResource" (click)="removeViewer()">Remove Viewer</button> | ||
<div class="dv-mat-button"> | ||
<button mat-button *ngIf="!canViewResource" (click)="addViewer()">Add Viewer</button> | ||
<button mat-button *ngIf="canViewResource" (click)="removeViewer()">Remove Viewer</button> | ||
</div> | ||
</div> |
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
8 changes: 5 additions & 3 deletions
8
...atalog/authorization/src/app/authorization/delete-resource/delete-resource.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,3 +1,5 @@ | ||
<button mat-button (click)="deleteResource()"> | ||
<i class="material-icons">delete</i> | ||
</button> | ||
<div class="dv-mat-button"> | ||
<button mat-button (click)="deleteResource()"> | ||
<i class="material-icons">delete</i> | ||
</button> | ||
</div> |
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
8 changes: 5 additions & 3 deletions
8
packages/catalog/chat/src/app/chat/delete-message/delete-message.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,3 +1,5 @@ | ||
<button mat-button (click)="deleteMessage()"> | ||
<i class="material-icons">delete</i> | ||
</button> | ||
<div class="dv-mat-button"> | ||
<button mat-button (click)="deleteMessage()"> | ||
<i class="material-icons">delete</i> | ||
</button> | ||
</div> |
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
8 changes: 5 additions & 3 deletions
8
packages/catalog/comment/src/app/comment/delete-comment/delete-comment.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,3 +1,5 @@ | ||
<button mat-button (click)="deleteComment()"> | ||
<i class="material-icons">delete</i> | ||
</button> | ||
<div class="dv-mat-button"> | ||
<button mat-button (click)="deleteComment()"> | ||
<i class="material-icons">delete</i> | ||
</button> | ||
</div> |
56 changes: 31 additions & 25 deletions
56
packages/catalog/comment/src/app/comment/edit-comment/edit-comment.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,40 +1,46 @@ | ||
<div class="container"> | ||
<div class="dv-mat-button"> | ||
<button mat-button (click)="startEditing()" type="submit" *ngIf="!isEditing&&collapsible"> | ||
{{startEditButtonLabel}} | ||
</button> | ||
<form (ngSubmit)="onSubmit()" [formGroup]="editCommentForm" | ||
class="form-horizontal" *ngIf="isEditing||!collapsible"> | ||
<div class="form-group"> | ||
<div *ngIf="editCommentSaved" class="edit-comment-success"> | ||
<i class="material-icons">done</i> | ||
{{editCommentSavedText}} | ||
</div> | ||
<mat-error *ngIf="editCommentError"> | ||
<i class="material-icons">report_problem</i> | ||
{{editCommentError}} | ||
</mat-error> | ||
</div> | ||
<form (ngSubmit)="onSubmit()" [formGroup]="editCommentForm" | ||
class="form-horizontal" *ngIf="isEditing||!collapsible"> | ||
<div class="form-group"> | ||
<div *ngIf="editCommentSaved" class="edit-comment-success"> | ||
<i class="material-icons">done</i> | ||
{{editCommentSavedText}} | ||
</div> | ||
<div class="form-group"> | ||
<mat-form-field> | ||
<mat-label>{{inputLabel}}</mat-label> | ||
<textarea matInput required formControlName="contentControl"> | ||
</textarea> | ||
</mat-form-field> | ||
<div *ngIf="contentControl.invalid && contentControl.touched"> | ||
<mat-error *ngIf="contentControl.hasError('required')"> | ||
This field is <strong>required</strong>. | ||
</mat-error> | ||
</div> | ||
<mat-error *ngIf="editCommentError"> | ||
<i class="material-icons">report_problem</i> | ||
{{editCommentError}} | ||
</mat-error> | ||
</div> | ||
<div class="form-group"> | ||
<mat-form-field> | ||
<mat-label>{{inputLabel}}</mat-label> | ||
<textarea matInput required formControlName="contentControl"> | ||
</textarea> | ||
</mat-form-field> | ||
<div *ngIf="contentControl.invalid && contentControl.touched"> | ||
<mat-error *ngIf="contentControl.hasError('required')"> | ||
This field is <strong>required</strong>. | ||
</mat-error> | ||
</div> | ||
<div class="form-group"> | ||
</div> | ||
<div class="form-group"> | ||
<div class="dv-mat-button"> | ||
<button mat-button type="submit" [disabled]="!editCommentForm.valid"> | ||
{{buttonLabel}} | ||
</button> | ||
</div> | ||
<div *ngIf="collapsible" class="form-group"> | ||
</div> | ||
<div *ngIf="collapsible" class="form-group"> | ||
<div class="dv-mat-button"> | ||
<button mat-button (click)="stopEditing()" type="button"> | ||
{{stopEditButtonLabel}} | ||
</button> | ||
</div> | ||
</form> | ||
</div> | ||
</form> | ||
</div> |
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
8 changes: 5 additions & 3 deletions
8
packages/catalog/event/src/app/event/delete-event/delete-event.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,3 +1,5 @@ | ||
<button mat-button (click)="deleteEvent()"> | ||
<i class="material-icons">delete</i> | ||
</button> | ||
<div class="dv-mat-button"> | ||
<button mat-button (click)="deleteEvent()"> | ||
<i class="material-icons">delete</i> | ||
</button> | ||
</div> |
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
Oops, something went wrong.