mirror of
https://github.com/swizzin/swizzin_dashboard.git
synced 2024-09-20 14:56:08 +08:00
Fix issues related to some disk mounts
This commit is contained in:
parent
9d8019e7fd
commit
913cca146a
|
@ -53,7 +53,10 @@ def get_mounts():
|
|||
for line in fstab:
|
||||
fields = line.strip().split()
|
||||
if "bind" in str(fields):
|
||||
try:
|
||||
mounts.remove(fields[1])
|
||||
except:
|
||||
pass
|
||||
return mounts
|
||||
|
||||
def generate_page_list(user):
|
||||
|
|
|
@ -161,7 +161,7 @@
|
|||
</tbody>
|
||||
{% if (loop.index == 3 and not loop.last) %}
|
||||
</table>
|
||||
<table class="collapse" id="collapsediskinfo" aria-expanded="false">
|
||||
<table class="table table-sm table-dark table-borderless collapse" id="collapsediskinfo" aria-expanded="false">
|
||||
{% endif %}
|
||||
{% if loop.last %}
|
||||
</table>
|
||||
|
|
Loading…
Reference in a new issue