Merge branch 'master' of gitee.com:yizhaorong/intranet_app_manager

This commit is contained in:
yizhaorong
2019-08-10 13:39:35 +08:00
35 changed files with 272 additions and 8565 deletions
BIN
View File
Binary file not shown.
+2 -2
View File
@@ -1,7 +1,7 @@
########################################################
### Mysql
########################################################
spring.datasource.url=jdbc:mysql://127.0.0.1:3306/app_manager
spring.datasource.url=jdbc:mysql://127.0.0.1:3306/app_manager?useUnicode=true&characterEncoding=utf-8
spring.datasource.username=root
spring.datasource.password=
spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver
@@ -41,4 +41,4 @@ server.ssl.key-alias=1
server.port=443
server.http.port=80
config.debug=debug
server.domain=192.168.0.108
server.domain=127.0.0.1
File diff suppressed because one or more lines are too long
-459
View File
@@ -1,459 +0,0 @@
@font-face {
font-family: partner;
src: url(./fonts/ipartner.eot?rkodm6);
src: url(./fonts/ipartner.eot?rkodm6#iefix) format("embedded-opentype"), url(./fonts/ipartner.ttf?rkodm6) format("truetype"), url(./fonts/ipartner.woff?rkodm6) format("woff"), url(./fonts/ipartner.svg?rkodm6#ipartner) format("svg");
font-weight: 400;
font-style: normal
}
[class*=" ipartner-"], [class^=ipartner-] {
font-family: partner!important;
speak: none;
font-style: normal;
font-weight: 400;
font-variant: normal;
text-transform: none;
line-height: 1;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale
}
.ipartner-swift:before {
content: "\e900"
}
.ipartner-qingcloud:before {
content: "\e902"
}
.ipartner-devlink:before {
content: "\e920"
}
.ipartner-logo-pingxx:before {
content: "\e921"
}
.ipartner-logo-qiniu:before {
content: "\e922"
}
.ipartner-logo-leancloud:before {
content: "\e923"
}
.ipartner-logo-flowci:before {
content: "\e924"
}
.ipartner-deveco:before {
content: "\e925"
}
.ipartner-wilddog:before {
content: "\e926"
}
.ipartner-xitu:before {
content: "\e927"
}
.ipartner-36kr:before {
content: "\e928"
}
@font-face {
font-family: icomoon;
src: url(./fonts/icomoon.eot?wcusdg);
src: url(./fonts/icomoon.eot?wcusdg#iefix) format("embedded-opentype"), url(./fonts/icomoon.ttf?wcusdg) format("truetype"), url(./fonts/icomoon.woff?wcusdg) format("woff"), url(./fonts/icomoon.svg?wcusdg#icomoon) format("svg");
font-weight: 400;
font-style: normal
}
[class*=" icon-"], [class^=icon-] {
font-family: icomoon!important;
speak: none;
font-style: normal;
font-weight: 400;
font-variant: normal;
text-transform: none;
line-height: 1;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale
}
.icon-cake:before {
content: "\e900"
}
.icon-weibo:before {
content: "\e600"
}
.icon-wechat:before {
content: "\e601"
}
.icon-firim:before {
content: "\e602"
}
.icon-bug:before {
content: "\e603"
}
.icon-ion:before {
content: "\e604"
}
.icon-angle-right:before {
content: "\e606"
}
.icon-cloud-download:before {
content: "\e607"
}
.icon-question:before {
content: "\e608"
}
.icon-optimize-upload:before {
content: "\e609"
}
.icon-console:before {
content: "\e60a"
}
.icon-microscope:before {
content: "\e60b"
}
.icon-user-access:before {
content: "\e60c"
}
.icon-logo-jiecao:before {
content: "\e60d"
}
.icon-m:before {
content: "\e60e"
}
.icon-f:before {
content: "\e60f"
}
.icon-plugin:before {
content: "\e610"
}
.icon-launch:before {
content: "\e611"
}
.icon-brace-left:before {
content: "\e613"
}
.icon-logo:before {
content: "\e620"
}
.icon-thumbsup:before {
content: "\e615"
}
.icon-webhooks:before {
content: "\e616"
}
.icon-brace-right:before {
content: "\e617"
}
.icon-comma-eye:before {
content: "\e618"
}
.icon-mouth:before {
content: "\e619"
}
.icon-brace-hor:before {
content: "\e61a"
}
.icon-brace-right-b:before {
content: "\e61b"
}
.icon-brace-left-b:before {
content: "\e61c"
}
.icon-brace-box:before {
content: "\e61d"
}
.icon-menu:before {
content: "\e61e"
}
.icon-app:before {
content: "\e61f"
}
.icon-box:before {
content: "\e620"
}
.icon-combo:before {
content: "\e621"
}
.icon-device:before {
content: "\e622"
}
.icon-face:before {
content: "\e623"
}
.icon-file:before {
content: "\e624"
}
.icon-msg:before {
content: "\e625"
}
.icon-pen:before {
content: "\e626"
}
.icon-ipa:before {
content: "\e627"
}
.icon-lock2:before {
content: "\e628"
}
.icon-qrcode:before {
content: "\e629"
}
.icon-rollback:before {
content: "\e62a"
}
.icon-eye:before {
content: "\e62b"
}
.icon-plus:before {
content: "\e62c"
}
.icon-chart:before {
content: "\e62d"
}
.icon-idea:before {
content: "\e62e"
}
.icon-owner:before {
content: "\e62f"
}
.icon-search:before {
content: "\e630"
}
.icon-studio:before {
content: "\e631"
}
.icon-upload-cloud2:before {
content: "\e632"
}
.icon-android:before {
content: "\e633"
}
.icon-trash:before {
content: "\e634"
}
.icon-attachment:before {
content: "\e635"
}
.icon-apple:before {
content: "\e636"
}
.icon-calendar:before {
content: "\e637"
}
.icon-calendar2:before {
content: "\e638"
}
.icon-eye-close:before {
content: "\e639"
}
.icon-reply:before {
content: "\e63a"
}
.icon-email:before {
content: "\e63b"
}
.icon-error2:before {
content: "\e63c"
}
.icon-cross:before {
content: "\e63d"
}
.icon-user-plus:before {
content: "\e63e"
}
.icon-ios:before {
content: "\e63f"
}
.icon-filter:before {
content: "\e640"
}
.icon-test-speed:before {
content: "\e641"
}
.icon-udid:before {
content: "\e642"
}
.icon-update:before {
content: "\e643"
}
.icon-comma:before {
content: "\e644"
}
.icon-i:before {
content: "\e645"
}
.icon-r:before {
content: "\e646"
}
.icon-f-dot:before {
content: "\e647"
}
.icon-layers:before {
content: "\e648"
}
.icon-news:before {
content: "\e649"
}
.icon-percent:before {
content: "\e64a"
}
.icon-bughd:before {
content: "\e64b"
}
.icon-incode:before {
content: "\e64c"
}
.icon-message:before {
content: "\e64d"
}
.icon-eclipse:before {
content: "\e64e"
}
.icon-turkey:before {
content: "\e901"
}
.icon-jenkins:before {
content: "\e902"
}
.icon-gradle:before {
content: "\e903"
}
.icon-statistics:before {
content: "\e904"
}
.icon-done:before {
content: "\e905"
}
.icon-qiniu:before {
content: "\e906"
}
.icon-logo-leancloud:before {
content: "\e907"
}
.icon-logo-jd:before {
content: "\e908"
}
.icon-logo-xiachufang:before {
content: "\e909"
}
.icon-logo-ebaoyang:before {
content: "\e90a"
}
.icon-logo-jumei:before {
content: "\e90b"
}
.icon-cart:before {
content: "\e90c"
}
.icon-users:before {
content: "\e90d"
}
.icon-spinner3:before {
content: "\e97c"
}
.icon-infinite:before {
content: "\ea2f"
}
.icon-spinner:before {
content: "\f110"
}
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Binary file not shown.

After

Width:  |  Height:  |  Size: 2.6 MiB

File diff suppressed because one or more lines are too long
+29
View File
@@ -0,0 +1,29 @@
<!DOCTYPE html>
<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">
<meta name="viewport"
content="minimal-ui,width=device-width,initial-scale=1,maximum-scale=1,minimum-scale=1,user-scalable=no">
<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>
<body>
<div class="card container">
<div class="list-group text-center">
<a href="#" class="list-group-item active">
<h4 class="list-group-item-heading">
设备ID
</h4>
</a>
<a class="list-group-item" href="#" th:each="device,appStat : ${app.devices}">
[[${device}]]
</a>
</div>
</div>
</body>
</html>
+25
View File
@@ -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">
<meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1,minimum-scale=1,user-scalable=no" />
<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="guide">
<img th:src="@{/images/install_crt.gif}"/>
</div>
</body>
</html>
-2
View File
@@ -8,9 +8,7 @@
<title>应用列表</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>
+21 -3
View File
@@ -42,7 +42,7 @@
</span>
</div>
<p class="release-type wrapper">内测版</p>
<p class="release-type wrapper">[[${app.currentPackage.type}]]</p>
<h1 class="name wrapper">
<span class="icon-warp">
@@ -54,7 +54,7 @@
<p class="scan-tips">扫描二维码下载<br>或用手机浏览器输入这个网址:&nbsp;&nbsp;<span
class="text-black">[[${app.installPath}]]</span></p>
<div class="release-info">
<p>内测版 -
<p>[[${app.currentPackage.type}]] -
<span itemprop="softwareVersion">[[${app.version}]] (Build [[${app.buildVersion}]]) -
[[${app.currentPackage.displaySize}]]</span></p>
<p>更新于: <span itemprop="datePublished">[[${app.currentPackage.displayTime}]]</span></p>
@@ -64,11 +64,21 @@
<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}">
<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>
</div>
</div>
@@ -86,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,
+10 -3
View File
@@ -8,11 +8,10 @@
<title class="ng-binding">[[${package.name}]] - 应用动态</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>
<script type="text/javascript" th:src="@{/js/clipboard.min.js}"></script>
</head>
<body class="ng-scope">
@@ -108,7 +107,7 @@
<small>
<i class="icon-calendar"></i>
<span class="ng-binding">[[${app.displayTime}]]</span></small> &nbsp;&nbsp;·&nbsp;&nbsp;
<small class="ng-scope">内测版</small>
<small class="ng-scope">[[${app.type}]]</small>
<i class="ng-hide">&nbsp;&nbsp;·&nbsp;&nbsp;</i>
<small class="ng-binding ng-hide"></small>
</div>
@@ -155,6 +154,14 @@
}
});
})
$("#js-app-short-copy-trigger").click(function(){
new ClipboardJS('#js-app-short-copy-trigger', {
text: function(trigger) {
return trigger.getAttribute('value');
}
});
});
</script>
</body>