1
0
mirror of https://github.com/Foltik/Shimapan synced 2024-12-10 21:48:03 -05:00
shimapan/includes/search.swig

30 lines
1.0 KiB
Plaintext

{% include "header.swig" %}
<form class="form-inline" action="/includes/api.php" method="get">
<input type="hidden" name="do" value="fetch">
<div class="form-group">
<label for="date">Date:</label>
<input id="date" type="date" name="date" data-date-format="YYYY-MM-DD" value="<?php if (empty($date)) { echo date('Y-m-d'); } else { echo $date; }?>">
</div>
<div class="form-group">
<label for="amount">Amount:</label>
<input id="amount" type="number" name="count" value="30">
</div>
<div class="form-group">
<label for="amount">Keyword:</label>
<input type="text" name="keyword">
</div>
<input class="btn btn-default" type="submit" name="method" value="Fetch">
<input class="btn btn-default" type="submit" name="method" value="Fetch All">
</form>
<br>
<table id="result" class="table">
<tr>
<th>ID</th>
<th>Orginal Name</th>
<th>Filename</th>
<th>Upload Date</th>
<th>Uploader</th>
<th>Size (Bytes / Kilobytes)</th>
<th>Action</th>
</tr>