Merge remote-tracking branch 'origin/master' into work-webui

This commit is contained in:
th33xitus
2020-10-29 18:30:14 +01:00
8 changed files with 50 additions and 46 deletions

View File

@@ -23,9 +23,7 @@ advanced_menu(){
read_octoprint_service_status
advanced_ui
while true; do
echo -e "${cyan}"
read -p "Perform action: " action; echo
echo -e "${default}"
read -p "${cyan}Perform action:${default} " action; echo
case "$action" in
0)
clear
@@ -79,7 +77,7 @@ advanced_menu(){
7)
clear
print_header
install_extension_shell_command
setup_gcode_shell_command
print_msg && clear_msg
advanced_ui;;
Q|q)
@@ -121,9 +119,7 @@ switch_menu(){
print_msg && clear_msg
switch_ui
while true; do
echo -e "${cyan}"
read -p "Perform action: " action; echo
echo -e "${default}"
read -p "${cyan}Perform action:${default} " action; echo
case "$action" in
1)
clear

View File

@@ -23,9 +23,7 @@ backup_menu(){
print_msg && clear_msg
backup_ui
while true; do
echo -e "${cyan}"
read -p "Perform action: " action; echo
echo -e "${default}"
read -p "${cyan}Perform action:${default} " action; echo
case "$action" in
1)
clear

View File

@@ -18,9 +18,7 @@ install_menu(){
print_header
install_ui
while true; do
echo -e "${cyan}"
read -p "Perform action: " action; echo
echo -e "${default}"
read -p "${cyan}Perform action:${default} " action; echo
case "$action" in
1)
clear

View File

@@ -23,9 +23,7 @@ remove_menu(){
print_header
remove_ui
while true; do
echo -e "${cyan}"
read -p "Perform action: " action; echo
echo -e "${default}"
read -p "${cyan}Perform action:${default} " action; echo
case "$action" in
1)
clear

View File

@@ -33,9 +33,7 @@ update_menu(){
read_bb4u_stat
update_ui
while true; do
echo -e "${cyan}"
read -p "Perform action: " action; echo
echo -e "${default}"
read -p "${cyan}Perform action:${default} " action; echo
case "$action" in
0)
clear