/* buttons *******************************************************************/
-button {
- border: 0px;
- background-color: transparent;
- padding: 0px;
- cursor: pointer
- font-family: helvetica,sans-serif;
- font-weight: normal;
- font-variant: normal;
- font-size: 12pt;
+form.button {
+ display: inline
}
/* Buttons and links that look like buttons share the same formatting */
-span.buttonouter, a.button {
+a.button {
padding-top: 2px;
border-width: 3px;
border-color: #fefefe; /* Off-white */
padding: 0.2em
}
+form.search p {
+ display: inline
+}
+
/* menu bar *******************************************************************/
div.top {
@# @long is the text to put in the caption
@# @action is the target action
@define {actbutton} {text long action}
- {<a class=button
- href="@url?action=@action@back"
- title="@long">@text</a>}
+ {<form method=GET class=button action="@url">
+ <input type=hidden name=action value="@action">
+ <input type=submit name=submit value="@text" title="@long">
+@formback@#
+ </form>}
+@# TODO @back support
-@# Expands to &back=manage or to nothing depending on context;
-@# see playing.tmpl.
+@# Used for inserting back= elements
@define {back} {} {}
+@define {formback} {} {}
Local variables:
mode:sgml
{@yes}
{@no}}
- @# Expand to &back=manage or to nothing
- @define {back} {}
- {@ifmanage{&back=manage}{}}
+ @ifmanage{
+ @define {back} {} {&back=manage}
+ @define {formback} {} {<input type=hidden name=back value=manage>}
+ }{}
}@#
<html>
<head>