forked from bumaociyuan/ios-ipa-server
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdownload.html
42 lines (33 loc) · 1.26 KB
/
download.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
<!DOCTYPE html>
<html>
<head>
<title>ipa download</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta content="telephone=no" name="format-detection" />
<meta name="viewport" content="width=320,maximum-scale=1,user-scalable=no"/>
<style type="text/css">
h3 {
color: red;
}
</style>
</head>
<body>
<script src="qrcode/jquery.min.js"></script>
<script type="text/javascript" src="qrcode/jquery.qrcode.js"></script>
<script type="text/javascript" src="qrcode/qrcode.js"></script>
<h3>【微信扫描此页面不能显示】,请点击右上角“在Safari中打开”</h3>
<div id="qrcodeTable"></div>
<h3><a id='cer' href="https://{{ip}}:{{port}}/cer/myCA.cer">如果出现【无法验证服务器身份】或【无法连接到】,请点击此链接安装证书</a></h3>
{{#items}}
<h4><a href="itms-services://?action=download-manifest&url=https://{{ip}}:{{port}}/plist/{{name}}"><span class="name">{{app_name}}</span>{{description}}</a> <a href="https://{{ip}}:{{port}}/{{name}}.ipa"><span class="name">直接下载ipa</span></a></h4>
{{/items}}
<script>
//jQuery('#qrcode').qrcode("this plugin is great");
var url = location.href;
$('#qrcodeTable').qrcode({
render : "table",
text : url
});
</script>
</body>
</html>