Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
46bb44f0ab | ||
|
|
2f1380f24a | ||
|
|
ece3328e94 | ||
|
|
fdd26d87be |
@@ -40,14 +40,14 @@ type LoginForm struct {
|
|||||||
|
|
||||||
type UserListQuery struct {
|
type UserListQuery struct {
|
||||||
Page uint `json:"page" form:"page" validate:"required" label:"页码"`
|
Page uint `json:"page" form:"page" validate:"required" label:"页码"`
|
||||||
PageSize uint `json:"page_size" form:"page_size" validate:"required" label:"每页数量"`
|
PageSize uint `json:"pageSize" form:"pageSize" validate:"required" label:"每页数量"`
|
||||||
Status int `json:"status" form:"status" label:"状态"`
|
Status int `json:"status" form:"status" label:"状态"`
|
||||||
Accessible string `json:"accessible" form:"accessible"`
|
Accessible string `json:"accessible" form:"accessible"`
|
||||||
}
|
}
|
||||||
|
|
||||||
type PeerListQuery struct {
|
type PeerListQuery struct {
|
||||||
Page uint `json:"page" form:"page" validate:"required" label:"页码"`
|
Page uint `json:"page" form:"page" validate:"required" label:"页码"`
|
||||||
PageSize uint `json:"page_size" form:"page_size" validate:"required" label:"每页数量"`
|
PageSize uint `json:"pageSize" form:"pageSize" validate:"required" label:"每页数量"`
|
||||||
Status int `json:"status" form:"status" label:"状态"`
|
Status int `json:"status" form:"status" label:"状态"`
|
||||||
Accessible string `json:"accessible" form:"accessible"`
|
Accessible string `json:"accessible" form:"accessible"`
|
||||||
}
|
}
|
||||||
|
|||||||
+16
@@ -38,5 +38,21 @@
|
|||||||
"asset": "assets/address_book.ttf"
|
"asset": "assets/address_book.ttf"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"family": "DeviceGroup",
|
||||||
|
"fonts": [
|
||||||
|
{
|
||||||
|
"asset": "assets/device_group.ttf"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"family": "More",
|
||||||
|
"fonts": [
|
||||||
|
{
|
||||||
|
"asset": "assets/more.ttf"
|
||||||
|
}
|
||||||
|
]
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
BIN
Binary file not shown.
BIN
Binary file not shown.
Binary file not shown.
Vendored
+35
-32
@@ -1,6 +1,6 @@
|
|||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<!--
|
<!--
|
||||||
If you are serving your web app in a path other than the root, change the
|
If you are serving your web app in a path other than the root, change the
|
||||||
href value below to reflect the base path you are serving from.
|
href value below to reflect the base path you are serving from.
|
||||||
@@ -16,24 +16,24 @@
|
|||||||
-->
|
-->
|
||||||
<base href="/webclient2/" />
|
<base href="/webclient2/" />
|
||||||
|
|
||||||
<meta charset="UTF-8" />
|
<meta charset="UTF-8"/>
|
||||||
<meta content="IE=Edge" http-equiv="X-UA-Compatible" />
|
<meta content="IE=Edge" http-equiv="X-UA-Compatible"/>
|
||||||
<meta name="description" content="Remote Desktop." />
|
<meta name="description" content="Remote Desktop."/>
|
||||||
|
|
||||||
<!-- iOS meta tags & icons -->
|
<!-- iOS meta tags & icons -->
|
||||||
<meta name="apple-mobile-web-app-capable" content="yes" />
|
<meta name="apple-mobile-web-app-capable" content="yes"/>
|
||||||
<meta name="apple-mobile-web-app-status-bar-style" content="black" />
|
<meta name="apple-mobile-web-app-status-bar-style" content="black"/>
|
||||||
<meta name="apple-mobile-web-app-title" content="RustDesk" />
|
<meta name="apple-mobile-web-app-title" content="RustDesk"/>
|
||||||
<link rel="apple-touch-icon" href="icons/Icon-192.png?v=1a7ad736" />
|
<link rel="apple-touch-icon" href="icons/Icon-192.png?v=1a7ad736"/>
|
||||||
|
|
||||||
<!-- Favicon -->
|
<!-- Favicon -->
|
||||||
<link rel="icon" type="image/svg+xml" href="favicon.svg?v=8fcccd9a" />
|
<link rel="icon" type="image/svg+xml" href="favicon.svg?v=8fcccd9a"/>
|
||||||
|
|
||||||
<title>RustDesk</title>
|
<title>RustDesk</title>
|
||||||
<script src="/webclient-config/index.js"></script>
|
<script src="/webclient-config/index.js"></script>
|
||||||
<link rel="manifest" href="manifest.json" />
|
<link rel="manifest" href="manifest.json"/>
|
||||||
<script type="module" crossorigin src="js/dist/index.js?v=cabfd933"></script>
|
<script type="module" crossorigin src="js/dist/index.js?v=ddbe54f1"></script>
|
||||||
<link rel="modulepreload" href="js/dist/vendor.js?v=0b990c6e" />
|
<link rel="modulepreload" href="js/dist/vendor.js?v=0b990c6e"/>
|
||||||
<style>
|
<style>
|
||||||
html,
|
html,
|
||||||
body,
|
body,
|
||||||
@@ -42,6 +42,7 @@
|
|||||||
margin: 0;
|
margin: 0;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
#root {
|
#root {
|
||||||
background-repeat: no-repeat;
|
background-repeat: no-repeat;
|
||||||
background-size: 100% auto;
|
background-size: 100% auto;
|
||||||
@@ -63,6 +64,7 @@
|
|||||||
justify-content: center;
|
justify-content: center;
|
||||||
padding: 26px;
|
padding: 26px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.ant-spin {
|
.ant-spin {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
display: none;
|
display: none;
|
||||||
@@ -78,8 +80,7 @@
|
|||||||
text-align: center;
|
text-align: center;
|
||||||
list-style: none;
|
list-style: none;
|
||||||
opacity: 0;
|
opacity: 0;
|
||||||
-webkit-transition: -webkit-transform 0.3s
|
-webkit-transition: -webkit-transform 0.3s cubic-bezier(0.78, 0.14, 0.15, 0.86);
|
||||||
cubic-bezier(0.78, 0.14, 0.15, 0.86);
|
|
||||||
transition: -webkit-transform 0.3s cubic-bezier(0.78, 0.14, 0.15, 0.86);
|
transition: -webkit-transform 0.3s cubic-bezier(0.78, 0.14, 0.15, 0.86);
|
||||||
transition: transform 0.3s cubic-bezier(0.78, 0.14, 0.15, 0.86);
|
transition: transform 0.3s cubic-bezier(0.78, 0.14, 0.15, 0.86);
|
||||||
transition: transform 0.3s cubic-bezier(0.78, 0.14, 0.15, 0.86),
|
transition: transform 0.3s cubic-bezier(0.78, 0.14, 0.15, 0.86),
|
||||||
@@ -198,10 +199,10 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
<div id="root">
|
<div id="root">
|
||||||
<div
|
<div
|
||||||
id="div-background"
|
id="div-background"
|
||||||
style="
|
style="
|
||||||
@@ -213,7 +214,7 @@
|
|||||||
min-height: 420px;
|
min-height: 420px;
|
||||||
"
|
"
|
||||||
>
|
>
|
||||||
<img src="./favicon.svg?v=8fcccd9a" alt="logo" width="256" />
|
<img src="./favicon.svg?v=8fcccd9a" alt="logo" width="256"/>
|
||||||
<div class="page-loading-warp">
|
<div class="page-loading-warp">
|
||||||
<div class="ant-spin ant-spin-lg ant-spin-spinning">
|
<div class="ant-spin ant-spin-lg ant-spin-spinning">
|
||||||
<span class="ant-spin-dot ant-spin-dot-spin">
|
<span class="ant-spin-dot ant-spin-dot-spin">
|
||||||
@@ -226,15 +227,15 @@
|
|||||||
<div
|
<div
|
||||||
style="display: flex; align-items: center; justify-content: center"
|
style="display: flex; align-items: center; justify-content: center"
|
||||||
>
|
>
|
||||||
<img src="./favicon.svg?v=8fcccd9a" width="32" style="margin-right: 8px" />
|
<img src="./favicon.svg?v=8fcccd9a" width="32" style="margin-right: 8px"/>
|
||||||
<span id="span-text">RustDesk Web Client V2 Preview</span>
|
<span id="span-text">RustDesk Web Client V2 Preview</span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<!-- This script installs service_worker.js to provide PWA functionality to
|
<!-- This script installs service_worker.js to provide PWA functionality to
|
||||||
application. For more information, see:
|
application. For more information, see:
|
||||||
https://developers.google.com/web/fundamentals/primers/service-workers -->
|
https://developers.google.com/web/fundamentals/primers/service-workers -->
|
||||||
<script>
|
<script>
|
||||||
const systemTheme = window.matchMedia("(prefers-color-scheme: dark)")
|
const systemTheme = window.matchMedia("(prefers-color-scheme: dark)")
|
||||||
.matches
|
.matches
|
||||||
? "dark"
|
? "dark"
|
||||||
@@ -251,15 +252,16 @@
|
|||||||
spanConsole.style.color = them === "dark" ? "#fff" : "#000";
|
spanConsole.style.color = them === "dark" ? "#fff" : "#000";
|
||||||
}
|
}
|
||||||
|
|
||||||
const serviceWorkerVersion = "3267265270";
|
const serviceWorkerVersion = "461457302";
|
||||||
var scriptLoaded = false;
|
var scriptLoaded = false;
|
||||||
|
|
||||||
function loadMainDartJs() {
|
function loadMainDartJs() {
|
||||||
if (scriptLoaded) {
|
if (scriptLoaded) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
scriptLoaded = true;
|
scriptLoaded = true;
|
||||||
var scriptTag = document.createElement("script");
|
var scriptTag = document.createElement("script");
|
||||||
scriptTag.src = "main.dart.js?v=060a626e";
|
scriptTag.src = "main.dart.js?v=6d16cb80";
|
||||||
scriptTag.type = "application/javascript";
|
scriptTag.type = "application/javascript";
|
||||||
document.body.append(scriptTag);
|
document.body.append(scriptTag);
|
||||||
}
|
}
|
||||||
@@ -281,6 +283,7 @@
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!reg.active && (reg.installing || reg.waiting)) {
|
if (!reg.active && (reg.installing || reg.waiting)) {
|
||||||
// No active web worker and we have installed or are installing
|
// No active web worker and we have installed or are installing
|
||||||
// one for the first time. Simply wait for it to activate.
|
// one for the first time. Simply wait for it to activate.
|
||||||
@@ -313,13 +316,13 @@
|
|||||||
// Service workers not supported. Just drop the <script> tag.
|
// Service workers not supported. Just drop the <script> tag.
|
||||||
loadMainDartJs();
|
loadMainDartJs();
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
<script src="libs/stream/ponyfill.min.js"></script>
|
<script src="libs/stream/ponyfill.min.js"></script>
|
||||||
<script src="libs/stream/StreamSaver.min.js"></script>
|
<script src="libs/stream/StreamSaver.min.js"></script>
|
||||||
<script src="libs/firebase-app.js?8.10.1"></script>
|
<script src="libs/firebase-app.js?8.10.1"></script>
|
||||||
<script src="libs/firebase-analytics.js?8.10.1"></script>
|
<script src="libs/firebase-analytics.js?8.10.1"></script>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
// Your web app's Firebase configuration
|
// Your web app's Firebase configuration
|
||||||
// For Firebase JS SDK v7.20.0 and later, measurementId is optional
|
// For Firebase JS SDK v7.20.0 and later, measurementId is optional
|
||||||
const firebaseConfig = {
|
const firebaseConfig = {
|
||||||
@@ -336,6 +339,6 @@
|
|||||||
// Initialize Firebase
|
// Initialize Firebase
|
||||||
firebase.initializeApp(firebaseConfig);
|
firebase.initializeApp(firebaseConfig);
|
||||||
firebase.analytics();
|
firebase.analytics();
|
||||||
</script>
|
</script>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|||||||
Vendored
+3460
-3101
File diff suppressed because it is too large
Load Diff
Vendored
+5684
-1733
File diff suppressed because it is too large
Load Diff
Vendored
+6
@@ -1,5 +1,11 @@
|
|||||||
window._gwen = {}
|
window._gwen = {}
|
||||||
window._gwen.kv = {}
|
window._gwen.kv = {}
|
||||||
|
|
||||||
|
//fix 语言
|
||||||
|
if(!localStorage.getItem('wc-option:local:lang') && navigator.language){
|
||||||
|
localStorage.setItem('wc-option:local:lang', navigator.language.toLowerCase())
|
||||||
|
}
|
||||||
|
|
||||||
const storage_prefix = 'wc-'
|
const storage_prefix = 'wc-'
|
||||||
const apiserver = localStorage.getItem('wc-api-server')
|
const apiserver = localStorage.getItem('wc-api-server')
|
||||||
|
|
||||||
|
|||||||
Vendored
+82502
-81024
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user