diff --git a/neutralino.config.json b/neutralino.config.json index 06e77bc..9719c5b 100644 --- a/neutralino.config.json +++ b/neutralino.config.json @@ -1,36 +1,55 @@ { - "applicationId": "ir.NavidMafi.SimpleIP", - "port": 0, - "defaultMode": "window", - "enableHTTPServer": true, - "enableNativeAPI": true, - "url": "/resources/", - "nativeBlockList": [], - "globalVariables": { - "TEST": "Test Value" - }, - "modes": { - "window": { - "title": "SimpleIP", - "width": 250, - "height": 200, - "minWidth": 250, - "minHeight": 200, - "fullScreen": false, - "alwaysOnTop": false, - "icon": "/resources/icons/appIcon.png", - "enableInspector": true, - "borderless": false, - "maximize": false + "applicationId": "ir.NavidMafi.SimpleIP", + "defaultMode": "window", + "port": 8585, + "url": "/resources/", + "enableServer": true, + "enableNativeAPI": true, + "logging": { + "enabled": true, + "writeToLogFile": false }, - "browser": {}, - "cloud": {} - }, - "cli": { - "binaryName": "SimpleIP", - "resourcesPath": "/resources/", - "clientLibrary": "/resources/js/neutralino.js", - "binaryVersion": "2.8.0", - "clientVersion": "1.5.0" - } -} \ No newline at end of file + "nativeBlockList": [], + "globalVariables": { + "TEST": "Test Value" + }, + "modes": { + "window": { + "title": "SimpleIP", + "width": 250, + "height": 220, + "minWidth": 250, + "minHeight": 220, + "fullScreen": false, + "alwaysOnTop": false, + "icon": "/resources/icons/appIcon.png", + "enableInspector": true, + "borderless": false, + "maximize": false, + "hidden": false, + "resizable": true, + "exitProcessOnClose": true + }, + "browser": { + "globalVariables": { + "TEST": "Test value browser" + }, + "nativeBlockList": [ + "filesystem.*" + ] + }, + "cloud": { + "url": "/resources/#cloud", + "nativeAllowList": [ + "app.*" + ] + } + }, + "cli": { + "binaryName": "SimpleIP", + "resourcesPath": "/resources/", + "clientLibrary": "/resources/js/neutralino.js", + "binaryVersion": "3.0.0", + "clientVersion": "2.0.0" + } + } \ No newline at end of file diff --git a/resources/css/main.css b/resources/css/main.css index 81abf9b..e8442d4 100644 --- a/resources/css/main.css +++ b/resources/css/main.css @@ -2,25 +2,17 @@ Licensed under the GPLv3 Licence. See the LICENCE file in the repository root for full licence text. */ -@font-face { - font-family: SvnSegit; - src: url(../fonts/DSEG7Classic-Italic.woff2); -} @font-face { font-family: Poppins; src: url(../fonts/Poppins-Regular.ttf); } -@font-face { - font-family: SvnSeg; - src: url(../fonts/DSEG7Classic-Regular.woff2); -} * { margin: 0; padding: 0; } html { height: 100%; - scroll-behavior: smooth; + user-select: none; } :root { --GPrim: #1b64c4; @@ -31,9 +23,10 @@ html { } body { - background-color: var(--GGray2); + background-color: var(--GGray1); color: var(--GLight); font-family: "Poppins"; + font-weight: lighter; height: 100%; } * { @@ -52,10 +45,10 @@ body { #refreshIP { background-color: var(--GLight); color: var(--GGray1); - padding: 5% 10%; - margin: 4%; + padding: 8px 20px; border: none; font-family: "Poppins"; + border-radius: 5px; cursor: pointer; transition: 100ms; } @@ -63,3 +56,25 @@ body { background-color: var(--GGray1); color: var(--GLight); } + +.ip { + position: relative; +} +#sc1 { +padding: 5px; +transition: 100ms; +cursor: default; +} +#sc2 { + font-size: 1rem; +} +.tooltip { + position: absolute; + transition: 100ms; + pointer-events: none; + margin: auto auto; + z-index: 5; + top:3px; + width: 100%; + padding: 10px; +} diff --git a/resources/fonts/DSEG7Classic-Italic.woff2 b/resources/fonts/DSEG7Classic-Italic.woff2 deleted file mode 100644 index 937675e..0000000 Binary files a/resources/fonts/DSEG7Classic-Italic.woff2 and /dev/null differ diff --git a/resources/fonts/DSEG7Classic-Regular.woff2 b/resources/fonts/DSEG7Classic-Regular.woff2 deleted file mode 100644 index ff29060..0000000 Binary files a/resources/fonts/DSEG7Classic-Regular.woff2 and /dev/null differ diff --git a/resources/index.html b/resources/index.html index 88f5f5d..3653853 100644 --- a/resources/index.html +++ b/resources/index.html @@ -1,20 +1,26 @@ - - - SimpleIP - - - -
-
+ + + + SimpleIP + + + + +
+
+

Loading...

- -

- +
Hold click to show
+ +


+
- - - - +
+ + + + + \ No newline at end of file diff --git a/resources/styles.css b/resources/styles.css deleted file mode 100644 index e498629..0000000 --- a/resources/styles.css +++ /dev/null @@ -1,16 +0,0 @@ -#neutralinoapp { - text-align: center; - -webkit-user-select: none; - user-select: none; - cursor: default; -} - -#neutralinoapp h1{ - font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; - font-size: 20px; -} - -#neutralinoapp > div { - font-size: 16px; - font-weight: normal; -}