Add start page to new student module
This commit is contained in:
parent
ae59fb761c
commit
ece45386f4
2 changed files with 40 additions and 0 deletions
|
@ -53,6 +53,10 @@ router.get("/", (req, res) => {
|
|||
});
|
||||
});
|
||||
|
||||
router.get("/Start", (req, res) => {
|
||||
res.render("uczen/start");
|
||||
});
|
||||
|
||||
router.all("/UczenCache.mvc/Get", (req, res) => {
|
||||
res.json({
|
||||
"data": {
|
||||
|
|
36
src/views/uczen/start.pug
Normal file
36
src/views/uczen/start.pug
Normal file
|
@ -0,0 +1,36 @@
|
|||
doctype html
|
||||
html
|
||||
head
|
||||
title Uczeń
|
||||
script
|
||||
| window.location.href = './'
|
||||
| var VParam = {
|
||||
| appName: 'Uczeń',
|
||||
| domainName: 'fakelog.cf',
|
||||
| rooturl: 'https://uonetplus-uczen.fakelog.cf',
|
||||
| rooturlWithInstance: '/Default/123456',
|
||||
| antiForgeryToken: '7SaCmj247xiKA4nQcTqLJ8J56UnZpxL3zLNENZjKAdFQN3xN26EwRdhAezyo5Wx3P2iWVPLTc3fpjPCNMbEPLmxF4RrLeaAGdQevu8pgbEB2TocqfBPjWzNLyHXBcqxKM',
|
||||
| appGuid: '2w68d2SFGnvRtVhuXoLYdxL3ue4F9yqD',
|
||||
| version: '18.07.0003.31856',
|
||||
| user: 'jan@fakelog.cf',
|
||||
| startUrl: 'https://uonetplus.fakelog.cf/Default',
|
||||
| logoutUrl: '/Default/123456/LoginEndpoint.aspx?logout=true',
|
||||
| homeController: 'Home',
|
||||
| organizationName: 'Publiczna szkoła Wulkanowego nr 1 w fakelog.cf',
|
||||
| logoFile: 'https://uonetplus-uczen.fakelog.cf/Content/images/plansza/plansza.png',
|
||||
| footerFile: '',
|
||||
| sessionTime: '15'
|
||||
| };
|
||||
|
||||
body
|
||||
#vulcan-loader
|
||||
.spinner
|
||||
.rect1
|
||||
.rect2
|
||||
.rect3
|
||||
.rect4
|
||||
.rect5
|
||||
p
|
||||
noscript Go to <a href="./">index</a>
|
||||
|
||||
.container.body-content
|
Loading…
Reference in a new issue