remove target=_blank

This commit is contained in:
Alok Saldanha
2019-09-04 14:58:43 -04:00
parent 8a918d9d5f
commit d70fb64fd3
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -86,6 +86,6 @@ def render_entries(entries):
def render_entry(entry):
if entry["type"] == "file":
return f"<li> <a target='_blank' href='view{entry['path']}'>{entry['name']}</a></li>"
return f"<li> <a href='view{entry['path']}'>{entry['name']}</a></li>"
elif entry["type"] == "directory":
return f"<li>{entry['name']}{render_entries(entry['children'])}</li>"
+1 -1
View File
@@ -35,7 +35,7 @@
Links:
</h1>
<div class="list-group" style="width:50%;padding-left:65px">
<a target="_blank" href="/filecrawl.html" class="list-group-item list-group-item-action">
<a href="/filecrawl.html" class="list-group-item list-group-item-action">
<u>File Crawler: Allows you to view all uploaded data.</u></a>
</div>