aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJenny Yu <jennyyu212@outlook.com>2022-06-09 11:30:58 -0700
committerJenny Yu <jennyyu212@outlook.com>2022-06-09 11:30:58 -0700
commitdde011efbfc366dbc3bb04b52fdb6e30fcca37f5 (patch)
tree671e17077dbd6ec9f6c53dc6a01fca0091f785fd /src
parent83323cccd039c16ef1ec55c388e5fc075d69b487 (diff)
style: topbar
Diffstat (limited to 'src')
-rw-r--r--src/client/views/topbar/TopBar.tsx5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/client/views/topbar/TopBar.tsx b/src/client/views/topbar/TopBar.tsx
index ae56bb4ad..fcc72b73d 100644
--- a/src/client/views/topbar/TopBar.tsx
+++ b/src/client/views/topbar/TopBar.tsx
@@ -36,7 +36,8 @@ export class TopBar extends React.Component {
<div className="topbar-center" >
</div>
<div className="topbar-right" >
- <div className="topbar-button-icon" >
+ <div className="topbar-button-icon" onClick={() => window.open(
+ "https://brown-dash.github.io/Dash-Documentation/", "_blank")}>
<FontAwesomeIcon icon="question-circle" />
</div>
<div className="topbar-button-icon" onClick={() => SettingsManager.Instance.open()}>
@@ -54,6 +55,8 @@ export class TopBar extends React.Component {
</div>
</div>
<div className="topbar-right" >
+ {/* TODO: if this is my dashboard, display share
+ if this is a shared dashboard, display "view original or view annotated" */}
<div className="topbar-button-text" >Share</div>
</div>
</div>