From 5dbfd89d93e65cbb239e218fd72c42e8cfc381f6 Mon Sep 17 00:00:00 2001 From: Maxwell Salzberg Date: Wed, 28 Mar 2012 13:56:52 -0700 Subject: [PATCH] some more fixes for the show pages --- .../images}/img/glyphicons-halflings-blue.png | Bin .../images}/img/glyphicons-halflings-green.png | Bin .../assets/images}/img/glyphicons-halflings-red.png | Bin .../images}/img/glyphicons-halflings-white.png | Bin .../assets/images}/img/glyphicons-halflings.png | Bin app/assets/stylesheets/new-templates.css.scss | 11 ++++++----- app/assets/templates/post-viewer/feedback.jst.hbs | 2 +- .../templates/post-viewer/interactions.jst.hbs | 2 +- app/assets/templates/post-viewer/nav.jst.hbs | 4 ++-- app/views/layouts/post.html.haml | 2 +- 10 files changed, 11 insertions(+), 10 deletions(-) rename {public => app/assets/images}/img/glyphicons-halflings-blue.png (100%) rename {public => app/assets/images}/img/glyphicons-halflings-green.png (100%) rename {public => app/assets/images}/img/glyphicons-halflings-red.png (100%) rename {public => app/assets/images}/img/glyphicons-halflings-white.png (100%) rename {public => app/assets/images}/img/glyphicons-halflings.png (100%) diff --git a/public/img/glyphicons-halflings-blue.png b/app/assets/images/img/glyphicons-halflings-blue.png similarity index 100% rename from public/img/glyphicons-halflings-blue.png rename to app/assets/images/img/glyphicons-halflings-blue.png diff --git a/public/img/glyphicons-halflings-green.png b/app/assets/images/img/glyphicons-halflings-green.png similarity index 100% rename from public/img/glyphicons-halflings-green.png rename to app/assets/images/img/glyphicons-halflings-green.png diff --git a/public/img/glyphicons-halflings-red.png b/app/assets/images/img/glyphicons-halflings-red.png similarity index 100% rename from public/img/glyphicons-halflings-red.png rename to app/assets/images/img/glyphicons-halflings-red.png diff --git a/public/img/glyphicons-halflings-white.png b/app/assets/images/img/glyphicons-halflings-white.png similarity index 100% rename from public/img/glyphicons-halflings-white.png rename to app/assets/images/img/glyphicons-halflings-white.png diff --git a/public/img/glyphicons-halflings.png b/app/assets/images/img/glyphicons-halflings.png similarity index 100% rename from public/img/glyphicons-halflings.png rename to app/assets/images/img/glyphicons-halflings.png diff --git a/app/assets/stylesheets/new-templates.css.scss b/app/assets/stylesheets/new-templates.css.scss index c8ce38355..f0c0cbd25 100644 --- a/app/assets/stylesheets/new-templates.css.scss +++ b/app/assets/stylesheets/new-templates.css.scss @@ -1,3 +1,4 @@ + /* variables */ $light-grey: #999; @@ -88,7 +89,7 @@ $pane-width: 420px; @mixin dark-hatched-bg() { background-color: #444; - background-image: url("../images/hatched-bg-dark.png"); + background-image: image-url("hatched-bg-dark.png"); } @mixin photo-shadow() { @@ -108,15 +109,15 @@ $pane-width: 420px; /* bootstrap extentions */ .icon-red { - background-image: url(../img/glyphicons-halflings-red.png); + background-image: image-url("img/glyphicons-halflings-red.png"); } .icon-green { - background-image: url(../img/glyphicons-halflings-green.png); + background-image: image-url("img/glyphicons-halflings-green.png"); } .icon-blue { - background-image: url(../img/glyphicons-halflings-blue.png); + background-image: image-url("img/glyphicons-halflings-blue.png"); } /* styles */ @@ -516,7 +517,7 @@ body.idle { border-top: 1px solid #444; text-align: left; - background-image: url("../images/hatched-bg-dark.png"); + background-image: image-url("hatched-bg-dark.png"); } #new-post-comment-container { diff --git a/app/assets/templates/post-viewer/feedback.jst.hbs b/app/assets/templates/post-viewer/feedback.jst.hbs index 18bf51ab9..a6d9a997f 100644 --- a/app/assets/templates/post-viewer/feedback.jst.hbs +++ b/app/assets/templates/post-viewer/feedback.jst.hbs @@ -45,7 +45,7 @@
- + diff --git a/app/assets/templates/post-viewer/interactions.jst.hbs b/app/assets/templates/post-viewer/interactions.jst.hbs index 239f549d8..1b59fa325 100644 --- a/app/assets/templates/post-viewer/interactions.jst.hbs +++ b/app/assets/templates/post-viewer/interactions.jst.hbs @@ -2,7 +2,7 @@