Skip to content
This repository has been archived by the owner on Sep 12, 2019. It is now read-only.

Commit

Permalink
Show footer on all pages. Add CC-BY icon everywhere. Starting to addr…
Browse files Browse the repository at this point in the history
…ess issue #20.
  • Loading branch information
jure committed Nov 10, 2013
1 parent d1da689 commit 2458b0c
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 13 deletions.
Binary file added app/assets/images/CC-BY.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion app/views/gists/new.html.slim
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,4 @@
.center
p
| Gists are licensed under the 
= link_to 'CC-BY license.', 'http://creativecommons.org/licenses/by/2.0/'
= link_to 'CC-BY license.', 'http://creativecommons.org/licenses/by/3.0/'
10 changes: 10 additions & 0 deletions app/views/layouts/_footer.html.slim
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
.row
.large-6.large-offset-3.columns
ul.small-block-grid-7.contact
li= link_to 'About', pages_about_path
li= link_to 'Blog', 'http://blog.sciencegist.com'
li= link_to 'Contact', 'mailto:[email protected]'
li= link_to 'GitHub', 'https://github.com/jure/sciencegist'
li= link_to 'Twitter', 'https://www.twitter.com/sciencegist'
li= link_to 'API', 'http://www.sciencegist.com/api/v2/gists'
li= link_to image_tag('CC-BY.png'), 'http://creativecommons.org/licenses/by/3.0/'
2 changes: 1 addition & 1 deletion app/views/layouts/application.html.slim
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ body*{:class => "#{controller.controller_name}_#{controller.action_name}" }
- if flash[:alert]
.alert-box.alert= alert
= yield

= render :partial => 'layouts/footer'
#overlay
#signup_form
.row
Expand Down
12 changes: 1 addition & 11 deletions app/views/pages/index.html.slim
Original file line number Diff line number Diff line change
Expand Up @@ -38,14 +38,4 @@
This new type of cancer defense is very interesting for further anticancer and life longevity research.

markdown:
By reading the gist **anyone can quickly understand** what the paper is about. Notice also how new concepts are linked to Wikipedia articles for easier deep diving into the knowledge pool. That’s what gists are all about!

.row
.large-6.large-offset-3.columns
ul.small-block-grid-6.contact
li= link_to 'About', pages_about_path
li= link_to 'Blog', 'http://blog.sciencegist.com'
li= link_to 'Contact us', 'mailto:[email protected]'
li= link_to 'GitHub', 'https://github.com/jure/sciencegist'
li= link_to 'Twitter', 'https://www.twitter.com/sciencegist'
li= link_to 'API', 'http://www.sciencegist.com/api/v2/gists'
By reading the gist **anyone can quickly understand** what the paper is about. Notice also how new concepts are linked to Wikipedia articles for easier deep diving into the knowledge pool. That’s what gists are all about!

0 comments on commit 2458b0c

Please sign in to comment.