| {t('dashboard.table.name')} | +{t('dashboard.table.status')} | +{t('dashboard.table.lastSeen')} | +
|---|---|---|
| + {name} + | ++ {new Date().getTime() / 1000 - + lastCheckIn.getTime() / 1000 < + 65 + ? '🟢' + : '🔴'} + | ++ {formatDistance(lastCheckIn, new Date(), { + addSuffix: true, + locale: dateLocale + })} + | +
+ {t('buttons.detail.ipLabel')}: {button.ip} +
++ {t('buttons.detail.ledPinLabel')}: {button.ledPin} +
++ {t('buttons.detail.buttonPinLabel')}: {button.buttonPin} +
++ {t('buttons.detail.holdLabel')}: {button.holdDuration} +
++ {t('buttons.detail.cancelLabel')}: {button.cancelDuration} +
++ {t('buttons.detail.actionLabel')}:{' '} + {button.action.name} +
++ {t('buttons.detail.zoneLabel')}:{' '} + + {button.zone ? button.zone.name : 'None'} + +
+ {button.enrolled ? ( + + ) : ( + <> ++ {t('buttons.detail.keyLabel')}: {button.key} +
+
+ button --enroll {button.key} --controller {enrollUrl}
+
+ | {t('log.columns.time')} | +{t('log.columns.message')} | +
|---|---|
| + {format(time, 'dd/MM/yy HH:mm')} + | +{message} | +
| {t('buttons.table.device')} | +{t('buttons.table.action')} | ++ |
|---|---|---|
| + {name} + | ++ {action.name} + | ++ + | +