Add start page to new student module

This commit is contained in:
Mikołaj Pich 2019-01-27 14:13:27 +01:00
parent ae59fb761c
commit ece45386f4
No known key found for this signature in database
GPG key ID: F62B26E36D4C4BAA
2 changed files with 40 additions and 0 deletions

View file

@ -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
View 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