Changeset View
Changeset View
Standalone View
Standalone View
swh/web/templates/browse/revision-log.html
Show All 21 Lines | |||||
{% if snapshot_context and snapshot_context.is_empty %} | {% if snapshot_context and snapshot_context.is_empty %} | ||||
{% include "includes/empty-snapshot.html" %} | {% include "includes/empty-snapshot.html" %} | ||||
{% else %} | {% else %} | ||||
<hr class="mt-0 mb-0"> | <hr class="mt-0 mb-0"> | ||||
<div class="text-center"> | <div class="text-center"> | ||||
<div class="form-check form-check-inline" title="Display revisions in reverse chronological order of their commit date"> | sort by: | ||||
<div class="form-check form-check-inline" title="reverse chronological order"> | |||||
<input class="form-check-input" type="radio" name="revs-ordering" id="revs-ordering-date" | <input class="form-check-input" type="radio" name="revs-ordering" id="revs-ordering-date" | ||||
value="" onclick="swh.revision.revsOrderingTypeClicked(event)" checked> | value="" onclick="swh.revision.revsOrderingTypeClicked(event)" checked> | ||||
<label class="form-check-label active" for="revs-ordering-date">Commit date ordering</label> | <label class="form-check-label active" for="revs-ordering-date">revision date</label> | ||||
</div> | </div> | ||||
<div class="form-check form-check-inline" title="Display revisions in the same order they are visited when performing a depth-first search in pre order on the revisions DAG"> | <div class="form-check form-check-inline" title="pre-order, depth-first visit on the revision graph"> | ||||
<input class="form-check-input" type="radio" name="revs-ordering" id="revs-ordering-dfs" | <input class="form-check-input" type="radio" name="revs-ordering" id="revs-ordering-dfs" | ||||
value="dfs" onclick="swh.revision.revsOrderingTypeClicked(event)"> | value="dfs" onclick="swh.revision.revsOrderingTypeClicked(event)"> | ||||
<label class="form-check-label" for="revs-ordering-dfs">DFS ordering</label> | <label class="form-check-label" for="revs-ordering-dfs">DFS</label> | ||||
</div> | </div> | ||||
<div class="form-check form-check-inline" title="Display revisions in the same order they are visited when performing a depth-first search in post order on the revisions DAG"> | <div class="form-check form-check-inline" title="post-order, depth-first visit on the revision graph"> | ||||
<input class="form-check-input" type="radio" name="revs-ordering" id="revs-ordering-dfs-post" | <input class="form-check-input" type="radio" name="revs-ordering" id="revs-ordering-dfs-post" | ||||
value="dfs_post" onclick="swh.revision.revsOrderingTypeClicked(event)"> | value="dfs_post" onclick="swh.revision.revsOrderingTypeClicked(event)"> | ||||
<label class="form-check-label" for="revs-ordering-dfs-post">DFS post ordering</label> | <label class="form-check-label" for="revs-ordering-dfs-post">DFS post-ordering</label> | ||||
</div> | </div> | ||||
<div class="form-check form-check-inline" title="Display revisions in the same order they are visited when performing a breadth-first search on the revisions DAG"> | <div class="form-check form-check-inline" title="breadth-first visit on the revision graph"> | ||||
<input class="form-check-input" type="radio" name="revs-ordering" id="revs-ordering-bfs" | <input class="form-check-input" type="radio" name="revs-ordering" id="revs-ordering-bfs" | ||||
value="bfs" onclick="swh.revision.revsOrderingTypeClicked(event)"> | value="bfs" onclick="swh.revision.revsOrderingTypeClicked(event)"> | ||||
<label class="form-check-label" for="revs-ordering-bfs">BFS ordering</label> | <label class="form-check-label" for="revs-ordering-bfs">BFS</label> | ||||
</div> | </div> | ||||
</div> | </div> | ||||
<div class="table-responsive mb-3"> | <div class="table-responsive mb-3"> | ||||
<table class="table swh-table swh-table-striped"> | <table class="table swh-table swh-table-striped"> | ||||
<thead> | <thead> | ||||
<tr> | <tr> | ||||
<th><i class="{{ swh_object_icons.revision }} fa-fw"></i>Revision</th> | <th><i class="{{ swh_object_icons.revision }} fa-fw"></i>Revision</th> | ||||
▲ Show 20 Lines • Show All 70 Lines • Show Last 20 Lines |