OSSP CVS Repository

ossp - Check-in [4787]
Not logged in
[Honeypot]  [Browse]  [Home]  [Login]  [Reports
[Search]  [Ticket]  [Timeline
  [Patchset]  [Tagging/Branching

Check-in Number: 4787
Date: 2004-Oct-28 17:37:43 (local)
2004-Oct-28 15:37:43 (UTC)
User:rse
Branch:
Comment: optically align all Query part elements in a rectangular way
Tickets:
Inspections:
Files:
ossp-pkg/quos/quos.cgi      1.7 -> 1.8     43 inserted, 15 deleted
ossp-pkg/quos/quos.css      1.3 -> 1.4     48 inserted, 0 deleted

ossp-pkg/quos/quos.cgi 1.7 -> 1.8

--- 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 .= "<table>\n";
 $html .= "  <tr>\n";
 $html .= "    <td>";
-$html .= "      " . $cgi->popup_menu(
-    -name    => $nr_cols,
+$html .= "      " . "&larr; " . $cgi->popup_menu(
+    -name    => "nr_cols",
     -values  => [ 0..9 ],
     -default => $nr_cols,
 ) . "\n";
-$html .= "    </td>\n";
-$html .= "    <td>\n";
-$html .= "      " . $cgi->popup_menu(
-    -name    => $nr_rows,
+$html .= "      " . "&darr; " . $cgi->popup_menu(
+    -name    => "nr_rows",
     -values  => [1..9],
     -default => $nr_rows,
 ) . "\n";
 $html .= "    </td>\n";
 $html .= "    <td>\n";
-$html .= "      " . $cgi->submit('act_matrix_upd', 'update') . "\n";
+$html .= "      " . $cgi->submit(
+    -name  => 'act_matrix_upd',
+    -value => 'update',
+    -class => 'update'
+) . "\n";
 $html .= "    </td>\n";
 $html .= "    <td>\n";
-$html .= "      " . $cgi->submit('act_matrix_clear', 'clear') . "\n";
+$html .= "      " . $cgi->submit(
+    -name  => 'act_matrix_clear',
+    -value => 'clear',
+    -class => 'clear'
+) . "\n";
 $html .= "    </td>\n";
 $html .= "    <td>\n";
-$html .= "      " . $cgi->submit('act_matrix_submit', 'submit') . "\n";
+$html .= "      " . $cgi->submit(
+    -name  => 'act_matrix_submit',
+    -value => 'submit',
+    -class => 'submit'
+) . "\n";
 $html .= "    </td>\n";
 $html .= "  </tr>\n";
 $html .= "</table>\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 .= "    </td>\n";
 $html .= "    <td>\n";
-$html .= "      " . $cgi->submit('act_matrix_clear', 'load') . "\n";
+$html .= "      " . $cgi->submit(
+    -name  => 'act_matrix_clear',
+    -value => 'load',
+    -class => 'load'
+) . "\n";
 $html .= "    </td>\n";
 $html .= "    <td>\n";
-$html .= "      " . $cgi->submit('act_matrix_submit', 'delete') . "\n";
+$html .= "      " . $cgi->submit(
+    -name  => 'act_matrix_submit',
+    -value => 'delete',
+    -class => 'delete'
+) . "\n";
 $html .= "    </td>\n";
 $html .= "  </tr>\n";
 $html .= "  <tr>\n";
 $html .= "    <td>\n";
 $html .= "      " . $cgi->textfield(
-    -name =>'name_persquery'
+    -name  => 'name_persquery',
+    -value => '',
+    -class => 'nameset'
 ) . "\n";
 $html .= "    </td>\n";
 $html .= "    <td>\n";
-$html .= "      " . $cgi->submit('act_matrix_clear', 'save') . "\n";
+$html .= "      " . $cgi->submit(
+    -name  => 'act_matrix_clear',
+    -value => 'save',
+    -class => 'save'
+) . "\n";
 $html .= "    </td>\n";
 $html .= "    <td>\n";
-$html .= "      " . $cgi->submit('act_matrix_hyperlink', 'hyperlink') . "\n";
+$html .= "      " . $cgi->submit(
+    -name  => 'act_matrix_hyperlink',
+    -value => 'hyperlink',
+    -class => 'hyperlink'
+) . "\n";
 $html .= "    </td>\n";
 $html .= "  </tr>\n";
 $html .= "</table>\n";


ossp-pkg/quos/quos.css 1.3 -> 1.4

--- 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%;
+}

CVSTrac 2.0.1