local view = ... ?>
Storage
Floppy capacity
= view.storage.floppycapacity.value ?>
if (view.storage.floppycapacity.used) then ?>
0% | if ( tonumber(view.storage.floppycapacity.used) > 10) then io.write(view.storage.floppycapacity.used .. "%") end ?> | if ( 90 > tonumber(view.storage.floppycapacity.used)) then io.write((100-view.storage.floppycapacity.used) .. "%") end ?> | 100% |
= view.storage.floppycapacity.used_label ?> | | =Used | | =Free |
end ?>
Disk capacity
= view.storage.hdcapacity.value ?>
if (view.storage.hdcapacity.used) then ?>
0% | if ( tonumber(view.storage.hdcapacity.used) > 10) then io.write(view.storage.hdcapacity.used .. "%") end ?> | if ( 90 > tonumber(view.storage.hdcapacity.used)) then io.write((100-view.storage.hdcapacity.used) .. "%") end ?> | 100% |
= view.storage.hdcapacity.used_label ?> | | =Used | | =Free |
end ?>
Disk partitions
= view.storage.partitions ?>