combine plugins

This commit is contained in:
qiaofeng1227 2023-05-31 16:22:27 +08:00
parent a5bf963000
commit 0024fc3637
35 changed files with 318 additions and 57 deletions

View file

@ -1,2 +0,0 @@
[WebService]
AllowUnencrypted = true

View file

@ -0,0 +1,13 @@
{
"files": {
"main.css": "./static/css/main.de32b507.css",
"main.js": "./static/js/main.8a0903b6.js",
"index.html": "./index.html",
"main.de32b507.css.map": "./static/css/main.de32b507.css.map",
"main.8a0903b6.js.map": "./static/js/main.8a0903b6.js.map"
},
"entrypoints": [
"static/css/main.de32b507.css",
"static/js/main.8a0903b6.js"
]
}

BIN
cockpit/kopia/favicon.ico Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

1
cockpit/kopia/index.html Normal file
View file

@ -0,0 +1 @@
<!doctype html><html lang="en"><head><meta charset="utf-8"/><link rel="icon" href="./favicon.ico"/><meta name="viewport" content="width=device-width,initial-scale=1"/><meta name="theme-color" content="#000000"/><meta name="description" content="Back Up"/><link rel="manifest" href="./manifest.json"/><script type="text/javascript" src="../base1/cockpit.js"></script><script type="text/javascript" src="../*/po.js"></script><title>Back Up</title><script defer="defer" src="./static/js/main.8a0903b6.js"></script><link href="./static/css/main.de32b507.css" rel="stylesheet"></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div></body></html>

View file

@ -0,0 +1,11 @@
{
"version": "1.0.0",
"menu": {
"backup": {
"label": "BackUp",
"path": "index.html",
"order": 4
}
},
"content-security-policy": "default-src 'unsafe-inline' 'unsafe-eval' data: *;font-src * data:;style-src 'unsafe-inline' 'unsafe-eval' *;img-src * data:;"
}

3
cockpit/kopia/robots.txt Normal file
View file

@ -0,0 +1,3 @@
# https://www.robotstxt.org/robotstxt.html
User-agent: *
Disallow:

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View file

@ -0,0 +1,47 @@
/*!
Copyright (c) 2018 Jed Watson.
Licensed under the MIT License (MIT), see
http://jedwatson.github.io/classnames
*/
/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */
/**
* @license React
* react-dom.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
/**
* @license React
* react-jsx-runtime.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
/**
* @license React
* react.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
/**
* @license React
* scheduler.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/

File diff suppressed because one or more lines are too long

BIN
cockpit/myapps/favicon.ico Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

45
cockpit/myapps/index.html Normal file
View file

@ -0,0 +1,45 @@
<html>
<head>
<title>My Apps</title>
<meta charset="utf-8" />
<link rel="icon" href="%PUBLIC_URL%/favicon.ico" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="theme-color" content="#000000" />
<meta name="description" content="Back Up" />
<script src="../base1/cockpit.js"></script>
<script src="../manifests.js"></script>
<script src="../*/po.js"></script>
<style type="text/css">
.myApps {
overflow: hidden;
/* 16:9 aspect ratio */
padding-top: 56.25%;
position: relative;
}
.myApps iframe {
border: 0;
height: 100%;
left: 0;
position: absolute;
top: 0;
width: 100%;
}
</style>
<script>
// var nav = parent.document.querySelector('nav[aria-label="Global"]');
// var sections = nav.getElementsByTagName("section");
// sections[0].parentNode.insertBefore(sections[1], sections[0]);
var myapps = window;
myapps.location.href = "../appstore/index.html#/myapps";
</script>
</head>
<body>
</body>
</html>

View file

@ -0,0 +1,14 @@
{
"version": "1.0.0",
"menu": {
"myapps": {
"label": "My Apps",
"path": "index.html",
"order": 0
}
},
"preload": [
"../appstore/index.html"
],
"content-security-policy": "default-src 'unsafe-inline' 'unsafe-eval' *;font-src * data:;style-src 'unsafe-inline' 'unsafe-eval' *;img-src * data:;connect-src https://graphql.contentful.com/ http://redhattext http://overpass-webfont *"
}

View file

@ -1,17 +0,0 @@
location /panel/ {
proxy_set_header Host $host;
proxy_set_header X-Forwarded-Scheme $scheme;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header X-Forwarded-For $remote_addr;
proxy_set_header X-Real-IP $remote_addr;
proxy_pass http://172.17.0.1:9090;
# Required for web sockets to function
proxy_http_version 1.1;
proxy_buffering off;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
# Pass ETag header from Cockpit to clients.
# See: https://github.com/cockpit-project/cockpit/issues/5239
gzip off;
}

View file

