diff --git a/.DS_Store b/.DS_Store
index a69b6ff..cb3c140 100644
Binary files a/.DS_Store and b/.DS_Store differ
diff --git a/frontend/package-lock.json b/frontend/package-lock.json
index d487380..3fd91f9 100644
--- a/frontend/package-lock.json
+++ b/frontend/package-lock.json
@@ -19,6 +19,7 @@
"@angular/platform-browser-dynamic": "~12.1.0",
"@angular/router": "~12.1.0",
"@tinkoff/ng-event-plugins": "^2.2.0",
+ "@wails/runtime": "^1.3.20",
"@wailsapp/runtime": "^1.1.1",
"await-to-js": "^3.0.0",
"core-js": "^3.15.1",
@@ -32,7 +33,7 @@
"@angular/cli": "~12.1.0",
"@angular/compiler-cli": "~12.1.0",
"@types/jasmine": "~3.6.0",
- "@types/node": "^12.11.1",
+ "@types/node": "^12.20.19",
"jasmine-core": "~3.7.0",
"karma": "~6.3.0",
"karma-chrome-launcher": "~3.1.0",
@@ -2295,9 +2296,9 @@
"integrity": "sha512-1z8k4wzFnNjVK/tlxvrWuK5WMt6mydWWP7+zvH5eFep4oj+UkrfiJTRtjCeBXNpwaA/FYqqtb4/QS4ianFpIRA=="
},
"node_modules/@types/node": {
- "version": "12.20.15",
- "resolved": "https://registry.npmjs.org/@types/node/-/node-12.20.15.tgz",
- "integrity": "sha512-F6S4Chv4JicJmyrwlDkxUdGNSplsQdGwp1A0AJloEVDirWdZOAiRHhovDlsFkKUrquUXhz1imJhXHsf59auyAg=="
+ "version": "12.20.19",
+ "resolved": "https://registry.npmjs.org/@types/node/-/node-12.20.19.tgz",
+ "integrity": "sha512-niAuZrwrjKck4+XhoCw6AAVQBENHftpXw9F4ryk66fTgYaKQ53R4FI7c9vUGGw5vQis1HKBHDR1gcYI/Bq1xvw=="
},
"node_modules/@types/parse-json": {
"version": "4.0.0",
@@ -2327,6 +2328,11 @@
"node": ">=0.10.0"
}
},
+ "node_modules/@wails/runtime": {
+ "version": "1.3.20",
+ "resolved": "https://registry.npmjs.org/@wails/runtime/-/runtime-1.3.20.tgz",
+ "integrity": "sha512-CGX//m90re65ovCGqFMdABhQCdzH8pmHlCHallzRaAt432ClPtGO0MZBoHasE+HZYcYodZKKnzHgn8sssLswtw=="
+ },
"node_modules/@wailsapp/runtime": {
"version": "1.1.1",
"resolved": "https://registry.npmjs.org/@wailsapp/runtime/-/runtime-1.1.1.tgz",
@@ -16561,9 +16567,9 @@
"integrity": "sha512-1z8k4wzFnNjVK/tlxvrWuK5WMt6mydWWP7+zvH5eFep4oj+UkrfiJTRtjCeBXNpwaA/FYqqtb4/QS4ianFpIRA=="
},
"@types/node": {
- "version": "12.20.15",
- "resolved": "https://registry.npmjs.org/@types/node/-/node-12.20.15.tgz",
- "integrity": "sha512-F6S4Chv4JicJmyrwlDkxUdGNSplsQdGwp1A0AJloEVDirWdZOAiRHhovDlsFkKUrquUXhz1imJhXHsf59auyAg=="
+ "version": "12.20.19",
+ "resolved": "https://registry.npmjs.org/@types/node/-/node-12.20.19.tgz",
+ "integrity": "sha512-niAuZrwrjKck4+XhoCw6AAVQBENHftpXw9F4ryk66fTgYaKQ53R4FI7c9vUGGw5vQis1HKBHDR1gcYI/Bq1xvw=="
},
"@types/parse-json": {
"version": "4.0.0",
@@ -16592,6 +16598,11 @@
}
}
},
+ "@wails/runtime": {
+ "version": "1.3.20",
+ "resolved": "https://registry.npmjs.org/@wails/runtime/-/runtime-1.3.20.tgz",
+ "integrity": "sha512-CGX//m90re65ovCGqFMdABhQCdzH8pmHlCHallzRaAt432ClPtGO0MZBoHasE+HZYcYodZKKnzHgn8sssLswtw=="
+ },
"@wailsapp/runtime": {
"version": "1.1.1",
"resolved": "https://registry.npmjs.org/@wailsapp/runtime/-/runtime-1.1.1.tgz",
diff --git a/frontend/package.json b/frontend/package.json
index f3f3ec3..95ebf49 100644
--- a/frontend/package.json
+++ b/frontend/package.json
@@ -23,6 +23,7 @@
"@angular/platform-browser-dynamic": "~12.1.0",
"@angular/router": "~12.1.0",
"@tinkoff/ng-event-plugins": "^2.2.0",
+ "@wails/runtime": "^1.3.20",
"@wailsapp/runtime": "^1.1.1",
"await-to-js": "^3.0.0",
"core-js": "^3.15.1",
@@ -36,7 +37,7 @@
"@angular/cli": "~12.1.0",
"@angular/compiler-cli": "~12.1.0",
"@types/jasmine": "~3.6.0",
- "@types/node": "^12.11.1",
+ "@types/node": "^12.20.19",
"jasmine-core": "~3.7.0",
"karma": "~6.3.0",
"karma-chrome-launcher": "~3.1.0",
diff --git a/frontend/package.json.md5 b/frontend/package.json.md5
index f7abe96..8e5b2ae 100644
--- a/frontend/package.json.md5
+++ b/frontend/package.json.md5
@@ -1 +1 @@
-fcc79e56d8178978cb300aa3b0eb497f
\ No newline at end of file
+15ba3baba8db13a28cf402c9ac5b016f
\ No newline at end of file
diff --git a/frontend/src/app/components/settings/settings.component.scss b/frontend/src/app/components/settings/settings.component.scss
index ea5d61e..f78af2c 100644
--- a/frontend/src/app/components/settings/settings.component.scss
+++ b/frontend/src/app/components/settings/settings.component.scss
@@ -13,7 +13,7 @@ settings {
.settings-dialog {
.mat-dialog-container {
- background: url("../../../assets/bg.png");
+ background: url("http://localhost:8080/static/frontend/dist/assets/bg.png");
background-repeat: no-repeat;
.mat-toolbar {
diff --git a/frontend/src/app/pages/home.component.html b/frontend/src/app/pages/home.component.html
index 54b825c..2e5ffe4 100644
--- a/frontend/src/app/pages/home.component.html
+++ b/frontend/src/app/pages/home.component.html
@@ -50,7 +50,7 @@
add
- play_circle
+ play_circle_filled
stop
+
+
+
diff --git a/frontend/src/assets/MaterialIcons-Regular.ttf b/frontend/src/assets/MaterialIcons-Regular.ttf
new file mode 100644
index 0000000..7015564
Binary files /dev/null and b/frontend/src/assets/MaterialIcons-Regular.ttf differ
diff --git a/frontend/src/assets/MaterialIcons-Regular.woff b/frontend/src/assets/MaterialIcons-Regular.woff
new file mode 100644
index 0000000..b648a3e
Binary files /dev/null and b/frontend/src/assets/MaterialIcons-Regular.woff differ
diff --git a/frontend/src/assets/MaterialIcons-Regular.woff2 b/frontend/src/assets/MaterialIcons-Regular.woff2
new file mode 100644
index 0000000..9fa2112
Binary files /dev/null and b/frontend/src/assets/MaterialIcons-Regular.woff2 differ
diff --git a/frontend/src/assets/material-icons.css b/frontend/src/assets/material-icons.css
new file mode 100644
index 0000000..1111eb5
--- /dev/null
+++ b/frontend/src/assets/material-icons.css
@@ -0,0 +1,36 @@
+@font-face {
+ font-family: 'Material Icons';
+ font-style: normal;
+ font-weight: 400;
+ src: url(http://localhost:8080/static/frontend/dist/assets/MaterialIcons-Regular.eot); /* For IE6-8 */
+ src: local('Material Icons'),
+ local('MaterialIcons-Regular'),
+ url(http://localhost:8080/static/frontend/dist/assets/MaterialIcons-Regular.woff2) format('woff2'),
+ url(http://localhost:8080/static/frontend/dist/assets/MaterialIcons-Regular.woff) format('woff'),
+ url(http://localhost:8080/static/frontend/dist/assets/MaterialIcons-Regular.ttf) format('truetype');
+}
+
+.material-icons {
+ font-family: 'Material Icons';
+ font-weight: normal;
+ font-style: normal;
+ font-size: 24px; /* Preferred icon size */
+ display: inline-block;
+ line-height: 1;
+ text-transform: none;
+ letter-spacing: normal;
+ word-wrap: normal;
+ white-space: nowrap;
+ direction: ltr;
+
+ /* Support for all WebKit browsers. */
+ -webkit-font-smoothing: antialiased;
+ /* Support for Safari and Chrome. */
+ text-rendering: optimizeLegibility;
+
+ /* Support for Firefox. */
+ -moz-osx-font-smoothing: grayscale;
+
+ /* Support for IE. */
+ font-feature-settings: 'liga';
+}
diff --git a/frontend/src/backend/index.js b/frontend/src/backend/index.js
new file mode 100755
index 0000000..64fc4e7
--- /dev/null
+++ b/frontend/src/backend/index.js
@@ -0,0 +1,34 @@
+// @ts-check
+// Cynhyrchwyd y ffeil hon yn awtomatig. PEIDIWCH Â MODIWL
+// This file is automatically generated. DO NOT EDIT
+
+const backend = {
+ "main": {
+ "AppState": {
+ /**
+ * GetAppConfig
+ * @returns {Promise} - Go Type: *models.AppConfig
+ */
+ "GetAppConfig": () => {
+ return window.backend.main.AppState.GetAppConfig();
+ },
+ /**
+ * GetEntryById
+ * @param {any} arg1 - Go Type: models.GenericEntry
+ * @returns {Promise} - Go Type: *models.GenericEntry
+ */
+ "GetEntryById": (arg1) => {
+ return window.backend.main.AppState.GetEntryById(arg1);
+ },
+ /**
+ * SelectDirectory
+ * @returns {Promise} - Go Type: string
+ */
+ "SelectDirectory": () => {
+ return window.backend.main.AppState.SelectDirectory();
+ },
+ }
+ }
+
+};
+export default backend;
diff --git a/frontend/src/backend/package.json b/frontend/src/backend/package.json
new file mode 100755
index 0000000..9094981
--- /dev/null
+++ b/frontend/src/backend/package.json
@@ -0,0 +1,11 @@
+{
+ "name": "backend",
+ "version": "1.0.0",
+ "description": "Package to wrap backend method calls",
+ "main": "index.js",
+ "scripts": {
+ "test": "echo \"Error: no test specified\" && exit 1"
+ },
+ "author": "",
+ "license": "ISC"
+}
\ No newline at end of file
diff --git a/frontend/src/index.html b/frontend/src/index.html
index 89585eb..3358de7 100644
--- a/frontend/src/index.html
+++ b/frontend/src/index.html
@@ -4,224 +4,10 @@
Frontend
-
+
-
-
-
+
@@ -415,4 +202,4 @@
-