Skip to content

License family tabs - #129

Merged
haacked merged 43 commits into
haacked/29-collapse-license-familiesfrom
license-family-tabs
Nov 19, 2013
Merged

haacked merged 43 commits into
haacked/29-collapse-license-familiesfrom
license-family-tabs

Conversation

@jasonlong

Copy link
Copy Markdown
Contributor

@haacked Here is a pull based on your branch for #111. It still needs some wiring up of things for the variation-specific rules tables. Right now, I've got it dummied up to render the GPL tabs for every license. Hopefully the pattern is clear enough that you can drop in the rest of the logic.

Also, note that I created a new partial for the license overview sections (featured vs. other) since that code was identical.

Obligatory screenshot:
screen shot 2013-11-06 at 11 23 39 am

Let me know if I can help with anything else on this.

weakish and others added 30 commits July 26, 2013 17:46
- make notations of /no-license.md and licenses/no-license.html
  more coherent
- clarify only publishing code on a *public* repo on github grants
  others the right to view and fork your code in
  licenses/no-license.html
make notations of no-license more coherent
Artistic license is not copyleft
There is no license that prohibits private use.
Also use the minified css.
* remove type for css and js since they're the defaults
* remove chrome=1 from X-UA-Compatible since it's become obsolete
* use the protocol relative URL for the google font
… the least be called 'Public Domain Dedication', and the permalink should be called 'unlicense' to distinguish it from other methods of making a public domain dedication
@haacked

haacked commented Nov 18, 2013

Copy link
Copy Markdown
Contributor

Ok, I started looking at this and implementing it won't be straightforward. There doesn't seem to be any way to group pages in Jekyll. So what this means is I'll probably have to use data files. That's not terrible, but it does mean that each license file is no longer self-contained. Every license would need a corresponding entry in this _data file.

An alternative option is to abuse categories. For example, each of the GPL licenses would have the same category GPL. Then when I'm iterating the GPL license, I could simply iterate through all pages with the same category. That might be easier and keep pages self-contained. I'll go down that route unless I hear it's a very bad idea otherwise.

@haacked

haacked commented Nov 18, 2013

Copy link
Copy Markdown
Contributor

Ok, This categories approach is actually working nicely. Will have a PR soon.

@haacked

haacked commented Nov 18, 2013

Copy link
Copy Markdown
Contributor

Ok folks. Here's how it looks with our current site data. What do you guys think? Gimme dat squirrel.

choosealicense com

@haacked

haacked commented Nov 18, 2013

Copy link
Copy Markdown
Contributor

@jasonlong I wonder if there's too much gap between the description and the details. Thoughts?

@jasonlong

Copy link
Copy Markdown
Contributor Author

Yeah, we could make the description side a little wider.

Also, I was thinking we'd only show the pill nav when there was more than one license. Do-able?

@haacked

haacked commented Nov 19, 2013

Copy link
Copy Markdown
Contributor

Also, I was thinking we'd only show the pill nav when there was more than one license. Do-able?

I was going to ask you about that. :) I think that's doable.

@haacked

haacked commented Nov 19, 2013

Copy link
Copy Markdown
Contributor

@jasonlong Want to spruce this up?

choosealicense com2

@ghost

ghost commented Nov 19, 2013

Copy link
Copy Markdown

This PR is a major improvement. 👍 ✨

MIT should be uppercase. Also, with these changes, I think it shows the split between featured and other is arbitrary. Maybe only the order is enough for the effect you want here? (namely push them up in front of the reader, to choose from)

@haacked

haacked commented Nov 19, 2013

Copy link
Copy Markdown
Contributor

I reduced the spacing between description and bullets. I just floated the bullets left and added 20px padding.

@jasonlong if that looks good to you, I'll merge this.

choosealicense com3

@haacked

haacked commented Nov 19, 2013

Copy link
Copy Markdown
Contributor

Ok, the last commit fixes an alignment issue. If I don't hear anything to the contrary soon, I'm going to merge this. :)

choose-a-license-alignment

@benbalter

Copy link
Copy Markdown
Contributor

:shipit:

@jasonlong

Copy link
Copy Markdown
Contributor Author

@haacked Sorry for the delay, I've been mini-Summiting. But looks good to me 👍

@haacked

haacked commented Nov 19, 2013

Copy link
Copy Markdown
Contributor

@jasonlong no worries! I figured. Thanks for chiming in. You too @benbalter.

haacked added a commit that referenced this pull request Nov 19, 2013
@haacked
haacked merged commit bd0b190 into haacked/29-collapse-license-families Nov 19, 2013
@haacked
haacked deleted the license-family-tabs branch November 19, 2013 18:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

10 participants