Add basic almanac on dashboard

This commit is contained in:
2019-10-07 22:09:09 -04:00
parent 130bd18ae6
commit 90c0dce614
9 changed files with 167 additions and 4 deletions

View File

@@ -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>

View File

@@ -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 }
]
};