[Sugar-devel] Browse: give sugar color to webpages

Gonzalo Odiard godiard at sugarlabs.org
Mon Jul 7 07:53:02 EDT 2014


cc: manuq (Browse maintainer)


On Mon, Jul 7, 2014 at 12:13 AM, Sam Parkinson <sam.parkinson3 at gmail.com>
wrote:

> Hi,
>
> I'm writing a login system for the new ASLO.
>
> I think that it would be cool to have peoples XO Colors attached to their
> account (as their avatar).  It would also be nice to prefill the username
> field with their sugar nick.
>
> I propose a way to access this data through javascript in browse.  It
> generates an object like this:
>
>         window.sugarUser = {nick: "nickname", stroke: "#ABCDEF", fill:
> "#123456"}
>
> (Here is my pull request:
> https://git.sugarlabs.org/browse/mainline/merge_requests/14 )
>
> I'm not sure how that goes down from a privacy standpoint.
>
> Sam
>
> _______________________________________________
> Sugar-devel mailing list
> Sugar-devel at lists.sugarlabs.org
> http://lists.sugarlabs.org/listinfo/sugar-devel
>
>


-- 
Gonzalo Odiard

SugarLabs - Software for children learning
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sugarlabs.org/archive/sugar-devel/attachments/20140707/34fca827/attachment.html>


More information about the Sugar-devel mailing list