Page Menu
Home
Software Heritage
Search
Configure Global Search
Log In
Files
F8394400
directory.html
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Subscribers
None
directory.html
View Options
{% extends "layout.html" %}
{% block title %}Directory browse{% endblock %}
{% block content %}
<
nav
class
=
"bread-crumbs"
>
<
ul
>
<
li
class
=
"swh-path"
><
a
href
=
"{% url 'browse-directory' root_dir %}"
>
{{ root_dir|slice:':7' }}
</
a
></
li
>
<
li
>
/
</
li
>
{% for pi in path_info %}
<
li
class
=
"swh-path"
><
a
href
=
"{% url 'browse-directory' root_dir pi.path %}"
>
{{pi.name}}
</
a
></
li
>
<
li
>
/
</
li
>
{% endfor %}
</
ul
>
</
nav
>
<
div
class
=
"table-responsive"
>
<
table
class
=
"table"
>
<
thead
>
<
tr
>
<
th
>
File
</
th
>
<
th
>
Sha1
</
th
>
</
tr
>
</
thead
>
<
tbody
>
{% for d in dirs %}
<
tr
>
<
td
class
=
"swh-directory"
>
<
i
class
=
"fa fa-folder fa-fw"
aria-hidden
=
"true"
></
i
>
{% with path|add:d.name as dir_path %}
<
a
href
=
"{% url 'browse-directory' root_dir dir_path %}"
>
{{d.name}}
</
a
>
{% endwith %}
</
td
>
<
td
>
{{d.target}}
</
td
>
</
tr
>
{% endfor %}
{% for f in files %}
<
tr
>
<
td
class
=
"swh-content"
>
<
i
class
=
"fa fa-file-text fa-fw"
aria-hidden
=
"true"
></
i
>
{% with root_dir|add:'/'|add:path|add:f.name as file_path %}
<
a
href
=
"{% url 'browse-content' f.target %}?path={{file_path}}"
>
{{f.name}}
</
a
>
{% endwith %}
</
td
>
<
td
>
{{f.target}}
</
td
>
</
tr
>
{% endfor %}
</
tbody
>
</
table
>
</
div
>
{% endblock %}
File Metadata
Details
Attached
Mime Type
text/html
Expires
Jun 4 2025, 7:24 PM (9 w, 4 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3285879
Attached To
rDWAPPS Web applications
Event Timeline
Log In to Comment