Initial autoframe support

This commit is contained in:
Josh Birnholz
2022-11-25 13:14:45 -05:00
committed by Josh birnholz
parent cb57c63623
commit e729edd509
2 changed files with 275 additions and 0 deletions

View File

@@ -585,6 +585,11 @@
<option value="zht">Traditional Chinese</option>
<option value="ph">Phyrexian</option>
</select>
<h5 class='padding input-description margin-bottom'>Enable automatically setting card frames</h5>
<label class='checkbox-container input margin-bottom'>Automatically set frames
<input id='enableAutoFrame' type='checkbox' onchange='enableAutoFrame();'>
<span class='checkmark'></span>
</label>
</div>
<div class='readable-background margin-bottom padding'>
<h5 class='padding margin-bottom input-description'>Save your current card</h5>
@@ -629,6 +634,12 @@
</div>
</div>
</div>
<div class='readable-background padding'>
<h5 class='padding input-description'>Auto-set frames</h5>
<div class='padding input-grid'>
<button class='input' onclick='autoFrame("M15");'>M15</button>
</div>
</div>
<div class='readable-background padding'>
<h3 class='download padding' onclick='downloadCard();'>Download your card</h3>
<h5 onclick='downloadCard(true);' id='downloadAlt' href='' target='_blank' class='padding download input-description' style='text-align: left;'>Click here for an alternative download</h5>