Commit be92cc92 authored by Michael Ritter's avatar Michael Ritter
Browse files

Rearrangement; Add selection for truncating bytes to KiB/MiB/etc

parent 9978f961
......@@ -47,6 +47,22 @@
<div class="container">
<div id="searchtable">
<form method="POST" role="form">
<div class="form-group">
<div class="form-check">
<label class="form-check-label">
<input class="form-check-input" name="csv" type="checkbox"> Export to CSV
</label>
</div>
<select class="custom-select mb-2 mr-sm-2 mb-sm-0" name="truncate" id="truncate">
<option selected>Truncate Bytes to...</option>
<option value="KiB">KiB</option>
<option value="MiB">MiB</option>
<option value="GiB">GiB</option>
<option value="TiB">TiB</option>
</select>
</div>
<div class="form-inline">
<div class="form-group form-group-sm">
<input type="text" class="form-input" id="before-filter" name="before" placeholder="Before"/>
......@@ -62,15 +78,6 @@
</div>
</div>
<div class="form-inline">
<div class="form-check">
<label class="form-check-label">
<input class="form-check-input" name="csv" type="checkbox"> Export to CSV
</label>
</div>
</div>
<button type="submit" class="btn btn-primary"
value="Submit"><span>Submit</span></button>
</form>
......@@ -94,7 +101,7 @@
<td title="${item.collection}">${item.collection}</td>
<td title="${item.group}">${item.group}</td>
<td>${item.count}</td>
<td>${item.size}</td>
<td>${item.formattedSize}</td>
</tr>
</c:forEach>
</tbody>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment