update some of the menu style
This commit is contained in:
parent
8ee988a534
commit
f50f87a454
@ -158,6 +158,6 @@ $ docker-deploy --uninstall
|
|||||||
# Free Software License
|
# Free Software License
|
||||||
```txt
|
```txt
|
||||||
@copyright Copyright (C) 2021 Llewellyn van der Merwe. All rights reserved.
|
@copyright Copyright (C) 2021 Llewellyn van der Merwe. All rights reserved.
|
||||||
@license GNU General Public License version 3; see LICENSE
|
@license GNU General Public License version 2; see LICENSE
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -1682,13 +1682,13 @@ octoleoQuietly() {
|
|||||||
|
|
||||||
--quiet"
|
--quiet"
|
||||||
|
|
||||||
whiptail --msgbox --scrolltext "${message}" 30 112
|
whiptail --msgbox "${message}" --fb --backtitle " Octoleo" 32 112
|
||||||
}
|
}
|
||||||
|
|
||||||
# show the help menu
|
# show the help menu
|
||||||
function showHelpMenu() {
|
function showHelpMenu() {
|
||||||
help=$(showHelp)
|
help=$(showHelp)
|
||||||
whiptail --msgbox --scrolltext "${help}" 30 112
|
whiptail --msgbox --scrolltext "${help}" --fb --backtitle " Octoleo" 30 90
|
||||||
}
|
}
|
||||||
|
|
||||||
#####################################################################################################################VDM
|
#####################################################################################################################VDM
|
||||||
@ -1697,7 +1697,9 @@ function showHelpMenu() {
|
|||||||
# show Joomla menu
|
# show Joomla menu
|
||||||
function showJoomla() {
|
function showJoomla() {
|
||||||
CHOICE=$(
|
CHOICE=$(
|
||||||
whiptail --title "Joomla | ${PROGRAM_NAME} v${_V}" --menu "Make your selection" 16 112 7 \
|
whiptail --menu "Make your selection" 20 112 8 \
|
||||||
|
--title "Joomla | ${PROGRAM_NAME} v${_V}" --fb \
|
||||||
|
--backtitle " Octoleo" \
|
||||||
"1)" "<-- Return to the main menu." \
|
"1)" "<-- Return to the main menu." \
|
||||||
"2)" "Setup new container" \
|
"2)" "Setup new container" \
|
||||||
"3)" "Enable existing container" \
|
"3)" "Enable existing container" \
|
||||||
@ -1736,7 +1738,9 @@ function showJoomla() {
|
|||||||
# show Openssh menu
|
# show Openssh menu
|
||||||
function showOpenssh() {
|
function showOpenssh() {
|
||||||
CHOICE=$(
|
CHOICE=$(
|
||||||
whiptail --title "Openssh | ${PROGRAM_NAME} v${_V}" --menu "Make your selection" 16 112 6 \
|
whiptail --menu "Make your selection" 20 112 7 \
|
||||||
|
--title "Openssh | ${PROGRAM_NAME} v${_V}" --fb \
|
||||||
|
--backtitle " Octoleo" \
|
||||||
"1)" "<-- Return to the main menu." \
|
"1)" "<-- Return to the main menu." \
|
||||||
"2)" "Setup new container" \
|
"2)" "Setup new container" \
|
||||||
"3)" "Enable existing container" \
|
"3)" "Enable existing container" \
|
||||||
@ -1771,7 +1775,9 @@ function showOpenssh() {
|
|||||||
# show Traefik menu
|
# show Traefik menu
|
||||||
function showTraefik() {
|
function showTraefik() {
|
||||||
CHOICE=$(
|
CHOICE=$(
|
||||||
whiptail --title "Traefik | ${PROGRAM_NAME} v${_V}" --menu "Make your selection" 16 112 4 \
|
whiptail --menu "Make your selection" 16 112 4 \
|
||||||
|
--title "Traefik | ${PROGRAM_NAME} v${_V}" --fb \
|
||||||
|
--backtitle " Octoleo" \
|
||||||
"1)" "<-- Return to the main menu." \
|
"1)" "<-- Return to the main menu." \
|
||||||
"2)" "Setup Traefik" \
|
"2)" "Setup Traefik" \
|
||||||
"3)" "Enable Traefik" \
|
"3)" "Enable Traefik" \
|
||||||
@ -1794,7 +1800,9 @@ function showTraefik() {
|
|||||||
# show Portainer menu
|
# show Portainer menu
|
||||||
function showPortainer() {
|
function showPortainer() {
|
||||||
CHOICE=$(
|
CHOICE=$(
|
||||||
whiptail --title "Portainer | ${PROGRAM_NAME} v${_V}" --menu "Make your selection" 16 112 4 \
|
whiptail --menu "Make your selection" 16 112 4 \
|
||||||
|
--title "Portainer | ${PROGRAM_NAME} v${_V}" --fb \
|
||||||
|
--backtitle " Octoleo" \
|
||||||
"1)" "<-- Return to the main menu." \
|
"1)" "<-- Return to the main menu." \
|
||||||
"2)" "Setup Portainer" \
|
"2)" "Setup Portainer" \
|
||||||
"3)" "Enable Portainer" \
|
"3)" "Enable Portainer" \
|
||||||
@ -1818,7 +1826,9 @@ function showPortainer() {
|
|||||||
function mainMenu() {
|
function mainMenu() {
|
||||||
while true; do
|
while true; do
|
||||||
CHOICE=$(
|
CHOICE=$(
|
||||||
whiptail --title "${PROGRAM_NAME} v${_V}" --menu "Make your selection" 16 112 10 \
|
whiptail --menu "Make your selection" 20 112 10 \
|
||||||
|
--title "${PROGRAM_NAME} v${_V}" --fb \
|
||||||
|
--backtitle " Octoleo" \
|
||||||
"1)" "Joomla containers" \
|
"1)" "Joomla containers" \
|
||||||
"2)" "Openssh containers" \
|
"2)" "Openssh containers" \
|
||||||
"3)" "Traefik container" \
|
"3)" "Traefik container" \
|
||||||
|
Loading…
Reference in New Issue
Block a user