Commit 55fd44060d9a68c3042ac24cdf86019f1603b934
1 parent
3dcad88d
this is for range of brush and ci list view table
Showing
2 changed files
with
22 additions
and
21 deletions
400-SOURCECODE/AIAHTML5.Web/app/views/ci/ci-view.html
... | ... | @@ -91,54 +91,54 @@ |
91 | 91 | <table class="table table-hover table-fixed bg-white table-txt12" style="padding-left:25px; width:100%;"> |
92 | 92 | <thead class="clsthead"> |
93 | 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 | 100 | </tr> |
101 | 101 | </thead> |
102 | 102 | <tbody ng-if="!filterstring" class="clstbody"> |
103 | 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 | 105 | {{item._Title}} |
106 | 106 | </td> |
107 | - <td> | |
107 | + <td width="15%"> | |
108 | 108 | {{item._BodyRegion}} |
109 | 109 | </td> |
110 | - <td> | |
110 | + <td width="15%"> | |
111 | 111 | {{item._BodySystem}} |
112 | 112 | </td> |
113 | - <td> | |
113 | + <td width="15%"> | |
114 | 114 | {{item._ViewOrientation}} |
115 | 115 | </td> |
116 | - <td> | |
116 | + <td width="15%"> | |
117 | 117 | {{item._ImageType}} |
118 | 118 | </td> |
119 | - <td> | |
119 | + <td width="25%"> | |
120 | 120 | {{item._MedicalSpecialty}} |
121 | 121 | </td> |
122 | 122 | </tr> |
123 | 123 | </tbody> |
124 | 124 | <tbody ng-if="filterstring" class="clstbody"> |
125 | 125 | <tr ng-click="showItem(item._id)" ng-dblclick="openView($event)" ng-repeat="item in searchCIListViewData"> |
126 | - <td> | |
126 | + <td width="15%"> | |
127 | 127 | {{item._Title}} |
128 | 128 | </td> |
129 | - <td> | |
129 | + <td width="15%"> | |
130 | 130 | {{item._BodyRegion}} |
131 | 131 | </td> |
132 | - <td> | |
132 | + <td width="15%"> | |
133 | 133 | {{item._BodySystem}} |
134 | 134 | </td> |
135 | - <td> | |
135 | + <td width="15%"> | |
136 | 136 | {{item._ViewOrientation}} |
137 | 137 | </td> |
138 | - <td> | |
138 | + <td width="15%"> | |
139 | 139 | {{item._ImageType}} |
140 | 140 | </td> |
141 | - <td> | |
141 | + <td width="25%"> | |
142 | 142 | {{item._MedicalSpecialty}} |
143 | 143 | </td> |
144 | 144 | </tr> | ... | ... |
400-SOURCECODE/AIAHTML5.Web/index.html
... | ... | @@ -451,7 +451,7 @@ |
451 | 451 | <div> |
452 | 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 | 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> |
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> | |
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> | |
455 | 455 | <div class="pull-left" style="width:45%; margin-left:2%;"> |
456 | 456 | <div id="slider-range-min-2"></div> |
457 | 457 | </div> |
... | ... | @@ -1011,8 +1011,9 @@ |
1011 | 1011 | function Brushsize(object) { |
1012 | 1012 | |
1013 | 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 | 1019 | if (parseInt(object.value) <= parseInt(object.max)) { | ... | ... |