mirror of
https://github.com/ckaczor/HomeMonitor.git
synced 2026-02-09 09:42:37 -05:00
Add basic almanac on dashboard
This commit is contained in:
@@ -40,5 +40,15 @@
|
||||
</div>
|
||||
</div>
|
||||
</gridster-item>
|
||||
<gridster-item [item]="dashboardLayout.layout[3]">
|
||||
<div class="dashboard-item">
|
||||
<div class="dashboard-item-header">
|
||||
Almanac
|
||||
</div>
|
||||
<div class="dashboard-item-content">
|
||||
<app-almanac></app-almanac>
|
||||
</div>
|
||||
</div>
|
||||
</gridster-item>
|
||||
</gridster>
|
||||
</div>
|
||||
|
||||
@@ -13,11 +13,12 @@ export class DashboardComponent implements OnInit {
|
||||
public locked = true;
|
||||
|
||||
private defaultLayout: DashboardLayout = {
|
||||
version: 1,
|
||||
version: 2,
|
||||
layout: [
|
||||
{ cols: 3, rows: 2, y: 0, x: 0 },
|
||||
{ cols: 2, rows: 2, y: 0, x: 3 },
|
||||
{ cols: 2, rows: 2, y: 0, x: 5 }
|
||||
{ cols: 2, rows: 2, y: 0, x: 5 },
|
||||
{ cols: 3, rows: 2, y: 0, x: 7 }
|
||||
]
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user