Changeset 526


Ignore:
Timestamp:
Oct 2, 2004, 8:36:15 AM (17 years ago)
Author:
kake
Message:

Tidied up the form a bit - if someone wants to make this into <div>s and add to README.CSS that would be great.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/templates/supersearch.tt

    r525 r526  
    2424
    2525  <form method="get" action="supersearch.cgi">
    26     <label for="search_upper">Search text:</label>
    27     <input type="text" name="search" value="[% IF search_terms %][% search_terms %][% END %]" size="50" maxlength="80" id="search_upper" />
    28     <br />
    29     Located within
    30     <input type="text" name="distance_in_metres" value="[% dist %]" size="5" maxlength="5" />
    31     metres of
    32     latitude <input type="text" name="lat" value="[% lat %]" size="10" maxlength="10" />
    33     longitude <input type="text" name="long" value="[% long %]" size="10" maxlength="10" />
    34     <strong>or</strong> of OS co-ordinates
    35     <input type="text" name="os_x" value="[% os_x %]" size="10" maxlength="10" />,
    36     <input type="text" name="os_y" value="[% os_y %]" size="10" maxlength="10" />
    37     <br />
    38     <input type="submit" name="go" class="form_button" value="Go" />
     26    <table border="1">
     27      <tr>
     28         <th>
     29           <label for="search_upper">Pages containing text:</label>
     30         </th>
     31         <td>
     32           <input type="text" name="search" value="[% IF search_terms %][% search_terms %][% END %]" size="50" maxlength="80" id="search_upper" />
     33         </td>
     34       </tr>
     35      <tr>
     36        <th>Location:</th>
     37        <td>
     38          <ul>
     39            <li>
     40              within <input type="text" name="distance_in_metres" value="[% dist %]" size="5" maxlength="5" /> metres
     41              of latitude <input type="text" name="lat" value="[% lat %]" size="10" maxlength="10" />
     42              longitude <input type="text" name="long" value="[% long %]" size="10" maxlength="10" />
     43            </li>
     44            <li>
     45              within <input type="text" name="distance_in_metres" value="[% dist %]" size="5" maxlength="5" /> metres
     46              of OS co-ordinates
     47              <input type="text" name="os_x" value="[% os_x %]" size="10" maxlength="10" />,
     48              <input type="text" name="os_y" value="[% os_y %]" size="10" maxlength="10" />
     49            </li>
     50          </ul>
     51        </td>
     52      </tr>
     53      <tr>
     54        <td colspan="2" align="right">
     55          <input type="submit" name="go" class="form_button" value="Go" />
     56        </td>
     57      </tr>
     58    </table>
    3959  </form>
    4060
Note: See TracChangeset for help on using the changeset viewer.