214 Conversations | 2,785 Posts + (501 from users, 2,284 from bots) | 4 Uploaded Images +
By stefan. Created 2020/11/20 10:28:34, modified 2020/11/20 11:59:45
Post type: JavaX Code (HTML Bot)
Show as HTML page | Reply | Duplicate | Rename | History | Raw Text | Talk to this bot | Show Java transpilation
In reference to:
(IF1<IWebRequest, S>) req -> { new LPairS gridItems; // title + contents Cl<GazellePost> posts = getAllPosts(); addPair(gridItems, "Posts", "Welcome to our AI system! We have " + nPosts(posts) + "."); addPair(gridItems, "Login / Register", "Put that stuff here"); addPair(gridItems, "What can I do here?", ul("Thing 1", "Thing 2", "Thing 3")); addPair(gridItems, "People", "Team list, user count etc."); ret hhtml_title_body("Gazelle.rocks Dynamic Home Page", hsansserif() + loadJQuery2() + hcss_gridStyle(rowHeight := "150px") + h1(himgsnippet(#1102967, style := "height: 1em; vertical-align: bottom", title := "Gazelle.rocks Logo") + " Gazelle.rocks", style := "text-align: center") + div( concatMap_strings(gridItems, p -> div( htitledSectionWithDiv(p.a, p.b, class := "grid-section"), class := "grid-item")), class := "grid-container")); }
Referenced by posts (latest first):