templates/part.listDataTypes.php
<div class="content-wrapper">
<table id="sensorDeviceTypesTable" style="width: 100%;">
	<thead>
    <th></th>
	<th id="id"><span class="th-header">#</span></th>
	<th id="descprition"><span class="th-header">Description</span></th>
	<th id="type"><span class="th-header">Data Type</span></th>
	<th id="short"><span class="th-header">Unit</span></th>
	</thead>
	<tbody>
<?php foreach($_['dataTypes'] as $dataType){ ?>
	<tr data-id="<?php p($dataType['id']); ?>" data-type="dir" class="dataTypeEdit">
        <td class="td-data">
        </td>
		<td class="td-data"><?php p($dataType['id']); ?></td>
		<td class="td-data"><?php p($dataType['description']); ?></td>
		<td class="td-data"><?php p($dataType['type']); ?></td>
		<td class="td-data"><?php p($dataType['short']); ?></td>
	</tr>
<?php } ?>
	</tbody>
	<tfoot></tfoot>
</table>
<?php if(is_array($_['dataTypes']) && empty($_['dataTypes'])) { ?>
	<div id="emptycontent" class="">
		<div class="icon-info"></div>
		<h2>No Data types registered</h2>
		<p>Read <a href="https://github.com/alexstocker/sensorlogger/wiki/Users#data-types"
				   title="SensorLogger Wiki DataTypes" target="_blank">SensorLogger Wiki DataTypes</a></p>
	</div>
<?php } ?>
</div>
