]> git.plutz.net Git - confetti/blobdiff - templates/edit_prescription.sh
unify css, increase responsiveness by reducing server communication
[confetti] / templates / edit_prescription.sh
index 285739aa3f9134ff76acb9b3aa625af6979108cb..dac7270362fcd58998dae5818bf18866380be51f 100755 (executable)
@@ -121,11 +121,11 @@ cat <<END_HTML
 
 $( for n in {0..10}; do
   if [ "$n" -eq 0 -o -n "${mpx[quantity$n]}" -o -n "${mpx[remidy$n]}" -o -n "${mpx[quantity_weekly$n]}" ]; then
-    printf '<input type="checkbox" checked="checked">'
+    printf '<input class="trailbtn" type="checkbox" checked="checked" />'
   else
-    printf '<input type="checkbox">'
+    printf '<input class="trailbtn" type="checkbox" />'
   fi
-  printf '<p>
+  printf '<p class="trailbox">
     <input class="quantity" name="quantity" placeholder="%s" value="%s">
     <textarea class="remidy" name="remidy" placeholder="%s">%s</textarea>
     <input class="quantity_weekly" name="quantity_weekly" placeholder="%s" value="%s">