templates/part.listDevices.php
<div class="content-wrapper">
<table id="sensorDevicesTable" style="width: 100%;">
	<thead>
    <th></th>
	<th id="headerId"><span class="th-header">#</span></th>
	<th id="headerName"><span class="th-header">Name</span></th>
	<th id="headerType"><span class="th-header">Type</span></th>
	<th id="headerGroup"><span class="th-header">Group</span></th>
    <th></th>
	</thead>
	<tbody id="deviceList">
<?php foreach($_['devices'] as $device){ ?>
	<tr data-id="<?php p($device->getId()); ?>" data-type="dir" class="deviceEdit">
        <td class="td-data">
            <a href="#"
               class="deviceChart device-datalist"
			   data-action="Chart"
               data-id="<?php p($device->getId()); ?>" title="">
                <span class="has-tooltip icon icon-datachart"
                      data-original-title="<?php p($l->t('Show Device Chart for %s',[$device->getUuid()])); ?>"></span>
            </a>
            <a href="#"
               class="deviceListData device-datalist"
			   data-action="DataList"
			   data-id="<?php p($device->getId()); ?>" title="">
                <span class="has-tooltip icon icon-datalist"
                      data-original-title="<?php p($l->t('Show Device Logs for %s',[$device->getUuid()])); ?>"></span>
            </a>
            <span class="deviceactions">
                <a class="has-tooltip action action-share permanent"
                   href="#"
                   data-action="Share"
                   data-original-title="<?php p($l->t('Share Device %s',[$device->getUuid()])); ?>"
                   title="">
                    <span class="icon icon-share" ></span>
                    <span class="hidden-visually">Share</span></a>
                <a class="has-tooltip action action-menu permanent"
                   href="#"
                   data-action="Menu"
                   data-original-title="<?php p($l->t('Edit Device %s',[$device->getUuid()])); ?>"
                   title="">
                    <span class="icon icon-more"></span>
                    <span class="hidden-visually">Actions</span></a>
            </span>
        </td>
		<td class="td-data"><?php p($device->getId()); ?></td>
		<td class="td-data"><?php p($device->getName()); ?></td>
		<td class="td-data"><?php p($device->getDeviceTypeName()); ?></td>
		<td class="td-data"><?php p($device->getDeviceGroupName()); ?></td>
        <td>
        </td>
	</tr>
<?php } ?>
	</tbody>
	<tfoot></tfoot>
</table>
<?php if(is_array($_['devices']) && empty($_['devices'])) { ?>
    <div id="emptycontent" class="">
        <div class="icon-info"></div>
        <h2>No Devices registered</h2>
        <p>Read <a href="https://github.com/alexstocker/sensorlogger/wiki/Users#devices"
                   title="SensorLogger Wiki Log List" target="_blank">SensorLogger Wiki Devices</a></p>
    </div>
<?php } ?>
</div>
