Add print button and functionality for dashboard graphs - commented out for now
This commit is contained in:
parent
03952ee41f
commit
353d5e7a5b
|
@ -299,3 +299,6 @@
|
|||
+'</div>'">
|
||||
</span>
|
||||
</ng-template>
|
||||
|
||||
<!-- Print button -->
|
||||
<!-- <button (click)="printData()" class="printBtn">Print Data</button> -->
|
|
@ -580,4 +580,8 @@ export class MonitorComponent implements OnInit, OnDestroy {
|
|||
return 'uk-width-1-1';
|
||||
}
|
||||
}
|
||||
|
||||
public printData() {
|
||||
window.print();
|
||||
}
|
||||
}
|
||||
|
|
|
@ -247,3 +247,8 @@
|
|||
.landing .uk-dropdown, new-search-page .uk-dropdown, search-all .uk-dropdown {
|
||||
padding: 25px;
|
||||
}
|
||||
|
||||
.printBtn {
|
||||
display: block;
|
||||
margin: auto;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue