Skip to content

Commit

Permalink
Merge pull request #196 from sanuann/enh-hand-click-on-instrument-list
Browse files Browse the repository at this point in the history
Enh hand click on instrument list
  • Loading branch information
smpadhy authored Apr 15, 2018
2 parents e014abc + 1d88acb commit 724437c
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,4 @@ main_org.js
proj-info.json
tests/addProject-test.js
.idea

3 changes: 3 additions & 0 deletions eapp/modules/instrument-editor/css/ie-mgm.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
.hand tr {
cursor: pointer;
}
1 change: 1 addition & 0 deletions eapp/modules/instrument-editor/html/ie-mgm.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
<link rel="stylesheet" href="/dist/select2-bootstrap/select2-bootstrap.css">
<link rel="stylesheet" href="/dist/jqwidgets-framework/jqwidgets/styles/jqx.base.css" type="text/css" />
<link href="/css/brainverse.css" rel="stylesheet">
<link href="/instrument-editor/css/ie-mgm.css" type="text/css" rel="stylesheet"/>
</head>
<body>
<div id="nav">
Expand Down
2 changes: 1 addition & 1 deletion eapp/modules/instrument-editor/js/ie-mgm.js
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ displayInstrumentList().then(function(instrumentList){
}).then(function(instObjs){
console.log("all inst obj: ", instObjs)
if(instObjs.length !== 0){
$('#div-instrumentList').append('<table class="table table-striped" id="tab1"></table>')
$('#div-instrumentList').append('<table class="table table-striped hand" id="tab1"></table>')
let instTable = document.getElementById("tab1")
var header = instTable.createTHead()
var rowH = header.insertRow(0)
Expand Down

0 comments on commit 724437c

Please sign in to comment.