move stuff to includes
This commit is contained in:
parent
4d432d9343
commit
4aba77b104
|
@ -1,4 +1,4 @@
|
|||
<!DOCTYPE html><html><head><!-- lodash--><script src="lodash.min.js"></script><!-- jquery--><script src="jquery.min.js"></script><!-- croppie--><link rel="stylesheet" href="croppie.css"><script src="croppie.js"></script><link rel="stylesheet" type="text/css" href="style.css"><script src="script.js"></script></head><body><h1>image-to-bitsy</h1><p>convert any image to a bitsy room</p><div class="section" id="game-data"><h2>game data</h2><textarea id="bitsy-data" placeholder="Bitsy data or html">default game data
|
||||
<!DOCTYPE html><html><head><!-- lodash--><script src="includes/lodash.min.js"></script><!-- jquery--><script src="includes/jquery.min.js"></script><!-- croppie--><link rel="stylesheet" href="includes/croppie.css"><script src="includes/croppie.js"></script><link rel="stylesheet" type="text/css" href="includes/style.css"><script src="includes/script.js"></script></head><body><h1>image-to-bitsy</h1><p>convert any image to a bitsy room</p><div class="section" id="game-data"><h2>game data</h2><textarea id="bitsy-data" placeholder="Bitsy data or html">default game data
|
||||
|
||||
# BITSY VERSION 4.5
|
||||
|
||||
|
@ -5229,4 +5229,4 @@ DLG ITM_0
|
|||
You found a nice warm cup of tea
|
||||
|
||||
VAR a
|
||||
42</textarea></div><div class="section" id="image"><h2>image</h2><input id="imageUpload" type="file" accepts="image/*"><div id="croppie"></div></div><div class="section" id="palette"><h2>palette</h2><form id="palettes"><table><tbody></tbody></table></form></div><div class="section" id="crop"><h2>preview</h2><canvas id="preview" width="128" height="128"></canvas><input id="brightness" type="range" min="-255" max="255" value="0"><label for="brightness">brightness</label></div><div class="section" id="output"><h2>output</h2><canvas id="room-output" width="128" height="128"></canvas><input id="threshold" type="range" min="0" max="64"><br><label for="threshold"> <span class="left">use existing tiles </span><span class="right">create new tiles</span></label><br><input id="roomName" placeholder="room name"><br><button id="save">Save</button><br><br></div></body></html>
|
||||
42</textarea></div><div class="section" id="image"><h2>image</h2><input id="imageUpload" type="file" accepts="image/*"><div id="croppie"></div></div><div class="section" id="palette"><h2>palette</h2><form id="palettes"><table><tbody></tbody></table></form></div><div class="section" id="crop"><h2>preview</h2><canvas id="preview" width="128" height="128"></canvas><input id="brightness" type="range" min="-255" max="255" value="0"><label for="brightness">brightness</label></div><div class="section" id="output"><h2>output</h2><canvas id="room-output" width="128" height="128"></canvas></div></body></html>
|
44
index.pug
44
index.pug
|
@ -2,17 +2,18 @@ doctype html
|
|||
html
|
||||
head
|
||||
// lodash
|
||||
script(src="lodash.min.js")
|
||||
script(src="includes/lodash.min.js")
|
||||
|
||||
// jquery
|
||||
script(src="jquery.min.js")
|
||||
script(src="includes/jquery.min.js")
|
||||
|
||||
// croppie
|
||||
link(rel="stylesheet" href="croppie.css")
|
||||
script(src="croppie.js")
|
||||
link(rel="stylesheet" href="includes/croppie.css")
|
||||
script(src="includes/croppie.js")
|
||||
|
||||
link(rel="stylesheet" type="text/css" href="style.css")
|
||||
script(src="script.js")
|
||||
// main stuff
|
||||
link(rel="stylesheet" type="text/css" href="includes/style.css")
|
||||
script(src="includes/script.js")
|
||||
body
|
||||
h1 image-to-bitsy
|
||||
p convert any image to a bitsy room
|
||||
|
@ -21,7 +22,7 @@ html
|
|||
h2 game data
|
||||
|
||||
textarea#bitsy-data(placeholder="Bitsy data or html")
|
||||
include bitsy-default.txt
|
||||
include includes/default.bitsy
|
||||
|
||||
#image.section
|
||||
h2 image
|
||||
|
@ -59,24 +60,25 @@ html
|
|||
|
||||
canvas#room-output(width=128, height=128)
|
||||
|
||||
input#threshold(type="range" min=0 max=64)
|
||||
br
|
||||
label(for="threshold")
|
||||
span.left use existing tiles
|
||||
span.right create new tiles
|
||||
//-
|
||||
input#threshold(type="range" min=0 max=64)
|
||||
br
|
||||
label(for="threshold")
|
||||
span.left use existing tiles
|
||||
span.right create new tiles
|
||||
|
||||
br
|
||||
br
|
||||
|
||||
input#roomName(placeholder="room name")
|
||||
|
||||
br
|
||||
input#roomName(placeholder="room name")
|
||||
|
||||
br
|
||||
|
||||
button#save Save
|
||||
button#save Save
|
||||
|
||||
br
|
||||
br
|
||||
|
||||
//-label favour broad strokes | favour details
|
||||
//-label favour broad strokes | favour details
|
||||
|
||||
br
|
||||
br
|
||||
|
||||
//-button Download
|
||||
//-button Download
|
Loading…
Reference in New Issue