* Reduce address book popup titlebar/roomselector to 12 point font
authorArt Cancro <ajc@citadel.org>
Sat, 14 Apr 2007 03:24:23 +0000 (03:24 +0000)
committerArt Cancro <ajc@citadel.org>
Sat, 14 Apr 2007 03:24:23 +0000 (03:24 +0000)
* Refresh bottom content portion when a new room is selected

webcit/addressbook_popup.c
webcit/static/webcit.css

index 6d479b3f0e9f03ed669ee8cdb089da85bc07672a..00360defe40365b1af601153c78bb497db787db3 100644 (file)
@@ -22,7 +22,9 @@ void display_address_book_middle_div(void) {
        wprintf("<td align=left><img src=\"static/viewcontacts_32x.gif\"></td>");
        wprintf("<td align=center>");
 
-       wprintf("<form><select class=\"address_book_popup_title\" size=1>");
+       wprintf("<form>"
+               "<select class=\"address_book_popup_title\" size=1"
+               " onChange='PopulateAddressBookInnerDiv()'>");
        serv_puts("LKRA");
        serv_getln(buf, sizeof buf);
        if (buf[0] == '1') while(serv_getln(buf, sizeof buf), strcmp(buf, "000")) {
@@ -53,6 +55,7 @@ void display_address_book_middle_div(void) {
  */
 void display_address_book_inner_div(void) {
        int i;
+       static int foo;
 
        begin_ajax_response();
 
@@ -60,7 +63,7 @@ void display_address_book_inner_div(void) {
                "<select name=\"whichaddr\" size=\"15\">\n");
 
        for (i=0; i<100; ++i) {
-               wprintf("<option>Contact %d &lt;contact%d@example.com&gt;</option>\n", i, i);
+               wprintf("<option>Contact %d &lt;contact%d@example.com&gt;</option>\n", ++foo, foo);
        }
 
        wprintf("</select></form></div>\n");
index 8247a1549445570eb14711ad530d6cc7a547ab14..4a1bfc34ff9f63659e7e3df7e39acdf781e3baba 100644 (file)
@@ -892,7 +892,7 @@ div.auto_complete ul strong.highlight {
 }
 
 .address_book_popup_title {
-        font-size: 14pt;
+        font-size: 12pt;
        background-color: #ffd;
         color: #000;
 }