Move branding assets to /images/branding for asset pipeline, update template files to point to new branding directory

This commit is contained in:
Sean Tilley 2012-03-29 17:18:27 -05:00
parent 52c9d76a86
commit 19bf699b9f
21 changed files with 8 additions and 8 deletions

View file

Before

Width:  |  Height:  |  Size: 17 KiB

After

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.9 KiB

View file

Before

Width:  |  Height:  |  Size: 36 KiB

After

Width:  |  Height:  |  Size: 36 KiB

View file

Before

Width:  |  Height:  |  Size: 53 KiB

After

Width:  |  Height:  |  Size: 53 KiB

View file

Before

Width:  |  Height:  |  Size: 3.8 KiB

After

Width:  |  Height:  |  Size: 3.8 KiB

View file

Before

Width:  |  Height:  |  Size: 3.5 KiB

After

Width:  |  Height:  |  Size: 3.5 KiB

View file

Before

Width:  |  Height:  |  Size: 1.7 KiB

After

Width:  |  Height:  |  Size: 1.7 KiB

View file

Before

Width:  |  Height:  |  Size: 5.6 KiB

After

Width:  |  Height:  |  Size: 5.6 KiB

View file

Before

Width:  |  Height:  |  Size: 2.7 KiB

After

Width:  |  Height:  |  Size: 2.7 KiB

View file

Before

Width:  |  Height:  |  Size: 1.4 KiB

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 MiB

View file

Before

Width:  |  Height:  |  Size: 801 B

After

Width:  |  Height:  |  Size: 801 B

View file

Before

Width:  |  Height:  |  Size: 3.3 KiB

After

Width:  |  Height:  |  Size: 3.3 KiB

View file

Before

Width:  |  Height:  |  Size: 1,014 B

After

Width:  |  Height:  |  Size: 1,014 B

View file

@ -165,7 +165,7 @@ header
:background :background
:color rgb(40,35,35) :color rgb(40,35,35)
:image image-url('header-bg.png') :image image-url('branding/header-bg.png')
:z-index 1001 :z-index 1001
:padding 6px 0 :padding 6px 0
@ -1513,7 +1513,7 @@ ul#landing_nav
#diaspora_description #diaspora_description
:background :background
:image image-url('ball.png') :image image-url('branding/ball.png')
:repeat no-repeat :repeat no-repeat
:position top center :position top center

View file

@ -1,7 +1,7 @@
<div class="container" style="position:relative;"> <div class="container" style="position:relative;">
<a href="/stream"> <a href="/stream">
<img alt="Logo_small" class="diaspora_header_logo" height="38px" width="65px" src="{{imageUrl "header-logo.png"}}" /> <img alt="Logo_small" class="diaspora_header_logo" height="38px" width="65px" src="{{imageUrl "branding/header-logo.png"}}" />
</a> </a>
<span class="header-nav"> <span class="header-nav">

View file

@ -70,4 +70,4 @@
%li= link_to t('layouts.header.code'), "#{root_url.chomp('/')}/source.tar.gz" unless request.url.match(/joindiaspora.com/) %li= link_to t('layouts.header.code'), "#{root_url.chomp('/')}/source.tar.gz" unless request.url.match(/joindiaspora.com/)
%li= link_to t('.whats_new'), 'https://github.com/diaspora/diaspora/wiki/Changelog' %li= link_to t('.whats_new'), 'https://github.com/diaspora/diaspora/wiki/Changelog'
%li= link_to(t('layouts.application.toggle'), toggle_mobile_path) if is_mobile_device? %li= link_to(t('layouts.application.toggle'), toggle_mobile_path) if is_mobile_device?
= image_tag 'powered_by_diaspora.png', :height => "11px", :width => "145px" = image_tag 'branding/powered_by_diaspora.png', :height => "11px", :width => "145px"

View file

@ -49,7 +49,7 @@
.navbar.navbar-fixed-top .navbar.navbar-fixed-top
.navbar-inner .navbar-inner
.container{:style => "position: relative;"} .container{:style => "position: relative;"}
= link_to(image_tag('header-logo2x.png', :height => 40, :width => 40, :id => 'header_title'), stream_path) = link_to(image_tag('branding/header-logo2x.png', :height => 40, :width => 40, :id => 'header_title'), stream_path)
- if user_signed_in? - if user_signed_in?
#header-nav #header-nav
.activity-nav .activity-nav

View file

@ -28,7 +28,7 @@
<table cellspacing="0" cellpadding="0" border="0" align="center" width="100%" style="font-family:'Helvetica Neue', Helvetica, Arial, sans-serif;font-size:14px;color:#333;"> <table cellspacing="0" cellpadding="0" border="0" align="center" width="100%" style="font-family:'Helvetica Neue', Helvetica, Arial, sans-serif;font-size:14px;color:#333;">
<tr> <tr>
<td style="text-align:center;padding:30px;"> <td style="text-align:center;padding:30px;">
<img src="<%=AppConfig[:pod_url]%>images/logo_caps.png" alt="DIASPORA*" width="95px" height="14px"/> <img src="<%=AppConfig[:pod_url]%>images/branding/logo_caps.png" alt="DIASPORA*" width="95px" height="14px"/>
</td> </td>
</tr> </tr>
</table> </table>

View file

@ -16,9 +16,9 @@
.container{:style => 'text-align:center;'} .container{:style => 'text-align:center;'}
#login #login
%p %p
= image_tag('asterisk.png', :id => 'asterisk', :class => 'logo', :height => 154, :width => 154) = image_tag('branding/asterisk.png', :id => 'asterisk', :class => 'logo', :height => 154, :width => 154)
%p %p
= image_tag('logo_caps.png', :id => 'logo', :width => 98, :height => 14) = image_tag('branding/logo_caps.png', :id => 'logo', :width => 98, :height => 14)
- flash.each do |name, msg| - flash.each do |name, msg|
%p{:class => "login_#{name}"}= msg %p{:class => "login_#{name}"}= msg