OLD | NEW |
---|---|
(Empty) | |
1 <!-- NOTE: index.html/index.js are automatically generated from index.in.html | |
2 using the command: vulcanize --csp index.in.html -o index.html | |
3 index.html/index.js SHOULD NOT be modified manually. | |
4 TODO(raymes): Get rid of the need for vulcanize once HTMLImports is | |
5 working properly in polymer. --> | |
6 <!DOCTYPE HTML> | |
arv (Not doing code reviews)
2014/01/14 15:21:37
The doctype should be on the first line
| |
7 <html i18n-values="dir:textdirection"> | |
8 <head> | |
9 <meta charset="utf-8"> | |
10 <script src="polymer_loader.js"></script> | |
11 <link rel="import" href="../../../../third_party/polymer/polymer-selector/poly mer-selector.html"> | |
12 <link rel="import" href="../../../../third_party/html_office/elements/viewer-t oolbar/viewer-toolbar.html"> | |
13 <link rel="import" href="../../../../third_party/html_office/elements/viewer-b utton/viewer-button.html"> | |
14 <style> | |
15 body { | |
16 background-color: #ccc; | |
17 } | |
18 viewer-toolbar { | |
19 z-index: 2; | |
20 } | |
21 object { | |
22 z-index: 1; | |
23 } | |
24 </style> | |
25 </head> | |
26 <body marginwidth="0" marginheight="0" > | |
arv (Not doing code reviews)
2014/01/14 15:21:37
move to css
body {
margin: 0;
}
| |
27 | |
28 <viewer-toolbar> | |
29 <polymer-selector> | |
30 <viewer-button src="button_fit_page.png" latchable=true></viewer-button> | |
31 <viewer-button src="button_fit_width.png" latchable=true></viewer-button> | |
32 <viewer-button src="button_zoom_in.png"></viewer-button> | |
33 <viewer-button src="button_zoom_out.png"></viewer-button> | |
34 </polymer-selector> | |
35 <viewer-button src="button_save.png"></viewer-button> | |
36 <viewer-button src="button_print.png"></viewer-button> | |
37 </viewer-toolbar> | |
38 | |
39 </body> | |
40 <script src="pdf.js"></script> | |
41 </html> | |
OLD | NEW |