|
30 | 30 | <link rel="stylesheet" href="style/font-awesome-4.7.0/css/font-awesome.min.css"/>
|
31 | 31 | <link rel="stylesheet" type="text/css" href="lib/webix/codebase/webix.css"/>
|
32 | 32 | <link rel="stylesheet" type="text/css" href="lib/papaya_lib/papaya.css" />
|
33 |
| - <link rel="stylesheet" type="text/css" href="style/style.css"> |
| 33 | + <link rel="stylesheet" type="text/css" href="style/style.css"> |
| 34 | + <link rel="stylesheet" type="text/css" href="style/brainchop.css"> |
| 35 | + |
| 36 | + |
34 | 37 |
|
35 | 38 | <script src="https://cdn.jsdelivr.net/npm/lodash@4.17.21/lodash.min.js"></script>
|
36 | 39 |
|
|
75 | 78 | <script type="text/javascript" src="js/BCBrain3D.js"></script>
|
76 | 79 | <link rel="stylesheet" href="style/default.css">
|
77 | 80 |
|
78 |
| - |
79 |
| - |
80 |
| - <style> |
81 |
| - .grid-container { |
82 |
| - display: grid; |
83 |
| - grid-template-columns: auto; |
84 |
| - padding: 1vh; |
85 |
| - } |
86 |
| - .grid-item { |
87 |
| - background-color: rgba(255, 255, 255, 0.8); |
88 |
| - border: 0px solid rgba(0, 0, 0, 0.8); |
89 |
| - padding: 1vh; |
90 |
| - width: 40vw; |
91 |
| - height: auto; |
92 |
| - font-size: 15px; |
93 |
| - text-align: center; |
94 |
| - } |
95 |
| - |
96 |
| - |
97 |
| - .toolbarclass { |
98 |
| - background-color: white !important; |
99 |
| - font-weight: bold; |
100 |
| - box-shadow: 5px 5px; |
101 |
| - } |
102 |
| - |
103 |
| - .titleclass { |
104 |
| - font-style: italic; |
105 |
| - font-weight: bold; |
106 |
| - color: black !important; |
107 |
| - } |
108 |
| - |
109 |
| - .headerclass { |
110 |
| - border-left: 10px solid black!important; |
111 |
| - background: #f3f3f6a3!important; |
112 |
| - margin-left: 0!important; |
113 |
| - width: 100%!important; |
114 |
| - color: black!important; |
115 |
| - font-weight: bold; |
116 |
| - border-left-color: black!important; |
117 |
| - } |
118 |
| - |
119 |
| - .windowtitleclass { |
120 |
| - background-color: #ccc !important; |
121 |
| - box-shadow: none, |
122 |
| - } |
123 |
| - |
124 |
| - .webixbg .webix_view{ |
125 |
| - background-color:black !important; |
126 |
| - box-shadow:none; |
127 |
| - } |
128 |
| - |
129 |
| - #feedbackId{ |
130 |
| - cursor: pointer; |
131 |
| - margin-right: 20px; |
132 |
| - } |
133 |
| - |
134 |
| - #githubId{ |
135 |
| - cursor: pointer; |
136 |
| - margin-right: 20px; |
137 |
| - } |
138 |
| - .customTheme { |
139 |
| - font-weight: bold; |
140 |
| - background-color: black; |
141 |
| - color: white; |
142 |
| - } |
143 |
| - |
144 |
| - #annotOfContainer_0 { |
145 |
| - /*font-weight: bold;*/ |
146 |
| - background-color: black; |
147 |
| - color: white; |
148 |
| - text-align: center; |
149 |
| - height: 3vh; |
150 |
| - } |
151 |
| - |
152 |
| - #annotOfContainer_1 { |
153 |
| - /*font-weight: bold;*/ |
154 |
| - background-color: black; |
155 |
| - color: white; |
156 |
| - text-align: center; |
157 |
| - height: 3vh; |
158 |
| - } |
159 |
| - |
160 |
| - .bt_1 button.webix_button{ |
161 |
| - background: #396D9E; |
162 |
| - background: -moz-linear-gradient(top, #5D91C3 0% , #396D9E 100%); |
163 |
| - background: -webkit-gradient(linear, left top, left bottom, color-stop(0,#5D91C3), color-stop(1, black)); |
164 |
| - border:1px solid #396D9E; |
165 |
| - text-shadow: 0 -1px #134471; |
166 |
| - box-shadow: inset 0px 1px 10px #8eb3d5; |
167 |
| - -webkit-box-shadow: inset 0px 1px 1px #8eb3d5; |
168 |
| - color:#FFFFFF; |
169 |
| - font-size: 13px; |
170 |
| - } |
171 |
| - .bt_1 button:active{ |
172 |
| - background: #396D9E !important; |
173 |
| - } |
174 |
| - |
175 |
| - #gui_container{ |
176 |
| - position: absolute; |
177 |
| - top: 10%; |
178 |
| - right: 1%; |
179 |
| - height: auto; |
180 |
| - } |
181 |
| - |
182 |
| - #threejs-container{ |
183 |
| - background-color: black!important; |
184 |
| - } |
185 |
| - |
186 |
| -/* #gui{ |
187 |
| - transform:translate(-50%, -75px); |
188 |
| - }*/ |
189 |
| - |
190 |
| - .panel{ |
191 |
| - position: fixed; |
192 |
| - z-index: 1; |
193 |
| - scrollbar-color: rgba(255,255,255, 1); |
194 |
| - scrollbar-width: thin; |
195 |
| - transition: 0.5s; |
196 |
| - } |
197 |
| - |
198 |
| - </style> |
| 81 | + <style> |
| 82 | + /*For Testing*/ |
| 83 | + </style> |
199 | 84 |
|
200 | 85 |
|
201 | 86 | </head>
|
|
289 | 174 | { view: "label", label: '<i id="feedbackId" class="fa fa-pencil-square-o"/>',
|
290 | 175 | css: {"color":"black !important", "font-weight": "bold"}, width: 60, align:"right", click: feedbackClick, tooltip:"Feedback" },
|
291 | 176 | { view: "button", id: "About", value: "About", css:"bt_1", width: 100, align: "right", click: aboutClick },
|
292 |
| - { view: "label", label: '<i id="githubId" class="fa fa-github"/>', |
293 |
| - css: {"color":"black !important", "font-weight": "bold"}, width: 60, align:"right", click: githubClick, tooltip:"GitHub" }, |
| 177 | + { view: "label", label: '', |
| 178 | + css: {"color":"black !important", "font-weight": "bold"}, width: 80, align:"right", click: githubClick, tooltip:"GitHub" }, |
294 | 179 | ]
|
295 | 180 | }
|
296 | 181 | ]
|
|
316 | 201 |
|
317 | 202 |
|
318 | 203 |
|
319 |
| - // Window to show brain 3D.. |
320 |
| - |
321 |
| - // Progress bar for threeJS |
322 |
| - // webix.ui({ |
323 |
| - // view:"window", |
324 |
| - // id: "threeJsPrgBarWin", |
325 |
| - // height:50, |
326 |
| - // width:500, |
327 |
| - // position:"center", |
328 |
| - // head:false, |
329 |
| - // body:{ |
330 |
| - // template:" <div class='w3-container' style='margin-top: 1vh;' id='threeJsProgBarDiv' > <div class='w3-border' > <div class='w3-green' style='height:2vh;width:50%;' id='threeJsProgBar'></div> </div> </div> " |
331 |
| - // } |
332 |
| - // }); |
333 |
| - |
334 | 204 | webix.ui({
|
335 | 205 | view:"window",
|
336 | 206 | id: "threejsWinId",
|
|
350 | 220 | },
|
351 | 221 |
|
352 | 222 | position:"center",
|
353 |
| - |
354 |
| - on:{ |
355 |
| - onShow:function() { |
356 |
| - //-- $$("threeJsPrgBarWin").show(); |
357 |
| - } |
358 |
| - }, |
| 223 | + |
359 | 224 |
|
360 | 225 | body:{
|
361 |
| - template:" <div id='threejs-container'> <div id='gui_container'></div> <div id='loadingIconDiv' class ='panel' style='top: 50%; left: 50%; ' > <i id='loadingIcon' style='font-size:1.4vw; color: gray; background-color: rgba(0,0,0,0);' class='w3-xxxlarge w3-spin fa fa-refresh' ></i> </div> </div> " |
| 226 | + //-- create custom list with checkboxes for different ROI. |
| 227 | + template:" <div id='threejs-container'> <div id='gui_container'></div> <div id='roiList' class='dropdown-check-list'> <span class='anchor'><p style='color:white; font-size:0.6vw; margin-top: 0em; margin-bottom: 0em;'>Select_ROI</p></span> <ul id='roiItems' class='items'></ul> </div> <div id='loadingIconDiv' class ='panel' style='top: 50%; left: 50%; ' > <i id='loadingIcon' style='font-size:1.4vw; color: gray; background-color: rgba(0,0,0,0);' class='w3-xxxlarge w3-spin fa fa-refresh' ></i> </div> </div> " |
362 | 228 | }
|
363 | 229 | })
|
364 | 230 |
|
|
1153 | 1019 | { cols: [
|
1154 | 1020 |
|
1155 | 1021 | { view:"select",
|
1156 |
| - label:"Model", |
| 1022 | + label:"Models", |
1157 | 1023 | id: "selectModel",
|
1158 | 1024 | value:2,
|
1159 | 1025 | options: selectModelOptions,
|
|
1556 | 1422 | {
|
1557 | 1423 | view: "label", label: "<span id='webGl2Status' style='background-color:none; padding-left:0.5vw;'>  </span>", align: "left"
|
1558 | 1424 | },
|
1559 |
| - // ] |
1560 |
| - // }, |
1561 | 1425 |
|
1562 |
| - // { cols: [ |
1563 | 1426 | { view: "label", label: "Memory", width:80,
|
1564 | 1427 | align: "right"
|
1565 | 1428 | }, // memoryView
|
1566 | 1429 | {
|
1567 |
| - view: "label", label: "<span id='memoryStatus' style='background-color:none; padding-left:0.5vw;'>  </span>", align: "left" |
| 1430 | + view: "label", label: "<span id='memoryStatus' style='background-color:none; padding-left:0.5vw;'>  </span>", align: "right" |
1568 | 1431 | }
|
1569 | 1432 | ]
|
1570 | 1433 | }
|
|
1577 | 1440 | //-------------------------chart-------------------------//
|
1578 | 1441 |
|
1579 | 1442 |
|
1580 |
| - rioHChart = { type: "space", rows:[ |
| 1443 | + roiHChart = { type: "space", rows:[ |
1581 | 1444 |
|
1582 | 1445 | {
|
1583 | 1446 | id: "hchart", view:"highchart",
|
|
1634 | 1497 | min: 0,
|
1635 | 1498 | // max: 100,
|
1636 | 1499 | title: {
|
1637 |
| - text: "Histogram PR('%')" |
| 1500 | + text: "Histogram Probability" |
1638 | 1501 | // align: 'high'
|
1639 | 1502 | }
|
1640 | 1503 | },
|
1641 | 1504 |
|
1642 | 1505 | legend: {
|
1643 | 1506 | enabled: false
|
1644 | 1507 | },
|
1645 |
| - |
1646 |
| - |
| 1508 | + |
1647 | 1509 | series: [{
|
1648 | 1510 | name: 'volumes',
|
1649 | 1511 | data: null,
|
|
1658 | 1520 | // Output labels histogram form
|
1659 | 1521 | let histogramWindowForm = {view: "form", id: "histogramWindowFormId",
|
1660 | 1522 | elements: [
|
1661 |
| - rioHChart, |
| 1523 | + roiHChart, |
1662 | 1524 |
|
1663 | 1525 | { cols: [
|
1664 | 1526 | {},
|
|
1699 | 1561 | resize: true,
|
1700 | 1562 | head:{
|
1701 | 1563 | view:"toolbar", css: "toolbarclass", elements:[
|
1702 |
| - { type:"header", template:"Labels Histogram", css:"windowtitleclass" }, |
| 1564 | + { type:"header", template:"Output Labels", css:"windowtitleclass" }, |
1703 | 1565 | { view:"icon", icon:"wxi-close", click:function() {
|
1704 | 1566 | $$("labelsHistogramWinId").hide();
|
1705 | 1567 | } }
|
|
1939 | 1801 | </form>
|
1940 | 1802 | </div>
|
1941 | 1803 |
|
| 1804 | + <!-- Credit for github logo: https://github.com/tholman/github-corners --> |
| 1805 | + <a href="https://github.com/neuroneural/brainchop" style="cursor: pointer;" target='_blank'> |
| 1806 | + <svg width="80" height="80" viewBox="0 0 250 250" style="position: absolute; top: 0px; right: 0px; border: 0px; cursor: pointer; " aria-hidden="true"> |
| 1807 | + <path d="M0,0 L115,115 L130,115 L142,142 L250,250 L250,0 Z" fill="#151513" style="cursor: pointer;"></path> |
| 1808 | + <path d="M128.3,109.0 C113.8,99.7 119.0,89.6 119.0,89.6 C122.0,82.7 120.5,78.6 120.5,78.6 C119.2,72.0 123.4,76.3 123.4,76.3 C127.3,80.9 125.5,87.3 125.5,87.3 C122.9,97.6 130.6,101.9 134.4,103.2" fill="#ffffff" style="transform-origin: 130px 106px; cursor: pointer;"></path> |
| 1809 | + <path d="M115.0,115.0 C114.9,115.1 118.7,116.5 119.8,115.4 L133.7,101.6 C136.9,99.2 139.9,98.4 142.2,98.6 C133.8,88.0 127.5,74.4 143.8,58.0 C148.5,53.4 154.0,51.2 159.7,51.0 C160.3,49.4 163.2,43.6 171.4,40.1 C171.4,40.1 176.1,42.5 178.8,56.2 C183.1,58.6 187.2,61.8 190.9,65.4 C194.5,69.0 197.7,73.2 200.1,77.6 C213.8,80.2 216.3,84.9 216.3,84.9 C212.7,93.1 206.9,96.0 205.4,96.6 C205.1,102.4 203.0,107.8 198.3,112.5 C181.9,128.9 168.3,122.5 157.7,114.1 C157.9,116.9 156.7,120.9 152.7,124.9 L141.0,136.5 C139.8,137.7 141.6,141.9 141.8,141.8 Z" fill="#ffffff" style="cursor: pointer;"></path> |
| 1810 | + </svg> |
| 1811 | + </a> |
| 1812 | + |
1942 | 1813 | </body>
|
1943 | 1814 | </html>
|
0 commit comments