Dashboard: added custom addition of tiles

This is an API for plugin authors to add their own tiles
Example of usage will be given separately
This commit is contained in:
bergware
2023-01-03 14:28:12 +01:00
parent efa8449e80
commit ef6ed4ccdc

View File

@@ -424,6 +424,7 @@ echo "</td></tr>";
?>
</tbody>
<?endif;?>
<?if (isset($custom['column1'])) echo $custom['column1'];?>
</table>
</div>
@@ -564,6 +565,7 @@ if (!$group) {
}
?>
</tbody>
<?if (isset($custom['column2'])) echo $custom['column2'];?>
</table>
</div>
@@ -602,6 +604,7 @@ if (!$group) {
<tr class='header'><td><span class='w26'>_(Device)_</span><span class='w18'>_(Status)_</span><span class='w18'>_(Temp)_</span><span class='w18'>_(SMART)_</span><span class='w18'>_(Utilization)_</span></td></tr>
</tbody>
<?endif;?>
<?if (isset($custom['column3'])) echo $custom['column3'];?>
</table>
</div>
</div>