diff --git a/swh/web/templates/about.html b/swh/web/templates/about.html deleted file mode 100644 index c0c689ada..000000000 --- a/swh/web/templates/about.html +++ /dev/null @@ -1,8 +0,0 @@ -{% extends "layout.html" %} -{% block title %}About{% endblock %} -{% block content %} -

- This is the Software Heritage Web - interface. -

-{% endblock %} diff --git a/swh/web/templates/content-with-origin.html b/swh/web/templates/content-with-origin.html deleted file mode 100644 index e365a21a0..000000000 --- a/swh/web/templates/content-with-origin.html +++ /dev/null @@ -1,9 +0,0 @@ -{% extends "layout.html" %} -{% block title %}Browse{% endblock %} -{% block content %} -

-{% if message is not none %} -

{{ message | safe }}
-{% endif %} -

-{% endblock %} diff --git a/swh/web/templates/entity.html b/swh/web/templates/entity.html deleted file mode 100644 index 9106cded4..000000000 --- a/swh/web/templates/entity.html +++ /dev/null @@ -1,28 +0,0 @@ -{% extends "layout.html" %} -{% block title %}Entity information{% endblock %} -{% block content %} - {% if message is not none %} -

{{ message | safe }}

- {% endif %} - - {% if entities is not none %} - {% for entity in entities %} -
- {% for key in ['uuid', 'parent', 'name', 'doap', 'lister_metadata', - 'homepage', 'lister', 'description', 'type', 'last_id', - 'generated', 'active', 'last_seen'] %} - {% if entity[key] is not none %} -
-
{{ key }}
-
{{ entity[key] }}
-
- {% endif %} - {% endfor %} - {% if 'decoding_failures' in entity %} -
-
(some decoding errors)
-
- {% endif %} - {% endfor %} - {% endif %} -{% endblock %} diff --git a/swh/web/templates/includes/apidoc-header-toc.html b/swh/web/templates/includes/apidoc-header-toc.html deleted file mode 100644 index 9890753fa..000000000 --- a/swh/web/templates/includes/apidoc-header-toc.html +++ /dev/null @@ -1,8 +0,0 @@ -
  • Endpoint index
  • -
  • Data Model
  • -
  • Version
  • -
  • Schema
  • -
  • Parameters
  • -
  • Errors
  • -
  • Pagination
  • -
  • Rate limiting
  • diff --git a/swh/web/templates/includes/home-content.html b/swh/web/templates/includes/home-content.html deleted file mode 100644 index 8e48ad661..000000000 --- a/swh/web/templates/includes/home-content.html +++ /dev/null @@ -1,10 +0,0 @@ -
    - You can refer to a content (i.e. a file that we have in our - database) as its SHA1 or SHA256 checksum. If you have files to - input, you can drag and drop them below to have their hashes - calculated and searched in SWH. Files with the same checksum will - automatically be ignored. -
    -
    - {% include 'includes/search-form.html' %} -
    diff --git a/swh/web/templates/includes/home-directory.html b/swh/web/templates/includes/home-directory.html deleted file mode 100644 index e13a70d55..000000000 --- a/swh/web/templates/includes/home-directory.html +++ /dev/null @@ -1,111 +0,0 @@ - -
    -
    - Advanced search -
    - diff --git a/swh/web/templates/includes/home-origin.html b/swh/web/templates/includes/home-origin.html deleted file mode 100644 index b13f089cd..000000000 --- a/swh/web/templates/includes/home-origin.html +++ /dev/null @@ -1,57 +0,0 @@ - -
    -
    - Advanced search -
    - diff --git a/swh/web/templates/includes/home-revision.html b/swh/web/templates/includes/home-revision.html deleted file mode 100644 index 590e7db9c..000000000 --- a/swh/web/templates/includes/home-revision.html +++ /dev/null @@ -1,66 +0,0 @@ - -
    -
    - Advanced search -
    - diff --git a/swh/web/templates/includes/home-search-symbol.html b/swh/web/templates/includes/home-search-symbol.html deleted file mode 100644 index 6508b1cb7..000000000 --- a/swh/web/templates/includes/home-search-symbol.html +++ /dev/null @@ -1,43 +0,0 @@ - - -
    - Lookup symbols in content that SWH indexed (i.e. a file that we have - in our database). -
    -
    -
    - -
    - -
    -
    - -
    -
    - -
    -
    -
    diff --git a/swh/web/templates/includes/search-form.html b/swh/web/templates/includes/search-form.html deleted file mode 100644 index 92b0d5c5e..000000000 --- a/swh/web/templates/includes/search-form.html +++ /dev/null @@ -1,75 +0,0 @@ - - -
    -
    -
    - - - - -
    -
    -
    - - - -
    - -
    - - -
    - Drag and drop or click here to hash files and search for them. - Your files will NOT be uploaded, hashing is done locally. - Filesizes over 20Mb may be slow to process, use with care. -
    -
    - - -
    - - -
    -
    - -
    - - - - - - - - - diff --git a/swh/web/templates/revision-directory.html b/swh/web/templates/revision-directory.html deleted file mode 100644 index 674afa404..000000000 --- a/swh/web/templates/revision-directory.html +++ /dev/null @@ -1,60 +0,0 @@ -{% extends "layout.html" %} -{% block title %}Browse revision at path{% endblock %} -{% block content %} - -{% if message is not none %} -{{ message }} -{% endif %} - -{% if result is not none %} -

    Browse revision '{{ revision }}' with {{ result['type'] }}path '{{ path }}':

    - - {% if result['type'] == 'dir' %} - {% if result['content'] is not none %} - {% for e in result['content'] %} - {% if e.type == 'dir' %} -
    -

    - {{ e.name }} - {% if 'decoding_failures' in e %}(some decoding errors){% endif %} -

    -
    - {% else %} -
    -

    - {{ e.name }} - {% if 'decoding_failures' in e %}(some decoding errors){% endif %} -

    -
    - {% endif %} - {% endfor %} - {% endif %} - {% else %} - {% if result['content'] is not none %} - {% for key in ['sha1', 'sha256', 'sha1_git', 'status', 'length', 'ctime'] %} -
    -
    {{ key }}
    -
    {{ result['content'][key] }}
    -
    - {% endfor %} - {% endif %} - {% if result['content']['data_url'] is not none %} -
    -
    data_url
    -
    Download data
    -
    - {% endif %} - {% if result['content']['data'] is not none %} -
    -
    data
    -
    {{ result['content']['data'] }}
    -
    - {% endif %} - {% if 'decoding_failures' in result %} -
    -
    (some decoding errors)
    -
    - {% endif %} - {% endif %} -{% endif %} -{% endblock %} diff --git a/swh/web/templates/search.html b/swh/web/templates/search.html deleted file mode 100644 index fdacb58c7..000000000 --- a/swh/web/templates/search.html +++ /dev/null @@ -1,56 +0,0 @@ -{% extends "layout.html" %} -{% block title %}Search SWH{% endblock %} -{% block content %} - -
    - - {% include 'includes/search-form.html' %} - - {% if search_res is not none %} - - {% if search_stats is not none %} - - {% endif %} - -
    -
    - - - - - - - {% for res in search_res %} - - {% if res['filename'] is not none %} - - {% else %} - - {% endif %} - {% if res['found'] %} - - - {% else %} - - - {% endif %} - - {% endfor %} -
    File nameSHA1 checksumResult
    {{ res['filename'] }}From text input{{ res['sha1'] }}{{ res['sha1'] }}
    -
    - {% endif %} - {% if message is not none and message != '' %} -
    {{ message | safe }}
    -
    -{% endif %} - - -{% endblock %} diff --git a/swh/web/templates/symbols.html b/swh/web/templates/symbols.html deleted file mode 100644 index 390be33b0..000000000 --- a/swh/web/templates/symbols.html +++ /dev/null @@ -1,83 +0,0 @@ -{% extends "layout.html" %} -{% block title %}Search SWH{% endblock %} -{% block content %} - -
    - - {% include 'includes/home-search-symbol.html' %} - - {% if result is not none and result|length > 0 %} -
    -

    Result for '{{ q | truncate(50) }}'

    -
    -
    - - - - - - - - - - - - - - - - - {% for res in result %} - - - - - - {% endfor %} - -
    contentkindlanguage
    contentkindlanguage
    {{ res['sha1'] }}{{ res['kind'] }}{{ res['lang'] }}
    - - {% if linknext is not none and linknext != '' %} -
    - Next - {% endif %} - - {% endif %} - {% if message is not none and message != '' %} -
    {{ message | safe }}
    - {% endif %} - - {% if result is not none and result|length == 0 %} - No result for '{{ q | truncate(50) }}'. - {% endif %} -
    - - - -{% endblock %}