mirror of https://github.com/ghostfolio/ghostfolio
committed by
GitHub
60 changed files with 7369 additions and 2327 deletions
File diff suppressed because it is too large
@ -1,23 +1,37 @@ |
|||||
<div mat-dialog-title>{{ data.rule.name }}</div> |
<div mat-dialog-title>{{ data.rule.name }}</div> |
||||
|
|
||||
<div class="py-3" mat-dialog-content> |
<div class="py-3" mat-dialog-content> |
||||
<mat-form-field appearance="outline" class="w-100"> |
<mat-form-field |
||||
|
appearance="outline" |
||||
|
class="w-100" |
||||
|
[ngClass]="{ 'd-none': settings.thresholdMin === undefined }" |
||||
|
> |
||||
<mat-label i18n>Threshold Min</mat-label> |
<mat-label i18n>Threshold Min</mat-label> |
||||
<input matInput name="thresholdMin" type="number" /> |
<input |
||||
|
matInput |
||||
|
name="thresholdMin" |
||||
|
type="number" |
||||
|
[(ngModel)]="settings.thresholdMin" |
||||
|
/> |
||||
</mat-form-field> |
</mat-form-field> |
||||
<mat-form-field appearance="outline" class="w-100"> |
<mat-form-field |
||||
|
appearance="outline" |
||||
|
class="w-100" |
||||
|
[ngClass]="{ 'd-none': settings.thresholdMax === undefined }" |
||||
|
> |
||||
<mat-label i18n>Threshold Max</mat-label> |
<mat-label i18n>Threshold Max</mat-label> |
||||
<input matInput name="thresholdMax" type="number" /> |
<input |
||||
|
matInput |
||||
|
name="thresholdMax" |
||||
|
type="number" |
||||
|
[(ngModel)]="settings.thresholdMax" |
||||
|
/> |
||||
</mat-form-field> |
</mat-form-field> |
||||
</div> |
</div> |
||||
|
|
||||
<div align="end" mat-dialog-actions> |
<div align="end" mat-dialog-actions> |
||||
<button i18n mat-button (click)="dialogRef.close()">Close</button> |
<button i18n mat-button (click)="dialogRef.close()">Close</button> |
||||
<button |
<button color="primary" mat-flat-button (click)="dialogRef.close(settings)"> |
||||
color="primary" |
|
||||
mat-flat-button |
|
||||
(click)="dialogRef.close({ settings })" |
|
||||
> |
|
||||
<ng-container i18n>Save</ng-container> |
<ng-container i18n>Save</ng-container> |
||||
</button> |
</button> |
||||
</div> |
</div> |
||||
|
File diff suppressed because it is too large
File diff suppressed because it is too large
File diff suppressed because it is too large
File diff suppressed because it is too large
File diff suppressed because it is too large
File diff suppressed because it is too large
File diff suppressed because it is too large
File diff suppressed because it is too large
File diff suppressed because it is too large
File diff suppressed because it is too large
File diff suppressed because it is too large
@ -0,0 +1,11 @@ |
|||||
|
-- DropIndex |
||||
|
DROP INDEX "Tag_name_key"; |
||||
|
|
||||
|
-- AlterTable |
||||
|
ALTER TABLE "Tag" ADD COLUMN "userId" TEXT; |
||||
|
|
||||
|
-- CreateIndex |
||||
|
CREATE UNIQUE INDEX "Tag_name_userId_key" ON "Tag"("name", "userId"); |
||||
|
|
||||
|
-- AddForeignKey |
||||
|
ALTER TABLE "Tag" ADD CONSTRAINT "Tag_userId_fkey" FOREIGN KEY ("userId") REFERENCES "User"("id") ON DELETE CASCADE ON UPDATE CASCADE; |
Loading…
Reference in new issue