diff --git a/debian/control b/debian/control index ade55b4a9..bc871183a 100644 --- a/debian/control +++ b/debian/control @@ -1,36 +1,32 @@ Source: swh-web-ui Maintainer: Software Heritage developers Section: python Priority: optional Build-Depends: debhelper (>= 9), dh-python, libjs-cryptojs, - libjs-jquery-flot, - libjs-jquery-flot-tooltip, python3-all, python3-blinker, python3-docutils, python3-flask-limiter, python3-flask-testing, python3-hiredis, python3-nose, python3-pygments, python3-redis, python3-setuptools, python3-swh.core (>= 0.0.20~), python3-swh.storage (>= 0.0.77~), python3-vcversioner, python3-yaml Standards-Version: 3.9.6 Homepage: https://forge.softwareheritage.org/diffusion/DWUI/ Package: python3-swh.web.ui Architecture: all Depends: libjs-cryptojs, - libjs-jquery-flot, - libjs-jquery-flot-tooltip, python3-swh.core (>= 0.0.20~), python3-swh.storage (>= 0.0.77~), ${misc:Depends}, ${python3:Depends} Description: Software Heritage Web UI diff --git a/requirements.txt b/requirements.txt index bbe969991..eca158795 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,23 +1,21 @@ # Add here external Python modules dependencies, one per line. Module names # should match https://pypi.python.org/pypi names. For the full spec or # dependency lines, see https://pip.readthedocs.org/en/1.1/requirements.html # Runtime dependencies Flask Flask_Limiter swh.core >= 0.0.20 swh.storage >= 0.0.77 dateutil docutils pygments redis hiredis # Test dependencies #Flask-Testing #blinker # Non-Python dependencies #libjs-cryptojs -#libjs-jquery-flot -#libjs-jquery-flot-tooltip diff --git a/swh/web/ui/static/lib/jquery.flot.min.js b/swh/web/ui/static/lib/jquery.flot.min.js deleted file mode 120000 index a3d86f2d8..000000000 --- a/swh/web/ui/static/lib/jquery.flot.min.js +++ /dev/null @@ -1 +0,0 @@ -/usr/share/javascript/jquery-flot/jquery.flot.min.js \ No newline at end of file diff --git a/swh/web/ui/static/lib/jquery.flot.selection.min.js b/swh/web/ui/static/lib/jquery.flot.selection.min.js deleted file mode 120000 index abbca6ad6..000000000 --- a/swh/web/ui/static/lib/jquery.flot.selection.min.js +++ /dev/null @@ -1 +0,0 @@ -/usr/share/javascript/jquery-flot/jquery.flot.selection.min.js \ No newline at end of file diff --git a/swh/web/ui/static/lib/jquery.flot.time.min.js b/swh/web/ui/static/lib/jquery.flot.time.min.js deleted file mode 120000 index a3a45da61..000000000 --- a/swh/web/ui/static/lib/jquery.flot.time.min.js +++ /dev/null @@ -1 +0,0 @@ -/usr/share/javascript/jquery-flot/jquery.flot.time.min.js \ No newline at end of file diff --git a/swh/web/ui/static/lib/jquery.flot.tooltip.min.js b/swh/web/ui/static/lib/jquery.flot.tooltip.min.js deleted file mode 120000 index 955e636e8..000000000 --- a/swh/web/ui/static/lib/jquery.flot.tooltip.min.js +++ /dev/null @@ -1 +0,0 @@ -/usr/share/javascript/jquery-flot/jquery.flot.tooltip.min.js \ No newline at end of file diff --git a/swh/web/ui/templates/origin.html b/swh/web/ui/templates/origin.html index 77c6cfc9f..eaaeac4b9 100644 --- a/swh/web/ui/templates/origin.html +++ b/swh/web/ui/templates/origin.html @@ -1,48 +1,51 @@ {% extends "layout.html" %} {% block title %}Origin{% endblock %} {% block content %} {% if message is not none %} {{ message }} {% endif %} {% if origin is not none %} -{% for fname in ['js/calendar.js', 'lib/jquery.flot.min.js', 'lib/jquery.flot.time.min.js', 'lib/jquery.flot.selection.min.js', 'lib/jquery.flot.tooltip.min.js'] %} - -{% endfor %} + + + + + +

Origin visit history

Origin information

Details on origin {{ origin['id'] }}: {% for key in ['type', 'lister', 'project', 'url'] %} {% if origin[key] is not none %}
{{ key }}
{{ origin[key] }}
{% endif %} {% endfor %} {% if 'decoding_failures' in content %}
(some decoding errors)
{% endif %}
{% endif %} {% endblock %}