Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
tmushayahama committed Dec 9, 2020
1 parent 54078d2 commit 6877a2c
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 2 deletions.
3 changes: 3 additions & 0 deletions src/app/app.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ import {
faAngleDoubleDown,
faAngleDoubleUp, faUndo, faSave, faExclamationTriangle, faAngleDoubleLeft, faAngleDoubleRight, faAngleLeft, faAngleRight
} from '@fortawesome/free-solid-svg-icons';
import { faCheckCircle, faTimesCircle } from '@fortawesome/free-regular-svg-icons';
import { faGithub, faFacebook, faTwitter } from '@fortawesome/free-brands-svg-icons';
import { FaIconLibrary } from '@fortawesome/angular-fontawesome';
import { NoctuaDataService } from '@noctua.common/services/noctua-data.service';
Expand Down Expand Up @@ -115,6 +116,7 @@ export class AppModule {
faCaretRight,
faChevronDown,
faChevronRight,
faCheckCircle,
faCopy,
faExclamationTriangle,
faFacebook,
Expand All @@ -132,6 +134,7 @@ export class AppModule {
faShoppingBasket,
faSitemap,
faTasks,
faTimesCircle,
faTwitter,
faUndo,
faUser,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ $accent: map-get($theme, accent);

&.noc-selected {
table {
background-color: rgba(map-get($accent, default), 0.05) !important;
background-color: rgba($noc-highlight-model-color, 0.3);
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,14 @@
</th>
<td mat-cell *matCellDef="let cam" fxFlex="250px" class="noc-title" fxLayout="row" fxLayoutAlign="start center">
{{cam.title }}
<fa-icon *ngIf="cam.modifiedP" [icon]="['fas', 'save']"></fa-icon>
</td>
</ng-container>
<ng-container matColumnDef="saved">
<th mat-header-cell *matHeaderCellDef fxFlex="50px" fxLayout="row" fxLayoutAlign="start center">Saved</th>
<td mat-cell *matCellDef="let cam" fxFlex="50px" class="noc-model-saved pr-12" fxLayout="row"
fxLayoutAlign="center center">
<fa-icon *ngIf="cam.modifiedP" class="red-500-fg" [icon]="['far', 'times-circle']"></fa-icon>
<fa-icon *ngIf="!cam.modifiedP" class="green-500-fg" [icon]="['far', 'check-circle']"></fa-icon>
</td>
</ng-container>
<ng-container matColumnDef="state">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -321,6 +321,11 @@ $rotate-graph: 235deg;
}
}

.noc-model-saved {
font-size: 18px;
padding-left: 12px;
}


}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,7 @@ export class CamsTableComponent implements OnInit, OnDestroy {
this.displayedColumns = [
'expand',
'title',
'saved',
'state',
'date',
'contributor',
Expand Down

0 comments on commit 6877a2c

Please sign in to comment.