diff --git a/swh/web/ui/templates/includes/home-directory.html b/swh/web/ui/templates/includes/home-directory.html new file mode 100644 --- /dev/null +++ b/swh/web/ui/templates/includes/home-directory.html @@ -0,0 +1,111 @@ + +
+
+ Advanced search +
+ diff --git a/swh/web/ui/templates/includes/home-origin.html b/swh/web/ui/templates/includes/home-origin.html new file mode 100644 --- /dev/null +++ b/swh/web/ui/templates/includes/home-origin.html @@ -0,0 +1,57 @@ + +
+
+ Advanced search +
+ diff --git a/swh/web/ui/templates/includes/home-revision.html b/swh/web/ui/templates/includes/home-revision.html new file mode 100644 --- /dev/null +++ b/swh/web/ui/templates/includes/home-revision.html @@ -0,0 +1,66 @@ + +
+
+ Advanced search +
+ diff --git a/swh/web/ui/templates/search-form.html b/swh/web/ui/templates/includes/search-form.html rename from swh/web/ui/templates/search-form.html rename to swh/web/ui/templates/includes/search-form.html --- a/swh/web/ui/templates/search-form.html +++ b/swh/web/ui/templates/includes/search-form.html @@ -1,5 +1,5 @@ -

Search with SHA-1 or SHA-256:

+
-

Search with files

+ - - - - - +{% for fname in ['lib/core.js', 'lib/lib-typedarrays.js', 'lib/sha256.js', 'js/search.js'] %} + +{% endfor %}