This repository has been archived by the owner on Mar 23, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 6
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 #417 from foglamp/1.5.2RC
v1.5.2 release
- Loading branch information
Showing
72 changed files
with
2,373 additions
and
646 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
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
3 changes: 3 additions & 0 deletions
3
src/app/components/common/alert-dialog/alert-dialog.component.css
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 |
---|---|---|
@@ -0,0 +1,3 @@ | ||
.modal-card-body { | ||
padding: 2rem 1.5rem; | ||
} |
25 changes: 21 additions & 4 deletions
25
src/app/components/common/alert-dialog/alert-dialog.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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,12 @@ | ||
<div id = "alert" *ngIf="message" class= "notification" [ngClass]="{'is-success': message.type === 'success', 'is-danger': message.type === 'error','is-warning': message.type === 'warning' }"> | ||
<button class="delete" (click)=closeMessage()></button> | ||
<span [innerHTML]="message.text"></span> | ||
</div> | ||
<ng-container *ngIf="!darkAlerts"> | ||
<article id="alert" *ngIf="message" class="message" [ngClass]="{'is-success': message.type === 'success', 'is-info': message.type === 'info', 'is-danger': message.type === 'error', 'is-warning': message.type === 'warning' }"> | ||
<button class="delete" (click)=closeMessage()></button> | ||
<div class="message-body" [innerHTML]="message.text"></div> | ||
</article> | ||
</ng-container> | ||
<ng-container *ngIf="darkAlerts"> | ||
<div id="alert" *ngIf="message" class="notification" [ngClass]="{'is-success': message.type === 'success', 'is-info': message.type === 'info', 'is-danger': message.type === 'error', 'is-warning': message.type === 'warning' }"> | ||
<button class="delete" (click)=closeMessage()></button> | ||
<span [innerHTML]="message.text"></span> | ||
</div> | ||
</ng-container> |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
.modal-card-body { | ||
padding: 2rem 1.5rem; | ||
} |
25 changes: 14 additions & 11 deletions
25
src/app/components/common/restart-modal/restart-modal.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,12 +1,15 @@ | ||
<div id="restartModal-box" class="modal"> | ||
<div class="modal-background"></div> | ||
<div class="modal-card"> | ||
<section class="modal-card-body"> | ||
<b> {{ restartData.message }} </b> | ||
</section> | ||
<footer class="modal-card-foot"> | ||
<button class="button is-warning is-small" (click)="triggerAction()">Restart</button> | ||
<button class="button is-small" (click)="toggleModal(false)">Cancel</button> | ||
</footer> | ||
</div> | ||
</div> | ||
<div class="modal-background"></div> | ||
<div class="modal-card"> | ||
<header class="modal-card-head"> | ||
<p class="modal-card-title is-size-6">Restart FogLAMP</p> | ||
</header> | ||
<section class="modal-card-body"> | ||
{{ restartData.message }} | ||
</section> | ||
<footer class="modal-card-foot"> | ||
<button class="button is-small" (click)="toggleModal(false)">Cancel</button> | ||
<button class="button is-small is-warning" (click)="triggerAction()">Restart</button> | ||
</footer> | ||
</div> | ||
</div> |
Oops, something went wrong.