From: Art Cancro Date: Wed, 7 May 2008 19:21:50 +0000 (+0000) Subject: Add 16x16 paint palette icon for changing the color X-Git-Tag: v7.86~2278 X-Git-Url: https://code.citadel.org/?p=citadel.git;a=commitdiff_plain;h=a1b3a5cda3e2a86f9e8e8f4d3b36ecf80f2fec58 Add 16x16 paint palette icon for changing the color of a sticky note. Not yet functional. --- diff --git a/webcit/README.txt b/webcit/README.txt index d864e81d1..c82017bdc 100644 --- a/webcit/README.txt +++ b/webcit/README.txt @@ -36,6 +36,10 @@ [http://cerca.html.it/cgi-bin/cerca.cgi?q=nifty+corners]. This component is licensed to you under the terms of the GNU General Public License. + One or more icons are from Milosz Wlazlo [http://miloszwl.deviantart.com] + whose license explicitly allows inclusion in open source projects on the + condition of this attribution. + The Citadel logo was designed by Lisa Aurigemma. diff --git a/webcit/notes.c b/webcit/notes.c index e77982d2e..e3589b2ae 100644 --- a/webcit/notes.c +++ b/webcit/notes.c @@ -34,6 +34,12 @@ void display_vnote_div(struct vnote *v) { wprintf("\">"); wprintf(""); + + wprintf(""); + wprintf(""); // nothing in the title bar, it's just for dragging wprintf("
"); + wprintf(""); + wprintf(""); @@ -208,6 +214,7 @@ void ajax_update_note(void) { return; } msgnum = atol(&buf[4]); + lprintf(9, "Note msg = %ld\n", msgnum); // Was this request a delete operation? If so, nuke it... if (havebstr("deletenote")) { diff --git a/webcit/static/8paint16.gif b/webcit/static/8paint16.gif new file mode 100644 index 000000000..5c2b48fe0 Binary files /dev/null and b/webcit/static/8paint16.gif differ diff --git a/webcit/static/webcit.css b/webcit/static/webcit.css index 3015ad70e..f30283460 100644 --- a/webcit/static/webcit.css +++ b/webcit/static/webcit.css @@ -1351,7 +1351,7 @@ li.event_unread span, a.event_read_title { .stickynote_titlebar { position: relative; width: 100%; - height: 15px; + height: 16px; top: 0px; left: 0px; background-color: #888800;