diff --git a/js/sql.js b/js/sql.js index 6f15c599d..a0dbae88f 100644 --- a/js/sql.js +++ b/js/sql.js @@ -436,7 +436,7 @@ $(document).ready(function() { if($this_field.is(':not(.not_null)')){ // add a checkbox to mark null for all the field that are nullable. - $this_field.html('
Null :
'); + $this_field.html('
Null :
'); // check the 'checkbox_null_' if the value is null if($this_field.is('.null')) { $('.checkbox_null_' + field_name).attr('checked', true); @@ -454,7 +454,7 @@ $(document).ready(function() { }) } else { - $this_field.html(''); + $this_field.html('
'); } // In each input sibling, wrap the current value in a textarea diff --git a/themes/original/css/theme_right.css.php b/themes/original/css/theme_right.css.php index 272221d36..b1bc75310 100644 --- a/themes/original/css/theme_right.css.php +++ b/themes/original/css/theme_right.css.php @@ -159,6 +159,12 @@ fieldset.tblFooters { clear: both; } +div.null_div { + height: 20px; + text-align: center; + font-style:normal; +} + fieldset .formelement { float: ; margin-: 0.5em; @@ -235,6 +241,14 @@ th.condition { border: 1px solid ; } +/** + * cells with the value NULL + */ +td.null { + font-style: italic; + text-align: ; +} + table .value { text-align: ; white-space: normal;