diff --git a/swh/web/ui/templates/browse.html b/swh/web/ui/templates/browse.html index 4f26152a..64d7c6be 100644 --- a/swh/web/ui/templates/browse.html +++ b/swh/web/ui/templates/browse.html @@ -1,56 +1,49 @@ {% extends "layout.html" %} {% block title %}Browse{% endblock %} {% block content %}
-
- 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' %} -
+ {% include 'includes/home-content.html' %}
{% include 'includes/home-revision.html' %}
{% include 'includes/home-origin.html' %}
{% include 'includes/home-directory.html' %}
{% endblock %} diff --git a/swh/web/ui/templates/includes/home-content.html b/swh/web/ui/templates/includes/home-content.html new file mode 100644 index 00000000..8e48ad66 --- /dev/null +++ b/swh/web/ui/templates/includes/home-content.html @@ -0,0 +1,10 @@ +
+ 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' %} +