mirror of
https://gitee.com/shuto-github/intranet_app_manager.git
synced 2026-04-20 00:00:04 +08:00
添加证书安装引导
This commit is contained in:
Binary file not shown.
|
After Width: | Height: | Size: 2.6 MiB |
File diff suppressed because one or more lines are too long
@@ -8,7 +8,7 @@
|
||||
<meta name="viewport"
|
||||
content="minimal-ui,width=device-width,initial-scale=1,maximum-scale=1,minimum-scale=1,user-scalable=no">
|
||||
|
||||
<title>-设备列表</title>
|
||||
<title>[[${app.name}]]-设备列表</title>
|
||||
<link rel="icon" type="image/x-icon" th:href="@{/images/favicon.ico}" />
|
||||
<link rel="stylesheet" th:href="@{/css/bootstrap.css}">
|
||||
</head>
|
||||
|
||||
@@ -0,0 +1,25 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Stict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||||
<html xmlns:th="http://www.thymeleaf.org">
|
||||
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<meta http-equiv="x-ua-compatible" content="IE=edge">
|
||||
<meta name="renderer" content="webkit">
|
||||
|
||||
<title class="ng-binding">[[${platform}]] - 安装教程</title>
|
||||
<link rel="icon" type="image/x-icon" th:href="@{/images/favicon.ico}" />
|
||||
<link rel="stylesheet" th:href="@{/css/icons.css}">
|
||||
<link rel="stylesheet" th:href="@{/css/bootstrap.css}">
|
||||
<link rel="stylesheet" th:href="@{/css/manage.css}">
|
||||
<link rel="stylesheet" th:href="@{/css/index.css}">
|
||||
<script type="text/javascript" th:src="@{/js/jquery-1.11.0.min.js}"></script>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<div class="container">
|
||||
<img th:src="@{/images/install_crt.gif}"/>
|
||||
</div>
|
||||
|
||||
</body>
|
||||
|
||||
</html>
|
||||
@@ -64,13 +64,19 @@
|
||||
<div class="action-animate-text" id="install">下载安装</div>
|
||||
<div class="action-animate-active"></div>
|
||||
</div>
|
||||
<div class="action-animate">
|
||||
<div class="action-animate" th:if="${#strings.containsIgnoreCase(app.platform,'ios')}">
|
||||
<input id="crtURL" th:value="${ca_path}" style="display: none"/>
|
||||
<div class="action-animate-text" id="installCRT">安装证书</div>
|
||||
<div class="action-animate-active"></div>
|
||||
</div>
|
||||
<div class="action-animate" th:if="${app.currentPackage.deviceCount > 0}">
|
||||
<a th:href="'/devices/' + ${app.currentPackage.id}" class="action-animate-text ng-binding" target="_blank">查看设备列表</a>
|
||||
<input id="devices" th:value="${basePath} + 'devices/' + ${app.currentPackage.id}" style="display: none"/>
|
||||
<div class="action-animate-text" id="showDevices">查看设备列表</div>
|
||||
<div class="action-animate-active"></div>
|
||||
</div>
|
||||
<div class="action-animate" th:if="${#strings.containsIgnoreCase(app.platform,'ios')}">
|
||||
<input id="trust_crt" th:value="${basePath} + 'guide/ios'" style="display: none"/>
|
||||
<div class="action-animate-text" id="trustCTR">证书信任教程</div>
|
||||
<div class="action-animate-active"></div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -90,6 +96,14 @@
|
||||
window.open($("#crtURL").val())
|
||||
})
|
||||
|
||||
$("#showDevices").click(function () {
|
||||
window.open($("#devices").val())
|
||||
})
|
||||
|
||||
$("#trustCTR").click(function () {
|
||||
window.open($("#trust_crt").val())
|
||||
})
|
||||
|
||||
var codeData = $("#qrcode").attr("data");
|
||||
new QRCode("qrcode", {
|
||||
text: codeData,
|
||||
|
||||
@@ -13,6 +13,7 @@
|
||||
<link rel="stylesheet" th:href="@{/css/manage.css}">
|
||||
<link rel="stylesheet" th:href="@{/css/index.css}">
|
||||
<script type="text/javascript" th:src="@{/js/jquery-1.11.0.min.js}"></script>
|
||||
<script type="text/javascript" th:src="@{/js/clipboard.min.js}"></script>
|
||||
</head>
|
||||
|
||||
<body class="ng-scope">
|
||||
@@ -155,6 +156,14 @@
|
||||
}
|
||||
});
|
||||
})
|
||||
|
||||
$("#js-app-short-copy-trigger").click(function(){
|
||||
new ClipboardJS('#js-app-short-copy-trigger', {
|
||||
text: function(trigger) {
|
||||
return trigger.getAttribute('value');
|
||||
}
|
||||
});
|
||||
});
|
||||
</script>
|
||||
</body>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user