This repository has been archived by the owner on Mar 16, 2018. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make the bookmark a little more printer friendly.
I've stolen the layout template from https://github.com/freerange/printer-mail, which is based on the [sample](http://printer.gofreerange.com/sample.html).
- Loading branch information
Showing
3 changed files
with
23 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -1,11 +1,5 @@ | |||
!!! 5 | %img#cover-image{:src => book.cover_image_url} | ||
|
%h1#book-title= book.title | ||
%html | %p Started: | ||
%head | %p Finished: | ||
%title Bookmark | %p Notes | ||
%body | |||
%img#cover-image{:src => book.cover_image_url} | |||
%h1#book-title= book.title | |||
%p Started: | |||
%p Finished: | |||
%p Notes |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,9 @@ | |||
!!! 5 | |||
|
|||
%html | |||
%head | |||
%link{:rel => "stylesheet", :href => "http://printer.gofreerange.com/stylesheets/print.css", :type => "text/css", :media => "screen", :charset => "utf-8"} | |||
%body.preview | |||
.paper | |||
.content | |||
= yield |