Michael Hudson-Doyle
c60d37f275
some testing ideas
2017-11-27 21:51:39 +13:00
Michael Hudson-Doyle
ad95cdd4d7
Merge pull request #255 from CanonicalLtd/vorlon/fix-up-tests
...
fix tests slightly
2017-11-27 09:09:08 +13:00
Michael Hudson-Doyle
54a52015d6
tone down log spam a bit
2017-11-24 12:50:37 +13:00
Michael Hudson-Doyle
b5c07497e8
make language and disk selection buttons use the done style
2017-11-24 11:19:01 +13:00
Michael Hudson-Doyle
ba8056768e
update to use colors from design
2017-11-22 14:10:03 +13:00
Michael Hudson-Doyle
c85602527e
stop any of the *_btn functions defining a label by default
2017-11-22 13:53:35 +13:00
Michael Hudson-Doyle
4d0d48f2f5
add some comments
2017-10-25 21:52:43 +13:00
Michael Hudson-Doyle
c0889dfffc
add explicit entries in the palette for scrollbar parts
2017-10-25 21:09:49 +13:00
Michael Hudson-Doyle
3515961ac9
slightly lower level implementation of ScrollBarListBox.render
...
lower level and less reentrant, which is the main advantage
2017-10-25 21:01:03 +13:00
Michael Hudson-Doyle
0b4ae2b1a5
prevent scrollbox from getting squished to 0 rows
2017-10-25 20:50:53 +13:00
Michael Hudson-Doyle
08e51b87ae
move some listboxs inside their padding
2017-10-20 15:51:01 +13:00
Michael Hudson-Doyle
5405abecc3
Add a scrollbar to our custom listbox implementation.
...
It's pretty ugly for now.
2017-10-20 15:47:32 +13:00
Michael Hudson-Doyle
b6a27582c9
redo padding and layout of network views
2017-10-20 14:55:01 +13:00
Michael Hudson-Doyle
1db8a1dc40
get rid of padding after header
2017-10-20 14:06:57 +13:00
Mathieu Trudel-Lapierre
491ca1e1c0
Indicate which network config method is active.
2017-10-12 11:01:33 -04:00
Michael Hudson-Doyle
5507fd0fbc
clunky way of indicating which network config method is active
2017-10-11 21:35:10 +13:00
Steve Langasek
ae1b8c2e66
Import i18n module before use.
2017-10-09 17:28:21 +00:00
Michael Hudson-Doyle
68b9f6f1be
add a way to run console-conf or subiquity with a subset of the screens
2017-10-09 09:24:32 +13:00
Michael Hudson-Doyle
f5637a717e
a start at a more sophisticated ssh identity widget
2017-10-06 15:39:14 +13:00
Michael Hudson-Doyle
b06d1a78c4
improve validation of hostname and username fields
...
not sure hostname validation makes perfect sense but at least it is a bit
more transparent now
2017-10-05 22:14:44 +13:00
Michael Hudson-Doyle
1bfb42c9b8
allow the same set of characters in realname as accepted by chfn -f
2017-10-05 16:33:26 +13:00
Michael Hudson-Doyle
a73b76c7d2
clear any validation error as soon as the field becomes valid
...
this is why I changed size's validation to be side-effect free in the last
commit...
2017-10-05 16:19:31 +13:00
Michael Hudson-Doyle
876e2dc1b7
change partition size field to only modify user input explicitly on loss of focus
2017-10-05 16:16:31 +13:00
Michael Hudson-Doyle
eafd614ce9
simplify things a bit by removing the ability to pass validator= and cleaner= to form fields
2017-10-05 15:45:16 +13:00
Michael Hudson-Doyle
35988f2fd9
change form machinery to always have space for validation error
...
and display help, if present, there by default
2017-10-05 15:08:10 +13:00
Michael Hudson-Doyle
d35a7e08d8
Merge pull request #248 from CanonicalLtd/mwhudson/better-colors
...
color tweaks
2017-09-28 17:28:42 -04:00
Michael Hudson-Doyle
2c6fb9ed99
hide network error if showing before starting config again
2017-09-28 16:00:35 -04:00
Michael Hudson-Doyle
cd85358a1b
overwrite more of the console palette
2017-09-28 09:58:09 -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