Open ignisf opened 9 years ago
Да се напише малко js, който да яде json от https://fauna.initlab.org/users/present.json в следния формат:
https://fauna.initlab.org/users/present.json
[ { "name":"Emil Georgiev", "url":"http://nelson-haha.com", "twitter":"svinqvmraka", "privacy":false, "picture":"https://secure.gravatar.com/avatar/1876d85e9a04d9f8ee416e9cb8613225?s=128\u0026d=retro" }, { "name":"Vladimir Vassilev", "url":"http://shtrak.eu/vloo", "twitter":"disastacre", "privacy":false, "picture":"https://secure.gravatar.com/avatar/87657399410254c7e4e298b0bbc8533f?s=128\u0026d=retro" }, { "name":"Александър Василев", "url":"", "twitter":null, "privacy":false, "picture":"https://secure.gravatar.com/avatar/4b3c6918f38fffe6899fd59262b06d7c?s=128\u0026d=retro" } ]
И да изписва кой е онлайн в лабта.
Markup: https://github.com/initLab/fauna/blob/1.x/app/views/users/present_embeddable.html.erb https://github.com/initLab/fauna/blob/1.x/app/views/users/_user.html.erb
https://github.com/initLab/fauna/blob/1.x/app/views/users/present_embeddable.html.erb
https://github.com/initLab/fauna/blob/1.x/app/views/users/_user.html.erb
CSS: https://github.com/initLab/fauna/blob/1.x/app/assets/stylesheets/embeddable.css.scss
https://github.com/initLab/fauna/blob/1.x/app/assets/stylesheets/embeddable.css.scss
Да се напише малко js, който да яде json от
https://fauna.initlab.org/users/present.json
в следния формат:И да изписва кой е онлайн в лабта.
Markup:
https://github.com/initLab/fauna/blob/1.x/app/views/users/present_embeddable.html.erb
https://github.com/initLab/fauna/blob/1.x/app/views/users/_user.html.erb
CSS:
https://github.com/initLab/fauna/blob/1.x/app/assets/stylesheets/embeddable.css.scss