Changeset View
Changeset View
Standalone View
Standalone View
swh/web/templates/includes/directory-display.html
Show All 15 Lines | <table class="table swh-table swh-directory-table"> | ||||
<th class="d-none d-md-table-cell">Mode</th> | <th class="d-none d-md-table-cell">Mode</th> | ||||
<th class="d-none d-sm-table-cell">Size</th> | <th class="d-none d-sm-table-cell">Size</th> | ||||
</tr> | </tr> | ||||
</thead> | </thead> | ||||
<tbody> | <tbody> | ||||
{% for d in dirs %} | {% for d in dirs %} | ||||
<tr class="swh-directory-entry swh-tr-hover-highlight"> | <tr class="swh-directory-entry swh-tr-hover-highlight"> | ||||
<td class="swh-directory"> | <td class="swh-directory"> | ||||
<i class="{{ swh_object_icons.directory }} fa-fw" aria-hidden="true"></i> | <i class="{{ swh_object_icons.directory }} mdi-fw" aria-hidden="true"></i> | ||||
<a href="{{ d.url | safe }}"> | <a href="{{ d.url | safe }}"> | ||||
{{ d.name }} | {{ d.name }} | ||||
</a> | </a> | ||||
</td> | </td> | ||||
<td class="d-none d-md-table-cell"> | <td class="d-none d-md-table-cell"> | ||||
{{ d.perms }} | {{ d.perms }} | ||||
</td> | </td> | ||||
<td class="d-none d-sm-table-cell"> | <td class="d-none d-sm-table-cell"> | ||||
</td> | </td> | ||||
</tr> | </tr> | ||||
{% endfor %} | {% endfor %} | ||||
{% for f in files %} | {% for f in files %} | ||||
<tr class="swh-directory-entry swh-tr-hover-highlight"> | <tr class="swh-directory-entry swh-tr-hover-highlight"> | ||||
<td class="swh-content"> | <td class="swh-content"> | ||||
<i class="{{ swh_object_icons.content }} fa-fw" aria-hidden="true"></i> | <i class="{{ swh_object_icons.content }} mdi-fw" aria-hidden="true"></i> | ||||
<a href="{{ f.url | safe }}"> | <a href="{{ f.url | safe }}"> | ||||
{{ f.name }} | {{ f.name }} | ||||
</a> | </a> | ||||
</td> | </td> | ||||
<td class="d-none d-md-table-cell"> | <td class="d-none d-md-table-cell"> | ||||
{{ f.perms }} | {{ f.perms }} | ||||
</td> | </td> | ||||
<td class="d-none d-sm-table-cell"> | <td class="d-none d-sm-table-cell"> | ||||
Show All 15 Lines |