1
0
Fork 0
mirror of https://git.rwth-aachen.de/acs/public/villas/web/ synced 2025-03-30 00:00:13 +01:00
VILLASweb/app/templates/components/widget-table.hbs
Markus Grigull 170f00c40a Rename plots to widgets
Add widgetData to prepare for future widgets
2016-11-02 18:32:24 +01:00

16 lines
264 B
Handlebars

{{#if editing}}
{{input value=widget.title placeholder='Enter title'}}
{{else}}
<h4>{{widget.title}}</h4>
{{/if}}
<table class="widgetTable">
<tr>
<th>Name</th>
<th>Value</th>
</tr>
<tr>
<td>Signal X</td>
<td>1.234</td>
</tr>
</table>