1
0
mirror of https://github.com/github/choosealicense.com synced 2024-12-22 12:50:24 +01:00

Merge pull request #154 from XhmikosR/rename-folders

Rename folders to the shorter and more standard "img" and "js".
This commit is contained in:
Phil Haack 2013-12-14 10:00:38 -08:00
commit 6c4adc4f50
18 changed files with 13 additions and 13 deletions

View File

@ -16,7 +16,7 @@
</div> <!-- /container --> </div> <!-- /container -->
{% if page.layout == "license" or page.class == "license-types" %} {% if page.layout == "license" or page.class == "license-types" %}
<script src="/javascripts/javascript.js"></script> <script src="/js/javascript.js"></script>
{% endif %} {% endif %}
<script> <script>

View File

@ -11,9 +11,9 @@
<link href="/favicon.ico" rel="shortcut icon" type="image/x-icon"> <link href="/favicon.ico" rel="shortcut icon" type="image/x-icon">
<link rel="stylesheet" href="//fonts.googleapis.com/css?family=Chivo:900"> <link rel="stylesheet" href="//fonts.googleapis.com/css?family=Chivo:900">
<link rel="stylesheet" href="/css/application.css" media="screen"> <link rel="stylesheet" href="/css/application.css" media="screen">
<script src="/javascripts/modernizr.js"></script> <script src="/js/modernizr.js"></script>
<!--[if (gte IE 6)&(lte IE 8)]> <!--[if (gte IE 6)&(lte IE 8)]>
<script src="/javascripts/selectivizr-min.js"></script> <script src="/js/selectivizr-min.js"></script>
<![endif]--> <![endif]-->
</head> </head>

View File

@ -66,7 +66,7 @@ class Choosealicense
# Hook up copy to clipboard buttons # Hook up copy to clipboard buttons
clip = new ZeroClipboard $(".js-clipboard-button"), clip = new ZeroClipboard $(".js-clipboard-button"),
moviePath: "/javascripts/ZeroClipboard.swf" moviePath: "/js/ZeroClipboard.swf"
clip.on "mouseout", @clipboardMouseout clip.on "mouseout", @clipboardMouseout
clip.on "complete", @clipboardComplete clip.on "complete", @clipboardComplete
clip clip

View File

@ -75,7 +75,7 @@
var clip; var clip;
$(".js-clipboard-button").data("clipboard-prompt", $(".js-clipboard-button").text()); $(".js-clipboard-button").data("clipboard-prompt", $(".js-clipboard-button").text());
clip = new ZeroClipboard($(".js-clipboard-button"), { clip = new ZeroClipboard($(".js-clipboard-button"), {
moviePath: "/javascripts/ZeroClipboard.swf" moviePath: "/js/ZeroClipboard.swf"
}); });
clip.on("mouseout", this.clipboardMouseout); clip.on("mouseout", this.clipboardMouseout);
clip.on("complete", this.clipboardComplete); clip.on("complete", this.clipboardComplete);

View File

@ -6,7 +6,7 @@ layout: nil
{% include css/jquery.qtip.min.css %} {% include css/jquery.qtip.min.css %}
body { body {
background: #f5f1ec url(../images/bg.jpg); background: #f5f1ec url(../img/bg.jpg);
color: #5c5855; color: #5c5855;
font: 14px/1.4 "Helvetica Neue", Helvetica, Arial, sans-serif; font: 14px/1.4 "Helvetica Neue", Helvetica, Arial, sans-serif;
} }
@ -265,15 +265,15 @@ strong {
} }
.license-required li { .license-required li {
background-image: url(../images/blue-dot@2x.png); background-image: url(../img/blue-dot@2x.png);
} }
.license-permitted li { .license-permitted li {
background-image: url(../images/green-dot@2x.png); background-image: url(../img/green-dot@2x.png);
} }
.license-forbidden li { .license-forbidden li {
background-image: url(../images/red-dot@2x.png); background-image: url(../img/red-dot@2x.png);
} }
.license-rules-sidebar li { .license-rules-sidebar li {
@ -336,7 +336,7 @@ strong {
.sidebar .source a { .sidebar .source a {
padding-left: 20px; padding-left: 20px;
background: transparent url(../images/source@2x.png) 0 1px no-repeat; background: transparent url(../img/source@2x.png) 0 1px no-repeat;
background-size: 16px 12px; background-size: 16px 12px;
} }

View File

Before

Width:  |  Height:  |  Size: 9.1 KiB

After

Width:  |  Height:  |  Size: 9.1 KiB

View File

Before

Width:  |  Height:  |  Size: 272 B

After

Width:  |  Height:  |  Size: 272 B

View File

Before

Width:  |  Height:  |  Size: 1.2 KiB

After

Width:  |  Height:  |  Size: 1.2 KiB

View File

Before

Width:  |  Height:  |  Size: 276 B

After

Width:  |  Height:  |  Size: 276 B

View File

Before

Width:  |  Height:  |  Size: 1.9 KiB

After

Width:  |  Height:  |  Size: 1.9 KiB

View File

Before

Width:  |  Height:  |  Size: 275 B

After

Width:  |  Height:  |  Size: 275 B

View File

Before

Width:  |  Height:  |  Size: 357 B

After

Width:  |  Height:  |  Size: 357 B

View File

Before

Width:  |  Height:  |  Size: 1.5 KiB

After

Width:  |  Height:  |  Size: 1.5 KiB

View File

@ -14,7 +14,7 @@ description: A site to provide non-judgmental guidance on choosing a license for
<ul class="triptych situations clearfix"> <ul class="triptych situations clearfix">
<li class="whatever"> <li class="whatever">
<a href="licenses/mit"> <a href="licenses/mit">
<img src="images/three-arrows@2x.png" alt="three arrows" width="72" height="57"> <img src="img/three-arrows@2x.png" alt="three arrows" width="72" height="57">
<h3>I want it simple and permissive.</h3> <h3>I want it simple and permissive.</h3>
</a> </a>
<p> <p>
@ -26,7 +26,7 @@ description: A site to provide non-judgmental guidance on choosing a license for
</li> </li>
<li class="patents"> <li class="patents">
<a href="licenses/apache"> <a href="licenses/apache">
<img src="images/lightbulb@2x.png" alt="light bulb" width="43" height="72"> <img src="img/lightbulb@2x.png" alt="light bulb" width="43" height="72">
<h3>Im concerned about patents.</h3> <h3>Im concerned about patents.</h3>
</a> </a>
<p> <p>
@ -38,7 +38,7 @@ description: A site to provide non-judgmental guidance on choosing a license for
</li> </li>
<li class="copyleft"> <li class="copyleft">
<a href="licenses/gpl-v2"> <a href="licenses/gpl-v2">
<img src="images/circular@2x.png" alt="circular arrows" width="72" height="69"> <img src="img/circular@2x.png" alt="circular arrows" width="72" height="69">
<h3>I care about sharing improvements.</h3> <h3>I care about sharing improvements.</h3>
</a> </a>
<p> <p>