Michael Hudson-Doyle
2c6fb9ed99
hide network error if showing before starting config again
2017-09-28 16:00:35 -04:00
Michael Hudson-Doyle
86ac32905b
change the progress bar to show x / y rather than a %age
...
Also make its progress more automatic.
2017-09-26 09:01:22 -04:00
Michael Hudson-Doyle
b60c0d33f5
have enter advance to the next focus item in piles and listboxes
2017-09-21 15:30:50 +12:00
Dimitri John Ledkov
785b4d5568
Fix up more fixed layouts with button_pile().
2017-09-20 14:01:42 +01:00
Michael Hudson-Doyle
14fa3cd107
use button_pile helper everywhere
2017-09-20 15:20:32 +12:00
Michael Hudson-Doyle
f000fc24eb
add a helper to pad a pile of buttons just enough
2017-09-20 14:55:02 +12:00
Dimitri John Ledkov
790a1bf213
Fixup the merge due to changes on master.
2017-09-18 17:31:43 +01:00
Michael Hudson-Doyle
9356501aa7
change cancel buttons to back buttons where appropriate
...
and also some "Done" buttons become "Save" buttons.
2017-09-18 17:19:27 +01:00
Dimitri John Ledkov
a6413ed87f
Refresh Button labels upon init.
2017-09-18 14:20:13 +01:00
Dimitri John Ledkov
693f3e7c7d
Barebones i18n setup.
2017-09-18 14:14:39 +01:00
Dimitri John Ledkov
648d7d4086
Buttons
2017-09-18 14:01:11 +01:00
Michael Hudson-Doyle
a0fd94c0c4
remove connect_signal wrapper
2017-09-15 11:48:07 +12:00
Michael Hudson-Doyle
ef54021b21
convert identity view
2017-09-15 11:04:38 +12:00
Michael Hudson-Doyle
91d57c50f2
a slightly different approach
2017-09-15 10:40:11 +12:00
Michael Hudson-Doyle
183e7f88b7
start process of using more semantic palette names
...
also make button helpers apply the palette by default
2017-09-14 14:51:56 +12:00
Dimitri John Ledkov
7c5e55e0b2
Update color palette
...
Create palette for traffic light buttons: green (default), amber and
red. Color-code most buttons.
Make all progressbars orange for the completed part.
2017-09-12 12:05:44 +01:00
Michael Hudson-Doyle
e2b0dfa495
Merge branch 'master' into mwhudson/screen-review
2017-09-11 09:37:57 +12:00
Michael Hudson-Doyle
32261c3905
Merge branch 'master' into mwhudson/guided-partitioning
...
Fixing a few conflicts.
2017-09-11 09:26:09 +12:00
Michael Hudson-Doyle
1b328dbb61
work around urwid crash
...
see https://github.com/urwid/urwid/issues/253
2017-09-08 12:36:44 +12:00
Michael Hudson-Doyle
e0f75ba013
tweaks to network views
...
1) move the done / cancel buttons (and error display) out of scrolling region
2) focus done by default
3) update footer texts to make sense
4) use a bit more of the horizontal space to show interface information
2017-09-08 09:48:41 +12:00
Michael Hudson-Doyle
977459ea62
pretty up and colorify subiquity a bit
2017-09-07 22:47:56 +12:00
Michael Hudson-Doyle
34f1e67d49
make it possible for subiquity and console_conf to use different colours
2017-09-07 21:37:48 +12:00
Michael Hudson-Doyle
44b9334a28
allow editing partitions
...
there is some wonky stuff around mount point validation, to be fixed next
2017-09-05 14:25:21 +12:00
Michael Hudson-Doyle
4a54ca9e50
start making the partition form usable in other views
2017-09-05 11:58:49 +12:00
Michael Hudson-Doyle
923044be7e
move Selector widget to its own file and create a class for its Options
...
I wanted this so I can enable/disable options after creating the widget.
2017-09-05 09:43:45 +12:00
Michael Hudson-Doyle
641f437fd7
do not ask guided/manual on re-entering config screen if any configuration has been done
2017-08-29 09:24:29 +12:00
Michael Hudson-Doyle
9afd3cbc5a
have escape always remove an overlay view
2017-04-05 15:20:36 +12:00
Michael Hudson-Doyle
395b30451e
stop being clever in handling of escape in network screens
2017-04-05 14:36:46 +12:00
Michael Hudson-Doyle
c49b810336
have IntegerEditor.value return an integer, fixing broken partition numbers in the curtin config
2017-03-23 09:02:37 +13:00
Michael Hudson-Doyle
f8211b56fb
clean up wifi config view code a bunch
...
(this was the first complicated urwid code i wrote)
2017-03-21 14:47:01 +13:00
Michael Hudson-Doyle
62ad81d690
make sure wifi psk is between 8 and 63 characters long
2017-03-21 14:39:23 +13:00
Michael Hudson-Doyle
26c1af8328
allow the gateway to be empty for an interface
2017-03-20 14:51:41 +13:00
Michael Hudson-Doyle
0d48ef1836
avoid wrapping captions in forms
2017-03-13 11:52:19 +13:00
Michael Hudson-Doyle
8cd4b020ee
finish formatting/mounting available partitions
2017-03-10 15:46:21 +13:00
Michael Hudson-Doyle
66c1d94a4b
consolidate mountpoint validation a bit
2017-03-07 21:10:03 +13:00
Michael Hudson-Doyle
ad2a92a67d
protection against empty containers when tabbing
2017-03-07 20:37:38 +13:00
Michael Hudson-Doyle
ff75b7a7fe
fix crash on disappearing network interface
...
By being more careful about accessing self.focus in FocusTrackingMixin.
Fixes https://bugs.launchpad.net/ubuntu/+source/subiquity/+bug/1667829
2017-03-02 21:34:12 +13:00
Michael Hudson-Doyle
404ca627da
use evilnick's wording on the network page
2017-03-02 13:52:20 +13:00
Michael Hudson-Doyle
2a1fbcd6fe
remove some help leftovers
2017-02-16 12:36:26 +13:00
Michael Hudson-Doyle
693ca3d9bf
fix a widget with no selectable widgets losing focus
2017-02-16 11:26:38 +13:00
Michael Hudson-Doyle
308a29c75b
move help to an overlay
2017-02-14 16:16:19 +13:00
Michael Hudson-Doyle
65f9d1ef62
move show_overlay to BaseView
2017-02-14 16:16:19 +13:00
Michael Hudson-Doyle
b00378304c
I simplified RestrictedEditor a bit too much
2017-02-14 16:07:36 +13:00
Michael Hudson-Doyle
69f2b08684
simplify RestrictedEditor a whole bunch more
2017-02-14 15:27:25 +13:00
Michael Hudson-Doyle
a6954b49e2
the various editor classes' caption argument is optional now
2017-02-14 15:19:56 +13:00
Michael Hudson-Doyle
906af4d41a
simplify forms and edit widgets a bit
2017-02-14 15:16:12 +13:00
Michael Hudson-Doyle
3353c851ee
make help appear in same place on identity view as before
2017-02-13 15:50:39 +13:00
Michael Hudson-Doyle
a2062aaf57
convert identity view to use new validation stuff
...
help looks different though
2017-02-13 15:37:29 +13:00
Michael Hudson-Doyle
1e8322b05f
remove old validation stuff
2017-02-13 15:14:20 +13:00
Michael Hudson-Doyle
e58697a29c
simplify api around enabling form fields
2017-02-13 15:12:04 +13:00