Moving the Dashboard pill creation into the templates. Doing it serverside saves some AJAX Requests and glitches. Currently the device-tabs are built after pageload, while with this change only the last active device is marked after pageload.
I marked as WIP because every other Site doesnt even utilize the Device-class or builds their own device tabs in different places. So this is only working on Home for now (dashboard.html).
Moving the Dashboard pill creation into the templates. Doing it serverside saves some AJAX Requests and glitches. Currently the device-tabs are built after pageload, while with this change only the last active device is marked after pageload.
I marked as WIP because every other Site doesnt even utilize the
Device
-class or builds their own device tabs in different places. So this is only working on Home for now (dashboard.html).