Add 16x16 paint palette icon for changing the color
authorArt Cancro <ajc@citadel.org>
Wed, 7 May 2008 19:21:50 +0000 (19:21 +0000)
committerArt Cancro <ajc@citadel.org>
Wed, 7 May 2008 19:21:50 +0000 (19:21 +0000)
of a sticky note.  Not yet functional.

webcit/README.txt
webcit/notes.c
webcit/static/8paint16.gif [new file with mode: 0644]
webcit/static/webcit.css

index d864e81d1ac154a81ab1d915bb0a8787b854dfdc..c82017bdce3d602dbebf8562c38ed9ad2e7c6f08 100644 (file)
    [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.
 
  
index e77982d2e96e1e39ee8416143d2d6e5f6decbef9..e3589b2ae92d9294c6f9eabf8e8901f63902e3a4 100644 (file)
@@ -34,6 +34,12 @@ void display_vnote_div(struct vnote *v) {
        wprintf("\">");
 
        wprintf("<table border=0 cellpadding=0 cellspacing=0 valign=middle width=100%%><tr>");
+
+       wprintf("<td align=left valign=middle>");
+       wprintf("<img onclick=\"alert('FIXME');\" ");
+       wprintf("src=\"static/8paint16.gif\">");
+       wprintf("</td>");
+
        wprintf("<td></td>");   // nothing in the title bar, it's just for dragging
 
        wprintf("<td align=right valign=middle>");
@@ -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 (file)
index 0000000..5c2b48f
Binary files /dev/null and b/webcit/static/8paint16.gif differ
index 3015ad70eae4126a41e46b4839fb69bdda21ab59..f30283460977756ba953ff5f21597c7d4ed31714 100644 (file)
@@ -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;