2017-02-15 16:30:14 -05:00
|
|
|
<?php if ($auth->isAuthenticated()): ?>
|
2016-02-02 11:34:03 -05:00
|
|
|
<main>
|
|
|
|
<h2>Add Manga to your List</h2>
|
|
|
|
<form action="<?= $action_url ?>" method="post">
|
|
|
|
<section>
|
|
|
|
<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>
|
|
|
|
<label for="search">Search for manga by name: <input type="search" id="search" /></label>
|
|
|
|
<section id="series_list" class="media-wrap">
|
|
|
|
</section>
|
|
|
|
</section>
|
|
|
|
<br />
|
|
|
|
<table class="form">
|
|
|
|
<tbody>
|
|
|
|
<tr>
|
|
|
|
<td><label for="status">Reading 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> </td>
|
|
|
|
<td>
|
2017-01-10 12:35:46 -05:00
|
|
|
<input type="hidden" name="type" value="manga" />
|
2016-02-02 11:34:03 -05:00
|
|
|
<button type="submit">Save</button>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
</form>
|
|
|
|
</main>
|
2017-02-15 15:56:10 -05:00
|
|
|
<script defer="defer" src="<?= $urlGenerator->assetUrl('js.php/g/manga_collection') ?>"></script>
|
2016-02-02 11:34:03 -05:00
|
|
|
<?php endif ?>
|