From 2732cf40c013c19d58e5a0afde76f8c1c63fb257 Mon Sep 17 00:00:00 2001 From: XhmikosR Date: Fri, 13 Dec 2013 19:13:25 +0200 Subject: [PATCH] Rename folders to the shorter and more standard "img" and "js". --- _includes/footer.html | 2 +- _includes/header.html | 4 ++-- _includes/js/app.coffee | 2 +- _includes/js/app.js | 2 +- css/application.css | 10 +++++----- {images => img}/bg.jpg | Bin {images => img}/blue-dot@2x.png | Bin {images => img}/circular@2x.png | Bin {images => img}/green-dot@2x.png | Bin {images => img}/lightbulb@2x.png | Bin {images => img}/red-dot@2x.png | Bin {images => img}/source@2x.png | Bin {images => img}/three-arrows@2x.png | Bin index.html | 6 +++--- {javascripts => js}/ZeroClipboard.swf | Bin {javascripts => js}/javascript.js | 0 {javascripts => js}/modernizr.js | 0 {javascripts => js}/selectivizr-min.js | 0 18 files changed, 13 insertions(+), 13 deletions(-) rename {images => img}/bg.jpg (100%) rename {images => img}/blue-dot@2x.png (100%) rename {images => img}/circular@2x.png (100%) rename {images => img}/green-dot@2x.png (100%) rename {images => img}/lightbulb@2x.png (100%) rename {images => img}/red-dot@2x.png (100%) rename {images => img}/source@2x.png (100%) rename {images => img}/three-arrows@2x.png (100%) rename {javascripts => js}/ZeroClipboard.swf (100%) rename {javascripts => js}/javascript.js (100%) rename {javascripts => js}/modernizr.js (100%) rename {javascripts => js}/selectivizr-min.js (100%) diff --git a/_includes/footer.html b/_includes/footer.html index 33a40d0..0cbe58b 100644 --- a/_includes/footer.html +++ b/_includes/footer.html @@ -16,7 +16,7 @@ {% if page.layout == "license" or page.class == "license-types" %} - + {% endif %} + diff --git a/_includes/js/app.coffee b/_includes/js/app.coffee index 218cef4..2cad4fa 100644 --- a/_includes/js/app.coffee +++ b/_includes/js/app.coffee @@ -66,7 +66,7 @@ class Choosealicense # Hook up copy to clipboard buttons clip = new ZeroClipboard $(".js-clipboard-button"), - moviePath: "/javascripts/ZeroClipboard.swf" + moviePath: "/js/ZeroClipboard.swf" clip.on "mouseout", @clipboardMouseout clip.on "complete", @clipboardComplete clip diff --git a/_includes/js/app.js b/_includes/js/app.js index aac1b3e..c449e85 100644 --- a/_includes/js/app.js +++ b/_includes/js/app.js @@ -75,7 +75,7 @@ var clip; $(".js-clipboard-button").data("clipboard-prompt", $(".js-clipboard-button").text()); clip = new ZeroClipboard($(".js-clipboard-button"), { - moviePath: "/javascripts/ZeroClipboard.swf" + moviePath: "/js/ZeroClipboard.swf" }); clip.on("mouseout", this.clipboardMouseout); clip.on("complete", this.clipboardComplete); diff --git a/css/application.css b/css/application.css index fa91cd8..c90a694 100644 --- a/css/application.css +++ b/css/application.css @@ -6,7 +6,7 @@ layout: nil {% include css/jquery.qtip.min.css %} body { - background: #f5f1ec url(../images/bg.jpg); + background: #f5f1ec url(../img/bg.jpg); color: #5c5855; font: 14px/1.4 "Helvetica Neue", Helvetica, Arial, sans-serif; } @@ -265,15 +265,15 @@ strong { } .license-required li { - background-image: url(../images/blue-dot@2x.png); + background-image: url(../img/blue-dot@2x.png); } .license-permitted li { - background-image: url(../images/green-dot@2x.png); + background-image: url(../img/green-dot@2x.png); } .license-forbidden li { - background-image: url(../images/red-dot@2x.png); + background-image: url(../img/red-dot@2x.png); } .license-rules-sidebar li { @@ -336,7 +336,7 @@ strong { .sidebar .source a { 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; } diff --git a/images/bg.jpg b/img/bg.jpg similarity index 100% rename from images/bg.jpg rename to img/bg.jpg diff --git a/images/blue-dot@2x.png b/img/blue-dot@2x.png similarity index 100% rename from images/blue-dot@2x.png rename to img/blue-dot@2x.png diff --git a/images/circular@2x.png b/img/circular@2x.png similarity index 100% rename from images/circular@2x.png rename to img/circular@2x.png diff --git a/images/green-dot@2x.png b/img/green-dot@2x.png similarity index 100% rename from images/green-dot@2x.png rename to img/green-dot@2x.png diff --git a/images/lightbulb@2x.png b/img/lightbulb@2x.png similarity index 100% rename from images/lightbulb@2x.png rename to img/lightbulb@2x.png diff --git a/images/red-dot@2x.png b/img/red-dot@2x.png similarity index 100% rename from images/red-dot@2x.png rename to img/red-dot@2x.png diff --git a/images/source@2x.png b/img/source@2x.png similarity index 100% rename from images/source@2x.png rename to img/source@2x.png diff --git a/images/three-arrows@2x.png b/img/three-arrows@2x.png similarity index 100% rename from images/three-arrows@2x.png rename to img/three-arrows@2x.png diff --git a/index.html b/index.html index 6cbcc7d..185eed7 100644 --- a/index.html +++ b/index.html @@ -14,7 +14,7 @@ description: A site to provide non-judgmental guidance on choosing a license for