Commit 55fd44060d9a68c3042ac24cdf86019f1603b934

Authored by Mukul Rajput
1 parent 3dcad88d

this is for range of brush and ci list view table

400-SOURCECODE/AIAHTML5.Web/app/views/ci/ci-view.html
@@ -91,54 +91,54 @@ @@ -91,54 +91,54 @@
91 <table class="table table-hover table-fixed bg-white table-txt12" style="padding-left:25px; width:100%;"> 91 <table class="table table-hover table-fixed bg-white table-txt12" style="padding-left:25px; width:100%;">
92 <thead class="clsthead"> 92 <thead class="clsthead">
93 <tr class="active"> 93 <tr class="active">
94 - <th>Title</th>  
95 - <th>Region</th>  
96 - <th>System</th>  
97 - <th>View</th>  
98 - <th>Type</th>  
99 - <th>Specialty</th> 94 + <th width="15%">Title</th>
  95 + <th width="15%">Region</th>
  96 + <th width="15%">System</th>
  97 + <th width="15%">View</th>
  98 + <th width="15%">Type</th>
  99 + <th width="25%">Specialty</th>
100 </tr> 100 </tr>
101 </thead> 101 </thead>
102 <tbody ng-if="!filterstring" class="clstbody"> 102 <tbody ng-if="!filterstring" class="clstbody">
103 <tr id="{{item._id}}" ng-click="showItem(item._id)" ng-dblclick="openView($event)" ng-repeat="item in selectedCIListViewData"> 103 <tr id="{{item._id}}" ng-click="showItem(item._id)" ng-dblclick="openView($event)" ng-repeat="item in selectedCIListViewData">
104 - <td> 104 + <td width="15%">
105 {{item._Title}} 105 {{item._Title}}
106 </td> 106 </td>
107 - <td> 107 + <td width="15%">
108 {{item._BodyRegion}} 108 {{item._BodyRegion}}
109 </td> 109 </td>
110 - <td> 110 + <td width="15%">
111 {{item._BodySystem}} 111 {{item._BodySystem}}
112 </td> 112 </td>
113 - <td> 113 + <td width="15%">
114 {{item._ViewOrientation}} 114 {{item._ViewOrientation}}
115 </td> 115 </td>
116 - <td> 116 + <td width="15%">
117 {{item._ImageType}} 117 {{item._ImageType}}
118 </td> 118 </td>
119 - <td> 119 + <td width="25%">
120 {{item._MedicalSpecialty}} 120 {{item._MedicalSpecialty}}
121 </td> 121 </td>
122 </tr> 122 </tr>
123 </tbody> 123 </tbody>
124 <tbody ng-if="filterstring" class="clstbody"> 124 <tbody ng-if="filterstring" class="clstbody">
125 <tr ng-click="showItem(item._id)" ng-dblclick="openView($event)" ng-repeat="item in searchCIListViewData"> 125 <tr ng-click="showItem(item._id)" ng-dblclick="openView($event)" ng-repeat="item in searchCIListViewData">
126 - <td> 126 + <td width="15%">
127 {{item._Title}} 127 {{item._Title}}
128 </td> 128 </td>
129 - <td> 129 + <td width="15%">
130 {{item._BodyRegion}} 130 {{item._BodyRegion}}
131 </td> 131 </td>
132 - <td> 132 + <td width="15%">
133 {{item._BodySystem}} 133 {{item._BodySystem}}
134 </td> 134 </td>
135 - <td> 135 + <td width="15%">
136 {{item._ViewOrientation}} 136 {{item._ViewOrientation}}
137 </td> 137 </td>
138 - <td> 138 + <td width="15%">
139 {{item._ImageType}} 139 {{item._ImageType}}
140 </td> 140 </td>
141 - <td> 141 + <td width="25%">
142 {{item._MedicalSpecialty}} 142 {{item._MedicalSpecialty}}
143 </td> 143 </td>
144 </tr> 144 </tr>
400-SOURCECODE/AIAHTML5.Web/index.html
@@ -451,7 +451,7 @@ @@ -451,7 +451,7 @@
451 <div> 451 <div>
452 <button type="button" class="btn btn-primary btn-xs pull-left btn-annotation" id="paintLine" data-toggle="tooltip" data-placement="top" title="Paint" style="margin-right:1%;" ng-click="paintBrush()"><i class="fa fa-paint-brush"></i></button> 452 <button type="button" class="btn btn-primary btn-xs pull-left btn-annotation" id="paintLine" data-toggle="tooltip" data-placement="top" title="Paint" style="margin-right:1%;" ng-click="paintBrush()"><i class="fa fa-paint-brush"></i></button>
453 <button type="button" class="btn btn-primary btn-xs pull-left btn-annotation" data-toggle="tooltip" data-placement="top" title="Erase" ng-click="EraseDrawing()"><i class="fa fa-eraser"></i></button>&nbsp; 453 <button type="button" class="btn btn-primary btn-xs pull-left btn-annotation" data-toggle="tooltip" data-placement="top" title="Erase" ng-click="EraseDrawing()"><i class="fa fa-eraser"></i></button>&nbsp;
454 - <div class="marginL2 pull-left"><input type="number" id="amount-2" step="1" style="width:60px;" min="0" max="60" oninput="Brushsize(this)"></div>&nbsp; 454 + <div class="marginL2 pull-left"><input type="number" id="amount-2" step="1" style="width:60px;" min="1" max="60" oninput="Brushsize(this)"></div>&nbsp;
455 <div class="pull-left" style="width:45%; margin-left:2%;"> 455 <div class="pull-left" style="width:45%; margin-left:2%;">
456 <div id="slider-range-min-2"></div> 456 <div id="slider-range-min-2"></div>
457 </div> 457 </div>
@@ -1011,8 +1011,9 @@ @@ -1011,8 +1011,9 @@
1011 function Brushsize(object) { 1011 function Brushsize(object) {
1012 1012
1013 if (parseInt(object.value) == 0) { 1013 if (parseInt(object.value) == 0) {
1014 - object.value = 0;  
1015 - 1014 + //object.value = 0;
  1015 + object.value = object.value.slice(0, 0);
  1016 +
1016 } 1017 }
1017 1018
1018 if (parseInt(object.value) <= parseInt(object.max)) { 1019 if (parseInt(object.value) <= parseInt(object.max)) {