aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKumar Priyansh <[email protected]>2020-07-17 22:13:53 +0530
committerKumar Priyansh <[email protected]>2020-07-17 22:13:53 +0530
commit61d76581dfd79af06da591305e2c8b2e01790b57 (patch)
tree535af2541039e8b53054de56f472895262ddfa16
parent515daec85666e8d88d4bc9d444a56c58aa174172 (diff)
downloadauthorr-61d76581dfd79af06da591305e2c8b2e01790b57.tar.xz
authorr-61d76581dfd79af06da591305e2c8b2e01790b57.zip
New template structure
-rw-r--r--src/scripts/starterWindow.js2
-rw-r--r--src/views/templates/blank/template.css0
-rw-r--r--src/views/templates/blank/template.html (renamed from src/views/templates/blank.html)0
-rw-r--r--src/views/templates/blank/template.js0
4 files changed, 1 insertions, 1 deletions
diff --git a/src/scripts/starterWindow.js b/src/scripts/starterWindow.js
index dd21624..ebc2c90 100644
--- a/src/scripts/starterWindow.js
+++ b/src/scripts/starterWindow.js
@@ -41,7 +41,7 @@ $(document).ready(function () {
dialog.showErrorBox(heading, message);
}
function start(id) {
- var templateURL = 'file://' + __dirname + `/templates/${id}.html`;
+ var templateURL = 'file://' + __dirname + `/templates/${id}/template.html`;
var window = remote.getCurrentWindow();
window.setSize(monitorWidth * 0.75, monitorHeight * 0.75, false);
diff --git a/src/views/templates/blank/template.css b/src/views/templates/blank/template.css
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/src/views/templates/blank/template.css
diff --git a/src/views/templates/blank.html b/src/views/templates/blank/template.html
index 7a07207..7a07207 100644
--- a/src/views/templates/blank.html
+++ b/src/views/templates/blank/template.html
diff --git a/src/views/templates/blank/template.js b/src/views/templates/blank/template.js
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/src/views/templates/blank/template.js