mirror of
https://github.com/datahub-project/datahub.git
synced 2025-12-27 18:07:57 +00:00
DSS-5869 Adds Component: dataset-access
This commit is contained in:
parent
1dfd53fd78
commit
10100657ba
4
wherehows-web/app/components/dataset-access.js
Normal file
4
wherehows-web/app/components/dataset-access.js
Normal file
@ -0,0 +1,4 @@
|
||||
import Ember from 'ember';
|
||||
|
||||
export default Ember.Component.extend({
|
||||
});
|
||||
34
wherehows-web/app/templates/components/dataset-access.hbs
Normal file
34
wherehows-web/app/templates/components/dataset-access.hbs
Normal file
@ -0,0 +1,34 @@
|
||||
{{#if hasAccess}}
|
||||
{{#each accessibilities as |accessibility|}}
|
||||
<h4>Partition By: {{accessibility.partition}}</h4>
|
||||
<table id="references-table" class="columntreegrid tree table table-bordered dataset-detail-table">
|
||||
<thead>
|
||||
<tr class="results-header">
|
||||
<th>Time</th>
|
||||
{{#each accessibility.instanceList as |instance|}}
|
||||
<th>{{instance}}</th>
|
||||
{{/each}}
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{{#each accessibility.accessibilityList as |access|}}
|
||||
<tr>
|
||||
<td>{{access.dataTimeExpr}}</td>
|
||||
{{#each access.itemList as |item|}}
|
||||
<td>
|
||||
{{#unless item.isPlaceHolder}}
|
||||
<div>
|
||||
<p>Log time: {{item.logTimeEpochStr}}</p>
|
||||
<p>Record count: {{item.recordCountStr}}</p>
|
||||
</div>
|
||||
{{/unless}}
|
||||
</td>
|
||||
{{/each}}
|
||||
</tr>
|
||||
{{/each}}
|
||||
</tbody>
|
||||
</table>
|
||||
{{/each}}
|
||||
{{else}}
|
||||
<p>Accessibility is not available</p>
|
||||
{{/if}}
|
||||
Loading…
x
Reference in New Issue
Block a user