Merge pull request #501 from xnox/left-align-fs
Left align filesystems layout page.
This commit is contained in:
commit
be3934792f
|
@ -174,7 +174,7 @@ class MountList(WidgetWrap):
|
||||||
]
|
]
|
||||||
if len(mountinfos) == 0:
|
if len(mountinfos) == 0:
|
||||||
self.table.set_contents([])
|
self.table.set_contents([])
|
||||||
self._w = self._no_mounts_content
|
self._w = Padding.push_2(self._no_mounts_content)
|
||||||
return
|
return
|
||||||
self._w = self.table
|
self._w = self.table
|
||||||
log.debug('FileSystemView: building mount list')
|
log.debug('FileSystemView: building mount list')
|
||||||
|
@ -371,7 +371,7 @@ class DeviceList(WidgetWrap):
|
||||||
or (not self.show_available and d.has_unavailable_partition()))
|
or (not self.show_available and d.has_unavailable_partition()))
|
||||||
]
|
]
|
||||||
if len(devices) == 0:
|
if len(devices) == 0:
|
||||||
self._w = self._no_devices_content
|
self._w = Padding.push_2(self._no_devices_content)
|
||||||
self.table.table_rows = []
|
self.table.table_rows = []
|
||||||
return
|
return
|
||||||
self._w = self.table
|
self._w = self.table
|
||||||
|
@ -448,19 +448,19 @@ class FilesystemView(BaseView):
|
||||||
body = [
|
body = [
|
||||||
Text(_("FILE SYSTEM SUMMARY")),
|
Text(_("FILE SYSTEM SUMMARY")),
|
||||||
Text(""),
|
Text(""),
|
||||||
Padding.push_2(self.mount_list),
|
self.mount_list,
|
||||||
Text(""),
|
Text(""),
|
||||||
Text(""),
|
Text(""),
|
||||||
Text(_("AVAILABLE DEVICES")),
|
Text(_("AVAILABLE DEVICES")),
|
||||||
Text(""),
|
Text(""),
|
||||||
Padding.push_2(self.avail_list),
|
self.avail_list,
|
||||||
Text(""),
|
Text(""),
|
||||||
Padding.push_2(bp),
|
bp,
|
||||||
Text(""),
|
Text(""),
|
||||||
Text(""),
|
Text(""),
|
||||||
Text(_("USED DEVICES")),
|
Text(_("USED DEVICES")),
|
||||||
Text(""),
|
Text(""),
|
||||||
Padding.push_2(self.used_list),
|
self.used_list,
|
||||||
Text(""),
|
Text(""),
|
||||||
]
|
]
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue