1
0
mirror of https://github.com/Foltik/Shimapan synced 2024-11-28 13:36:41 -05:00
shimapan/includes/search.swig
2016-08-14 10:21:53 -04:00

28 lines
1.1 KiB
Plaintext

{% include "header.swig" %}
<form class="form-inline" action="/includes/api.php" method="get">
<input type="hidden" name="do" value="fetch">
<input type="hidden" name="all" value="no">
<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="action" value="Fetch">
<input class="btn btn-default" type="submit" name="action" value="Fetch All">
</form>
<br>
<table id="result" class="table">
<tr>
<th>ID</th>
<th>Orginal Name</th>
<th>Filename</th>
<th>Size (Bytes / Kilobytes)</th>
<th>Action</th>
</tr>