Browse Source

Dialog dimensions

Bob Mottram 8 years ago
parent
commit
a445707bff
1 changed files with 5 additions and 5 deletions
  1. 5
    5
      src/freedombone-app-nextcloud

+ 5
- 5
src/freedombone-app-nextcloud View File

76
             if [[ $DDNS_PROVIDER == "default@freedns.afraid.org" ]]; then
76
             if [[ $DDNS_PROVIDER == "default@freedns.afraid.org" ]]; then
77
                 dialog --backtitle $"Freedombone Configuration" \
77
                 dialog --backtitle $"Freedombone Configuration" \
78
                        --title $"NextCloud Configuration" \
78
                        --title $"NextCloud Configuration" \
79
-                       --form $"\nPlease enter your NextCloud details.\n\nIMPORTANT: This should be a domain name which is supported by Let's Encrypt:" 16 65 4 \
80
-                       $"Domain:" 1 1 "$(grep 'NEXTCLOUD_DOMAIN_NAME' temp.cfg | awk -F '=' '{print $2}')" 1 25 33 40 \
81
-                       $"Code:" 3 1 "$(grep 'NEXTCLOUD_CODE' temp.cfg | awk -F '=' '{print $2}')" 3 25 33 255 \
79
+                       --form $"\nPlease enter your NextCloud details.\n\nIMPORTANT: This should be a domain name which is supported by Let's Encrypt:" 13 65 3 \
80
+                       $"Domain:" 1 1 "$(grep 'NEXTCLOUD_DOMAIN_NAME' temp.cfg | awk -F '=' '{print $2}')" 1 15 40 40 \
81
+                       $"Code:" 2 1 "$(grep 'NEXTCLOUD_CODE' temp.cfg | awk -F '=' '{print $2}')" 2 15 40 255 \
82
                        2> $data
82
                        2> $data
83
             else
83
             else
84
                 dialog --backtitle $"Freedombone Configuration" \
84
                 dialog --backtitle $"Freedombone Configuration" \
85
                        --title $"NextCloud Configuration" \
85
                        --title $"NextCloud Configuration" \
86
-                       --form $"\nPlease enter your NextCloud details. The background image URL can be left blank.\n\nIMPORTANT: This should be a domain name which is supported by Let's Encrypt:" 16 65 4 \
87
-                       $"Domain:" 1 1 "$(grep 'NEXTCLOUD_DOMAIN_NAME' temp.cfg | awk -F '=' '{print $2}')" 1 25 33 40 \
86
+                       --form $"\nPlease enter your NextCloud details. The background image URL can be left blank.\n\nIMPORTANT: This should be a domain name which is supported by Let's Encrypt:" 13 65 2 \
87
+                       $"Domain:" 1 1 "$(grep 'NEXTCLOUD_DOMAIN_NAME' temp.cfg | awk -F '=' '{print $2}')" 1 15 40 40 \
88
                        2> $data
88
                        2> $data
89
             fi
89
             fi
90
             sel=$?
90
             sel=$?