better imports

This commit is contained in:
Kyle
2021-05-02 10:50:49 -07:00
parent 453beec2fb
commit 1470ef7821
21 changed files with 80 additions and 27 deletions

View File

@@ -220,11 +220,10 @@ include('../globalHTML/header-1.php');
<input type='url' placeholder='Via URL' class='input' onchange='imageURL(this.value, uploadArt, "autoFit");'>
</div>
</div>
<h5 class='margin-bottom padding input-description'>Or enter a card name (and index)</h5>
<div class='input-grid margin-bottom'>
<input id='art-name' type='text' placeholder='Enter Card Name' class='input' onchange='fetchScryfallData(this.value, artFromScryfall, true);'>
<input id='art-index' type='number' value=1 max=1 min=1 class='input' onchange='changeArtIndex();'>
</div>
<h5 class='margin-bottom padding input-description'>Or enter a card name</h5>
<input id='art-name' type='text' placeholder='Enter Card Name' class='input margin-bottom' onchange='fetchScryfallData(this.value, artFromScryfall, true);'>
<h5 class='padding margin-bottom input-description'>Select a specific card art to load</h5>
<select class='input margin-bottom' id='art-index' onchange='changeArtIndex();'></select>
<h5 class='margin-bottom padding input-description'>And credit the artist</h5>
<div class='input-grid'>
<input id='art-artist' type='text' class='input' oninput='artistEdited(this.value);' placeholder='Artist'>
@@ -387,11 +386,10 @@ include('../globalHTML/header-1.php');
</div>
<div id='creator-menu-import' class='hidden'>
<div class='readable-background margin-bottom padding'>
<h5 class='padding margin-bottom input-description'>Import a real card by name (and index)</h5>
<div class='input-grid margin-bottom'>
<input id='import-name' class='input' type='text' onchange='fetchScryfallData(this.value, importCard);' placeholder='Enter Card Name'>
<input id='import-index' class='input' type='number' onchange='changeCardIndex();' value=1 max=1 min=1>
</div>
<h5 class='padding margin-bottom input-description'>Import a real card by name</h5>
<input id='import-name' class='input margin-bottom' type='text' onchange='fetchScryfallData(this.value, importCard);' placeholder='Enter Card Name'>
<h5 class='padding margin-bottom input-description'>Select a specific card to import</h5>
<select class='input margin-bottom' id='import-index' onchange='changeCardIndex();'></select>
<h5 class='padding input-description'>Select a language for card imports (not all languages will always be available)</h5>
<select class='input' id='import-language' onchange='fetchScryfallData(document.querySelector("#import-name").value, importCard);'>
<option value="en">English</option>