Skip to content
This repository was archived by the owner on Oct 2, 2020. It is now read-only.
This repository was archived by the owner on Oct 2, 2020. It is now read-only.

Оправяне на показването кой е в лаба с новата фауна #49

@ignisf

Description

@ignisf

Да се напише малко js, който да яде 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

CSS:
https://github.com/initLab/fauna/blob/1.x/app/assets/stylesheets/embeddable.css.scss

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions