From 6b49228aad70c2ad8e1ada929bce5129626ca108 Mon Sep 17 00:00:00 2001 From: Jacques Distler Date: Sun, 8 Feb 2009 03:17:20 -0600 Subject: [PATCH] Logo for Instiki Added an SVG logo for Instiki. --- app/views/layouts/default.rhtml | 9 +++++---- app/views/svg_logo.html.erb | 19 +++++++++++++++++++ public/images/green.png | Bin 0 -> 179 bytes public/stylesheets/instiki.css | 7 ++++++- 4 files changed, 30 insertions(+), 5 deletions(-) create mode 100644 app/views/svg_logo.html.erb create mode 100644 public/images/green.png diff --git a/app/views/layouts/default.rhtml b/app/views/layouts/default.rhtml index 821a12f9..63a49647 100644 --- a/app/views/layouts/default.rhtml +++ b/app/views/layouts/default.rhtml @@ -39,14 +39,15 @@

- <% if @page and (@page.name == 'HomePage') and %w( show published print ).include?(@action_name) %> + <%= render(:file => 'svg_logo') %> + <%- if @page and (@page.name == 'HomePage') and %w( show published print ).include?(@action_name) -%> <%= h(@web.name) + (@show_diff ? ' (changes)' : '') %> - <% elsif @web %> + <%- elsif @web -%> <%= @web.name %>
<%= @title %> - <% else %> + <%- else -%> <%= @title %> - <% end %> + <%- end %>

<%= render(:file => 'navigation') unless @web.nil? || @hide_navigation %> diff --git a/app/views/svg_logo.html.erb b/app/views/svg_logo.html.erb new file mode 100644 index 00000000..9c1dc26b --- /dev/null +++ b/app/views/svg_logo.html.erb @@ -0,0 +1,19 @@ + diff --git a/public/images/green.png b/public/images/green.png new file mode 100644 index 0000000000000000000000000000000000000000..26db21e1a69ffedb5db5bb9770f8e6a7eddfd2c4 GIT binary patch literal 179 zcmeAS@N?(olHy`uVBq!ia0vp^20(1W!2~3oKk6I(65hcO-X(i=}MX3z#MTrF& znaR%id1a|ZC8TDt0Fz`0C){;ju!FgOiisY81U&|n5nS3j3^P6