forked from fixin.me/fixin.me
Merge feature/measurements-charts
This commit is contained in:
@@ -14,6 +14,7 @@
|
||||
<%= csp_meta_tag %>
|
||||
|
||||
<%= stylesheet_link_tag "spreadsheet" %>
|
||||
<script src="https://cdn.plot.ly/plotly-basic-2.35.2.min.js"></script>
|
||||
<%= javascript_importmap_tags %>
|
||||
|
||||
<%#= turbo_page_requires_reload_tag %>
|
||||
|
||||
@@ -11,6 +11,9 @@
|
||||
<%= image_button_tag '', 'view-columns', name: nil, type: 'button',
|
||||
class: 'view-toggle', title: t('.view_wide'),
|
||||
data: {view: 'wide'}, onclick: "setMeasurementsView('wide')" %>
|
||||
<%= image_button_tag '', 'chart-line', name: nil, type: 'button',
|
||||
class: 'view-toggle', title: t('.view_charts'),
|
||||
data: {view: 'charts'}, onclick: "setMeasurementsView('charts')" %>
|
||||
</div>
|
||||
|
||||
<div class="main-area measurements-section">
|
||||
@@ -34,5 +37,6 @@
|
||||
</table>
|
||||
|
||||
<div id="measurements-wide" class="measurements-wide"></div>
|
||||
<div id="measurements-charts" class="measurements-charts"></div>
|
||||
</div>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user