From 0dad0b61598776d7eab84a8c9f25bd3d85bc1198 Mon Sep 17 00:00:00 2001 From: Simon Flack Date: Mon, 25 Oct 2004 10:24:06 +0000 Subject: [PATCH] Changed CSS buttons to POST buttons git-svn-id: http://svn.maypole.perl.org/Maypole/trunk@261 48953598-375a-da11-a14b-00016c27c3ee --- templates/factory/macros | 4 ++-- templates/maypole.css | 19 +++++++++++++++++++ 2 files changed, 21 insertions(+), 2 deletions(-) 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; -- 2.39.5