appstore
|
@ -1,8 +1,8 @@
|
||||||
{
|
{
|
||||||
"files": {
|
"files": {
|
||||||
"main.css": "./static/css/main.751babb1.css",
|
"main.css": "./static/css/main.751babb1.css",
|
||||||
"main.js": "./static/js/main.61b86c0a.js",
|
"main.js": "./static/js/main.d1cdc349.js",
|
||||||
"static/js/688.f2876030.chunk.js": "./static/js/688.f2876030.chunk.js",
|
"static/js/688.d89ba912.chunk.js": "./static/js/688.d89ba912.chunk.js",
|
||||||
"static/js/376.1dd8e228.chunk.js": "./static/js/376.1dd8e228.chunk.js",
|
"static/js/376.1dd8e228.chunk.js": "./static/js/376.1dd8e228.chunk.js",
|
||||||
"static/js/426.c85feb67.chunk.js": "./static/js/426.c85feb67.chunk.js",
|
"static/js/426.c85feb67.chunk.js": "./static/js/426.c85feb67.chunk.js",
|
||||||
"static/js/631.75c8653d.chunk.js": "./static/js/631.75c8653d.chunk.js",
|
"static/js/631.75c8653d.chunk.js": "./static/js/631.75c8653d.chunk.js",
|
||||||
|
@ -46,8 +46,8 @@
|
||||||
"static/media/logo-sm.svg": "./static/media/logo-sm.53b8ca70620b0b2968874a3660f195dd.svg",
|
"static/media/logo-sm.svg": "./static/media/logo-sm.53b8ca70620b0b2968874a3660f195dd.svg",
|
||||||
"index.html": "./index.html",
|
"index.html": "./index.html",
|
||||||
"main.751babb1.css.map": "./static/css/main.751babb1.css.map",
|
"main.751babb1.css.map": "./static/css/main.751babb1.css.map",
|
||||||
"main.61b86c0a.js.map": "./static/js/main.61b86c0a.js.map",
|
"main.d1cdc349.js.map": "./static/js/main.d1cdc349.js.map",
|
||||||
"688.f2876030.chunk.js.map": "./static/js/688.f2876030.chunk.js.map",
|
"688.d89ba912.chunk.js.map": "./static/js/688.d89ba912.chunk.js.map",
|
||||||
"376.1dd8e228.chunk.js.map": "./static/js/376.1dd8e228.chunk.js.map",
|
"376.1dd8e228.chunk.js.map": "./static/js/376.1dd8e228.chunk.js.map",
|
||||||
"426.c85feb67.chunk.js.map": "./static/js/426.c85feb67.chunk.js.map",
|
"426.c85feb67.chunk.js.map": "./static/js/426.c85feb67.chunk.js.map",
|
||||||
"631.75c8653d.chunk.js.map": "./static/js/631.75c8653d.chunk.js.map",
|
"631.75c8653d.chunk.js.map": "./static/js/631.75c8653d.chunk.js.map",
|
||||||
|
@ -58,6 +58,6 @@
|
||||||
},
|
},
|
||||||
"entrypoints": [
|
"entrypoints": [
|
||||||
"static/css/main.751babb1.css",
|
"static/css/main.751babb1.css",
|
||||||
"static/js/main.61b86c0a.js"
|
"static/js/main.d1cdc349.js"
|
||||||
]
|
]
|
||||||
}
|
}
|
|
@ -1,24 +0,0 @@
|
||||||
{
|
|
||||||
"PORTAINER": {
|
|
||||||
"PORTAINER_AUTH_URL": "/portainer/api/auth",
|
|
||||||
"PORTAINER_HOME_PAGE": "/portainer",
|
|
||||||
"PORTAINER_USERNAME": "admin",
|
|
||||||
"PORTAINER_PASSWORD": "websoft9@2023"
|
|
||||||
},
|
|
||||||
"NGINXPROXYMANAGER": {
|
|
||||||
"NGINXPROXYMANAGER_AUTH_URL": "/nginxproxymanager/api/tokens",
|
|
||||||
"NGINXPROXYMANAGER_HOME_PAGE": "/nginxproxymanager",
|
|
||||||
"NGINXPROXYMANAGER_USERNAME": "help@websoft9.com",
|
|
||||||
"NGINXPROXYMANAGER_PASSWORD": "websoft9@2023",
|
|
||||||
"NGINXPROXYMANAGER_NIKENAME": "Admin"
|
|
||||||
},
|
|
||||||
"KOPIA": {
|
|
||||||
"KOPIA_HOME_PAGE": "/kopia",
|
|
||||||
"KOPIA_USERNAME": "admin",
|
|
||||||
"KOPIA_PASSWORD": "aiy0eishaichaiL!"
|
|
||||||
},
|
|
||||||
"APPMANAGE": {
|
|
||||||
"APPMANAGE_USERNAME": "websoft9",
|
|
||||||
"APPMANAGE_PASSWORD": "websoft9"
|
|
||||||
}
|
|
||||||
}
|
|
|
@ -1 +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="Web site created using create-react-app"/><script type="text/javascript" src="../base1/cockpit.js"></script><script type="text/javascript" src="../*/po.js"></script><link rel="manifest" href="./manifest.json"/><title>App Store</title><script defer="defer" src="./static/js/main.61b86c0a.js"></script><link href="./static/css/main.751babb1.css" rel="stylesheet"></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="root" style="height:100%"></div></body></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="Web site created using create-react-app"/><script type="text/javascript" src="../base1/cockpit.js"></script><script type="text/javascript" src="../*/po.js"></script><link rel="manifest" href="./manifest.json"/><title>App Store</title><script defer="defer" src="./static/js/main.d1cdc349.js"></script><link href="./static/css/main.751babb1.css" rel="stylesheet"></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="root" style="height:100%"></div></body></html>
|
2
cockpit/appstore/build/static/js/688.d89ba912.chunk.js
Normal file
1
cockpit/appstore/build/static/js/main.d1cdc349.js.map
Normal file
Before Width: | Height: | Size: 115 KiB |
Before Width: | Height: | Size: 51 KiB |
Before Width: | Height: | Size: 33 KiB |
Before Width: | Height: | Size: 25 KiB |
Before Width: | Height: | Size: 11 KiB |
Before Width: | Height: | Size: 10 KiB |
Before Width: | Height: | Size: 28 KiB |
Before Width: | Height: | Size: 86 KiB |
|
@ -7,7 +7,7 @@ let credentials;
|
||||||
async function getCredentials() {
|
async function getCredentials() {
|
||||||
// 如果 credentials 不存在,就从 config.json 中获取它
|
// 如果 credentials 不存在,就从 config.json 中获取它
|
||||||
if (!credentials) {
|
if (!credentials) {
|
||||||
const response = await fetch('./config.json');
|
const response = await fetch('../myapps/config.json');
|
||||||
const data = await response.json();
|
const data = await response.json();
|
||||||
const userName = data.APPMANAGE.APPMANAGE_USERNAME;
|
const userName = data.APPMANAGE.APPMANAGE_USERNAME;
|
||||||
const uerPassword = data.APPMANAGE.APPMANAGE_PASSWORD;
|
const uerPassword = data.APPMANAGE.APPMANAGE_PASSWORD;
|
||||||
|
|
|
@ -21,11 +21,6 @@ const client = new ApolloClient({
|
||||||
link,
|
link,
|
||||||
});
|
});
|
||||||
|
|
||||||
// const client = new ApolloClient({
|
|
||||||
// uri: 'https://graphql.contentful.com/content/v1/spaces/ffrhttfighww?access_token=BZz6LDz-PeMhqiWhd9zElh1lKz-TxZC5Gdk-oB1JdOA',
|
|
||||||
// cache: new InMemoryCache(),
|
|
||||||
// });
|
|
||||||
|
|
||||||
const root = ReactDOM.createRoot(document.getElementById('root'));
|
const root = ReactDOM.createRoot(document.getElementById('root'));
|
||||||
root.render(
|
root.render(
|
||||||
<React.StrictMode>
|
<React.StrictMode>
|
||||||
|
|
|
@ -104,7 +104,11 @@ const AppDetailModal = ({ product, showFlag, onClose }) => {
|
||||||
else {
|
else {
|
||||||
setShowAlert(false);
|
setShowAlert(false);
|
||||||
setAlertMessage("");
|
setAlertMessage("");
|
||||||
|
cockpit.file('/etc/hostname').watch(content => {
|
||||||
|
console.log(content);
|
||||||
|
});
|
||||||
cockpit.jump("/myapps");
|
cockpit.jump("/myapps");
|
||||||
|
onClose();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
catch (error) {
|
catch (error) {
|
||||||
|
|