Updated index.html for better responsive design.
This commit is contained in:
+10
-3
@@ -331,8 +331,8 @@ SSHEND
|
||||
|
||||
# --- MAIN WEB FUNCTIONS --->
|
||||
launch_gui() {
|
||||
echo -e "\n ➡️ You will now proceed to the configuration of your device through your browser"
|
||||
echo -e "\n 🚀 Launching Numbus Configurator..."
|
||||
echo -e " ➡️ You will now proceed to the configuration of your device through your browser"
|
||||
|
||||
python3 "${BRIDGE_SCRIPT}" > /dev/null 2>&1 &
|
||||
export BRIDGE_PID=$!
|
||||
@@ -343,7 +343,7 @@ launch_gui() {
|
||||
|
||||
sleep 5
|
||||
|
||||
echo -e "\n ➡️ If it doesn't automatically, open your browser at: $(gum style --foreground 212 "${START_URL}")"
|
||||
echo -e "\n ⚠️ If it doesn't automatically, open your browser at: $(gum style --foreground 212 "${START_URL}")"
|
||||
}
|
||||
# --- MAIN WEB FUNCTIONS ---<
|
||||
|
||||
@@ -777,9 +777,16 @@ until [[ -e "${LIVE_DATA_FILE}" ]]; do
|
||||
sleep 5
|
||||
done
|
||||
|
||||
INTERNATIONALIZATION_LANGUAGE="$(yq -r '.internationalization.language' ${LIVE_DATA_FILE})"
|
||||
INTERNATIONALIZATION_COUNTRY="$(yq -r '.internationalization.country' ${LIVE_DATA_FILE})"
|
||||
INTERNATIONALIZATION_TIMEZONE="$(yq -r '.internationalization.timeZone' ${LIVE_DATA_FILE})"
|
||||
DEVICE_TYPE="$(yq -r '.device.type' ${LIVE_DATA_FILE})"
|
||||
DEPLOYMENT_MODE="$(yq -r '.deployment.mode' ${LIVE_DATA_FILE})"
|
||||
DEPLOYMENT_GIT_URL="$(yq -r '.deployment.git_url' ${LIVE_DATA_FILE})"
|
||||
DEPLOYMENT_GIT_USERNAME="$(yq -r '.deployment.git_username' ${LIVE_DATA_FILE})"
|
||||
DEPLOYMENT_GIT_PASSWORD="$(yq -r '.deployment.git_password' ${LIVE_DATA_FILE})"
|
||||
LIVE_TARGET_IP="$(yq -r '.live_target.ip' ${LIVE_DATA_FILE})"
|
||||
LIVE_TARGET_PASSWORD="$(yq -r '.live_target.password' ${LIVE_DATA_FILE})"
|
||||
DEVICE_TYPE="$(yq -r '.device.type' ${LIVE_DATA_FILE})"
|
||||
|
||||
hierarchy_preparation
|
||||
setup_ssh
|
||||
|
||||
Reference in New Issue
Block a user