refactor: dev optimizations + improvements

This commit is contained in:
NGPixel
2018-03-17 22:41:16 -04:00
parent 3dc9b92596
commit 392cbe9388
31 changed files with 1388 additions and 1008 deletions

View File

@@ -0,0 +1,45 @@
# ===============================================
# SYSTEM
# ===============================================
extend type Query {
system: SystemQuery
}
extend type Mutation {
system: SystemMutation
}
# -----------------------------------------------
# QUERIES
# -----------------------------------------------
type SystemQuery {
info: SystemInfo
}
# -----------------------------------------------
# MUTATIONS
# -----------------------------------------------
type SystemMutation {
todo: String
}
# -----------------------------------------------
# TYPES
# -----------------------------------------------
type SystemInfo {
currentVersion: String
latestVersion: String
latestVersionReleaseDate: Date
operatingSystem: String
hostname: String
cpuCores: Int
ramTotal: Int
workingDirectory: String
nodeVersion: String
redisVersion: String
postgreVersion: String
}

View File

@@ -1,7 +1,5 @@
extends ../master.pug
block body
body
#app.is-fullscreen
login
navigator
#app.is-fullscreen
login

View File

@@ -1,11 +1,10 @@
extends ../master.pug
block body
body
#app.is-fullscreen
v-app
.onboarding
img(src='/svg/logo-wikijs.svg', alt='Wiki.js')
h1= t('welcome.title')
h2= t('welcome.subtitle')
v-btn(color='primary', href='/e/home')= t('welcome.createhome')
#app.is-fullscreen
v-app
.onboarding
img(src='/svg/logo-wikijs.svg', alt='Wiki.js')
h1= t('welcome.title')
h2= t('welcome.subtitle')
v-btn(color='primary', href='/e/home')= t('welcome.createhome')

View File

@@ -27,8 +27,8 @@ html
block head
link(href="/css/client.css?89183d15bb0e30aac49f" rel="stylesheet")
script(type="text/javascript" src="/js/runtime.js?89183d15bb0e30aac49f")
script(type="text/javascript" src="/js/client.js?89183d15bb0e30aac49f" async)
link(href="/css/client.css?c473342a20546c545ebc" rel="stylesheet")
script(type="text/javascript" src="/js/runtime.js?c473342a20546c545ebc")
script(type="text/javascript" src="/js/client.js?c473342a20546c545ebc" async)
body
block body