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
|
# BITSY VERSION 4.5
|
||||||
|
|
||||||
|
@ -5229,4 +5229,4 @@ DLG ITM_0
|
||||||
You found a nice warm cup of tea
|
You found a nice warm cup of tea
|
||||||
|
|
||||||
VAR a
|
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>
|
16
index.pug
16
index.pug
|
@ -2,17 +2,18 @@ doctype html
|
||||||
html
|
html
|
||||||
head
|
head
|
||||||
// lodash
|
// lodash
|
||||||
script(src="lodash.min.js")
|
script(src="includes/lodash.min.js")
|
||||||
|
|
||||||
// jquery
|
// jquery
|
||||||
script(src="jquery.min.js")
|
script(src="includes/jquery.min.js")
|
||||||
|
|
||||||
// croppie
|
// croppie
|
||||||
link(rel="stylesheet" href="croppie.css")
|
link(rel="stylesheet" href="includes/croppie.css")
|
||||||
script(src="croppie.js")
|
script(src="includes/croppie.js")
|
||||||
|
|
||||||
link(rel="stylesheet" type="text/css" href="style.css")
|
// main stuff
|
||||||
script(src="script.js")
|
link(rel="stylesheet" type="text/css" href="includes/style.css")
|
||||||
|
script(src="includes/script.js")
|
||||||
body
|
body
|
||||||
h1 image-to-bitsy
|
h1 image-to-bitsy
|
||||||
p convert any image to a bitsy room
|
p convert any image to a bitsy room
|
||||||
|
@ -21,7 +22,7 @@ html
|
||||||
h2 game data
|
h2 game data
|
||||||
|
|
||||||
textarea#bitsy-data(placeholder="Bitsy data or html")
|
textarea#bitsy-data(placeholder="Bitsy data or html")
|
||||||
include bitsy-default.txt
|
include includes/default.bitsy
|
||||||
|
|
||||||
#image.section
|
#image.section
|
||||||
h2 image
|
h2 image
|
||||||
|
@ -59,6 +60,7 @@ html
|
||||||
|
|
||||||
canvas#room-output(width=128, height=128)
|
canvas#room-output(width=128, height=128)
|
||||||
|
|
||||||
|
//-
|
||||||
input#threshold(type="range" min=0 max=64)
|
input#threshold(type="range" min=0 max=64)
|
||||||
br
|
br
|
||||||
label(for="threshold")
|
label(for="threshold")
|
||||||
|
|
Loading…
Reference in New Issue