INCF / biostar-central

DEPRECATED, please go to upstream on
http://github.com/ialbert/biostar-central
Other
4 stars 4 forks source link

Add INCF boilerplate #37

Closed brainstorm closed 10 years ago

brainstorm commented 10 years ago

Setup one of those badges, preferably lower right, so that it does not affect the overall styling.

http://www.incf.org/images/ribbons/ribbon-upper-left/view http://www.incf.org/images/ribbons/ribbon-upper-right/view http://www.incf.org/images/ribbons/ribbon-lower-left/view http://www.incf.org/images/ribbons/ribbon-lower-right/view

brainstorm commented 10 years ago

I just noticed that there is a third-party themes folder there, so it should be easy to put those there instead of worrying about gitignores when pullrequesting:

https://github.com/ialbert/biostar-central/tree/master/biostar/static/themes

satra commented 10 years ago

also, along these lines, many of the links on top of the page are bioinformatics related that may throw of some folks.

nicholsn commented 10 years ago

@satra, funny - I was literally just about to raise an issue about that! :+1:

what would be some better tags? Anyway they could by dynamically generate - like the top 4 tags or something?

puntonim commented 10 years ago

Yes I noticed, it's on my todo list!

ialbert commented 10 years ago

The django settings file has an attribute named CATEGORIES that is expected to be populated with a list of strings.

These words will show up in the top navigation bar. An extra "ALL" category is added automatically with a link that leads to all tags.

A few of the words have special meaning: "Latest" and "Open" all others will be interpreted as tag names.

Each word will take 1/12 of the width (on larger screens) so 11 categories will fill the top bar, 23 categories will make two rows worth of navigation etc.

Due to width limitations these tags should fit within the allotted space and that is a minimum of 95px so they should be reasonably short words. On small screens the navigation bar will be collapsed into a dropdown menu.

On Thu, Jun 19, 2014 at 9:37 AM, nimiq notifications@github.com wrote:

Yes I noticed, it's on my todo list!

— Reply to this email directly or view it on GitHub https://github.com/INCF/biostar-central/issues/37#issuecomment-46560764.

Istvan Albert Associate Professor, Bioinformatics Pennsylvania State University http://www.personal.psu.edu/iua1/

brainstorm commented 10 years ago

Regarding the original aim of this issue, I just added ribbon support upstream on PR https://github.com/ialbert/biostar-central/pull/252.

Needs to be customized for INCF styling (i.e, getting the logo in the ribbon with some CSS magic?):

http://www.incf.org/images/ribbons/ribbon-lower-left/view

@nimiq, let me know when you've the deployment ironed out (dokku or gitreceive).

puntonim commented 10 years ago

Ok, great!

brainstorm commented 10 years ago

Solved upstream on https://github.com/ialbert/biostar-central/pull/252, waiting to be merged by @ialbert.

Thanks @nimiq for your help, as always :+1:

ialbert commented 10 years ago

Ok will do but maybe not right away - lectures are in full force and take most of my time.

maybe in a week or so

On 27 October 2014 13:26, Roman Valls Guimerà notifications@github.com wrote:

Solved upstream on ialbert#252 https://github.com/ialbert/biostar-central/pull/252, waiting to be merged by @ialbert https://github.com/ialbert.

Thanks @nimiq https://github.com/nimiq for your help, as always [image: :+1:]

— Reply to this email directly or view it on GitHub https://github.com/INCF/biostar-central/issues/37#issuecomment-60632828.