From 12582fabeb895dc243128d29dc6ff0152682f6ba Mon Sep 17 00:00:00 2001 From: Thierry Pasqualier Date: Tue, 10 Jul 2007 12:24:23 +0000 Subject: [PATCH] Edit message : i agree with fleeb, i put the button on right top --- webcit/messages.c | 25 +++++++++++++------------ webcit/static/webcit.css | 17 +++++++++++------ 2 files changed, 24 insertions(+), 18 deletions(-) diff --git a/webcit/messages.c b/webcit/messages.c index b4aea13fe..348fa1dea 100644 --- a/webcit/messages.c +++ b/webcit/messages.c @@ -2952,6 +2952,18 @@ void display_enter(void) wprintf("\n", bstr("return_to")); wprintf("\n", WC->nonce); + /** submit or cancel buttons */ + wprintf("

"); + wprintf(" " + "\n", _("Cancel")); + wprintf("

"); + /** header bar */ wprintf(""); @@ -3147,7 +3159,7 @@ void display_enter(void) do_template("richedit"); /** Enumerate any attachments which are already in place... */ - wprintf("
"); @@ -3169,17 +3181,6 @@ void display_enter(void) "\n", _("Add")); wprintf("
"); - wprintf("
"); - wprintf(" " - "\n", _("Cancel")); - wprintf("
"); - /** Make sure we only insert our signature once */ if (strcmp(bstr("sig_inserted"), "yes")) { diff --git a/webcit/static/webcit.css b/webcit/static/webcit.css index 557e6e207..cf2b728ae 100644 --- a/webcit/static/webcit.css +++ b/webcit/static/webcit.css @@ -499,13 +499,18 @@ a:hover { margin: 3px; } +.imgedit { + vertical-align: middle; +} + .send_edit_msg { - margin-top: 10px; - margin-bottom: 10px; - margin-left: auto; - margin-right: auto; - width: 80%; - text-align: center; + float: right; + margin-top: 0; + margin-right: 0; + padding-top: 2px; + padding-bottom: 2px; + padding-right: 50px; + padding-left: 50px; } .tablabel { -- 2.39.2