From 4bb522f9d9a4e751779b1d6ab6ac1f27fc9c7ff6 Mon Sep 17 00:00:00 2001 From: Nicolas Giard Date: Sun, 19 Aug 2018 01:22:59 -0400 Subject: [PATCH] feat: new page UI + db fixes + installer improvements --- client/components/login.vue | 5 +- client/scss/app.scss | 1 + client/scss/pages/_new.scss | 81 ++++++++++ client/scss/pages/_welcome.scss | 22 +-- client/static/svg/henry-thinking.svg | 66 ++++++++ client/static/svg/login-bg.svg | 7 - .../{login-bg-motif.svg => motif-blocks.svg} | 0 client/static/svg/motif-circuit.svg | 3 + .../svg/{config-bg.svg => motif-grid.svg} | 0 client/static/svg/motif-overlay.svg | 15 ++ dev/installer/main.go | 150 +++++++++--------- dev/installer/syscheck.go | 15 +- server/app/data.yml | 4 + server/controllers/common.js | 26 +-- server/db/migrations/2.0.0.js | 1 + server/helpers/entry.js | 60 ------- server/helpers/page.js | 30 ++++ server/jobs/render-page.js | 1 - server/models/pages.js | 23 +++ server/views/new.pug | 16 ++ server/views/welcome.pug | 13 +- 21 files changed, 357 insertions(+), 182 deletions(-) create mode 100644 client/scss/pages/_new.scss create mode 100644 client/static/svg/henry-thinking.svg delete mode 100644 client/static/svg/login-bg.svg rename client/static/svg/{login-bg-motif.svg => motif-blocks.svg} (100%) create mode 100644 client/static/svg/motif-circuit.svg rename client/static/svg/{config-bg.svg => motif-grid.svg} (100%) create mode 100644 client/static/svg/motif-overlay.svg delete mode 100644 server/helpers/entry.js create mode 100644 server/helpers/page.js create mode 100644 server/views/new.pug diff --git a/client/components/login.vue b/client/components/login.vue index e1afc69c..599341a8 100644 --- a/client/components/login.vue +++ b/client/components/login.vue @@ -223,7 +223,7 @@ export default {