tag:blogger.com,1999:blog-16889165.post1576066607080626073..comments2022-10-03T14:50:01.187+05:30Comments on Mentioned In Dispatches: Quick and dirty 'type' for Django's message modelManoj Govindanhttp://www.blogger.com/profile/12734036974316245850noreply@blogger.comBlogger3125tag:blogger.com,1999:blog-16889165.post-80684055390402635242008-09-09T12:18:00.000+05:302008-09-09T12:18:00.000+05:30Manoj, absolutely brilliant! really!And for the pe...Manoj, absolutely brilliant! really!<BR/><BR/>And for the people who want a more django-admin-like message. You can use these CSS directives:<BR/><BR/>#messages {<BR/> /* div position and layout */<BR/>}<BR/>#messages ul {<BR/> /* padding etc. for the list */<BR/>}<BR/>#messages ul li {<BR/> display:block;<BR/> /* and some color and layout stuff */<BR/> }<BR/><BR/>/* only left the color tag for readability */<BR/>#messages ul li.m0 { color: green; }<BR/>#messages ul li.m1 { color: yellow; }<BR/>#messages ul li.m2 { color: red; }<BR/><BR/>Happy coding!<BR/><BR/>Regards,<BR/><BR/>Gerard.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-16889165.post-27918577250122088242007-11-27T10:49:00.000+05:302007-11-27T10:49:00.000+05:30Me, an expert? Bwahaha :P :P I am not sure what ex...Me, an expert? Bwahaha :P :P <BR/><BR/>I am not sure what exactly is happening. I'd venture a guess that the URL that you see on the address bar is created on the fly at the time of uploading the image and mapped to something else behind the scenes. Apparently the *exact* link matches some pattern where as combinations of the individual parts do not.<BR/><BR/>Btw did you notice that <A HREF="http://bp1.blogger.com/_WD4ydpP4v1g/R0qiuSCcmnI/AAAAAAAAACY/ynj9x1pFV2Y/s1600-h/" REL="nofollow">this link</A> as well as <A HREF="http://bp1.blogger.com/_WD4ydpP4v1g/R0qiuSCcmnI/AAAAAAAAACY/ynj9x1pFV2Y/s1600-h/ndpbook.jpg" REL="nofollow">this one</A> point to the same book?Manoj Govindanhttps://www.blogger.com/profile/12734036974316245850noreply@blogger.comtag:blogger.com,1999:blog-16889165.post-34913518008815468482007-11-27T08:49:00.000+05:302007-11-27T08:49:00.000+05:30He hee :) Manoj, good to see you as the resident w...He hee :) Manoj, good to see you as the resident web expert! Here is a question. When I clicked on the book images posted by ravi in his blog, I was shown the full image with a very strange looking link on blogger.com (b1.blogger.com/....). I tried looking up b1.blogger.com. Non-existant. Would you care to explain more about those links?Dibs on Muadhttps://www.blogger.com/profile/04506593706578740072noreply@blogger.com