Commit 88cc879639c3565d3a28a0bc556316f76f8445be
1 parent
c51417b5
tooltips
Showing
2 changed files
with
24 additions
and
9 deletions
400-SOURCECODE/AIAHTML5.Web/app/controllers/DAController.js
... | ... | @@ -4643,7 +4643,7 @@ function ($scope, $rootScope, $compile, $http, $log, $location, $timeout, DA, Mo |
4643 | 4643 | |
4644 | 4644 | $scope.enableHighlight = function () { |
4645 | 4645 | |
4646 | - console.log('enableHighlight is called') | |
4646 | + | |
4647 | 4647 | |
4648 | 4648 | if ($rootScope.isHighLight == true) { |
4649 | 4649 | ... | ... |
400-SOURCECODE/AIAHTML5.Web/app/views/da/da-view.html
... | ... | @@ -134,25 +134,30 @@ |
134 | 134 | <div class="toggle-icon toggleBar toggleHeadingButton" title="Show/Hide Sidebar" style="top:20px;"></div> |
135 | 135 | <div class="" style="top:20px"> |
136 | 136 | <div class="col-sm-6"> |
137 | - <button id="btnIdentity" class="btn btn-primary btn-sm tooltip-custom" ng-click="OnIdentityClick()" data-toggle="tooltip" data-placement="bottom" title="Identify"> <img src="content/images/icon-identity.png" alt="" title=""></button> | |
137 | + <button id="btnIdentity" class="btn btn-primary btn-sm tooltip-custom" ng-click="OnIdentityClick()" data-toggle="tooltip" data-placement="bottom" title="Identify"> <img src="content/images/icon-identity.png" alt=""></button> | |
138 | 138 | </div> |
139 | 139 | <div class="col-sm-6 pull-right"> |
140 | 140 | <button class="btn btn-black btn-sm pull-right tooltip-custom" ng-click="enableZoom()" data-toggle="tooltip" data-placement="bottom" title="Zoom-in/Zoom-out"> |
141 | - <img src="content/images/icon-zoom.png" alt="" title=""> | |
141 | + <img src="content/images/icon-zoom.png" alt=""> | |
142 | 142 | </button> |
143 | + | |
143 | 144 | </div> |
144 | 145 | <div class="col-sm-12"> |
145 | - <button id="btnTranparency" class="btn btn-black btn-sm btn-block marginTop5 tooltip-custom" ng-click="createTransparencyBox()" data-toggle="tooltip" data-placement="bottom" title="Transparency Box"><img src="content/images/icon-transparency.png" alt="" title=""></button> | |
146 | + <button id="btnTranparency" class="btn btn-black btn-sm btn-block marginTop5 tooltip-custom" ng-click="createTransparencyBox()" data-toggle="tooltip" data-placement="bottom" title="Transparency Box"><img src="content/images/icon-transparency.png" alt=""></button> | |
146 | 147 | </div> |
148 | + | |
149 | + | |
147 | 150 | <div class="col-sm-6"> |
148 | - <button ng-class="Normal" class="btn btn-black btn-sm marginTop5 tooltip-custom" ng-click="enableNormalMode()" data-toggle=" tooltip" data-placement="bottom" title="Normal"> <img src="content/images/bulb1.png" alt="" title=""></button> | |
151 | + <button ng-class="Normal" class="btn btn-black btn-sm marginTop5 tooltip-custom" ng-click="enableNormalMode()" data-toggle=" tooltip" data-placement="bottom" title="Normal"> <img src="content/images/bulb1.png" alt=""></button> | |
149 | 152 | </div> |
150 | 153 | <div class="col-sm-6"> |
151 | - <button ng-class="Extract" class="btn btn-black btn-sm pull-right marginTop5 tooltip-custom" ng-click="enableExtract()" data-toggle="tooltip" data-placement="bottom" title="Extract"><img src="content/images/bulb1.png" alt="" title=""></button> | |
154 | + <button ng-class="Extract" class="btn btn-black btn-sm pull-right marginTop5 tooltip-custom" ng-click="enableExtract()" data-toggle="tooltip" data-placement="bottom" title="Extract"><img src="content/images/bulb1.png" alt=""></button> | |
152 | 155 | </div> |
156 | + | |
153 | 157 | <div class="col-sm-6"> |
154 | - <button ng-class="Highlight" id="btnHighLight" class="btn btn-black btn-sm marginTop5 tooltip-custom btn-resize" ng-click="enableHighlight()" data-toggle="tooltip" data-placement="bottom" title="Highlight"> <img src="content/images/bulb.png" alt="" title=""></button> | |
158 | + <button ng-class="Highlight" id="btnHighLight" class="btn btn-black btn-sm marginTop5 tooltip-custom btn-resize" ng-click="enableHighlight()" data-toggle="tooltip" data-placement="bottom" title="Highlight"> <img src="content/images/bulb.png" alt=""></button> | |
155 | 159 | </div> |
160 | + | |
156 | 161 | <div class="col-sm-6 dropdown hover-tool"> |
157 | 162 | <div class="custom-tooltip">Highlight Options</div> |
158 | 163 | <button class="btn btn-black btn-sm pull-right marginTop5 dropdown-toggle" type="button" id="dropdownMenu2" data-toggle="dropdown" aria-haspopup="true" aria-expanded="true" ng-click="LoadBodySystemData()"><img src="content/images/icon-highlight.png" alt="" title=""></button> |
... | ... | @@ -173,6 +178,8 @@ |
173 | 178 | <li ng-class="Urinary"><a href="#" title="Urinary" id="12" ng-click="HighlightBodysystem($event)">Urinary</a></li> |
174 | 179 | </ul> |
175 | 180 | </div> |
181 | + | |
182 | + | |
176 | 183 | <div class="col-sm-6 hover-gender-tool" ng-init="switchGender()"> |
177 | 184 | <div class=" custom-tooltip1">Gender</div> |
178 | 185 | <button class="btn btn-black btn-sm marginTop5 dropdown-toggle" type="button" id="dropdownMenu4" data-toggle="dropdown" aria-haspopup="true" aria-expanded="true"> <i class=" fa fa-intersex font16"></i></button> |
... | ... | @@ -181,6 +188,10 @@ |
181 | 188 | <li ng-class="female"><a href="#" title="Female" ng-click="OnGenderChange($event)">Female</a></li> |
182 | 189 | </ul> |
183 | 190 | </div> |
191 | + | |
192 | + | |
193 | + | |
194 | + | |
184 | 195 | <div class="col-sm-6 tooltip-View-custom"> |
185 | 196 | <div class="custom-tooltip2">View</div> |
186 | 197 | <button class="btn btn-black btn-sm pull-right marginTop5 dropdown-toggle" type="button" id="dropdownMenu3" data-toggle="dropdown" aria-haspopup="true" aria-expanded="true"><img src="content/images/view.png" alt="" title=""></button> |
... | ... | @@ -193,9 +204,12 @@ |
193 | 204 | <li ng-class="MedialArmView"><a href="#" title="Medial Arm" ng-click="OnViewChange($event)">Medial Arm</a></li> |
194 | 205 | </ul> |
195 | 206 | </div> |
207 | + | |
208 | + | |
196 | 209 | <div class="col-sm-12"> |
197 | - <button id="btnStrutureBox" ng-click="enableShowHideStructureBox()" class="btn btn-primary btn-sm marginTop5 btn-block tooltip-custom" data-toggle="tooltip" data-placement="bottom" title="Show/Hide Structure Name Boxes"> <img src="content/images/comment-box.png" alt="" title=""></button> | |
210 | + <button id="btnStrutureBox" ng-click="enableShowHideStructureBox()" class="btn btn-primary btn-sm marginTop5 btn-block tooltip-custom" data-toggle="tooltip" data-placement="bottom" title="Show/Hide Structure Name Boxes"> <img src="content/images/comment-box.png" alt=""></button> | |
198 | 211 | </div> |
212 | + | |
199 | 213 | </div> |
200 | 214 | <div class=""> |
201 | 215 | <p> |
... | ... | @@ -452,7 +466,8 @@ |
452 | 466 | </script> |
453 | 467 | <script> |
454 | 468 | $(document).ready(function () { |
455 | - $('[data-toggle="tooltip"]').tooltip({ trigger: 'hover', 'placement': 'bottom' }); | |
469 | + //$('[data-toggle="tooltip"]').tooltip({ trigger: 'hover', 'placement': 'top' }); | |
470 | + $('.tooltip-custom').tooltip(); | |
456 | 471 | }); |
457 | 472 | </script> |
458 | 473 | <script> | ... | ... |