Uses 1113K of libraries. Click here for Pure Java version (32095L/193K).
1 | !7 |
2 | |
3 | cm AvorDemonstrator > DynAvorDemonstrator {
|
4 | void start2 :: after {
|
5 | templateID = #1031827; |
6 | cssID = #1031825; |
7 | |
8 | botName = heading = "AVOR Concierge"; |
9 | adminName = "AVOR Concierge"; |
10 | } |
11 | |
12 | void makeFramer(Req req) {
|
13 | super.makeFramer(req); |
14 | req.framer.addInHead(hStylesheetSnippet(#1031828)); |
15 | req.framer.renderTitle = () -> h1(ahref(baseLink + "/", |
16 | himgsrc("https://concierge.avor.ag/uploaded-image/1123", style := "height: 1em; vertical-align: bottom", title := "AVOR Logo"))
|
17 | + " " + req.framer.encodedTitle()); |
18 | } |
19 | |
20 | S serveAuthForm(S redirect) {
|
21 | if (eq(currentReq->get("oldLoginPage"), "1"))
|
22 | ret super.serveAuthForm(redirect); |
23 | |
24 | redirect = dropParamFromURL(redirect, "logout"); // don't log us out right again |
25 | if (empty(redirect)) redirect = baseLink + "/"; |
26 | ret replaceDollarVars(loadSnippet(#1031829), |
27 | redirect := htmlEncode(redirect)); |
28 | } |
29 | |
30 | O html3(Req req) {
|
31 | if (eq(req.uri, "/concierge")) |
32 | req.uri = "/demo"; |
33 | ret super.html3(req); |
34 | } |
35 | |
36 | S botDemoHeadStuff() { ret hStylesheetSnippet(#1031828); }
|
37 | } |
download show line numbers debug dex old transpilations
Travelled to 5 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz
No comments. add comment
| Snippet ID: | #1029802 |
| Snippet name: | concierge.avor.ag |
| Eternal ID of this version: | #1029802/52 |
| Text MD5: | 2ccefb168e0403d74bc1b3e0760d2050 |
| Transpilation MD5: | b6c087dee54545309c3c2fba0e240161 |
| Author: | stefan |
| Category: | |
| Type: | JavaX source code (Dynamic Module) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2021-07-14 14:30:15 |
| Source code size: | 1141 bytes / 37 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 496 / 1662 |
| Version history: | 51 change(s) |
| Referenced in: | [show references] |