Tinkered with CSS for address book popup
authorArt Cancro <ajc@citadel.org>
Tue, 10 Apr 2007 03:22:01 +0000 (03:22 +0000)
committerArt Cancro <ajc@citadel.org>
Tue, 10 Apr 2007 03:22:01 +0000 (03:22 +0000)
webcit/messages.c
webcit/static/closewindow.gif [new file with mode: 0644]
webcit/static/wclib.js
webcit/static/webcit.css

index 70e2c1fd69e48807b15e90a44385e1cde0ccbc68..ba5567f829cc8497d7ff64e20be6bf4cdb8d9913 100644 (file)
@@ -3204,15 +3204,12 @@ void display_enter(void)
         * calendar too.
         */
        wprintf("</div><div id=\"address_book_popup\" style=\"display:none;\">");
-       svprintf("BOXTITLE", WCS_STRING,  _("Contacts") );
-       do_template("beginbox");
        wprintf("<div id=\"address_book_inner_div\"></div>");
        wprintf("<div align=center><p class=\"close_popup\" "
                "onclick=\"javascript:Effect.Fade('address_book_popup', { duration: 0.5 });\" "
-               ">");
-               wprintf(_("Close window"));
-               wprintf("</p></div>");
-       do_template("endbox");
+               "><img valign=\"middle\" src=\"static/closewindow.gif\">");
+       wprintf(_("Close window"));
+       wprintf("</p></div>");
 
 DONE:  wDumpContent(1);
 }
diff --git a/webcit/static/closewindow.gif b/webcit/static/closewindow.gif
new file mode 100644 (file)
index 0000000..f55ad8b
Binary files /dev/null and b/webcit/static/closewindow.gif differ
index 9deeec67843f70d2173188cc0ee05fab06ed400c..30ca4480bdc6c0c02b386371391f01d79acdc574 100644 (file)
@@ -661,6 +661,7 @@ function CtdlShowUserInfoPopup(Element) {
 // Pop open the address book
 function PopOpenAddressBook() {
        $('address_book_inner_div').innerHTML = "<div align=center><br><table border=0 cellpadding=10 bgcolor=\"#ffffff\"><tr><td><img src=\"static/throbber.gif\" /><font color=\"#AAAAAA\">&nbsp;&nbsp;Loading....</font></td></tr></table><br /></div>";
+       Rounded('div#address_book_popup', 'transparent top bottom');
        Effect.Appear('address_book_popup', { duration: 0.5 } );
        new Ajax.Updater(
                'address_book_inner_div',
index ecb79e36af36594bc3b8731b89e6a4ddafd48f03..b3eba4f18a4d2b55ac18d4710d4f7312069d8467 100644 (file)
@@ -863,12 +863,9 @@ div.auto_complete ul strong.highlight {
         top: 100px;
         left: 25%;
         width: 320px;
-       height: 320px;
         padding: 11px;
-        margin: 0px;
         z-index: 100;
-        color: #666;
-        background: white;
+       background-color: #FFA;
 }
 
 #address_book_popup .close_popup {