Rearrange artwork submission page

This commit is contained in:
Alex Cabal 2024-01-13 00:17:23 -06:00
parent 620826f3c8
commit 5c581ca3d7
2 changed files with 15 additions and 14 deletions

View file

@ -162,8 +162,17 @@ catch(Exceptions\InvalidPermissionsException){
/>
</label>
</fieldset>
<p><strong>or</strong> proof that the artwork was reproduced in a book published before <?= PD_STRING ?>, with <strong>all</strong> of the following:</p>
<p><strong>or</strong> proof that the artwork was reproduced in a book published before <?= PD_STRING ?>, including the following:</p>
<fieldset>
<label>
<input
type="checkbox"
name="artwork-is-published-in-us"
value="true"
<? if($artwork->IsPublishedInUs){ ?> checked="checked"<? } ?> />
<span>This book was published in the U.S.</span>
<span>Yes, if a U.S. city appears anywhere near the publication year or rights statement.</span>
</label>
<label>
Year of publication
<input
@ -174,15 +183,6 @@ catch(Exceptions\InvalidPermissionsException){
value="<?= $artwork->PublicationYear ?>"
/>
</label>
<label>
<input
type="checkbox"
name="artwork-is-published-in-us"
value="true"
<? if($artwork->IsPublishedInUs){ ?> checked="checked"<? } ?> />
<span>This book was published in the U.S.</span>
<span>Yes, if a U.S. city appears anywhere near the publication year or rights statement.</span>
</label>
<label>
<span>URL of page with year of publication</span>
<span>Roman numerals on the page scan are OK.</span>
@ -195,7 +195,7 @@ catch(Exceptions\InvalidPermissionsException){
</label>
<label>
<span>URL of page with rights statement</span>
<span>Might be same URL as above; non-English is OK; keywords in other languages include <i>droits</i> and <i>rechte vorbehalten</i>; not required</span>
<span><strong>This page must include a statement of rights, like the word “copyright” or “all rights reserved.</strong> If no such page exists, leave this blank. This page might be the same page as above. Non-English is OK; keywords in other languages include <i>droits</i> and <i>rechte vorbehalten</i>.</span>
<input
type="url"
name="artwork-copyright-page-url"

View file

@ -97,7 +97,7 @@ form[action^="/artworks/"]{
form[action="/artworks"] > fieldset{
display: grid;
gap: 1rem;
gap: 2rem;
}
form[action="/artworks"] > fieldset + fieldset{
@ -122,10 +122,11 @@ form[action="/artworks"] > fieldset label:has(input[name="artwork-image"]){
form[action="/artworks"] fieldset fieldset:has(input[name="artwork-publication-year"]){
display: grid;
grid-template-columns: 200px 1fr;
gap: 1rem;
gap: 2rem;
}
form[action="/artworks"] fieldset fieldset:has(input[name="artwork-publication-year"]) label ~ label{
form[action="/artworks"] fieldset label:has(input[type="url"]),
form[action="/artworks"] fieldset label:has(input[type="checkbox"]){
grid-column: 1 / span 2;
}