Purge the few inline styles
timw4mail/HummingBirdAnimeClient/develop This commit looks good Details

This commit is contained in:
Timothy Warren 2018-11-08 14:18:24 -05:00
parent 9ad74ed887
commit 92c5b2baf7
3 changed files with 4 additions and 4 deletions

View File

@ -108,7 +108,7 @@ use Aviat\AnimeClient\API\Kitsu;
</tr>
<?php foreach ($casting as $cid => $c): ?>
<tr>
<td style="width:229px">
<td>
<article class="character">
<?php
$link = $url->generate('person', ['id' => $c['person']['id']]);

View File

@ -2,7 +2,7 @@
<main>
<h2>Edit Anime Collection Item</h2>
<form action="<?= $action_url ?>" method="post">
<table class="invisible form" style="border:0">
<table class="invisible form borderless">
<tbody>
<tr>
<td rowspan="6" class="align-center">
@ -28,7 +28,7 @@
<td class="align-left">
<select name="media_id" id="media_id">
<?php foreach($media_items as $id => $name): ?>
<option <?= $item['media_id'] == $id ? 'selected="selected"' : '' ?> value="<?= $id ?>"><?= $name ?></option>
<option <?= $item['media_id'] === $id ? 'selected="selected"' : '' ?> value="<?= $id ?>"><?= $name ?></option>
<?php endforeach ?>
</select>
</td>

View File

@ -16,7 +16,7 @@ use Aviat\AnimeClient\API\Kitsu;
</tr>
<?php foreach ($characterList as $cid => $character): ?>
<tr>
<td style="width:229px">
<td>
<article class="character">
<?php
$link = $url->generate('character', ['slug' => $character['character']['slug']]);