Commit 6641820d authored by Marc Duez's avatar Marc Duez
Browse files

browser : admin menu ( need debug_mode : true )

parent a7817215
...@@ -94,13 +94,6 @@ ...@@ -94,13 +94,6 @@
<!-- TOP-CONTAINER --> <!-- TOP-CONTAINER -->
<div id="top-container"> <div id="top-container">
<div class="menu" onmouseover="showSelector('adminSelector');" style="display : none"> admin
<div id="adminSelector" class="selector"><div>
<a id="test_load_data" class="buttonSelector" onclick="m.parseJsonData(dataTest, 100).loadGermline().initClones()">
test load data</a>
</div></div>
</div>
<div class="menu" id="demo_file_menu" onmouseover="showSelector('demoSelector');"> file <div class="menu" id="demo_file_menu" onmouseover="showSelector('demoSelector');"> file
<div id="demoSelector" class="selector"><div> <div id="demoSelector" class="selector"><div>
<a class="buttonSelector" onclick="javascript:loadData()">load data/analysis</a></br> <a class="buttonSelector" onclick="javascript:loadData()">load data/analysis</a></br>
...@@ -202,6 +195,13 @@ ...@@ -202,6 +195,13 @@
</div></div> </div></div>
</div> </div>
<div id="debug_menu" class="menu" onmouseover="showSelector('adminSelector');" style="display : none"> A
<div id="adminSelector" class="selector"><div>
<input type="checkbox" onclick="m.display_window = this.checked; m.update()">highlight windows</input><br>
<input type="checkbox" onclick=" this.checked ? $('#fps').css('display', '') : $('#fps').css('display', 'none');">display fps</input>
</div></div>
</div>
<div id="logo" style="float: right;" onclick="popupMsg(msg.welcome)">Vidjil <span class='logo'>(beta)</span></div> <div id="logo" style="float: right;" onclick="popupMsg(msg.welcome)">Vidjil <span class='logo'>(beta)</span></div>
<div style="float: right" class="menu" onmouseover="showSelector('paletteSelector');"> palette <div style="float: right" class="menu" onmouseover="showSelector('paletteSelector');"> palette
......
...@@ -60,7 +60,7 @@ if (typeof config != 'undefined') { ...@@ -60,7 +60,7 @@ if (typeof config != 'undefined') {
} }
if (config.debug_mode) { if (config.debug_mode) {
$("#fps").css("display", ""); $("#debug_menu").css("display", "");
} }
} }
......
...@@ -95,6 +95,9 @@ Model.prototype = { ...@@ -95,6 +95,9 @@ Model.prototype = {
"B" : 0, "B" : 0,
"id" : 0 "id" : 0
} }
this.display_window = false
}, },
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment