Version 5.1 - All the GraphQL #32

Closed
timw4mail wants to merge 1160 commits from develop into master
3 changed files with 15 additions and 17 deletions
Showing only changes of commit aa1e6675c2 - Show all commits

View File

@ -16,9 +16,7 @@
<tbody>
<tr>
<td rowspan="9">
<article class="media">
<?= $helper->picture("images/anime/{$item['anime']['id']}.webp") ?>
</article>
<?= $helper->picture("images/anime/{$item['anime']['id']}-original.webp", "jpg", [], ["width" => "390"]) ?>
</td>
</tr>
<tr>
@ -95,7 +93,7 @@
<table class="form invisible">
<tbody>
<tr>
<td>
<td class="danger">
<strong>Permanently</strong> remove this list item and <strong>all</strong> its data?
</td>
<td>

View File

@ -6,9 +6,7 @@
<tbody>
<tr>
<td rowspan="6" class="align-center">
<article class="media">
<?= $helper->img($urlGenerator->assetUrl("images/anime/{$item['hummingbird_id']}.jpg")); ?>
</article>
<?= $helper->picture("images/anime/{$item['hummingbird_id']}-original.webp", "jpg", [], ["width" => "390"]) ?>
</td>
</tr>
<tr>
@ -49,13 +47,15 @@
</tbody>
</table>
</form>
<fieldset>
<legend>Danger Zone</legend>
<form class="js-delete" action="<?= $url->generate($collection_type . '.collection.delete') ?>" method="post">
<form class="js-delete" action="<?= $url->generate($collection_type . '.collection.delete') ?>" method="post">
<fieldset>
<legend>Danger Zone</legend>
<table class="form invisible">
<tbody>
<tr>
<td>&nbsp;</td>
<td class="danger">
<strong>Permanently</strong> remove this list item and <strong>all</strong> its data?
</td>
<td>
<input type="hidden" value="<?= $item['hummingbird_id'] ?>" name="hummingbird_id" />
<button type="submit" class="danger">Delete Entry</button>
@ -63,7 +63,7 @@
</tr>
</tbody>
</table>
</form>
</fieldset>
</fieldset>
</form>
</main>
<?php endif ?>

View File

@ -18,9 +18,7 @@
<tbody>
<tr>
<td rowspan="9">
<article class="media">
<?= $helper->img($urlGenerator->assetUrl('images/manga', "{$item['manga']['id']}.jpg")); ?>
</article>
<?= $helper->picture("images/manga/{$item['manga']['id']}-original.webp", "jpg", [], ["width" => "390"]) ?>
</td>
</tr>
<tr>
@ -96,7 +94,9 @@
<table class="form invisible">
<tbody>
<tr>
<td>&nbsp;</td>
<td class="danger">
<strong>Permanently</strong> remove this list item and <strong>all</strong> its data?
</td>
<td>
<input type="hidden" value="<?= $item['id'] ?>" name="id"/>
<input type="hidden" value="<?= $item['mal_id'] ?>" name="mal_id"/>