This commit is contained in:
Jonathan Carter
2024-09-23 16:13:34 +02:00
parent 71011fcafd
commit 6a2dfbbde5
5 changed files with 96 additions and 44 deletions

View File

@@ -8,7 +8,9 @@ def disks():
"""
Disks screen for the webui.
"""
return render_template('disks.html')
blockdevs = lsblk.list_block_devices()
print(lsblk.list_block_devices())
return render_template('disks.html', blockdevs=blockdevs)
@bp.route('/disks/partition/<part>')