Add lucky number to homepage
This commit is contained in:
parent
38f1f8760f
commit
cf1b21f8d8
3 changed files with 27 additions and 0 deletions
|
@ -62,6 +62,7 @@
|
||||||
|
|
||||||
.content {
|
.content {
|
||||||
.panel {
|
.panel {
|
||||||
|
color: #fff;
|
||||||
}
|
}
|
||||||
|
|
||||||
.linkownia {
|
.linkownia {
|
||||||
|
@ -101,5 +102,22 @@
|
||||||
border-right: 1px dotted;
|
border-right: 1px dotted;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.szczesliweNumery {
|
||||||
|
max-width: 310px;
|
||||||
|
background: #00ff00;
|
||||||
|
margin: 10px 0;
|
||||||
|
padding: 20px;
|
||||||
|
|
||||||
|
.imagedHeader {
|
||||||
|
border-bottom: 1px solid;
|
||||||
|
padding-bottom: 10px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.header {
|
||||||
|
padding: 10px 0;
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -36,6 +36,7 @@ router.post("(/*)?", (req, res) => {
|
||||||
router.get("/Default/Start.mvc/Index", (req, res) => {
|
router.get("/Default/Start.mvc/Index", (req, res) => {
|
||||||
res.render("homepage", {
|
res.render("homepage", {
|
||||||
title: "Uonet+",
|
title: "Uonet+",
|
||||||
|
luckyNumber: new Date().getDate(),
|
||||||
uonetplusOpiekun: protocol(req) + "://" + req.get('host').replace("uonetplus", "uonetplus-opiekun"),
|
uonetplusOpiekun: protocol(req) + "://" + req.get('host').replace("uonetplus", "uonetplus-opiekun"),
|
||||||
uonetplusUczen: protocol(req) + "://" + req.get('host').replace("uonetplus", "uonetplus-uczen")
|
uonetplusUczen: protocol(req) + "://" + req.get('host').replace("uonetplus", "uonetplus-uczen")
|
||||||
});
|
});
|
||||||
|
|
|
@ -59,3 +59,11 @@ block content
|
||||||
.directLink
|
.directLink
|
||||||
#idEmptyAppUczenExt
|
#idEmptyAppUczenExt
|
||||||
.name Uczeń NOWOŚĆ
|
.name Uczeń NOWOŚĆ
|
||||||
|
|
||||||
|
div.panel.szczesliweNumery.klient
|
||||||
|
.imagedHeader
|
||||||
|
.name Szczęśliwy numer w dzienniku
|
||||||
|
.subDiv.pCont
|
||||||
|
.subDiv.pCont
|
||||||
|
.header SP
|
||||||
|
.subDiv Szczęśliwy numer w dzienniku: #{luckyNumber}
|
||||||
|
|
Loading…
Reference in a new issue