blob: d3d982cb6b74972aae4ff449442766938451e5b3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
|
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, user-scalable=no">
<style>
html,
body {
height: 100%;
width: 100%;
}
body {
background-color: #f5f5f5; /* google-grey-100 */
margin: 0;
}
svg {
height: 40px;
width: 40px;
}
path {
fill: #bdbdbd; /* google-grey-400 */
}
#icon-container {
align-items: center;
display: flex;
height: 100%;
justify-content: center;
width: 100%;
}
#footer {
align-items: center;
background-color: #4285f4; /* google-blue-500 */
border-radius: 2px;
bottom: 0;
color: white;
display: flex;
font-size: 14px;
justify-content: space-between;
left: 0;
max-height: 52px;
min-height: 20px;
padding: 14px 24px;
position: absolute;
right: 0;
}
p,
a {
line-height: 20px;
}
p {
font-family: Roboto;
margin: 0;
}
a {
font-family: Roboto Medium;
margin-left: 48px;
text-transform: uppercase;
}
a:link,
a:visited {
color: white;
text-decoration: none;
}
</style>
</head>
<body>
<div id="icon-container">
<!-- Material Design PDF icon -->
<svg viewbox="0 0 24 24">
<path d="M7 11.5h1v-1H7v1zM19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-9.5 8.5c0 .83-.67 1.5-1.5 1.5H7v2H5.5V9H8c.83 0 1.5.67 1.5 1.5v1zm10-1H17v1h1.5V13H17v2h-1.5V9h4v1.5zm-5 3c0 .83-.67 1.5-1.5 1.5h-2.5V9H13c.83 0 1.5.67 1.5 1.5v3zm-2.5 0h1v-3h-1v3z"></path>
</svg>
</div>
<div id="footer" i18n-values="title:name">
<p>$i18n{fileName}</p>
<a href="#" onclick="plugin.openPDF()">View PDF</a>
</div>
</body>
</html>
|