Skip to content
This repository has been archived by the owner on Sep 27, 2024. It is now read-only.

Commit

Permalink
Merge pull request #60 from opsfolio/SJ/feat-drh-logo-and-links-in-ed…
Browse files Browse the repository at this point in the history
…ge-ui

Sj/feat drh logo and links in edge UI
  • Loading branch information
Abdul Razak authored Sep 25, 2024
2 parents f77e04f + b37e55f commit 6cda004
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions service/diabetes-research-hub/ux.auto.sql
Original file line number Diff line number Diff line change
Expand Up @@ -809,7 +809,7 @@ INSERT INTO sqlpage_files (path, contents, last_modified) VALUES (
"https://cdn.jsdelivr.net/gh/highlightjs/cdn-release@11/build/languages/json.min.js"
],
"footer": "Resource Surveillance Web UI",
"image": "./assets/diabetic-research-hub-logo.png"
"image": "/assets/diabetic-research-hub-logo.png"
};',
CURRENT_TIMESTAMP)
ON CONFLICT(path) DO UPDATE SET contents = EXCLUDED.contents, last_modified = CURRENT_TIMESTAMP;
Expand Down Expand Up @@ -915,7 +915,7 @@ INSERT INTO sqlpage_files (path, contents, last_modified) VALUES (
)
) as menu_item,
''Resource Surveillance Web UI (v'' || sqlpage.version() || '') '' || ''📄 ['' || substr(sqlpage.path(), 2) || ''](/console/sqlpage-files/sqlpage-file.sql?path='' || substr(sqlpage.path(), 2) || '')'' as footer,
''./assets/diabetic-research-hub-logo.png'' AS image;',
''/assets/diabetic-research-hub-logo.png'' AS image;',
CURRENT_TIMESTAMP)
ON CONFLICT(path) DO UPDATE SET contents = EXCLUDED.contents, last_modified = CURRENT_TIMESTAMP;
INSERT INTO sqlpage_files (path, contents, last_modified) VALUES (
Expand Down
2 changes: 1 addition & 1 deletion service/diabetes-research-hub/ux.sql.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ export class DrhShellSqlPages extends sh.ShellSqlPages {
defaultShell() {
const shellConfig = super.defaultShell();
shellConfig.title = "Diabetes Research Hub";
shellConfig.image = "./assets/diabetic-research-hub-logo.png";
shellConfig.image = "/assets/diabetic-research-hub-logo.png";
shellConfig.icon = "";
shellConfig.link = "https://drh.diabetestechnology.org/";
return shellConfig;
Expand Down

1 comment on commit 6cda004

@deno-deploy
Copy link

@deno-deploy deno-deploy bot commented on 6cda004 Sep 25, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Failed to deploy:

Your deployment uses decorators. The default for 'experimentalDecorators' will be changing to 'false'. In the meantime, please explicitly set the 'experimentalDecorators' compiler option. For more information, see https://deno.com/deploy/changelog#es-decorators-are-enabled-on-deno-deploy-replacing-experimental-ts-decorators

Please sign in to comment.