mirror of
https://github.com/turt2live/matrix-dimension.git
synced 2024-10-01 01:05:53 -04:00
Minor styling improvements for widget configuration pages
This commit is contained in:
parent
fa7fb651c0
commit
656d208059
@ -21,7 +21,7 @@
|
|||||||
|
|
||||||
<my-ibox *ngFor="let widget of widgetComponent.widgets trackById" [isCollapsible]="true" [defaultCollapsed]="widget.id !== widgetComponent.defaultExpandedWidgetId">
|
<my-ibox *ngFor="let widget of widgetComponent.widgets trackById" [isCollapsible]="true" [defaultCollapsed]="widget.id !== widgetComponent.defaultExpandedWidgetId">
|
||||||
<h5 class="my-ibox-title">
|
<h5 class="my-ibox-title">
|
||||||
<i class="far fa-edit"></i> {{ widget.name || widget.url || widgetComponent.defaultName }}
|
<i class="fa fa-pencil-alt"></i> {{ widget.name || widget.url || widgetComponent.defaultName }}
|
||||||
<span *ngIf="widget.data.title">- {{ widget.data.title }}</span>
|
<span *ngIf="widget.data.title">- {{ widget.data.title }}</span>
|
||||||
</h5>
|
</h5>
|
||||||
<div class="my-ibox-content">
|
<div class="my-ibox-content">
|
||||||
@ -32,7 +32,7 @@
|
|||||||
<button type="submit" class="btn btn-sm btn-primary" [disabled]="widgetComponent.isUpdating">
|
<button type="submit" class="btn btn-sm btn-primary" [disabled]="widgetComponent.isUpdating">
|
||||||
<i class="far fa-save"></i> Save Widget
|
<i class="far fa-save"></i> Save Widget
|
||||||
</button>
|
</button>
|
||||||
<button type="button" class="btn btn-sm btn-danger" [disabled]="widgetComponent.isUpdating" (click)="widgetComponent.removeWidget(widget)">
|
<button type="button" class="btn btn-sm btn-outline-danger" [disabled]="widgetComponent.isUpdating" (click)="widgetComponent.removeWidget(widget)">
|
||||||
<i class="far fa-trash-alt"></i> Remove Widget
|
<i class="far fa-trash-alt"></i> Remove Widget
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
Reference in New Issue
Block a user