mirror of
https://github.com/11notes/docker-kms-gui.git
synced 2025-11-02 12:23:13 +00:00
[feature] add client.machineIp to UI and static tailwind library
This commit is contained in:
@@ -8,14 +8,17 @@
|
||||
|
||||
# apply correct style
|
||||
rm -rf /opt/py-kms/templates
|
||||
TEMPLATE_DIR=${APP_ROOT}/.default/templates
|
||||
rm -rf /opt/py-kms/static
|
||||
TEMPLATE_DIR=${APP_ROOT}/.default/styles
|
||||
case ${KMS_GUI_STYLE} in
|
||||
py-kms)
|
||||
ln -s ${TEMPLATE_DIR}/py-kms /opt/py-kms/templates
|
||||
ln -s ${TEMPLATE_DIR}/py-kms/templates /opt/py-kms/templates
|
||||
ln -s ${TEMPLATE_DIR}/py-kms/static /opt/py-kms/static
|
||||
eleven log info "using ${KMS_GUI_STYLE} GUI style"
|
||||
;;
|
||||
*)
|
||||
ln -s ${TEMPLATE_DIR}/custom-icon /opt/py-kms/templates
|
||||
ln -s ${TEMPLATE_DIR}/custom-icon/templates /opt/py-kms/templates
|
||||
ln -s ${TEMPLATE_DIR}/custom-icon/static /opt/py-kms/static
|
||||
eleven log info "using default GUI style"
|
||||
;;
|
||||
esac
|
||||
|
||||
Reference in New Issue
Block a user