mirror of
https://github.com/kernelkit/infix.git
synced 2026-07-31 21:13:00 +02:00
Replace the RAUC-centric firmware page with a cleaner layout: - Show software slots (primary/secondary) using their bootnames rather than internal RAUC slot names; filter to rootfs-class slots only - Add boot order display (mirrors `show software` in the CLI) - Show installed timestamp per slot (truncated to second precision) - Fix Booted flag comparison: compare against bootname not slot name - Lay out all three cards (Software, Install from URL, Upload & Install) in a responsive grid instead of full-width stacked sections Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
30 lines
968 B
Makefile
30 lines
968 B
Makefile
################################################################################
|
|
#
|
|
# webui
|
|
#
|
|
################################################################################
|
|
|
|
WEBUI_VERSION = 1.0
|
|
WEBUI_SITE_METHOD = local
|
|
WEBUI_SITE = $(BR2_EXTERNAL_INFIX_PATH)/src/webui
|
|
WEBUI_GOMOD = github.com/kernelkit/webui
|
|
WEBUI_LICENSE = MIT
|
|
WEBUI_LICENSE_FILES = LICENSE
|
|
WEBUI_REDISTRIBUTE = NO
|
|
|
|
define WEBUI_INSTALL_EXTRA
|
|
$(INSTALL) -D -m 0644 $(WEBUI_PKGDIR)/webui.svc \
|
|
$(FINIT_D)/available/webui.conf
|
|
$(INSTALL) -D -m 0644 $(WEBUI_PKGDIR)/webui.conf \
|
|
$(TARGET_DIR)/etc/nginx/app/webui.conf
|
|
$(INSTALL) -D -m 0644 $(WEBUI_PKGDIR)/webui-proxy.conf \
|
|
$(TARGET_DIR)/etc/nginx/webui-proxy.conf
|
|
$(INSTALL) -D -m 0644 $(WEBUI_PKGDIR)/default.conf \
|
|
$(TARGET_DIR)/etc/nginx/available/default.conf
|
|
$(INSTALL) -D -m 0644 $(WEBUI_PKGDIR)/50x.html \
|
|
$(TARGET_DIR)/usr/html/50x.html
|
|
endef
|
|
WEBUI_POST_INSTALL_TARGET_HOOKS += WEBUI_INSTALL_EXTRA
|
|
|
|
$(eval $(golang-package))
|