mirror of https://github.com/Ombi-app/Ombi
parent
689a869507
commit
d6b5b85ba2
@ -0,0 +1,23 @@
|
||||
<settings-menu></settings-menu>
|
||||
|
||||
<div class="small-middle-container">
|
||||
<legend>Features</legend>
|
||||
|
||||
<div class="row">
|
||||
<div class="col-md-8">
|
||||
<div class="mat-table">
|
||||
<div class="mat-row" *ngFor="let feature of features">
|
||||
<div class="mat-cell">{{feature.name}}</div>
|
||||
<div class="mat-cell">
|
||||
<span *ngIf="feature.enabled">
|
||||
<i class="fas fa-check-circle" style="color:green;"></i>
|
||||
</span>
|
||||
<span *ngIf="!feature.enabled">
|
||||
<i class="fas fa-times-circle" style="color:red;"></i>
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
@ -1,3 +1,10 @@
|
||||
import { IFeatureEnablement } from "../../interfaces";
|
||||
|
||||
export class LoadFeatures {
|
||||
public static readonly type = '[Features] LoadAll';
|
||||
}
|
||||
export class UpdateFeature {
|
||||
public static readonly type = '[Features] Update';
|
||||
|
||||
constructor(public feature: IFeatureEnablement) { }
|
||||
}
|
Loading…
Reference in new issue