Mercurial > hg > Members > anatofuz > slideshow-s6cr
comparison slides.pdf.html.erb @ 11:b8d87f2bb55c
Support pdf generation
author | Yasutaka Higa <e115763@ie.u-ryukyu.ac.jp> |
---|---|
date | Thu, 04 Aug 2016 14:01:07 +0900 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
10:e5301b055cea | 11:b8d87f2bb55c |
---|---|
1 <!DOCTYPE html> | |
2 <html> | |
3 <head> | |
4 <meta http-equiv="content-type" content="text/html;charset=utf-8"> | |
5 <title><%= @headers['title'] %></title> | |
6 | |
7 <meta name="generator" content="<%= @headers['generator'] %>"> | |
8 <meta name="author" content="<%= @headers['author']%>" > | |
9 | |
10 <!-- style sheet links --> | |
11 <link rel="stylesheet" href="s6/themes/screen.css" media="screen"> | |
12 <link rel="stylesheet" href="s6/themes/print.css" media="print"> | |
13 <link rel="stylesheet" href="s6/themes/blank.css" media="screen,projection"> | |
14 | |
15 <!-- JS --> | |
16 <script src="s6/js/jquery-1.11.3.min.js"></script> | |
17 <script src="s6/js/jquery.slideshow.js"></script> | |
18 <script src="s6/js/jquery.slideshow.counter.js"></script> | |
19 <script src="s6/js/jquery.slideshow.controls.js"></script> | |
20 <script src="s6/js/jquery.slideshow.footer.js"></script> | |
21 <script src="s6/js/jquery.slideshow.autoplay.js"></script> | |
22 | |
23 <!-- prettify --> | |
24 <link rel="stylesheet" href="scripts/prettify.css"> | |
25 <script src="scripts/prettify.js"></script> | |
26 | |
27 <style> | |
28 .slide {page-break-after: always;} | |
29 </style> | |
30 | |
31 | |
32 <%= content_for :head %> | |
33 | |
34 </head> | |
35 <body> | |
36 | |
37 <div class="layout"> | |
38 <div id="header"></div> | |
39 <div id="footer"> | |
40 <div align="right"> | |
41 <img src="s6/images/logo.svg" width="200px"> | |
42 </div> | |
43 </div> | |
44 </div> | |
45 | |
46 <div class="presentation"> | |
47 | |
48 <div class='slide cover'> | |
49 <table width="90%" height="90%" border="0" align="center"> | |
50 <tr> | |
51 <td> | |
52 <div align="center"> | |
53 <h1><font color="#808db5"><%= @headers['title'] %></font></h1> | |
54 </div> | |
55 </td> | |
56 </tr> | |
57 <tr> | |
58 <td> | |
59 <div align="left"> | |
60 <%= @headers['author'] %> | |
61 <%= @headers['profile'] %> | |
62 <hr style="color:#ffcc00;background-color:#ffcc00;text-align:left;border:none;width:100%;height:0.2em;"> | |
63 </div> | |
64 </td> | |
65 </tr> | |
66 </table> | |
67 </div> | |
68 | |
69 <%= @content %> | |
70 | |
71 </div><!-- presentation --> | |
72 </body> | |
73 </html> |