HummingBirdAnimeClient/app/views/anime/add.php

40 lines
1.2 KiB
PHP
Raw Permalink Normal View History

<?php if ($_->isAuthenticated()): ?>
2016-01-04 10:53:03 -05:00
<main>
<h2>Add Anime to your List</h2>
<form action="<?= $action_url ?>" method="post">
<?php include realpath(__DIR__ . '/../js-warning.php') ?>
2016-01-04 10:53:03 -05:00
<section>
2016-02-01 09:49:18 -05:00
<div class="cssload-loader" hidden="hidden">
<div class="cssload-inner cssload-one"></div>
<div class="cssload-inner cssload-two"></div>
<div class="cssload-inner cssload-three"></div>
</div>
2016-01-04 10:53:03 -05:00
<label for="search">Search for anime by name:&nbsp;&nbsp;&nbsp;&nbsp;<input type="search" id="search" /></label>
<section id="series-list" class="media-wrap">
2016-01-04 10:53:03 -05:00
</section>
</section>
<br />
<table class="invisible form">
2016-01-04 10:53:03 -05:00
<tbody>
<tr>
<td><label for="status">Watching Status</label></td>
<td>
<select name="status" id="status">
<?php foreach($status_list as $status_key => $status_title): ?>
<option value="<?= $status_key ?>"><?= $status_title ?></option>
<?php endforeach ?>
</select>
</td>
</tr>
<tr>
<td>&nbsp;</td>
<td>
<input type="hidden" name="type" value="anime" />
2016-01-04 10:53:03 -05:00
<button type="submit">Save</button>
</td>
</tr>
</tbody>
</table>
</form>
</main>
<?php endif ?>