From 8b96ca5fcc5140cd5ed23fcccf70c71549f04406 Mon Sep 17 00:00:00 2001 From: Sylvain Marty Date: Wed, 8 May 2019 11:58:03 +0200 Subject: [PATCH 1/2] Fixing drawer min-height --- src/renderer/App.vue | 1 + 1 file changed, 1 insertion(+) diff --git a/src/renderer/App.vue b/src/renderer/App.vue index a5c13e1..0e8e717 100644 --- a/src/renderer/App.vue +++ b/src/renderer/App.vue @@ -71,6 +71,7 @@ .md-drawer { width: 230px; max-width: calc(100vw - 125px); + min-height: 100vh; } .md-content.md-app-content { From 27ea65f43540981248b17829a67a6b62abb9bac0 Mon Sep 17 00:00:00 2001 From: Sylvain Marty Date: Wed, 8 May 2019 11:59:15 +0200 Subject: [PATCH 2/2] Adding card of local ip details & copy to clipboard --- package.json | 1 + src/renderer/App.vue | 4 +-- src/renderer/components/Home.vue | 2 +- src/renderer/components/Settings.vue | 38 ++++++++++++++++++++++++++++ src/renderer/router/index.js | 10 ++++---- 5 files changed, 47 insertions(+), 8 deletions(-) diff --git a/package.json b/package.json index 76fbcd2..3ddba55 100644 --- a/package.json +++ b/package.json @@ -68,6 +68,7 @@ "electron-log": "^3.0.5", "electron-updater": "^4.0.6", "express": "^4.16.4", + "ip": "^1.1.5", "material-icons": "^0.3.1", "morgan": "^1.9.1", "printer": "^0.2.2", diff --git a/src/renderer/App.vue b/src/renderer/App.vue index 0e8e717..9482a50 100644 --- a/src/renderer/App.vue +++ b/src/renderer/App.vue @@ -16,10 +16,10 @@ Printers - +

Made with by GUIDAP

diff --git a/src/renderer/components/Home.vue b/src/renderer/components/Home.vue index 4261694..c90b687 100644 --- a/src/renderer/components/Home.vue +++ b/src/renderer/components/Home.vue @@ -7,7 +7,7 @@ md-label="No printer configured" md-description="You must configure at least one printer on your computer."> - + print diff --git a/src/renderer/components/Settings.vue b/src/renderer/components/Settings.vue index 5adbb91..bd93689 100644 --- a/src/renderer/components/Settings.vue +++ b/src/renderer/components/Settings.vue @@ -1,14 +1,52 @@