forked from DropshareApp/default-landing-page
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDropshare-LandingPage.html
executable file
·80 lines (76 loc) · 2.32 KB
/
Dropshare-LandingPage.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
<!DOCTYPE html>
<html lang="en">
<!-- This is the default Dropshare for Mac and iOS landing page theme.
You can contribute to this theme at
https://github.com/DropshareApp/default-landing-page -->
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="generator" content="Dropshare http://getdropsha.re" />
<meta property="twitter:card" content="photo" />
<meta property="twitter:image" content="__PREVIEWURL__" [^] />
<meta property="twitter:title" content="__FILENAME__" />
<title>__FILENAME__</title>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.4/css/bootstrap.min.css">
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
<![endif]-->
<style type="text/css">
nav #navbar {
float:right;
text-align:right;
}
div.container.centered {
margin: 10px auto;
text-align:center;
}
div.container div.download {
margin-top: 25px;
}
div.container div.download a.btn {
margin-bottom: 5px;
font-size: 16pt;
}
div.container div.download span.filesize {
font-size: 10pt;
color: rgb(160,160,160);
}
/* preview types */
img {
max-width: 100%;
max-height: 80vh;
}
video, iframe {
height: auto;
max-height: 80vh;
width: 100%;
}
iframe {
height: 80vh;
}
</style>
</head>
<body>
<nav class="navbar navbar-default navbar-static-top">
<div class="container">
<div class="navbar-header">
<a class="navbar-brand" href="__PATH__">__FILENAME__</a>
</div>
<div id="navbar">
<ul class="nav navbar-nav">
<li><a href="__PATH__">Shared at __SHAREDATE__</a></li>
</ul>
</div>
</div>
</nav>
<div class="container centered">
__PREVIEW__
<div class="download">
<a href="__PATH__" class="btn btn-primary">Download</a><br />
<span class="filesize">__FILESIZE__</span>
</div>
</div>
</body>
</html>