From b5e38826179657984d8cac0639fb8688e8f43ed7 Mon Sep 17 00:00:00 2001 From: Shihaam Abdul Rahman Date: Wed, 28 Apr 2021 07:23:55 +0500 Subject: [PATCH] added WIP --- contactsmenu.sh | 8 +++++++- mainmenu.sh | 21 ++++++++++++++++++--- 2 files changed, 25 insertions(+), 4 deletions(-) diff --git a/contactsmenu.sh b/contactsmenu.sh index 773ec28..d6c66c4 100644 --- a/contactsmenu.sh +++ b/contactsmenu.sh @@ -12,12 +12,18 @@ read -r CONTATCS if [ "$CONTATCS" = "1" ] then + echo "WIP" + sleep 2 + source conactsmenu.sh source listcontacts.sh elif [ "$CONTATCS" = "2" ] then source addcontact-menu.sh elif [ "$CONTATCS" = "3" ] then + echo "WIP" + sleep 2 + source conactsmenu.sh source delete contact.sh elif [ "$CONTATCS" = "4" ] then @@ -28,7 +34,7 @@ elif [ "$CONTATCS" = "5" ] echo "Cleaning up.." exit else - clear + echo "${red}There was an error${reset}" 1>&2 source contactsmenu.sh fi diff --git a/mainmenu.sh b/mainmenu.sh index f5ee665..8e19b9e 100644 --- a/mainmenu.sh +++ b/mainmenu.sh @@ -13,21 +13,36 @@ read -r MENU if [ "$MENU" = "1" ] then - source accounts.sh + echo "WIP" + sleep 2 + source mainmenu.sh + #source accounts.sh elif [ "$MENU" = "2" ] then - source transfer.sh + echo "WIP" + sleep 2 + source mainmenu.sh + #source transfer.sh elif [ "$MENU" = "3" ] then source contactsmenu.sh elif [ "$MENU" = "4" ] then + echo "WIP" + sleep 2 + source mainmenu.sh source activities.sh elif [ "$MENU" = "5" ] then + echo "WIP" + sleep 2 + source mainmenu.sh source services.sh elif [ "$MENU" = "6" ] then + echo "WIP" + sleep 2 + source mainmenu.sh source settingsmenu.sh elif [ "$MENU" = "7" ] then @@ -35,6 +50,6 @@ elif [ "$MENU" = "7" ] exit else echo "${red}There was an error${reset}" 1>&2 - clear + source mainmenu.sh fi