cat <<EOF
<fieldset class="tab">
- <span class=no>…</span><!--
+ <button class=no type=submit name=new_session value=$sid>+</button><!--
--><input class=date name=${sid}_date value="" placeholder="$(l10n date)" /><!--
--><input class=therapist name=${sid}_therapist value="" placeholder="$(l10n therapist)" /><!--
- --><button type=submit name=new_session value=$sid>+</button></span>
+ --><span class=signature><span></span>
<input type=hidden name="${sid}_note1" value="">
</fieldset>
EOF
data.value = image_serialize
}
- window.addEventListener( 'mouseup', function() { drawstop() } )
- canvas.addEventListener( 'mousedown', function(e) { drawstart(e.clientX, e.clientY) } )
- canvas.addEventListener( 'mousemove', function(e) { circle(e.clientX, e.clientY) } )
+ window.addEventListener( 'mouseup', function() { drawstop() } )
+ canvas.addEventListener( 'mousedown', function(e) { drawstart(e.clientX, e.clientY) } )
+ canvas.addEventListener( 'mousemove', function(e) { circle(e.clientX, e.clientY) } )
- window.addEventListener( 'touchend', function() { drawstop() } )
+ window.addEventListener( 'touchend', function() { drawstop() } )
canvas.addEventListener( 'touchstart', function(e) { drawstart(e.touches[0].clientX, e.touches[0].clientY) } )
- canvas.addEventListener( 'touchmove', function(e) { circle(e.touches[0].clientX, e.touches[0].clientY) } )
+ canvas.addEventListener( 'touchmove', function(e) { circle(e.touches[0].clientX, e.touches[0].clientY) } )
--></script>
</form>