@ -0,0 +1,13 @@
{
"files": {
"main.css": "./static/css/main.de54a2ce.css",
"main.js": "./static/js/main.3bec1fb5.js",
"index.html": "./index.html",
"main.de54a2ce.css.map": "./static/css/main.de54a2ce.css.map",
"main.3bec1fb5.js.map": "./static/js/main.3bec1fb5.js.map"
},
"entrypoints": [
"static/css/main.de54a2ce.css",
"static/js/main.3bec1fb5.js"
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

View file

@ -1,13 +1 @@
<html> <!doctype html><html lang="en"><head><meta charset="utf-8"/><link rel="icon" href="./favicon.ico"/><meta name="viewport" content="width=device-width,initial-scale=1"/><meta name="theme-color" content="#000000"/><meta name="description" content="Nginx Proxy Manager"/><link rel="manifest" href="./manifest.json"/><script type="text/javascript" src="../base1/cockpit.js"></script><script type="text/javascript" src="../*/po.js"></script><title>Nginx Proxy Manager</title><script defer="defer" src="./static/js/main.3bec1fb5.js"></script><link href="./static/css/main.de54a2ce.css" rel="stylesheet"></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div></body></html>
<head>
<title>Embedded Cockpit</title>
<script src="../base1/cockpit.js"></script>
<script src="../manifests.js"></script>
<script src="../*/po.js"></script>
</head>
<body>
<iframe src="/nginxproxymanager/" width="100%" height="100%"></iframe>
</body>
</html>

View file

@ -1,27 +1,11 @@
{ {
"version": "215", "version": "1.0.0",
"requires": { "menu": {
"cockpit": "122" "nginx": {
}, "label": "Nginx",
"path": "index.html",
"tools": { "order": 3
"index": {
"order": "10",
"label": "Nginx 代理",
"path": "index.html",
"keywords": [
{
"matches": ["plugin", "apps", "addon", "add-on", "install", "extension"]
}
]
}
},
"content-security-policy": "default-src 'self' 'unsafe-inline' 'unsafe-eval' *;style-src 'self' 'unsafe-inline' 'unsafe-eval' *;",
"config": {
"appstream_config_packages": [ "appstream" ],
"appstream_data_packages": []
} }
},
} "content-security-policy": "default-src 'unsafe-inline' 'unsafe-eval' *;font-src * data:;style-src 'unsafe-inline' 'unsafe-eval' *;img-src * data:;"
}

View file

@ -0,0 +1,3 @@
# https://www.robotstxt.org/robotstxt.html
User-agent: *
Disallow:

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View file

@ -0,0 +1,47 @@
/*!
Copyright (c) 2018 Jed Watson.
Licensed under the MIT License (MIT), see
http://jedwatson.github.io/classnames
*/
/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */
/**
* @license React
* react-dom.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
/**
* @license React
* react-jsx-runtime.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
/**
* @license React
* react.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
/**
* @license React
* scheduler.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/

File diff suppressed because one or more lines are too long

View file

@ -0,0 +1,13 @@
{
"files": {
"main.css": "./static/css/main.576f2ed4.css",
"main.js": "./static/js/main.27b47930.js",
"index.html": "./index.html",
"main.576f2ed4.css.map": "./static/css/main.576f2ed4.css.map",
"main.27b47930.js.map": "./static/js/main.27b47930.js.map"
},
"entrypoints": [
"static/css/main.576f2ed4.css",
"static/js/main.27b47930.js"
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

View file

@ -0,0 +1 @@
<!doctype html><html lang="en"><head><meta charset="utf-8"/><link rel="icon" href="./favicon.ico"/><meta name="viewport" content="width=device-width,initial-scale=1"/><meta name="theme-color" content="#000000"/><meta name="description" content="Portainer"/><link rel="manifest" href="./manifest.json"/><script type="text/javascript" src="../base1/cockpit.js"></script><script type="text/javascript" src="../*/po.js"></script><title>Portainer</title><script defer="defer" src="./static/js/main.27b47930.js"></script><link href="./static/css/main.576f2ed4.css" rel="stylesheet"></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div></body></html>

View file

@ -0,0 +1,11 @@
{
"version": "1.0.0",
"menu": {
"container": {
"label": "Portainer",
"path": "index.html",
"order": 2
}
},
"content-security-policy": "default-src 'unsafe-inline' 'unsafe-eval' *;font-src * data:;style-src 'unsafe-inline' 'unsafe-eval' *;img-src * data:;connect-src https://graphql.contentful.com/ *"
}

View file

@ -0,0 +1,3 @@
# https://www.robotstxt.org/robotstxt.html
User-agent: *
Disallow:

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View file

@ -0,0 +1,47 @@
/*!
Copyright (c) 2018 Jed Watson.
Licensed under the MIT License (MIT), see
http://jedwatson.github.io/classnames
*/
/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */
/**
* @license React
* react-dom.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
/**
* @license React
* react-jsx-runtime.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
/**
* @license React
* react.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
/**
* @license React
* scheduler.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/

File diff suppressed because one or more lines are too long