improve tinder UI

This commit is contained in:
/jedi/ 2018-12-28 15:28:30 +01:00
parent 353473819c
commit 9579bc1098

View file

@ -27,8 +27,30 @@
</div> </div>
<div class="card-body"> <div class="card-body">
<form method="POST" action="action.php?action=tinder"> <form method="POST" action="action.php?action=tinder">
<p><input type="text" class="form-control" placeholder="FUND-ID" name="found"></p> <p>
<p><input type="text" class="form-control" placeholder="SUCH-ID" name="lost"></p> <select class="form-control" placeholder="FUND-ID" name="found" >
<?php
foreach (get_founditems(true) as $item)
{
?>
<option value="<?php echo $item["id"]; ?>"><?php echo $item["was"]; ?></option>
<?php
}
?>
</select>
</p>
<p>
<select class="form-control" placeholder="SUCH-ID" name="lost" >
<?php
foreach (get_lostitems(true) as $item)
{
?>
<option value="<?php echo $item["id"]; ?>"><?php echo $item["was"]; ?></option>
<?php
}
?>
</select>
</p>
<p><input type="submit" class="form-control"></p> <p><input type="submit" class="form-control"></p>
</form> </form>
</div> </div>