Skip to content

Commit

Permalink
Merge pull request #175 from ICRAR/liu-264
Browse files Browse the repository at this point in the history
added keyboard shortcuts to tooltips in the translator
  • Loading branch information
M-Wicenec committed Jun 9, 2022
2 parents 19a6f70 + c86ae27 commit 4093142
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion daliuge-translator/dlg/dropmake/web/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ function updateDeployOptionsDropdown() {
selectedUrl=element.url
//active option
$("#deployDropdowns").prepend(
`<a href='javascript:void(0)' id='activeDeployMethodButton' onclick='initiateDeploy("`+element.deployMethod+`",true,"`+element.name+`")' class='dropdown-item tooltip tooltipLeft deployMethodMenuItem' data-text='Deploy Physical Graph vi method: `+element.deployMethod+`' value='Deploy Physical Graph via `+element.deployMethod+`'>Deploy: `+element.name+`</a>`
`<a href='javascript:void(0)' id='activeDeployMethodButton' onclick='initiateDeploy("`+element.deployMethod+`",true,"`+element.name+`")' class='dropdown-item tooltip tooltipLeft deployMethodMenuItem' data-text='Deploy Physical Graph vi method: `+element.deployMethod+` [D]' value='Deploy Physical Graph via `+element.deployMethod+`'>Deploy: `+element.name+`</a>`
)
checkActiveDeployMethod(selectedUrl)
}
Expand Down
4 changes: 2 additions & 2 deletions daliuge-translator/dlg/dropmake/web/pg_viewer.html
Original file line number Diff line number Diff line change
Expand Up @@ -118,11 +118,11 @@
<div class="dropdown-menu dropdown-menu-right" aria-labelledby="navbarExportDropdown">
<a href="javascript:void(0)" class="dropdown-item" onclick="$('#aboutModal').modal('toggle')">About</a>
<a href="https://daliuge.readthedocs.io/en/latest/basics.html#translator-service%22%3EDALiuGE" target="_blank" class="dropdown-item">Online Docs</a>
<a href="javascript:void(0)" class="dropdown-item" onclick="$('#shortcutsModal').modal('toggle')">Keyboard Shortcuts</a>
<a href="javascript:void(0)" class="dropdown-item" onclick="$('#shortcutsModal').modal('toggle')">Keyboard Shortcuts [K]</a>
</div>
</li>
<li class="nav-item">
<a href="javascript:void(0)" class="nav-link tooltip tooltipBottomLeft" data-text="Settings" data-toggle="modal" data-target="#settingsModal"><img src="/static/src/icons/settings_white_24dp.svg" alt="Settings"></a>
<a href="javascript:void(0)" class="nav-link tooltip tooltipBottomLeft" data-text="Settings [O]" data-toggle="modal" data-target="#settingsModal"><img src="/static/src/icons/settings_white_24dp.svg" alt="Settings"></a>
</li>
</ul>
</div>
Expand Down

0 comments on commit 4093142

Please sign in to comment.