-
Notifications
You must be signed in to change notification settings - Fork 65
/
s3_ios_html_template.erb
91 lines (83 loc) · 2.34 KB
/
s3_ios_html_template.erb
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
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
<title>Install <%= title %></title>
</head>
<body>
<style type="text/css">
* {
font-family: "Helvetica Neue",Helvetica,Arial,sans-serif;
text-align: center;
background-color: #f5f5f5;
}
h1 {
margin-bottom: 0px;
}
h2 {
margin-top: 5px;
}
.oneRow {
width: 100%;
overflow: auto;
overflow-y: hidden;
white-space: nowrap;
text-align: center;
}
.download {
margin: 30px;
font-size: 130%;
}
#appIcon {
-webkit-border-radius: 22.544%;
-moz-border-radius: 22.544%;
-ms-border-radius: 22.544%;
border-radius: 22.544%;
margin-bottom: 30px;
}
a {
text-decoration: none;
color: blue;
}
a:hover {
text-decoration: underline;
}
#os-message {
text-align: center;
color: #737373;
font-size: 14px;
}
#footnote {
color: #737373;
font-size: 14px;
}
#finished { display: none; }
#fastlaneLogo {
text-align: center;
max-width: 150px;
margin-top: 10px;
}
</style>
<h1 style="text-align: center;"><%= title %></h1>
<h2><%= bundle_version %> (<%= build_num %>)</h2>
<p><em>Built on <%= Time.now.strftime('%a, %e %b %Y %H:%M %p') %></em></p>
<div class="oneRow">
<span class="download" id="ios">
<a href="itms-services://?action=download-manifest&url=<%= url_encode(plist_url) %>" id="text" class="btn btn-lg btn-default" onclick="document.getElementById('finished').id = '';">
Install <%= title %> <%= bundle_version %> (<%= build_num %>)
</a>
</span>
<span class="info">
<p><%= release_notes %></p>
</span>
</div>
<h3 id="os-message">Please open this page on your iOS device!</h3>
<p id="finished">
App is being installed. Close Safari using the home button.
</p>
<p id="footnote">
This is a beta version and is not intended for public sharing.
</p>
<img src="https://fastlane.tools/assets/images/fastlane-logo-lockup.png" id="fastlaneLogo" />
</body>
</html>