From: Simon Flack Date: Mon, 25 Oct 2004 10:24:06 +0000 (+0000) Subject: Changed CSS buttons to POST buttons X-Git-Tag: 2.10~101 X-Git-Url: https://git.decadent.org.uk/gitweb/?a=commitdiff_plain;h=0dad0b61598776d7eab84a8c9f25bd3d85bc1198;hp=95cf9d3a86c4282f68b1cdd535aee1ae9ac6d303;p=maypole.git Changed CSS buttons to POST buttons git-svn-id: http://svn.maypole.perl.org/Maypole/trunk@261 48953598-375a-da11-a14b-00016c27c3ee --- diff --git a/templates/factory/macros b/templates/factory/macros index 7aead21..ddd9ffb 100644 --- a/templates/factory/macros +++ b/templates/factory/macros @@ -81,8 +81,8 @@ This is a generic button, which performs an action on an object. #%] [% MACRO button(obj, action) BLOCK; %] - - [% action %] +
+
[% END %] [%# diff --git a/templates/maypole.css b/templates/maypole.css index 93bdce7..c7697e2 100644 --- a/templates/maypole.css +++ b/templates/maypole.css @@ -306,6 +306,25 @@ label .field { background-color: #7d95b5; } +.actionform { + display: inline; +} + +#actionbutton { + height: 16px; + width: 40px; + font-family: sans-serif; + font-size: 10px; + border: 1px outset; + background-color: #fff; + margin-bottom: 0px; +} + +#actionbutton:hover { + color: #fff; + background-color: #7d95b5; +} + .pager { font: 11px Arial, Helvetica, sans-serif; text-align: center;