mirror of
https://github.com/standardebooks/web.git
synced 2025-07-21 14:55:13 -04:00
Style tweaks
This commit is contained in:
parent
af956b2714
commit
dc84ff3fa9
4 changed files with 11 additions and 11 deletions
|
@ -1073,11 +1073,11 @@ class Artwork{
|
||||||
ArtworkId
|
ArtworkId
|
||||||
from
|
from
|
||||||
Artworks art
|
Artworks art
|
||||||
inner join Artists a USING (ArtistId)
|
inner join Artists a using (ArtistId)
|
||||||
left join ArtistAlternateNames aan USING (ArtistId)
|
left join ArtistAlternateNames aan using (ArtistId)
|
||||||
left join ArtworkTags at USING (ArtworkId)
|
left join ArtworkTags at using (ArtworkId)
|
||||||
left join Ebooks e USING (EbookId)
|
left join Ebooks e using (EbookId)
|
||||||
left join Tags t USING (TagId)
|
left join Tags t using (TagId)
|
||||||
where
|
where
|
||||||
' . $statusCondition . '
|
' . $statusCondition . '
|
||||||
and (art.Name regexp ?
|
and (art.Name regexp ?
|
||||||
|
@ -1099,7 +1099,7 @@ class Artwork{
|
||||||
inner join Artists a using (ArtistId)
|
inner join Artists a using (ArtistId)
|
||||||
left join ArtistAlternateNames aan using (ArtistId)
|
left join ArtistAlternateNames aan using (ArtistId)
|
||||||
left join ArtworkTags at using (ArtworkId)
|
left join ArtworkTags at using (ArtworkId)
|
||||||
left join Ebooks e USING (EbookId)
|
left join Ebooks e using (EbookId)
|
||||||
left join Tags t using (TagId)
|
left join Tags t using (TagId)
|
||||||
where ' . $statusCondition . '
|
where ' . $statusCondition . '
|
||||||
and (art.Name regexp ?
|
and (art.Name regexp ?
|
||||||
|
|
|
@ -20,8 +20,8 @@ use function Safe\shell_exec;
|
||||||
* @property array<Contributor> $Translators
|
* @property array<Contributor> $Translators
|
||||||
* @property array<Contributor> $Contributors
|
* @property array<Contributor> $Contributors
|
||||||
* @property ?array<string> $TocEntries A list of non-Roman ToC entries *only if* the work has the `se:is-a-collection` metadata element; `null` otherwise.
|
* @property ?array<string> $TocEntries A list of non-Roman ToC entries *only if* the work has the `se:is-a-collection` metadata element; `null` otherwise.
|
||||||
* @property string $Url The correct URL to use in order to link to this ebook. Its format is `/ebooks/...`
|
* @property string $Url The relative URL of this ebook, like `/ebooks/...`.
|
||||||
* @property string $FullUrl The absolute URL that reviewers and admins may enter into forms in order to refer to this ebook. Its format is `https://standardebooks.org/ebooks/...`
|
* @property string $FullUrl The absolute URL of this ebook, like `https://standardebooks.org/ebooks/...`.
|
||||||
* @property string $EditUrl
|
* @property string $EditUrl
|
||||||
* @property string $DeleteUrl
|
* @property string $DeleteUrl
|
||||||
* @property bool $HasDownloads
|
* @property bool $HasDownloads
|
||||||
|
|
|
@ -187,7 +187,7 @@ $isEditForm ??= false;
|
||||||
<label>
|
<label>
|
||||||
<span>In use by</span>
|
<span>In use by</span>
|
||||||
<span>The full S.E. ebook URL. If not in use, leave this blank.</span>
|
<span>The full S.E. ebook URL. If not in use, leave this blank.</span>
|
||||||
<input type="url" name="artwork-ebook-url" placeholder="https://standardebooks.org/ebooks/..." pattern="^https:\/\/standardebooks\.org\/ebooks/[^\/]+(\/[^\/]+)+$" <? if(isset($artwork->Ebook)){ ?>value="<?= Formatter::EscapeHtml($artwork->Ebook->FullUrl) ?>"<? } ?>/>
|
<input type="url" name="artwork-ebook-url" placeholder="https://standardebooks.org/ebooks/..." pattern="^https:\/\/standardebooks\.org\/ebooks/[^\/]+(\/[^\/]+)+$"<? if(isset($artwork->Ebook)){ ?> value="<?= Formatter::EscapeHtml($artwork->Ebook->FullUrl) ?>"<? } ?>/>
|
||||||
</label>
|
</label>
|
||||||
<? } ?>
|
<? } ?>
|
||||||
</fieldset>
|
</fieldset>
|
||||||
|
|
|
@ -212,10 +212,10 @@ catch(Exceptions\InvalidPermissionsException){
|
||||||
<label>
|
<label>
|
||||||
<span>In use by</span>
|
<span>In use by</span>
|
||||||
<span>The full S.E. ebook URL. If not in use, leave this blank.</span>
|
<span>The full S.E. ebook URL. If not in use, leave this blank.</span>
|
||||||
<input type="url" name="artwork-ebook-url" placeholder="https://standardebooks.org/ebooks/..." pattern="^https:\/\/standardebooks\.org\/ebooks/[^\/]+(\/[^\/]+)+$" <? if(isset($artwork->Ebook)){ ?>value="<?= Formatter::EscapeHtml($artwork->Ebook->FullUrl) ?>"<? } ?>/>
|
<input type="url" name="artwork-ebook-url" placeholder="https://standardebooks.org/ebooks/..." pattern="^https:\/\/standardebooks\.org\/ebooks/[^\/]+(\/[^\/]+)+$"<? if(isset($artwork->Ebook)){ ?> value="<?= Formatter::EscapeHtml($artwork->Ebook->FullUrl) ?>"<? } ?>/>
|
||||||
</label>
|
</label>
|
||||||
<? }else{ ?>
|
<? }else{ ?>
|
||||||
<input type="hidden" name="artwork-ebook-url" <? if(isset($artwork->Ebook)){ ?>value="<?= Formatter::EscapeHtml($artwork->Ebook->FullUrl) ?>"<? } ?> />
|
<input type="hidden" name="artwork-ebook-url"<? if(isset($artwork->Ebook)){ ?> value="<?= Formatter::EscapeHtml($artwork->Ebook->FullUrl) ?>"<? } ?> />
|
||||||
<? } ?>
|
<? } ?>
|
||||||
<div class="footer">
|
<div class="footer">
|
||||||
<button>Save changes</button>
|
<button>Save changes</button>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue