mirror of
https://github.com/github/choosealicense.com
synced 2024-12-22 12:50:24 +01:00
Consolidated annotations into a single file.
The annotations are now described in app.js. This'll make it much easier for us to change these up without having to fix tem up in the entire site.
This commit is contained in:
parent
f305cb8f4a
commit
7823ec9061
@ -1,9 +1,42 @@
|
|||||||
|
var annotations = {
|
||||||
|
permitted: {
|
||||||
|
'commercial-use' : 'This software and derivatives may be used for commercial purposes.',
|
||||||
|
'modifications' : 'This software may be modified.',
|
||||||
|
'distribution' : 'You may distribute this software.',
|
||||||
|
'sublicense' : 'You may grant a sublicense to modify and distribute this software to third parties not included in the license.',
|
||||||
|
'warranty' : 'You may place a warranty on the software.'
|
||||||
|
},
|
||||||
|
|
||||||
|
forbidden: {
|
||||||
|
'no-warranty' : 'Software is released without warranty and the software/license owner cannot be charged for damages.',
|
||||||
|
'trademark-use' : 'You may NOT use the names, logos, or trademarks of contributors.',
|
||||||
|
'no-liability' : 'Software is provided without warranty and the software author/license owner cannot be held liable for damages.',
|
||||||
|
'no-sublicense' : 'You may not grant a sublicense to modify and distribute this software to third parties not included in the license.',
|
||||||
|
},
|
||||||
|
|
||||||
|
required: {
|
||||||
|
'include-copyright' : 'Include the original copyright with the code.',
|
||||||
|
'include-license' : 'Include the full text of the license with the code.',
|
||||||
|
'document-changes' : 'Indicate significant changes made to the code.',
|
||||||
|
'disclose-source' : 'Source code must be made available when distributing the software.',
|
||||||
|
'nonstatic-linkage' : 'The library must be linked in a way that allows it to be replaced with a similar library.'
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
var qtip_position = {
|
var qtip_position = {
|
||||||
my: 'top center',
|
my: 'top center',
|
||||||
at: 'bottom center'
|
at: 'bottom center'
|
||||||
};
|
};
|
||||||
|
|
||||||
$(document).ready(function() {
|
$(document).ready(function() {
|
||||||
|
for (var category in annotations) {
|
||||||
|
var categoryAnnotations = annotations[category];
|
||||||
|
for (var annotation in categoryAnnotations) {
|
||||||
|
$('table.license ul.' + category + ' li.' + annotation).attr('title', categoryAnnotations[annotation]);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
$('table.license ul.required li').qtip({
|
$('table.license ul.required li').qtip({
|
||||||
content: {
|
content: {
|
||||||
text: false,
|
text: false,
|
||||||
|
@ -38,9 +38,9 @@
|
|||||||
<td class='label'>Required</td>
|
<td class='label'>Required</td>
|
||||||
<td>
|
<td>
|
||||||
<ul class='required'>
|
<ul class='required'>
|
||||||
<li title="You must retain the original copyright.">Copyright inclusion</li>
|
<li class="include-copyright">Copyright inclusion</li>
|
||||||
<li title="Must include full text of license in modified software.">License inclusion</li>
|
<li class="include-license">License inclusion</li>
|
||||||
<li title="Must state significant changes made to software.">Include header</li>
|
<li class="document-changes">Include header</li>
|
||||||
</ul>
|
</ul>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
@ -48,11 +48,11 @@
|
|||||||
<td class='label'>Permitted</td>
|
<td class='label'>Permitted</td>
|
||||||
<td>
|
<td>
|
||||||
<ul class='permitted'>
|
<ul class='permitted'>
|
||||||
<li title="This software can be used for commercial purposes in derivative works.">Commercial use</li>
|
<li class="commercial-use">Commercial use</li>
|
||||||
<li title="This software can be modified.">Modification</li>
|
<li class="modifications">Modification</li>
|
||||||
<li title="The software may be distributed.">Distribution</li>
|
<li class="distribution">Distribution</li>
|
||||||
<li title="This software allows you to give partial production/distribution rights to third parties not included in the license.">Sublicensing</li>
|
<li class="sublicense">Sublicensing</li>
|
||||||
<li title="You can place a warranty on the software.">Warranty</li>
|
<li class="warranty">Warranty</li>
|
||||||
</ul>
|
</ul>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
@ -60,8 +60,8 @@
|
|||||||
<td class='label'>Forbidden</td>
|
<td class='label'>Forbidden</td>
|
||||||
<td>
|
<td>
|
||||||
<ul class='forbidden'>
|
<ul class='forbidden'>
|
||||||
<li title="Software is released without warranty and the software/license owner cannot be charged for damages.">Liability</li>
|
<li class="no-warranty">Liability</li>
|
||||||
<li title="You may NOT use contributors' names, logos or trademarks.">Use Trademark</li>
|
<li class="trademark-use">Use Trademark</li>
|
||||||
</ul>
|
</ul>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
@ -80,8 +80,8 @@
|
|||||||
<td class='label'>Required</td>
|
<td class='label'>Required</td>
|
||||||
<td>
|
<td>
|
||||||
<ul class='required'>
|
<ul class='required'>
|
||||||
<li>Disclose source</li>
|
<li class="disclose-source">Disclose source</li>
|
||||||
<li>License inclusion</li>
|
<li class="include-license">License inclusion</li>
|
||||||
</ul>
|
</ul>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
@ -89,11 +89,11 @@
|
|||||||
<td class='label'>Permitted</td>
|
<td class='label'>Permitted</td>
|
||||||
<td>
|
<td>
|
||||||
<ul class='permitted'>
|
<ul class='permitted'>
|
||||||
<li>Commercial use</li>
|
<li class="commercial-use">Commercial use</li>
|
||||||
<li>Modification</li>
|
<li class="modifications">Modification</li>
|
||||||
<li>Distribution</li>
|
<li class="distribution">Distribution</li>
|
||||||
<li>Sublicensing</li>
|
<li class="sublicense">Sublicensing</li>
|
||||||
<li>Warranty</li>
|
<li class="warranty">Warranty</li>
|
||||||
</ul>
|
</ul>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
@ -101,8 +101,8 @@
|
|||||||
<td class='label'>Forbidden</td>
|
<td class='label'>Forbidden</td>
|
||||||
<td>
|
<td>
|
||||||
<ul class='forbidden'>
|
<ul class='forbidden'>
|
||||||
<li>Liability</li>
|
<li class="no-liability">Liability</li>
|
||||||
<li>Use Trademark</li>
|
<li class="trademark-use">Use Trademark</li>
|
||||||
</ul>
|
</ul>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
@ -121,9 +121,9 @@
|
|||||||
<td class='label'>Required</td>
|
<td class='label'>Required</td>
|
||||||
<td>
|
<td>
|
||||||
<ul class='required'>
|
<ul class='required'>
|
||||||
<li>Disclose source</li>
|
<li class="disclose-source">Disclose source</li>
|
||||||
<li>Copyright inclusion</li>
|
<li class="include-copyright">Copyright inclusion</li>
|
||||||
<li>License inclusion</li>
|
<li class="include-license">License inclusion</li>
|
||||||
</ul>
|
</ul>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
@ -131,11 +131,11 @@
|
|||||||
<td class='label'>Permitted</td>
|
<td class='label'>Permitted</td>
|
||||||
<td>
|
<td>
|
||||||
<ul class='permitted'>
|
<ul class='permitted'>
|
||||||
<li>Commercial use</li>
|
<li class="commercial-use">Commercial use</li>
|
||||||
<li>Modification</li>
|
<li class="modifications">Modification</li>
|
||||||
<li>Distribution</li>
|
<li class="distribution">Distribution</li>
|
||||||
<li>Sublicensing</li>
|
<li class="sublicense">Sublicensing</li>
|
||||||
<li>Warranty</li>
|
<li class="warranty">Warranty</li>
|
||||||
</ul>
|
</ul>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
@ -143,8 +143,8 @@
|
|||||||
<td class='label'>Forbidden</td>
|
<td class='label'>Forbidden</td>
|
||||||
<td>
|
<td>
|
||||||
<ul class='forbidden'>
|
<ul class='forbidden'>
|
||||||
<li>Liability</li>
|
<li class="no-liability">Liability</li>
|
||||||
<li>Use Trademark</li>
|
<li class="trademark-use">Use Trademark</li>
|
||||||
</ul>
|
</ul>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
@ -154,9 +154,11 @@
|
|||||||
<a href="/about">About</a>
|
<a href="/about">About</a>
|
||||||
<a href="#">Terms of Service</a>
|
<a href="#">Terms of Service</a>
|
||||||
</nav>
|
</nav>
|
||||||
<p>Please consult a legal expert before adopting a software license for your project.<br>
|
<p>
|
||||||
|
Please consult a legal expert before adopting a software license for your project.<br>
|
||||||
This site is licensed under the <a href="http://creativecommons.org/licenses/by/3.0/">
|
This site is licensed under the <a href="http://creativecommons.org/licenses/by/3.0/">
|
||||||
Creative Commons Attribution 3.0 Unported License</a>.
|
Creative Commons Attribution 3.0 Unported License</a>.
|
||||||
|
</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</body>
|
</body>
|
||||||
|
@ -37,7 +37,7 @@
|
|||||||
<td class='label'>Required</td>
|
<td class='label'>Required</td>
|
||||||
<td>
|
<td>
|
||||||
<ul class='required'>
|
<ul class='required'>
|
||||||
<li>Copyright inclusion</li>
|
<li class="include-copyright">Copyright inclusion</li>
|
||||||
</ul>
|
</ul>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
@ -45,10 +45,10 @@
|
|||||||
<td class='label'>Permitted</td>
|
<td class='label'>Permitted</td>
|
||||||
<td>
|
<td>
|
||||||
<ul class='permitted'>
|
<ul class='permitted'>
|
||||||
<li>Commercial use</li>
|
<li class="commercial-use">Commercial use</li>
|
||||||
<li>Modification</li>
|
<li class="modifications">Modification</li>
|
||||||
<li>Distribution</li>
|
<li class="distribution">Distribution</li>
|
||||||
<li>Sublicensing</li>
|
<li class="sublicense">Sublicensing</li>
|
||||||
</ul>
|
</ul>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
@ -56,7 +56,7 @@
|
|||||||
<td class='label'>Forbidden</td>
|
<td class='label'>Forbidden</td>
|
||||||
<td>
|
<td>
|
||||||
<ul class='forbidden'>
|
<ul class='forbidden'>
|
||||||
<li>Liability</li>
|
<li class="no-liability">Liability</li>
|
||||||
</ul>
|
</ul>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
@ -75,7 +75,7 @@
|
|||||||
<td class='label'>Required</td>
|
<td class='label'>Required</td>
|
||||||
<td>
|
<td>
|
||||||
<ul class='required'>
|
<ul class='required'>
|
||||||
<li>Copyright inclusion</li>
|
<li class="include-copyright">Copyright inclusion</li>
|
||||||
</ul>
|
</ul>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
@ -83,11 +83,11 @@
|
|||||||
<td class='label'>Permitted</td>
|
<td class='label'>Permitted</td>
|
||||||
<td>
|
<td>
|
||||||
<ul class='permitted'>
|
<ul class='permitted'>
|
||||||
<li>Commercial use</li>
|
<li class="commercial-use">Commercial use</li>
|
||||||
<li>Modification</li>
|
<li class="modifications">Modification</li>
|
||||||
<li>Distribution</li>
|
<li class="distribution">Distribution</li>
|
||||||
<li>Sublicensing</li>
|
<li class="sublicense">Sublicensing</li>
|
||||||
<li>Warranty</li>
|
<li class="warranty">Warranty</li>
|
||||||
</ul>
|
</ul>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
@ -95,7 +95,7 @@
|
|||||||
<td class='label'>Forbidden</td>
|
<td class='label'>Forbidden</td>
|
||||||
<td>
|
<td>
|
||||||
<ul class='forbidden'>
|
<ul class='forbidden'>
|
||||||
<li>Liability</li>
|
<li class="no-liability">Liability</li>
|
||||||
<li>Use Trademark (3-clause)</li>
|
<li>Use Trademark (3-clause)</li>
|
||||||
</ul>
|
</ul>
|
||||||
</td>
|
</td>
|
||||||
@ -114,7 +114,7 @@
|
|||||||
<td class='label'>Required</td>
|
<td class='label'>Required</td>
|
||||||
<td>
|
<td>
|
||||||
<ul class='required'>
|
<ul class='required'>
|
||||||
<li>Copyright inclusion</li>
|
<li class="include-copyright">Copyright inclusion</li>
|
||||||
</ul>
|
</ul>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
@ -122,9 +122,9 @@
|
|||||||
<td class='label'>Permitted</td>
|
<td class='label'>Permitted</td>
|
||||||
<td>
|
<td>
|
||||||
<ul class='permitted'>
|
<ul class='permitted'>
|
||||||
<li>Commercial use</li>
|
<li class="commercial-use">Commercial use</li>
|
||||||
<li>Modification</li>
|
<li class="modifications">Modification</li>
|
||||||
<li>Distribution</li>
|
<li class="distribution">Distribution</li>
|
||||||
</ul>
|
</ul>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
@ -132,9 +132,9 @@
|
|||||||
<td class='label'>Forbidden</td>
|
<td class='label'>Forbidden</td>
|
||||||
<td>
|
<td>
|
||||||
<ul class='forbidden'>
|
<ul class='forbidden'>
|
||||||
<li>Liability</li>
|
<li class="no-liability">Liability</li>
|
||||||
<li>Sublicensing</li>
|
<li class="no-sublicense">Sublicensing</li>
|
||||||
<li>Use Trademark</li>
|
<li class="trademark-use">Use Trademark</li>
|
||||||
</ul>
|
</ul>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
@ -148,6 +148,7 @@
|
|||||||
<p>Please consult a legal expert before adopting a software license for your project.<br>
|
<p>Please consult a legal expert before adopting a software license for your project.<br>
|
||||||
This site is licensed under the <a href="http://creativecommons.org/licenses/by/3.0/">
|
This site is licensed under the <a href="http://creativecommons.org/licenses/by/3.0/">
|
||||||
Creative Commons Attribution 3.0 Unported License</a>.
|
Creative Commons Attribution 3.0 Unported License</a>.
|
||||||
|
</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</body>
|
</body>
|
||||||
|
@ -39,10 +39,9 @@
|
|||||||
<td class='label'>Required</td>
|
<td class='label'>Required</td>
|
||||||
<td>
|
<td>
|
||||||
<ul class='required'>
|
<ul class='required'>
|
||||||
<li>Copyright inclusion</li>
|
<li class="include-copyright">Copyright inclusion</li>
|
||||||
<li>State changes</li>
|
<li class="document-changes">State changes</li>
|
||||||
<li>Disclose Source</li>
|
<li class="disclose-source">Disclose Source</li>
|
||||||
<li>Warranty</li>
|
|
||||||
</ul>
|
</ul>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
@ -50,9 +49,10 @@
|
|||||||
<td class='label'>Permitted</td>
|
<td class='label'>Permitted</td>
|
||||||
<td>
|
<td>
|
||||||
<ul class='permitted'>
|
<ul class='permitted'>
|
||||||
<li>Commercial use</li>
|
<li class="commercial-use">Commercial use</li>
|
||||||
<li>Modification</li>
|
<li class="modifications">Modification</li>
|
||||||
<li>Distribution</li>
|
<li class="distribution">Distribution</li>
|
||||||
|
<li class="warranty">Warranty</li>
|
||||||
</ul>
|
</ul>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
@ -60,8 +60,8 @@
|
|||||||
<td class='label'>Forbidden</td>
|
<td class='label'>Forbidden</td>
|
||||||
<td>
|
<td>
|
||||||
<ul class='forbidden'>
|
<ul class='forbidden'>
|
||||||
<li>Liability</li>
|
<li class="no-liability">Liability</li>
|
||||||
<li>Sublicensing</li>
|
<li class="no-sublicense">Sublicensing</li>
|
||||||
</ul>
|
</ul>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
@ -81,10 +81,9 @@
|
|||||||
<td class='label'>Required</td>
|
<td class='label'>Required</td>
|
||||||
<td>
|
<td>
|
||||||
<ul class='required'>
|
<ul class='required'>
|
||||||
<li>Copyright inclusion</li>
|
<li class="include-copyright">Copyright inclusion</li>
|
||||||
<li>State changes</li>
|
<li class="document-changes">State changes</li>
|
||||||
<li>Disclose Source</li>
|
<li class="disclose-source">Disclose Source</li>
|
||||||
<li>Warranty</li>
|
|
||||||
</ul>
|
</ul>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
@ -92,9 +91,10 @@
|
|||||||
<td class='label'>Permitted</td>
|
<td class='label'>Permitted</td>
|
||||||
<td>
|
<td>
|
||||||
<ul class='permitted'>
|
<ul class='permitted'>
|
||||||
<li>Commercial use</li>
|
<li class="commercial-use">Commercial use</li>
|
||||||
<li>Modification</li>
|
<li class="modifications">Modification</li>
|
||||||
<li>Distribution</li>
|
<li class="distribution">Distribution</li>
|
||||||
|
<li class="warranty">Warranty</li>
|
||||||
</ul>
|
</ul>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
@ -102,8 +102,8 @@
|
|||||||
<td class='label'>Forbidden</td>
|
<td class='label'>Forbidden</td>
|
||||||
<td>
|
<td>
|
||||||
<ul class='forbidden'>
|
<ul class='forbidden'>
|
||||||
<li>Liability</li>
|
<li class="no-liability">Liability</li>
|
||||||
<li>Sublicensing</li>
|
<li class="no-sublicense">Sublicensing</li>
|
||||||
</ul>
|
</ul>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
@ -123,8 +123,8 @@
|
|||||||
<td class='label'>Required</td>
|
<td class='label'>Required</td>
|
||||||
<td>
|
<td>
|
||||||
<ul class='required'>
|
<ul class='required'>
|
||||||
<li>Copyright inclusion</li>
|
<li class="include-copyright">Copyright inclusion</li>
|
||||||
<li>Nonstatic linkage</li>
|
<li class="nonstatic-linkage">Nonstatic linkage</li>
|
||||||
</ul>
|
</ul>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
@ -132,10 +132,10 @@
|
|||||||
<td class='label'>Permitted</td>
|
<td class='label'>Permitted</td>
|
||||||
<td>
|
<td>
|
||||||
<ul class='permitted'>
|
<ul class='permitted'>
|
||||||
<li>Commercial use</li>
|
<li class="commercial-use">Commercial use</li>
|
||||||
<li>Modification</li>
|
<li class="modifications">Modification</li>
|
||||||
<li>Distribution</li>
|
<li class="distribution">Distribution</li>
|
||||||
<li>Sublicense</li>
|
<li class="sublicense">Sublicensing</li>
|
||||||
</ul>
|
</ul>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
@ -143,7 +143,7 @@
|
|||||||
<td class='label'>Forbidden</td>
|
<td class='label'>Forbidden</td>
|
||||||
<td>
|
<td>
|
||||||
<ul class='forbidden'>
|
<ul class='forbidden'>
|
||||||
<li>Liability</li>
|
<li class="no-liability">Liability</li>
|
||||||
</ul>
|
</ul>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
@ -164,8 +164,8 @@
|
|||||||
<td class='label'>Required</td>
|
<td class='label'>Required</td>
|
||||||
<td>
|
<td>
|
||||||
<ul class='required'>
|
<ul class='required'>
|
||||||
<li>Copyright inclusion</li>
|
<li class="include-copyright">Copyright inclusion</li>
|
||||||
<li>Nonstatic linkage</li>
|
<li class="nonstatic-linkage">Nonstatic linkage</li>
|
||||||
</ul>
|
</ul>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
@ -173,10 +173,10 @@
|
|||||||
<td class='label'>Permitted</td>
|
<td class='label'>Permitted</td>
|
||||||
<td>
|
<td>
|
||||||
<ul class='permitted'>
|
<ul class='permitted'>
|
||||||
<li>Commercial use</li>
|
<li class="commercial-use">Commercial use</li>
|
||||||
<li>Modification</li>
|
<li class="modifications">Modification</li>
|
||||||
<li>Distribution</li>
|
<li class="distribution">Distribution</li>
|
||||||
<li>Sublicense</li>
|
<li class="sublicense">Sublicensing</li>
|
||||||
</ul>
|
</ul>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
@ -184,11 +184,22 @@
|
|||||||
<td class='label'>Forbidden</td>
|
<td class='label'>Forbidden</td>
|
||||||
<td>
|
<td>
|
||||||
<ul class='forbidden'>
|
<ul class='forbidden'>
|
||||||
<li>Liability</li>
|
<li class="no-liability">Liability</li>
|
||||||
</ul>
|
</ul>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
|
<div id="footer" class="cf">
|
||||||
|
<nav>
|
||||||
|
<a href="/about">About</a>
|
||||||
|
<a href="#">Terms of Service</a>
|
||||||
|
</nav>
|
||||||
|
<p>
|
||||||
|
Please consult a legal expert before adopting a software license for your project.<br>
|
||||||
|
This site is licensed under the <a href="http://creativecommons.org/licenses/by/3.0/">
|
||||||
|
Creative Commons Attribution 3.0 Unported License</a>.
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user