Advertisement
JamesTan

Untitled

Feb 21st, 2020
145
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 1.13 KB | None | 0 0
  1. }
  2. 1
  3. Register_User( ){
  4.      echo "Logging… please wait"
  5. }
  6. 2
  7. Users_Details( ){
  8.    echo "Please check your information"
  9. }
  10. 3
  11. Edit_User( ){
  12.    echo "Please editing your information here"
  13. }
  14. 4
  15. Save_User( ){
  16.    echo "Information saving…"
  17. }
  18. 5
  19. Change_Password( ){
  20.    echo "Please enter your new password"
  21. }
  22. 6
  23.  Print_Report( ){
  24.   echo "Report Printing…"
  25. }
  26. 7
  27. Quit( ){
  28.    echo "Thanks, see you next time"
  29. }
  30.  
  31. GREY='\033[1;30m'
  32. RED='\033[0;31m'    
  33. GREEN='\033[0;32m'    
  34. YELLOW='\033[1;33m'
  35. BLUE='\033[0;34m'    
  36. BLACK='\033[0;35m'    
  37. WHITE='\033[1;36m'
  38.  
  39. while:
  40. do
  41.   cat <<menu
  42.   read -p "input": choice
  43.   case $choice in
  44.     1
  45.       echo -e "${BLUE}Logging… please wait"
  46.       ;;
  47.     2
  48.       echo -e "${GREY}Please check your information"      
  49. ;;
  50.     3
  51.       echo -e "${YELLOW}Please editing your information here"
  52.       ;;
  53.     4
  54.    echo -e "${RED}Information saving…"
  55. ;;
  56.     5
  57.       echo -e "${BLACK}Please enter your new password"
  58. ;;
  59. 6
  60.       echo -e "${GREEN}Report Printing…"
  61. ;;
  62. 7
  63.       echo -e "${WHITE}Thanks, see you next time"
  64. break
  65. ;;
  66.      *)
  67.       error;;
  68.   esac
  69. done
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement