Skip to content

Commit

Permalink
Merge pull request #337 from georchestra/addcommentdatahubscripts
Browse files Browse the repository at this point in the history
add comment in the datahub header scripts
  • Loading branch information
fvanderbiest authored Nov 22, 2023
2 parents f3c88cd + 13c0449 commit 27f4f72
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
3 changes: 3 additions & 0 deletions datahub/scripts/add-header-webcomponent.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
#!/bin/sh

# To be properl executed by datahub initialization need the +x flag
# so you need to add it with chmod and commit/push it

DATAHUB_DIR=${1:-/usr/share/nginx/html/datahub}
SNIPPET="<script src='https://cdn.jsdelivr.net/gh/georchestra/header@dist/header.js'></script><geor-header></geor-header>"

Expand Down
4 changes: 4 additions & 0 deletions datahub/scripts/add-header.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
#!/bin/sh

# To be properly executed by datahub initialization need the +x flag
# so you need to add it with chmod and commit/push it


DATAHUB_DIR=${1:-/usr/share/nginx/html/datahub}
SNIPPET="<iframe src='/header/?active=datahub' style='height:90px; width: 100%; border: 0; overflow: hidden'></iframe>"

Expand Down

0 comments on commit 27f4f72

Please sign in to comment.