Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ui] Add link icon #5

Open
vrachieru opened this issue Feb 17, 2016 · 1 comment
Open

[ui] Add link icon #5

vrachieru opened this issue Feb 17, 2016 · 1 comment

Comments

@vrachieru
Copy link
Member

Add an icon on the left side of each link describing the type of resource.
For example:

  • a link from the github.[com|io|etc] domain would have the github icon
  • a link that pints dirrectly to a .[jpg|png|gif|etc] should have an image icon
@chalx
Copy link
Member

chalx commented Feb 17, 2016

@vrachieru to do this we need to modify the python script and add some more data to json. Or we can create another json file which will contain some associations:

{
  "(.*)github(.*)": "http://tech.zumba.com/img/github.png",
  "(.*).pdf$": "a pdf icon"
}

And so on

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants