/usr/lib/python3/dist-packages/pydap/responses/html/templates/html.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 | {% extends "base.html" %}
{% from "macros.html" import dispatch %}
{% block title %}Dataset {{ 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[:-5] }}</span></a>
</li>
{% endif %}
</ul>
{% endblock %}
{% block content %}
<div class="form">
<form class="pure-form pure-form-aligned" action="{{ location }}" method="POST">
<button type="submit" class="pure-button pure-button-submit">
<i class="icon-download-alt"></i>
Download data
</button>
{{ dispatch(dataset) }}
<button type="submit" class="pure-button pure-button-submit">
<i class="icon-download-alt"></i>
Download data
</button>
</form>
</div>
{% endblock %}
|