fix broken images' (#6084)

This commit is contained in:
Cassie Levett
2020-04-06 14:02:51 -07:00
committed by GitHub
parent 064357116a
commit 63de2c3f53
2 changed files with 32 additions and 32 deletions
+19 -20
View File
@@ -1,13 +1,13 @@
<input name="attr_version" type="hidden" value="1.02"/>
<h1 class="logo"><img alt="Kids on Bike Character Sheet" src="https://raw.githubusercontent.com/Roll20/roll20-character-sheets/master/Kids-on-Bikes/images/KOBLogo.png"/></h1>
<h1 class="logo"><img alt="Kids on Bike Character Sheet" src="https://raw.githubusercontent.com/Roll20/roll20-character-sheets/master/Kids%20on%20Bikes%20Official/images/KOBLogo.png"/></h1>
<div class="grid kob-row">
<div class="grid box biobox"><img alt="Name" src="https://raw.githubusercontent.com/Roll20/roll20-character-sheets/master/Kids-on-Bikes/images/Label-Name.png"/>
<input data-i18n-placeholder="Name" name="attr_character_name" placeholder="Name" title="@{character_name}" type="text" value=""/><img alt="Age" src="https://raw.githubusercontent.com/Roll20/roll20-character-sheets/master/Kids-on-Bikes/images/Label-Age.png"/>
<input data-i18n-placeholder="Age" name="attr_character_age" placeholder="Age" title="@{character_age}" type="text" value=""/><img alt="Fear" src="https://raw.githubusercontent.com/Roll20/roll20-character-sheets/master/Kids-on-Bikes/images/Label-Fear.png"/>
<input data-i18n-placeholder="Fear" name="attr_character_fear" placeholder="Fear" title="@{character_fear}" type="text" value=""/><img alt="Motivation" src="https://raw.githubusercontent.com/Roll20/roll20-character-sheets/master/Kids-on-Bikes/images/Label-Motivation.png"/>
<input data-i18n-placeholder="Motivation" name="attr_character_motivation" placeholder="Motivation" title="@{character_motivation}" type="text" value=""/><img src="https://raw.githubusercontent.com/Roll20/roll20-character-sheets/master/Kids-on-Bikes/images/Label-Descriptions.png" alt="Description"/>
<textarea name="attr_character_description" title="@{character_description}"></textarea><img src="https://raw.githubusercontent.com/Roll20/roll20-character-sheets/master/Kids-on-Bikes/images/Label-Adversity_updated.png" alt="Adversity"/>
<div class="grid box biobox"><img alt="Name" src="https://raw.githubusercontent.com/Roll20/roll20-character-sheets/master/Kids%20on%20Bikes%20Official/images/Label-Name.png"/>
<input data-i18n-placeholder="Name" name="attr_character_name" placeholder="Name" title="@{character_name}" type="text" value=""/><img alt="Age" src="https://raw.githubusercontent.com/Roll20/roll20-character-sheets/master/Kids%20on%20Bikes%20Official/images/Label-Age.png"/>
<input data-i18n-placeholder="Age" name="attr_character_age" placeholder="Age" title="@{character_age}" type="text" value=""/><img alt="Fear" src="https://raw.githubusercontent.com/Roll20/roll20-character-sheets/master/Kids%20on%20Bikes%20Official/images/Label-Fear.png"/>
<input data-i18n-placeholder="Fear" name="attr_character_fear" placeholder="Fear" title="@{character_fear}" type="text" value=""/><img alt="Motivation" src="https://raw.githubusercontent.com/Roll20/roll20-character-sheets/master/Kids%20on%20Bikes%20Official/images/Label-Motivation.png"/>
<input data-i18n-placeholder="Motivation" name="attr_character_motivation" placeholder="Motivation" title="@{character_motivation}" type="text" value=""/><img src="https://raw.githubusercontent.com/Roll20/roll20-character-sheets/master/Kids%20on%20Bikes%20Official/images/Label-Descriptions.png" alt="Description"/>
<textarea name="attr_character_description" title="@{character_description}"></textarea><img src="https://raw.githubusercontent.com/Roll20/roll20-character-sheets/master/Kids%20on%20Bikes%20Official/images/Label-Adversity_updated.png" alt="Adversity"/>
<div class="sheet-biolabelcol"><span class="sheet-adversitytokens"></span>
<input name="attr_token1" title="@{token}" type="checkbox" value="1"/>
<input name="attr_token2" title="@{token}" type="checkbox" value="1"/>
@@ -27,7 +27,7 @@
</div>
</div>
<div class="grid box dicebox">
<button name="Fight" type="roll" value="&{template:rolls}{{header=^{Fight}}} {{dice=[[@{fight}!+?{modifier|0}]]}}"> <img alt="Fight" src="https://raw.githubusercontent.com/Roll20/roll20-character-sheets/master/Kids-on-Bikes/images/Label-Fight.png"/></button>
<button name="Fight" type="roll" value="&{template:rolls}{{header=^{Fight}}} {{dice=[[@{fight}!+?{modifier|0}]]}}"> <img alt="Fight" src="https://raw.githubusercontent.com/Roll20/roll20-character-sheets/master/Kids%20on%20Bikes%20Official/images/Label-Fight.png"/></button>
<select name="attr_fight" title="@{fight}" value="d4">
<optgroup label="Dice">Dice
<option value="d4" selectedDie="selectedDie">d4</option>
@@ -38,7 +38,7 @@
<option value="d20" selectedDie="selectedDie">d20</option>
</optgroup>
</select>
<button name="Flight" type="roll" value="&{template:rolls}{{header=^{Flight}}} {{dice=[[@{flight}!+?{modifier|0}]]}}"> <img alt="Flight" src="https://raw.githubusercontent.com/Roll20/roll20-character-sheets/master/Kids-on-Bikes/images/Label-Flight.png"/></button>
<button name="Flight" type="roll" value="&{template:rolls}{{header=^{Flight}}} {{dice=[[@{flight}!+?{modifier|0}]]}}"> <img alt="Flight" src="https://raw.githubusercontent.com/Roll20/roll20-character-sheets/master/Kids%20on%20Bikes%20Official/images/Label-Flight.png"/></button>
<select name="attr_flight" title="@{flight}" value="d4">
<optgroup label="Dice">Dice
<option value="d4" selectedDie="selectedDie">d4</option>
@@ -49,7 +49,7 @@
<option value="d20" selectedDie="selectedDie">d20</option>
</optgroup>
</select>
<button name="Brains" type="roll" value="&{template:rolls}{{header=^{Brains}}} {{dice=[[@{brains}!+?{modifier|0}]]}}"> <img alt="Brains" src="https://raw.githubusercontent.com/Roll20/roll20-character-sheets/master/Kids-on-Bikes/images/Label-Brains.png"/></button>
<button name="Brains" type="roll" value="&{template:rolls}{{header=^{Brains}}} {{dice=[[@{brains}!+?{modifier|0}]]}}"> <img alt="Brains" src="https://raw.githubusercontent.com/Roll20/roll20-character-sheets/master/Kids%20on%20Bikes%20Official/images/Label-Brains.png"/></button>
<select name="attr_brains" title="@{brains}" value="d4">
<optgroup label="Dice">Dice
<option value="d4" selectedDie="selectedDie">d4</option>
@@ -60,7 +60,7 @@
<option value="d20" selectedDie="selectedDie">d20</option>
</optgroup>
</select>
<button name="Brawn" type="roll" value="&{template:rolls}{{header=^{Brawn}}} {{dice=[[@{brawn}!+?{modifier|0}]]}}"> <img alt="Brawn" src="https://raw.githubusercontent.com/Roll20/roll20-character-sheets/master/Kids-on-Bikes/images/Label-Brawn.png"/></button>
<button name="Brawn" type="roll" value="&{template:rolls}{{header=^{Brawn}}} {{dice=[[@{brawn}!+?{modifier|0}]]}}"> <img alt="Brawn" src="https://raw.githubusercontent.com/Roll20/roll20-character-sheets/master/Kids%20on%20Bikes%20Official/images/Label-Brawn.png"/></button>
<select name="attr_brawn" title="@{brawn}" value="d4">
<optgroup label="Dice">Dice
<option value="d4" selectedDie="selectedDie">d4</option>
@@ -71,7 +71,7 @@
<option value="d20" selectedDie="selectedDie">d20</option>
</optgroup>
</select>
<button name="Charm" type="roll" value="&{template:rolls}{{header=^{Charm}}} {{dice=[[@{charm}!+?{modifier|0}]]}}"> <img alt="Charm" src="https://raw.githubusercontent.com/Roll20/roll20-character-sheets/master/Kids-on-Bikes/images/Label-Charm.png"/></button>
<button name="Charm" type="roll" value="&{template:rolls}{{header=^{Charm}}} {{dice=[[@{charm}!+?{modifier|0}]]}}"> <img alt="Charm" src="https://raw.githubusercontent.com/Roll20/roll20-character-sheets/master/Kids%20on%20Bikes%20Official/images/Label-Charm.png"/></button>
<select name="attr_charm" title="@{charm}" value="d4">
<optgroup label="Dice">Dice
<option value="d4" selectedDie="selectedDie">d4</option>
@@ -82,7 +82,7 @@
<option value="d20" selectedDie="selectedDie">d20</option>
</optgroup>
</select>
<button name="Grit" type="roll" value="&{template:rolls}{{header=^{Grit}}} {{dice=[[@{grit}!+?{modifier|0}]]}}"> <img alt="Grit" src="https://raw.githubusercontent.com/Roll20/roll20-character-sheets/master/Kids-on-Bikes/images/Label-Grit.png"/></button>
<button name="Grit" type="roll" value="&{template:rolls}{{header=^{Grit}}} {{dice=[[@{grit}!+?{modifier|0}]]}}"> <img alt="Grit" src="https://raw.githubusercontent.com/Roll20/roll20-character-sheets/master/Kids%20on%20Bikes%20Official/images/Label-Grit.png"/></button>
<select name="attr_grit" title="@{grit}" value="d4">
<optgroup label="Dice">Dice
<option value="d4" selectedDie="selectedDie">d4</option>
@@ -97,7 +97,7 @@
</div>
<div class="grid kob-row">
<div class="grid box strenghtsbox">
<h2><img class="header" alt="Strengths" src="https://raw.githubusercontent.com/Roll20/roll20-character-sheets/master/Kids-on-Bikes/images/Label-Strengths-1.png"/>
<h2><img class="header" alt="Strengths" src="https://raw.githubusercontent.com/Roll20/roll20-character-sheets/master/Kids%20on%20Bikes%20Official/images/Label-Strengths-1.png"/>
</h2>
<label data-i18n-title="COOL UNDER PRESSURE" title="COOL UNDER PRESSURE">
<input name="attr_cool" title="@{cool}" type="checkbox" value="1"/>
@@ -152,7 +152,7 @@
</label>
</div>
<div class="grid box flawsbox">
<h2><img class="header" alt="Flaws" src="https://raw.githubusercontent.com/Roll20/roll20-character-sheets/master/Kids-on-Bikes/images/Label-Flaws-1.png"/></h2>
<h2><img class="header" alt="Flaws" src="https://raw.githubusercontent.com/Roll20/roll20-character-sheets/master/Kids%20on%20Bikes%20Official/images/Label-Flaws-1.png"/></h2>
<label data-i18n-title="ABSENT MINDED" title="ABSENT MINDED">
<input name="attr_absent_minded" title="@{}" type="checkbox" value="1"/>
</label><span data-i18n="ABSENT MINDED">ABSENT MINDED</span>
@@ -277,21 +277,20 @@
</div>
<div class="grid kob-row">
<div class="grid box powers">
<h2><img class="header" alt="Powers" src="https://raw.githubusercontent.com/Roll20/roll20-character-sheets/master/Kids-on-Bikes/images/Label-Powers-1.png"/></h2>
<h2><img class="header" alt="Powers" src="https://raw.githubusercontent.com/Roll20/roll20-character-sheets/master/Kids%20on%20Bikes%20Official/images/Label-Powers-1.png"/></h2>
<textarea data-i18n-placeholder="Powers" name="attr_powers" placeholder="Powers" title="@{powers}"></textarea>
</div>
<div class="grid box backpack">
<h2><img class="header" alt="Backpack" src="https://raw.githubusercontent.com/Roll20/roll20-character-sheets/master/Kids-on-Bikes/images/Label-Backpack-1.png"/></h2>
<h2><img class="header" alt="Backpack" src="https://raw.githubusercontent.com/Roll20/roll20-character-sheets/master/Kids%20on%20Bikes%20Official/images/Label-Backpack-1.png"/></h2>
<textarea data-i18n-placeholder="Backpack" name="attr_backpack" placeholder="Backpack" title="@{backpack}"></textarea>
</div>
</div>
<div class="grid kob-row">
<div class="grid box boxnotes">
<h2><img class="header" alt="Notes" src="https://raw.githubusercontent.com/Roll20/roll20-character-sheets/master/Kids-on-Bikes/images/Label-Notes-1.png"/></h2>
<h2><img class="header" alt="Notes" src="https://raw.githubusercontent.com/Roll20/roll20-character-sheets/master/Kids%20on%20Bikes%20Official/images/Label-Notes-1.png"/></h2>
<textarea data-i18n-placeholder="Notes" name="attr_notes" placeholder="Notes" title="@{notes}"></textarea>
</div>
</div>
<!--include src/pug/_rolltemplate.pug--> <div class="rolltemplates">
</div> <div class="rolltemplates">
<rolltemplate class="sheet-rolltemplate-rolls">
<!--- Display a header on the template --->
<div class="sheet-template-header">
+13 -12
View File
@@ -1,22 +1,24 @@
//- VERSION
//- =============================
input(name='attr_version' type='hidden' value='1.02')
input(name='attr_version' type='hidden' value='1.03')
//- MIXINS
include src/pug/_mixins.pug
-const imgSRC = 'https://raw.githubusercontent.com/Roll20/roll20-character-sheets/master/Kids%20on%20Bikes%20Official/images';
h1.logo
img(alt='Kids on Bike Character Sheet', src='https://raw.githubusercontent.com/Roll20/roll20-character-sheets/master/Kids-on-Bikes/images/KOBLogo.png')
img(alt='Kids on Bike Character Sheet', src=`${imgSRC}/KOBLogo.png`)
.grid.kob-row
.grid.box.biobox
each val in ['Name', 'Age', 'Fear', 'Motivation']
- const attrName = val.toLowerCase();
img(alt=val src='https://raw.githubusercontent.com/Roll20/roll20-character-sheets/master/Kids-on-Bikes/images/Label-'+val+'.png')
img(alt=val src=`${imgSRC}/Label-${val}.png`)
input(data-i18n-placeholder=val name='attr_character_'+attrName placeholder=val title='@{character_'+attrName+'}' type='text' value='')
img(src='https://raw.githubusercontent.com/Roll20/roll20-character-sheets/master/Kids-on-Bikes/images/Label-Descriptions.png', alt='Description')
img(src=`${imgSRC}/Label-Descriptions.png`, alt='Description')
textarea(name='attr_character_description' title='@{character_description}')
img(src='https://raw.githubusercontent.com/Roll20/roll20-character-sheets/master/Kids-on-Bikes/images/Label-Adversity_updated.png' alt='Adversity')
img(src=`${imgSRC}/Label-Adversity_updated.png` alt='Adversity')
.sheet-biolabelcol
span.sheet-adversitytokens
- let index = 1
@@ -27,14 +29,14 @@ h1.logo
each val in ['Fight', 'Flight', 'Brains', 'Brawn', 'Charm', 'Grit']
- const attrName = val.toLowerCase();
button(name=val type='roll' value!='&{template:rolls}{{header=^{'+val+'}}} {{dice=[[@{'+attrName+'}!+?{modifier|0}]]}}')
img(alt=val src='https://raw.githubusercontent.com/Roll20/roll20-character-sheets/master/Kids-on-Bikes/images/Label-'+val+'.png')
img(alt=val src=`${imgSRC}/Label-${val}.png`)
select(name='attr_'+attrName title='@{'+attrName+'}' value='d4')
+diceSelect()
.grid.kob-row
.grid.box.strenghtsbox
h2
img.header(alt='Strengths' src='https://raw.githubusercontent.com/Roll20/roll20-character-sheets/master/Kids-on-Bikes/images/Label-Strengths-1.png')
img.header(alt='Strengths' src=`${imgSRC}/Label-Strengths-1.png`)
- const strengths =[{'attr' : 'cool', 'name' : 'COOL UNDER PRESSURE'}, {'attr' : 'easy_going', 'name' : 'EASY GOING'}, {'attr' : 'gross', 'name' : 'GROSS'}, {'attr' : 'heroic', 'name' : 'HEROIC'}, {'attr' : 'intuitive', 'name' : 'INTUITIVE'}, {'attr' : 'loyal', 'name' : 'LOYAL'}, {'attr' : 'lucky', 'name' : 'LUCKY'}, {'attr' : 'prepared', 'name' : 'PREPARED'}, {'attr' : 'protective', 'name' : 'PROTECTIVE'}, {'attr' : 'quick_healing', 'name' : 'QUICK HEALING'}, {'attr' : 'rebellious', 'name' : 'REBELLIOUS'}, {'attr' : 'tough', 'name' : 'TOUGH'}, {'attr' : 'treasure_hunter', 'name' : 'TREASURE HUNTER'}, {'attr' : 'unassuming', 'name' : 'UNASSUMING'}, {'attr' : 'wealthy', 'name' : 'WEALTHY'}]
each s,i in strengths
- const attrName = s.attr.split('attr_')[0];
@@ -49,7 +51,7 @@ h1.logo
.grid.box.flawsbox
h2
img.header(alt='Flaws' src='https://raw.githubusercontent.com/Roll20/roll20-character-sheets/master/Kids-on-Bikes/images/Label-Flaws-1.png')
img.header(alt='Flaws' src=`${imgSRC}/Label-Flaws-1.png`)
- const flaws = [{'name': "ABSENT MINDED", "attr":"attr_absent_minded"},{"name": "BLUNT","attr":"attr_blunt" } ,{"name":"BOASTFUL", "attr":"attr_boastful"},{"name":"CLUMSY", "attr" : "attr_clumsy"},{"name":"CONCEITED", "attr":"attr_conceited"} , {"name":"COWARDLY", "attr": "attr_cowardly"},{"name": "DECEITFUL", "attr":"attr_deceitful"} , {"name":"DEMANDING", "attr": "attr_demanding"}, {'attr' :'attr_disloyal', 'name': 'DISLOYAL'}, {'attr' :'attr_disobedient', 'name' : 'DISOBEDIENT'}, {'attr' :'attr_dogmatic', 'name' :'DOGMATIC'}, {'attr' :'attr_envious', 'name' : 'ENVIOUS'}, {'attr' :'attr_flippant', 'name' :'FLIPPANT'}, {'attr' :'attr_gloomy', 'name' : 'GLOOMY'}, {'attr' :'attr_greedy', 'name' :'GREEDY'}, {'attr' :'attr_hot_tempered', 'name' :'HOT-TEMPERED'}, {'attr' :'attr_ignorant', 'name' :'IGNORANT'}, {'attr' :'attr_inconsiderate', 'name' :'INCONSIDERATE'}, {'attr' :'attr_insecure', 'name' :'INSECURE'}, {'attr' :'attr_irrational', 'name' :'IRRATIONAL'}, {'attr' :'attr_neurotic', 'name' :'NEUROTIC'}, {'attr' :'attr_obnoxious', 'name' :'OBNOXIOUS'}, {'attr' :'attr_paranoid', 'name' :'PARANOID'}, {'attr' :'attr_patronizing', 'name' :'PATRONIZING'}, {'attr' :'attr_perverse', 'name' :'PERVERSE'}, {'attr' :'attr_petty', 'name' :'PETTY'}, {'attr' :'attr_picky', 'name' :'PICKY'}, {'attr' :'attr_prejudice', 'name' :'PREJUDICE'}, {'attr' :'attr_prim', 'name' :'PRIM'}, {'attr' :'attr_reckless', 'name' :'RECKLESS'},{'attr' :'attr_resentful', 'name' :'RESENTFUL'}, {'attr' :'attr_restless', 'name' :'RESTLESS'}, {'attr' :'attr_rude', 'name' :'RUDE'}, {'attr' :'attr_secretive', 'name' :'SECRETIVE'}, {'attr' :'attr_selfcentered', 'name' :'SELF-CENTERED'}, {'attr' :'attr_selfpitying', 'name' :'SELF-PITYING'}, {'attr' :'attr_slovenly', 'name' :'SLOVENLY'}, {'attr' :'attr_superstitous', 'name' :'SUPERSTITIOUS'}, {'attr' :'attr_vain', 'name' :'VAIN'}, {'attr' :'attr_vindictive', 'name' :'VINDICTIVE'} ]
each n in flaws
- const attrName = n.attr.split('attr_')[0];
@@ -61,22 +63,21 @@ h1.logo
.grid.kob-row
.grid.box.powers
h2
img.header(alt='Powers' src='https://raw.githubusercontent.com/Roll20/roll20-character-sheets/master/Kids-on-Bikes/images/Label-Powers-1.png')
img.header(alt='Powers' src=`${imgSRC}/Label-Powers-1.png`)
textarea(data-i18n-placeholder='Powers' name='attr_powers' placeholder='Powers' title='@{powers}')
.grid.box.backpack
h2
img.header(alt='Backpack' src='https://raw.githubusercontent.com/Roll20/roll20-character-sheets/master/Kids-on-Bikes/images/Label-Backpack-1.png')
img.header(alt='Backpack' src=`${imgSRC}/Label-Backpack-1.png`)
textarea(data-i18n-placeholder='Backpack' name='attr_backpack' placeholder='Backpack' title='@{backpack}')
.grid.kob-row
.grid.box.boxnotes
h2
img.header(alt='Notes' src='https://raw.githubusercontent.com/Roll20/roll20-character-sheets/master/Kids-on-Bikes/images/Label-Notes-1.png')
img.header(alt='Notes' src=`${imgSRC}/Label-Notes-1.png`)
textarea(data-i18n-placeholder='Notes' name='attr_notes' placeholder='Notes' title='@{notes}')
//- ROLL TEMPLATE
//include src/pug/_rolltemplate.pug
include src/pug/rolltemplate.html