mirror of
https://github.com/MacRimi/ProxMenux.git
synced 2026-07-26 18:38:30 +00:00
update menus
This commit is contained in:
@@ -1256,9 +1256,7 @@ show_menu() {
|
||||
|
||||
|
||||
menu_items+=("" "")
|
||||
menu_items+=("-" "───────────────────── $(translate "Community Scripts") ──────────────────────")
|
||||
menu_items+=("" "")
|
||||
|
||||
menu_items+=("" "\Z4───────────────────── Community Scripts ──────────────────────\Zn")
|
||||
|
||||
for script in "${COMMUNITY_SCRIPTS[@]}"; do
|
||||
IFS='|' read -r name source command <<< "$script"
|
||||
@@ -1277,11 +1275,11 @@ show_menu() {
|
||||
|
||||
|
||||
exec 3>&1
|
||||
script_selection=$(dialog --clear \
|
||||
script_selection=$(dialog --clear --colors \
|
||||
--backtitle "ProxMenux" \
|
||||
--title "$(translate "Network Management")" \
|
||||
--menu "\n$(translate "Select a network management option:"):\n" \
|
||||
28 78 19 \
|
||||
28 82 19 \
|
||||
"${menu_items[@]}" 2>&1 1>&3)
|
||||
exit_status=$?
|
||||
exec 3>&-
|
||||
|
||||
@@ -34,14 +34,14 @@ while true; do
|
||||
OPTION=$(dialog --colors --backtitle "ProxMenux" \
|
||||
--title "$(translate "Storage & Share Manager")" \
|
||||
--menu "\n$(translate "Select an option:")" 28 78 17 \
|
||||
"" "\Z4──────────────────────── HOST ─────────────────────────\Zn" \
|
||||
"" "\Zb\Z4 HOST\Zn" \
|
||||
"1" "$(translate "Add NFS share as Proxmox Storage")" \
|
||||
"2" "$(translate "Add Samba share as Proxmox Storage")" \
|
||||
"3" "$(translate "Add iSCSI Target as Proxmox Storage")" \
|
||||
"4" "$(translate "Add Local Disk as Proxmox Storage")" \
|
||||
"5" "$(translate "Create Shared Directory on Host")" \
|
||||
"" "" \
|
||||
"" "\Z4──────────────────────── LXC ─────────────────────────\Zn" \
|
||||
"" "\Zb\Z4 LXC\Zn" \
|
||||
"6" "$(translate "Configure LXC Mount Points (Host ↔ Container)")" \
|
||||
"" "" \
|
||||
"7" "$(translate "Configure NFS Client in LXC (only privileged)")" \
|
||||
|
||||
@@ -32,12 +32,12 @@ while true; do
|
||||
OPTION=$(dialog --colors --backtitle "ProxMenux" \
|
||||
--title "$(translate "Disk Manager")" \
|
||||
--menu "\n$(translate "Select an option:")" 24 78 16 \
|
||||
"" "\Z4──────────────────────── VM ───────────────────────────\Zn" \
|
||||
"" "\Zb\Z4 VM\Zn" \
|
||||
"1" "$(translate "Import Disk to VM")" \
|
||||
"2" "$(translate "Import Disk Image to VM")" \
|
||||
"3" "$(translate "Add Controller or NVMe PCIe to VM")" \
|
||||
"" "" \
|
||||
"" "\Z4──────────────────────── LXC ──────────────────────────\Zn" \
|
||||
"" "\Zb\Z4 LXC\Zn" \
|
||||
"4" "$(translate "Import Disk to LXC")" \
|
||||
"" "" \
|
||||
"" "\Z4────────────────────── Utilities ───────────────────────\Zn" \
|
||||
|
||||
Reference in New Issue
Block a user