This repository has been archived by the owner on Aug 31, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
/
template.html
94 lines (79 loc) · 2.32 KB
/
template.html
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
89
90
91
92
93
94
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>{FILE_NAME}</title>
<meta charset="utf-8">
<meta name="robots" content="noindex">
<meta name="theme-color" content="#30acff">
<meta property="og:title" content="{FILE_NAME}">
<meta property="og:description" content="Uploaded at {UPLOAD_DATE}">
<meta property="og:image" content="{URL}">
<meta property="twitter:card" content="summary_large_image">
<style>
body {
background-color: #1d1d1d;
display: flex;
align-items: center;
justify-content: center;
}
.main {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
}
.info {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
color: white;
font-family: 'Trebuchet MS', sans-serif;
}
.img {
width: 840px;
float: left;
margin: 3px;
padding: 3px;
}
input {
background-color: #2da9c7; /* Green */
border: none;
color: #1d1d1d;
padding: 10px 25px;
text-align: center;
text-decoration: none;
display: inline-block;
font-size: 16px;
}
input:hover {
background-color: #1b748a;
}
#image {
width: inherit;
border: 3px solid white;
}
#title {
font-size: 200%;
}
</style>
</head>
<body>
<div class="main">
<div class="info">
<span id="title">{FILE_NAME}</span>
<span id="subtitle">Uploaded at {UPLOAD_DATE}</span>
</div>
<div class="img">
<img src="{URL}" alt="" srcset="" id="image">
</div>
<div class="buttons">
<a href="{DL_URL}" target="_blank"><input type="button" value="Download"></a>
<a href="{URL}" target="_blank"><input type="button" value="Open Image"></a>
</div>
</div>
</body>
</html>