From d5bc9bfd4f6a45e766b2371cc97108f31d4ff09e Mon Sep 17 00:00:00 2001 From: "B. Stack" Date: Thu, 20 Apr 2023 14:28:22 -0400 Subject: merge: add buttons for help and about --- radicale_infcloud/web/css/default_integration.css | 37 + radicale_infcloud/web/images/banner_about.svg | 61 + radicale_infcloud/web/images/banner_help.svg | 61 + radicale_infcloud/web/index.html | 26 +- .../web/lib/jquery-ui-1.11.4.custom.js | 1257 +++++++++++++++++++- radicale_infcloud/web/main.js | 22 + 6 files changed, 1462 insertions(+), 2 deletions(-) create mode 100644 radicale_infcloud/web/images/banner_about.svg create mode 100644 radicale_infcloud/web/images/banner_help.svg diff --git a/radicale_infcloud/web/css/default_integration.css b/radicale_infcloud/web/css/default_integration.css index 35aa3c5..cdcba42 100644 --- a/radicale_infcloud/web/css/default_integration.css +++ b/radicale_infcloud/web/css/default_integration.css @@ -68,6 +68,43 @@ background: url(../images/banner_refresh.svg) no-repeat center; } +/* begin stackrpms */ +#intHelp +{ + background: url(../images/banner_help.svg) no-repeat center; +} +#intAbout +{ + background: url(../images/banner_about.svg) no-repeat center; +} +#helpDialog, #aboutDialog { + /* 25 is the main calendar */ + z-index: 26; + display: none; + position: absolute; + top: -10rem; + min-width: 22rem; +} +#helpCloseButton, #aboutCloseButton { + position: absolute; + right: 0; + border: 1px solid #585858; + cursor: pointer; +} +/* reference https://helplogger.blogspot.com/2013/10/css-keyboard-keys-on-blogger.html */ +#helpDialog td, #aboutDialog td { padding: 5px 8px; } +#helpDialog td kbd, #aboutDialog td kbd{ + border:1px solid gray; + /*font-size:1.2em;*/ + box-shadow:1px 0 1px 0 #eee, 0 2px 0 2px #ccc, 0 2px 0 3px #444; + -webkit-border-radius:3px; + -moz-border-radius:3px; + border-radius:3px; + margin:2px 3px; + padding:3px 5px; +} +/* end stackrpms */ + #intLogout { background: url(../images/banner_logout.svg) no-repeat center; diff --git a/radicale_infcloud/web/images/banner_about.svg b/radicale_infcloud/web/images/banner_about.svg new file mode 100644 index 0000000..05384d4 --- /dev/null +++ b/radicale_infcloud/web/images/banner_about.svg @@ -0,0 +1,61 @@ + + + +image/svg+xmli diff --git a/radicale_infcloud/web/images/banner_help.svg b/radicale_infcloud/web/images/banner_help.svg new file mode 100644 index 0000000..b339fa7 --- /dev/null +++ b/radicale_infcloud/web/images/banner_help.svg @@ -0,0 +1,61 @@ + + + +image/svg+xml? diff --git a/radicale_infcloud/web/index.html b/radicale_infcloud/web/index.html index 7f36475..a0c8fd6 100644 --- a/radicale_infcloud/web/index.html +++ b/radicale_infcloud/web/index.html @@ -7,6 +7,7 @@