Yes indeed, and this was the pointer I needed to come up with the final solution until HE gives me a better built-in method for a user guide or help page. But that likely won't near as stylish as I can be with GitHub Pages, so I deployed my Hikvision Camera Controller to the Community two weeks ago, using your code to format the hidden input field button with a link to the User Guide on my new GitHub website:
@Field static final String DRIVER = "HCC 1.0.3"
@Field static final String USER_GUIDE = "https://tr-systems.github.io/web/HCC_UserGuide.html"
input name: "UserGuide", type: "hidden", title: fmtHelpInfo("User Guide")
String fmtHelpInfo(String str) {
String prefLink = "<a href='${USER_GUIDE}' target='_blank'>${str}<br><div style='font-size: 70%;'>${DRIVER}</div></a>"
return "<div style='font-size: 160%; font-style: bold; padding: 2px 0px; text-align: center;'>${prefLink}</div>"
Not all drivers or apps need a user guide like mine but some do at least a little, and this is one easy way to provide one. But I wasn't satisfied with the plain jane look of the default GitHub Pages website so I had to take it a step further, since I got the time and we're still in the deep freeze, but barely this winter. ![]()
So after two additional weeks of home schooling, study and practice, 10 hours a day, I came up with this...
Lakeside Blues for GitHub Pages by TR-Systems
Hope someone out here finds it useful. Let me know if you do!