Skip to content

Commit

Permalink
Fix ordering of grid contents.
Browse files Browse the repository at this point in the history
  • Loading branch information
derekadams committed Aug 17, 2017
1 parent 9135c43 commit 365a2a2
Show file tree
Hide file tree
Showing 9 changed files with 26 additions and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@
text="No Alert Events Found for Assignment">
</no-results-panel>
<v-data-table v-if="alerts.length > 0" class="elevation-2 pa-0"
:headers="headers" :items="alerts" :hide-actions="true">
:headers="headers" :items="alerts" :hide-actions="true"
total-items="0">
<template slot="items" scope="props">
<td width="20%" :title="props.item.type">
{{ props.item.type }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,10 @@
<no-results-panel v-if="alerts.length === 0"
text="No Command Invocation Events Found for Assignment">
</no-results-panel>
<v-data-table v-if="alerts.length > 0" class="elevation-2 pa-0" :headers="headers" :items="alerts"
:hide-actions="true" no-data-text="No Command Invocations Found for Assignment">
<v-data-table v-if="alerts.length > 0" class="elevation-2 pa-0"
:headers="headers" :items="alerts" :hide-actions="true"
no-data-text="No Command Invocations Found for Assignment"
total-items="0">
<template slot="items" scope="props">
<td width="20%" :title="props.item.command.name">
{{ props.item.command.name }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@
text="No Location Events Found for Assignment">
</no-results-panel>
<v-data-table v-if="locations.length > 0" class="elevation-2 pa-0"
:headers="headers" :items="locations" :hide-actions="true">
:headers="headers" :items="locations" :hide-actions="true"
total-items="0">
<template slot="items" scope="props">
<td width="40%" title="Lat/Lon/Elevation">
{{ utils.fourDecimalPlaces(props.item.latitude) }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@
text="No Measurement Events Found for Assignment">
</no-results-panel>
<v-data-table v-if="mxs.length > 0" class="elevation-2 pa-0"
:headers="headers" :items="mxs" :hide-actions="true">
:headers="headers" :items="mxs" :hide-actions="true"
total-items="0">
<template slot="items" scope="props">
<td width="50%" :title="props.item.measurementsSummary">
{{ props.item.measurementsSummary }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@
text="No Command Response Events Found for Assignment">
</no-results-panel>
<v-data-table v-if="alerts.length > 0" class="elevation-2 pa-0"
:headers="headers" :items="alerts" :hide-actions="true">
:headers="headers" :items="alerts" :hide-actions="true"
total-items="0">
<template slot="items" scope="props">
<td width="20%" :title="props.item.originatingEventId">
{{ props.item.originatingEventId }}
Expand Down
3 changes: 2 additions & 1 deletion sitewhere-ui/src/components/schedules/SchedulesList.vue
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@
</no-results-panel>
<v-data-table v-if="schedules.length > 0" class="elevation-2 pa-0"
:headers="headers" :items="schedules"
:hide-actions="true" no-data-text="No Schedules Found">
:hide-actions="true" no-data-text="No Schedules Found"
total-items="0">
<template slot="items" scope="props">
<td width="17%" :title="props.item.name">
{{ props.item.name }}
Expand Down
6 changes: 4 additions & 2 deletions sitewhere-ui/src/components/sites/SiteAlertEvents.vue
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,10 @@
<no-results-panel v-if="alerts.length === 0"
text="No Alert Events Found for Site">
</no-results-panel>
<v-data-table v-if="alerts.length > 0" class="elevation-2 pa-0" :headers="headers" :items="alerts"
:hide-actions="true" no-data-text="No Alerts Found for Site">
<v-data-table v-if="alerts.length > 0" class="elevation-2 pa-0"
:headers="headers" :items="alerts" :hide-actions="true"
no-data-text="No Alerts Found for Site"
total-items="0">
<template slot="items" scope="props">
<td width="30%" :title="props.item.assetName">
{{ props.item.assetName }}
Expand Down
6 changes: 4 additions & 2 deletions sitewhere-ui/src/components/sites/SiteLocationEvents.vue
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,10 @@
<no-results-panel v-if="locations.length === 0"
text="No Location Events Found for Site">
</no-results-panel>
<v-data-table v-if="locations.length > 0" class="elevation-2 pa-0" :headers="headers" :items="locations"
:hide-actions="true" no-data-text="No Locations Found for Site">
<v-data-table v-if="locations.length > 0" class="elevation-2 pa-0"
:headers="headers" :items="locations" :hide-actions="true"
no-data-text="No Locations Found for Site"
total-items="0">
<template slot="items" scope="props">
<td width="40%" :title="props.item.assetName">
{{ props.item.assetName }}
Expand Down
6 changes: 4 additions & 2 deletions sitewhere-ui/src/components/sites/SiteMeasurementEvents.vue
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,10 @@
<no-results-panel v-if="mxs.length === 0"
text="No Measurement Events Found for Site">
</no-results-panel>
<v-data-table v-if="mxs.length > 0" class="elevation-2 pa-0" :headers="headers" :items="mxs"
:hide-actions="true" no-data-text="No Measurements Found for Site">
<v-data-table v-if="mxs.length > 0" class="elevation-2 pa-0"
:headers="headers" :items="mxs" :hide-actions="true"
no-data-text="No Measurements Found for Site"
total-items="0">
<template slot="items" scope="props">
<td width="30%" :title="props.item.assetName">
{{ props.item.assetName }}
Expand Down

0 comments on commit 365a2a2

Please sign in to comment.