.tab > .therapist { width: 40%; }
.tab > .signature { width: 10%; }
.tab > .signature > button { display: inline-block; margin: 0; }
-fieldset.tab > button[type=submit] { width: 5%; text-align: center; margin-left: 5%;}
+/* fieldset.tab > button[type=submit] { width: 5%; text-align: center; margin-left: 5%;} */
+fieldset.tab > button[type=submit] { height: 2em; color: #FFF; font-weight: bold;}
+fieldset.tab > button[type=submit]::first-letter { font-size: 1.75em;}
.signature > button[value=pos],
.signature > button[value=neg] {
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>