/usr/lib/python3/dist-packages/pydap/wsgi/templates/index.html is in python3-pydap 3.2.2+ds1-1ubuntu1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 | {% extends "base.html" %}
{% block title %}Index of {{ location }}{% endblock %}
{% block breadcrumbs %}
<ul>
{% for crumb in breadcrumbs[:-1] %}
<li itemscope itemtype="http://data-vocabulary.org/Breadcrumb">
<a itemprop="url" href="{{ crumb.url }}/"><span itemprop="title">{{ crumb.title }}</span></a>
</li>
<li><i class="icon-angle-right"></i></li>
{% endfor %}
{% if breadcrumbs %}
<li itemscope itemtype="http://data-vocabulary.org/Breadcrumb" class="pure-menu-selected">
<a itemprop="url" href="{{ breadcrumbs[-1].url }}/"><span itemprop="title">{{ breadcrumbs[-1].title }}</span></a>
</li>
{% endif %}
</ul>
{% endblock %}
{% block content %}
<table class="pure-table pydap-listing">
<thead>
<tr>
<th>Name</th>
<th>Size</th>
<th>Last modified</th>
</tr>
</thead>
<tbody>
{% for directory in directories %}
<tr>
<td><i class="icon-folder-close icon-fixed-width"></i> <a href="{{ directory.name }}/">{{ directory.name }}/</a></td>
<td>–</td>
<td>{{ directory.last_modified|datetimeformat }}</td>
</tr>
{% endfor %}
{% for file in files %}
<tr>
{% if file.supported %}
<td><i class="icon-globe icon-fixed-width"></i>
<a title="Inspect and filter data" href="{{ file.name }}.html">{{ file.name }}</a>
<span class="dap">
<a title="View the DDS response" href="{{ file.name }}.dds">dds</a> |
<a title="View the DAS response" href="{{ file.name }}.das">das</a>
</span>
</td>
{% elif file.name.endswith(".html") %}
<td><i class="icon-file icon-fixed-width"></i>
<a href="{{ file.name }}">{{ file.name }}</a>
</td>
{% else %}
<td><i class="icon-file icon-fixed-width"></i>
{{ file.name }}
</td>
{% endif %}
<td><a title="Download file" href="{{ file.name }}">{{ file.size|filesizeformat}}</a></td>
<td>{{ file.last_modified|datetimeformat }}</td>
</tr>
{% endfor %}
</tbody>
</table>
{% endblock %}
|