Remove parent directory link from table
This commit is contained in:
parent
41da8bbd61
commit
2038799d7a
|
@ -53,13 +53,9 @@ class AutoIndex(BasePage):
|
|||
|
||||
def _file_table(self, files: Iterable[FileInfo]):
|
||||
with self.doc.table(class_="autoindex"):
|
||||
self._parent()
|
||||
for f in files:
|
||||
self._file_row(**f)
|
||||
|
||||
def _parent(self):
|
||||
self._file_row("📁", "..", "", "")
|
||||
|
||||
def _file_row(
|
||||
self,
|
||||
icon: str,
|
||||
|
|
Loading…
Reference in New Issue
Block a user