Makes generic logos and avatars, and removes unused images

This commit is contained in:
Alberto Garcia Cabeza
2016-04-21 14:05:30 +02:00
parent a636ddeb83
commit 08a17f3b0e
18 changed files with 8 additions and 8 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 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.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 55 KiB

After

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.9 KiB

View File

@@ -10,14 +10,14 @@
<% end %> <% end %>
<% else %> <% else %>
<% if comment.as_administrator? %> <% if comment.as_administrator? %>
<%= image_tag("admin_avatar.png", size: 32, class: "admin-avatar float-left") %> <%= image_tag("avatar_admin.png", size: 32, class: "admin-avatar float-left") %>
<% elsif comment.as_moderator? %> <% elsif comment.as_moderator? %>
<%= image_tag("moderator_avatar.png", size: 32, class: "moderator-avatar float-left") %> <%= image_tag("avatar_moderator.png", size: 32, class: "moderator-avatar float-left") %>
<% else %> <% else %>
<% if comment.user.hidden? || comment.user.erased? %> <% if comment.user.hidden? || comment.user.erased? %>
<span class="icon-deleted user-deleted"></span> <span class="icon-deleted user-deleted"></span>
<% elsif comment.user.organization? %> <% elsif comment.user.organization? %>
<%= image_tag("collective_avatar.png", size: 32, class: "avatar float-left") %> <%= image_tag("avatar_collective.png", size: 32, class: "avatar float-left") %>
<% else %> <% else %>
<%= avatar_image(comment.user, seed: comment.user_id, size: 32, class: "float-left") %> <%= avatar_image(comment.user, seed: comment.user_id, size: 32, class: "float-left") %>
<% end %> <% end %>

View File

@@ -18,7 +18,7 @@
<div id="responsive-menu"> <div id="responsive-menu">
<div class="top-bar-title"> <div class="top-bar-title">
<%= link_to root_path, class: "hide-for-small-only" do %> <%= link_to root_path, class: "hide-for-small-only" do %>
<%= image_tag('header_logo_madrid.png', class: 'hide-for-small-only float-left', size: '80x80', alt: t("layouts.header.logo")) %> <%= image_tag('logo_header.png', class: 'hide-for-small-only float-left', size: '80x80', alt: t("layouts.header.logo")) %>
<%= Setting['org_name'] %> <%= Setting['org_name'] %>
&nbsp;|&nbsp;<%= t("admin.dashboard.index.title") %> &nbsp;|&nbsp;<%= t("admin.dashboard.index.title") %>
<% end %> <% end %>

View File

@@ -15,7 +15,7 @@
<div id="responsive-menu"> <div id="responsive-menu">
<div class="top-bar-title"> <div class="top-bar-title">
<%= link_to root_path, class: "hide-for-small-only", accesskey: "/" do %> <%= link_to root_path, class: "hide-for-small-only", accesskey: "/" do %>
<%= image_tag('header_logo_madrid.png', class: 'hide-for-small-only float-left', size: '80x80', alt: t("layouts.header.logo")) %> <%= image_tag('logo_header.png', class: 'hide-for-small-only float-left', size: '80x80', alt: t("layouts.header.logo")) %>
<% if opendata_page? %> <% if opendata_page? %>
<%= t("layouts.header.open_gov", open: "#{t('layouts.header.open')}") %> <span>|</span> <%= t("layouts.header.open_gov", open: "#{t('layouts.header.open')}") %> <span>|</span>
<span class="logo-site"><%= t("layouts.header.open_data") %></span> <span class="logo-site"><%= t("layouts.header.open_data") %></span>

View File

@@ -17,7 +17,7 @@
<div class="small-12 medium-8 large-5 column small-centered margin-top"> <div class="small-12 medium-8 large-5 column small-centered margin-top">
<h1> <h1>
<%= link_to root_path do %> <%= link_to root_path do %>
<%= image_tag('header_logo_madrid.png', class: 'show-for-medium float-left', size: '96x96', alt: t("layouts.header.logo")) %> <%= image_tag('logo_header.png', class: 'show-for-medium float-left', size: '96x96', alt: t("layouts.header.logo")) %>
<%= t("layouts.header.open_gov", open: "#{t('layouts.header.open')}").html_safe %> <%= t("layouts.header.open_gov", open: "#{t('layouts.header.open')}").html_safe %>
<% end %> <% end %>
</h1> </h1>

View File

@@ -14,7 +14,7 @@
<tr> <tr>
<td style="border-bottom: 1px solid #dadfe1; padding: 20px 0;"> <td style="border-bottom: 1px solid #dadfe1; padding: 20px 0;">
<a href="#" target="_blank"> <a href="#" target="_blank">
<%= image_tag('logo_email_gobierno_abierto.png', style: "border: 0; display: block; width: 100%;max-width: 370px", alt: setting['org_name']) %> <%= image_tag('logo_email.png', style: "border: 0; display: block; width: 100%;max-width: 370px", alt: setting['org_name']) %>
</a> </a>
</td> </td>
</tr> </tr>

View File

@@ -35,7 +35,7 @@
<div id="responsive-menu"> <div id="responsive-menu">
<div class="top-bar-title"> <div class="top-bar-title">
<%= link_to management_root_path, class: "hide-for-small-only" do %> <%= link_to management_root_path, class: "hide-for-small-only" do %>
<%= image_tag('header_logo_madrid.png', class: 'hide-for-small-only float-left', size: '80x80', alt: t("layouts.header.logo")) %> <%= image_tag('logo_header.png', class: 'hide-for-small-only float-left', size: '80x80', alt: t("layouts.header.logo")) %>
<%= Setting['org_name'] %> <%= Setting['org_name'] %>
&nbsp;|&nbsp;<%= t("management.dashboard.index.title") %> &nbsp;|&nbsp;<%= t("management.dashboard.index.title") %>
<% end %> <% end %>