* Small refactor into Table Class setting events as static object into class * feature(STOW-SR) : Initial changes to stow when we have Server. * Improvements into requests and small fix into style * Small fix for jumpToRow without refheshing page * Handling STOW-SR once we don't have server * feature(STOW-SR) Refactor * Merge request with makeRequest and delete old file * Expose wadoproxy to client and update measurement-table to start using wadoproxy.getServerUrl * Move WADOProxy.getServerUrl to Measurement-table package. Fix querystring issue. * Remove proxy:enabled in favour of requestOptions.requestFromBrowser * Bcrypt 2.0.0 to fix Travis
30 lines
1.1 KiB
HTML
30 lines
1.1 KiB
HTML
<template name="measurementLightTableView">
|
|
{{#let config=measurementConfiguration groups=measurementGroups.get}}
|
|
{{#each measurementGroup in groups}}
|
|
{{>measurementLightTableHeaderRow (clone this
|
|
toolGroup=measurementGroup.toolGroup
|
|
measurementRows=measurementGroup.measurementRows)}}
|
|
{{#each rowItem in measurementGroup.measurementRows}}
|
|
{{>measurementLightTableRow (clone this rowItem=rowItem)}}
|
|
{{/each}}
|
|
{{/each}}
|
|
{{/let}}
|
|
{{#if hasAnyMeasurement}}
|
|
<div class="report-area">
|
|
{{#if saveEnabled}}
|
|
{{#if hasUnsavedChanges}}
|
|
<div class="unsaved-changes-alert">
|
|
You have unsaved changes
|
|
</div>
|
|
{{/if}}
|
|
{{/if}}
|
|
{{#form (extend api=instance.api)}}
|
|
{{#button class='btn p-x-2' action='exportCSV'}}Export CSV{{/button}}
|
|
{{#if saveEnabled}}
|
|
{{#button class='btn p-x-2' action='save' disabled=(not hasUnsavedChanges)}}Save to Archive{{/button}}
|
|
{{/if}}
|
|
{{/form}}
|
|
</div>
|
|
{{/if}}
|
|
</template>
|