fonts awesome for data table & dataset fix

This commit is contained in:
annampak 2017-10-18 21:58:58 +03:00
parent 79de9808c4
commit f8ea069ac4
2 changed files with 4 additions and 8 deletions

View File

@ -1,13 +1,8 @@
<div style="margin: auto; max-width: 1000px; margin-top:50px"> <div style="margin: auto; max-width: 1000px; margin-top:50px">
<data-table id="films-grid" headerTitle="Datasets" [items]="datasets" [itemCount]="datasetCount" (reload)="reloadDatasets($event)" <data-table id="films-grid" headerTitle="Datasets" [items]="datasets" [itemCount]="datasetCount" (reload)="reloadDatasets($event)"
[limit]="8" [sortBy]="'rating'" [sortAsc]="false" [substituteRows]="false" [limit]="8" [sortBy]="'rating'" [sortAsc]="false" [substituteRows]="false"
[expandableRows]="true" [translations]="translations" [selectOnRowClick]="true" (rowClick)="rowClick($event)"> [translations]="translations" [selectOnRowClick]="true" (rowClick)="rowClick($event)">
<template #dataTableExpand let-item="item">
<div>
<a [routerLink]="['/dynamic-form', item.id]"> dataset</a>
</div>
</template>
<data-table-column [property]="'name'" [header]="'Label'" [sortable]="true"> <data-table-column [property]="'name'" [header]="'Label'" [sortable]="true">
</data-table-column> </data-table-column>
<!-- <data-table-column [property]="'abbreviation'" [header]="'Abbreviation'" [sortable]="true"> <!-- <data-table-column [property]="'abbreviation'" [header]="'Abbreviation'" [sortable]="true">

View File

@ -5,6 +5,7 @@
<link rel="stylesheet" href="https://cdn.rawgit.com/afeld/bootstrap-toc/v0.4.1/dist/bootstrap-toc.min.css"><!--bootstrap plugin for ToC--> <link rel="stylesheet" href="https://cdn.rawgit.com/afeld/bootstrap-toc/v0.4.1/dist/bootstrap-toc.min.css"><!--bootstrap plugin for ToC-->
<!-- add after bootstrap.min.js --> <!-- add after bootstrap.min.js -->
<link rel="stylesheet" type="text/css" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" />
<script src="https://cdn.rawgit.com/afeld/bootstrap-toc/v0.4.1/dist/bootstrap-toc.min.js"></script> <script src="https://cdn.rawgit.com/afeld/bootstrap-toc/v0.4.1/dist/bootstrap-toc.min.js"></script>
<head> <head>
<meta charset="utf-8"> <meta charset="utf-8">