Changeset View
Changeset View
Standalone View
Standalone View
swh/web/templates/includes/origin-search-form.html
- This file was added.
{% comment %} | |||||
Copyright (C) 2020 The Software Heritage developers | |||||
See the AUTHORS file at the top-level directory of this distribution | |||||
License: GNU Affero General Public License version 3, or any later version | |||||
See top-level LICENSE file for more information | |||||
{% endcomment %} | |||||
<form class="form-horizontal" id="swh-search-origins"> | |||||
<div class="input-group"> | |||||
<input class="form-control" placeholder="Enter a persistent id to resolve or string pattern(s) to search for in origin urls" type="text" id="origins-url-patterns"/> | |||||
<div class="input-group-append"> | |||||
<button class="btn btn-primary" type="submit"><i class="swh-search-icon mdi mdi-magnify" aria-hidden="true"></i></button> | |||||
</div> | |||||
</div> | |||||
<div class="custom-control custom-checkbox swh-id-option"> | |||||
<input class="custom-control-input" value="option-origins-with-visit" type="checkbox" | |||||
id="swh-search-origins-with-visit" checked> | |||||
<label class="custom-control-label font-weight-normal" for="swh-search-origins-with-visit">only show origins visited at least once</label> | |||||
</div> | |||||
<div class="custom-control custom-checkbox swh-id-option"> | |||||
<input class="custom-control-input" value="option-filter-empty-visits" type="checkbox" | |||||
id="swh-filter-empty-visits" checked> | |||||
<label class="custom-control-label font-weight-normal" for="swh-filter-empty-visits">filter out origins with no archived content</label> | |||||
</div> | |||||
<div class="custom-control custom-checkbox swh-id-option"> | |||||
<input class="custom-control-input" value="option-filter-empty-visits" type="checkbox" | |||||
id="swh-search-origin-metadata"> | |||||
<label class="custom-control-label font-weight-normal" for="swh-search-origin-metadata">search in metadata (instead of URL)</label> | |||||
</div> | |||||
</form> | |||||
<script> | |||||
swh.browse.initOriginSearch(); | |||||
</script> | |||||
No newline at end of file | |||||
ardumont: Isn't this for another diff? | |||||
Done Inline ActionsRight ! I messed up while rebasing. Thanks for spotting this ! anlambert: Right ! I messed up while rebasing. Thanks for spotting this ! |
Isn't this for another diff?