Commit ad250edfe772cd619ffb51806ab98fcc1839cc5f

Authored by Amrita Vishnoi
2 parents a12bc3b6 c28c18a7

Merge branch 'catableviewnew' into Develop

400-SOURCECODE/AIAHTML5.Web/app/views/ca/ca-view.html
@@ -59,43 +59,43 @@ @@ -59,43 +59,43 @@
59 </div> 59 </div>
60 <div role="tabpanel" ng-class="{'tab-pane active' : activeTab === 2,'tab-pane' : activeTab !==2 }" id="list-view"> 60 <div role="tabpanel" ng-class="{'tab-pane active' : activeTab === 2,'tab-pane' : activeTab !==2 }" id="list-view">
61 <div class="panel col-sm-12 table-responsive" style="padding-left:0px; padding-right:0; margin-left:11px; margin-bottom:0; width:99%;"> 61 <div class="panel col-sm-12 table-responsive" style="padding-left:0px; padding-right:0; margin-left:11px; margin-bottom:0; width:99%;">
62 - <table class="table table-hover table-fixed bg-white table-txt12" style="padding-left:25px; width:100%;"> 62 + <table class="table table-hover table-fixed bg-white table-txt12 tablecaview" style="padding-left:25px; width:100%;">
63 <thead class="clstheadca"> 63 <thead class="clstheadca">
64 - <tr class="active">  
65 - <th style="min-width: 250px;">Title</th>  
66 - <th style="min-width: 250px;">Region</th>  
67 - <th style="min-width: 260px;">System</th>  
68 - <th style="min-width: 280px;">Specialty</th> 64 + <tr class="active" style="background:#f5f5f5;">
  65 + <th style="width:25%">Title</th>
  66 + <th style="width:25%">Region</th>
  67 + <th style="width:25%">System</th>
  68 + <th style="width:25%">Specialty</th>
69 </tr> 69 </tr>
70 </thead> 70 </thead>
71 <tbody id="ListViewDiv" ng-if="!filterstring" class="clstbodyca"> 71 <tbody id="ListViewDiv" ng-if="!filterstring" class="clstbodyca">
72 <tr id="{{item._id}}" ng-class="{selected: item._id === idSelected}" ng-click="showItem(item._id)" ng-dblclick="openView($event)" ng-repeat="item in selectedCAListViewData"> 72 <tr id="{{item._id}}" ng-class="{selected: item._id === idSelected}" ng-click="showItem(item._id)" ng-dblclick="openView($event)" ng-repeat="item in selectedCAListViewData">
73 - <td style="max-width: 250px;"> 73 + <td style="width:25%">
74 {{item._Title}} 74 {{item._Title}}
75 </td> 75 </td>
76 - <td style="max-width: 250px;"> 76 + <td style="width:25%">
77 {{item._BodyRegion}} 77 {{item._BodyRegion}}
78 </td> 78 </td>
79 - <td style="min-width: 260px;"> 79 + <td style="width:25%">
80 {{item._BodySystem}} 80 {{item._BodySystem}}
81 </td> 81 </td>
82 - <td style="max-width: 280px;"> 82 + <td style="width:25%">
83 {{item._MedicalSpecialty}} 83 {{item._MedicalSpecialty}}
84 </td> 84 </td>
85 </tr> 85 </tr>
86 </tbody> 86 </tbody>
87 <tbody id="ListViewDiv" ng-if="filterstring" class="clstbodyca"> 87 <tbody id="ListViewDiv" ng-if="filterstring" class="clstbodyca">
88 <tr ng-click="showItem(item._id)" ng-class="{selected: item._id === idSelected}" ng-dblclick="openView($event)" ng-repeat="item in searchCAListViewData"> 88 <tr ng-click="showItem(item._id)" ng-class="{selected: item._id === idSelected}" ng-dblclick="openView($event)" ng-repeat="item in searchCAListViewData">
89 - <td style="max-width: 250px;"> 89 + <td style="width:25%">
90 {{item._Title}} 90 {{item._Title}}
91 </td> 91 </td>
92 - <td style="max-width: 250px;"> 92 + <td style="width:25%">
93 {{item._BodyRegion}} 93 {{item._BodyRegion}}
94 </td> 94 </td>
95 - <td style="min-width: 260px;"> 95 + <td style="width:25%">
96 {{item._BodySystem}} 96 {{item._BodySystem}}
97 </td> 97 </td>
98 - <td style="max-width: 280px;"> 98 + <td style="width:25%">
99 {{item._MedicalSpecialty}} 99 {{item._MedicalSpecialty}}
100 </td> 100 </td>
101 </tr> 101 </tr>
400-SOURCECODE/AIAHTML5.Web/themes/default/css/bootstrap/3.3.6/main.css
@@ -811,6 +811,29 @@ textarea { @@ -811,6 +811,29 @@ textarea {
811 811
812 } 812 }
813 813
  814 +
  815 +
  816 +
  817 +.tablecaview .clstbody tr td {
  818 + min-width: 275px;
  819 + text-align: left;
  820 +}
  821 +
  822 +.tablecaview .clstheadca tr th {
  823 + min-width: 275px;
  824 + text-align: left;
  825 +}
  826 +
  827 +
  828 +.tablecaview .clstbody,.tablecaview .clstbodyca {
  829 + display: block;
  830 + height: 200px;
  831 + width: 100%;
  832 + overflow:scroll;
  833 +}
  834 +
  835 +
  836 +
814 .cur-pot { 837 .cur-pot {
815 cursor:pointer; 838 cursor:pointer;
816 } 839 }