]> git.nbdom.net Git - nb.git/commitdiff
www/dbq/html/default.css
authorDevops <sys@15gifts.com>
Sat, 13 May 2017 17:02:09 +0000 (18:02 +0100)
committerDevops <sys@15gifts.com>
Sat, 13 May 2017 17:02:09 +0000 (18:02 +0100)
lib/php/db/field.php
lib/php/db/table.php
www/dbq/html/default.css

index ad62ca3c774ae97b87142cccc3c75d6c32097310..76b200ca73d9ae48d594940236a10c742bde7cae 100644 (file)
@@ -89,8 +89,9 @@ class field extends nb {
 
     $t1 = 'span'; $t2 = "</$t1>"; $t1 = "<$t1>";
     return $t1
-      .'Yes <input type="radio" name="'.$this->name.'" value="1"'.$s_yes.'>'
-      .'No <input type="radio" name="'.$this->name.'" value="0"'.$s_no.'>'
+      .'Yes <input type="radio" class="yes" name="'.$this->name.'" value="1"'.$s_yes.'>'
+      .' | '
+      .'No <input type="radio" class="no" name="'.$this->name.'" value="0"'.$s_no.'>'
     .$t2;
 
   }
index 7c7a8bad9a1817f5efb359efc5fcf7c5e1640762..3cd02ced0bec081d716eb5a5036eee9eb2159b80 100644 (file)
@@ -1185,6 +1185,7 @@ Class Table extends nb {
       echo '</div>'.NB_EOL;
     }
 
+    unset($opt['TABLE']);
     #return $count;
   }
 
index 64fd5d2e3cf6345f79339a26d5365374e9e7fef6..a662132950f53a8ccc8a36037a1660f17dd6229f 100644 (file)
@@ -82,7 +82,7 @@ form label:after { content: ':'; }
 form label,
 form input,
 form select {
-  vertical-align: top;
+  vertical-align: middle;
   margin: 0.2em 0.4em 0.2em 0;
 }
 
@@ -260,23 +260,13 @@ form.edit .fields .label span {
   display: inline-block;
   text-align: left;
   vertical-align: middle;
+  margin-top: 0.2em;
+}
+form.Wedit .fields .label span input {
+  vertical-align: bottom !important;
 }
 
-/*
-input[type='text'],
-input[type='password'],
-input[type='date'],
-input[type='email'],
-input[type='url'],
-input[type='']
-*/
 form.edit .fields input[size],
 form.edit .fields textarea, form.edit .fields select {
   width: 65%;
 }
-/*
-form.edit input[type=checkbox] {
-  text-align: left;
-  border: solid 1px red;
-}
-*/