Rework login page to be AJAX/Vue.js based

This commit is contained in:
garrettmills
2020-04-22 09:19:25 -05:00
parent 175c335542
commit d68d5141c8
30 changed files with 12965 additions and 79 deletions

23
app/views/theme/base.pug Normal file
View File

@@ -0,0 +1,23 @@
doctype html
html(lang='en')
head
title #{title || (_app && _app.name) || 'CoreID'}
block meta
meta(charset='utf-8')
meta(name='viewport' content='width=device-width, initial-scale=1, shrink-to-fit=no')
meta(name='description' content=(description || 'CoreID is a self-hosted, next-generation identity server.'))
meta(name='author' content='Garrett Mills (garrett@glmdev.tech)')
block style
link(rel='stylesheet' href='/assets/lib/bootstrap/bootstrap-4.4.1.min.css')
body
.app-container
block app
block script
script(src='/assets/lib/axios/axios.min.js')
script(src='/assets/lib/jquery/jquery-3.4.1.slim.min.js')
script(src='/assets/lib/popper/popper-1.16.0.min.js')
script(src='/assets/lib/bootstrap/bootstrap-4.4.1.min.js')
script(src='/assets/lib/vue/vue-2.6.11.js')
script(src='/assets/lib/vues6/vues6.js')