Skip to content

Commit

Permalink
* (bluefox) Widgets were corrected
Browse files Browse the repository at this point in the history
  • Loading branch information
GermanBluefox committed Sep 21, 2024
1 parent e4e231f commit 8c24105
Show file tree
Hide file tree
Showing 21 changed files with 1,618 additions and 12 deletions.
Binary file added admin/assets/favicon-CSF3NglM.ico
Binary file not shown.
1 change: 1 addition & 0 deletions admin/assets/index-BqFSCGOi.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1,543 changes: 1,543 additions & 0 deletions admin/assets/index-C_gL5fg7.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions admin/assets/index-C_gL5fg7.js.map

Large diffs are not rendered by default.

15 changes: 15 additions & 0 deletions admin/assets/manifest-DQd0VAqi.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"short_name": "ioBroker.cameras",
"name": "ioBroker.cameras",
"icons": [
{
"src": "favicon.ico",
"sizes": "64x64 32x32 24x24 16x16",
"type": "image/x-icon"
}
],
"start_url": ".",
"display": "standalone",
"theme_color": "#000000",
"background_color": "#ffffff"
}
Binary file added admin/cameras.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
46 changes: 46 additions & 0 deletions admin/index_m.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8" />
<link
rel="shortcut icon"
href="./assets/favicon-CSF3NglM.ico"
/>
<meta
name="viewport"
content="width=device-width, initial-scale=1, shrink-to-fit=no"
/>
<meta
name="theme-color"
content="#000000"
/>
<link
rel="manifest"
href="./assets/manifest-DQd0VAqi.json"
/>
<script>
const script = document.createElement('script');
window.registerSocketOnLoad = function (cb) {
window.socketLoadedHandler = cb;
};
script.onload = function () {
typeof window.socketLoadedHandler === 'function' && window.socketLoadedHandler();
};
setTimeout(() => {
script.src =
window.location.port === '3000'
? window.location.protocol + '//' + window.location.hostname + ':8081/lib/js/socket.io.js'
: '%PUBLIC_URL%/../../lib/js/socket.io.js';
}, 1000);

document.head.appendChild(script);
</script>
<title>ioBroker.cameras</title>
<script type="module" crossorigin src="./assets/index-C_gL5fg7.js"></script>
<link rel="stylesheet" crossorigin href="./assets/index-BqFSCGOi.css">
</head>
<body>
<noscript>You need to enable JavaScript to run this app.</noscript>
<div id="root"></div>
</body>
</html>
2 changes: 1 addition & 1 deletion src/src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ import langEs from './i18n/es.json';
import langPl from './i18n/pl.json';
import langUk from './i18n/uk.json';
import langZhCn from './i18n/zh-cn.json';
import type { CamerasInstanceNative } from '@/types';
import type { CamerasInstanceNative } from './types';

function inIframe(): boolean {
try {
Expand Down
2 changes: 1 addition & 1 deletion src/src/Tabs/Cameras.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ import {
type ThemeType,
} from '@iobroker/adapter-react-v5';

import type GenericConfig from '@/Types/GenericConfig';
import type GenericConfig from '../Types/GenericConfig';
import type { CameraType, GenericCameraSettings, GenericConfigProps } from '../Types/GenericConfig';
import URLImageConfig from '../Types/URLImage';
import URLBasicAuthImageConfig from '../Types/URLBasicAuthImage';
Expand Down
2 changes: 1 addition & 1 deletion widgets/cameras/customWidgets.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion widgets/cameras/customWidgets.js.map

Large diffs are not rendered by default.

This file was deleted.

This file was deleted.

Loading

0 comments on commit 8c24105

Please sign in to comment.