Index: ossp-pkg/quos/quos.cgi RCS File: /v/ossp/cvs/ossp-pkg/quos/quos.cgi,v rcsdiff -q -kk '-r1.7' '-r1.8' -u '/v/ossp/cvs/ossp-pkg/quos/quos.cgi,v' 2>/dev/null --- quos.cgi 2004/10/28 14:35:02 1.7 +++ quos.cgi 2004/10/28 15:37:43 1.8 @@ -294,27 +294,37 @@ $html .= "\n"; $html .= " \n"; $html .= " \n"; -$html .= " \n"; $html .= " \n"; $html .= " \n"; $html .= " \n"; $html .= " \n"; $html .= "
"; -$html .= " " . $cgi->popup_menu( - -name => $nr_cols, +$html .= " " . "← " . $cgi->popup_menu( + -name => "nr_cols", -values => [ 0..9 ], -default => $nr_cols, ) . "\n"; -$html .= " \n"; -$html .= " " . $cgi->popup_menu( - -name => $nr_rows, +$html .= " " . "↓ " . $cgi->popup_menu( + -name => "nr_rows", -values => [1..9], -default => $nr_rows, ) . "\n"; $html .= " \n"; -$html .= " " . $cgi->submit('act_matrix_upd', 'update') . "\n"; +$html .= " " . $cgi->submit( + -name => 'act_matrix_upd', + -value => 'update', + -class => 'update' +) . "\n"; $html .= " \n"; -$html .= " " . $cgi->submit('act_matrix_clear', 'clear') . "\n"; +$html .= " " . $cgi->submit( + -name => 'act_matrix_clear', + -value => 'clear', + -class => 'clear' +) . "\n"; $html .= " \n"; -$html .= " " . $cgi->submit('act_matrix_submit', 'submit') . "\n"; +$html .= " " . $cgi->submit( + -name => 'act_matrix_submit', + -value => 'submit', + -class => 'submit' +) . "\n"; $html .= "
\n"; @@ -330,27 +340,45 @@ -name => "namexx", -values => ['HTML: by-group', 'HTML: by-xxx', 'TXT: by-group'], # FIXME -default => 'HTML: by-group', # FIXME - -class => 'default', + -class => 'nameget', ) . "\n"; $html .= " \n"; $html .= " \n"; -$html .= " " . $cgi->submit('act_matrix_clear', 'load') . "\n"; +$html .= " " . $cgi->submit( + -name => 'act_matrix_clear', + -value => 'load', + -class => 'load' +) . "\n"; $html .= " \n"; $html .= " \n"; -$html .= " " . $cgi->submit('act_matrix_submit', 'delete') . "\n"; +$html .= " " . $cgi->submit( + -name => 'act_matrix_submit', + -value => 'delete', + -class => 'delete' +) . "\n"; $html .= " \n"; $html .= " \n"; $html .= " \n"; $html .= " \n"; $html .= " " . $cgi->textfield( - -name =>'name_persquery' + -name => 'name_persquery', + -value => '', + -class => 'nameset' ) . "\n"; $html .= " \n"; $html .= " \n"; -$html .= " " . $cgi->submit('act_matrix_clear', 'save') . "\n"; +$html .= " " . $cgi->submit( + -name => 'act_matrix_clear', + -value => 'save', + -class => 'save' +) . "\n"; $html .= " \n"; $html .= " \n"; -$html .= " " . $cgi->submit('act_matrix_hyperlink', 'hyperlink') . "\n"; +$html .= " " . $cgi->submit( + -name => 'act_matrix_hyperlink', + -value => 'hyperlink', + -class => 'hyperlink' +) . "\n"; $html .= " \n"; $html .= " \n"; $html .= "\n"; Index: ossp-pkg/quos/quos.css RCS File: /v/ossp/cvs/ossp-pkg/quos/quos.css,v rcsdiff -q -kk '-r1.3' '-r1.4' -u '/v/ossp/cvs/ossp-pkg/quos/quos.css,v' 2>/dev/null --- quos.css 2004/10/28 14:35:02 1.3 +++ quos.css 2004/10/28 15:37:43 1.4 @@ -101,4 +101,52 @@ .quos .query .expr SELECT.changed { background: #ffffff; } +.quos .query .expr TABLE { + border-collapse: collapse; + border-spacing: 0px; +} + +.quos .query .button TABLE { + width: 100%; + border-collapse: collapse; + border-spacing: 0px; +} +.quos .query .button INPUT { + width: 100%; +} +.quos .query .button INPUT.update { + background: #f0f0ff; +} +.quos .query .button INPUT.clear { + background: #f0f0ff; +} +.quos .query .button INPUT.submit { + background: #ffffff; +} +.quos .query .define TABLE { + width: 100%; + border-collapse: collapse; + border-spacing: 0px; +} +.quos .query .define INPUT { + width: 100%; +} +.quos .query .define INPUT.hyperlink { + background: #f0f0ff; +} +.quos .query .define INPUT.load { + background: #f0f0ff; +} +.quos .query .define INPUT.delete { + background: #ffffff; +} +.quos .query .define INPUT.save { + background: #ffffff; +} +.quos .query .define SELECT.nameget { + width: 100%; +} +.quos .query .define INPUT.nameset { + width: 100%; +}