Commit c28c18a731be2ddef4f6e386e76ce301037c4358

Authored by Mukul Rajput
1 parent 414afdff

this is for ca table view new

400-SOURCECODE/AIAHTML5.Web/app/views/ca/ca-view.html
... ... @@ -59,43 +59,43 @@
59 59 </div>
60 60 <div role="tabpanel" ng-class="{'tab-pane active' : activeTab === 2,'tab-pane' : activeTab !==2 }" id="list-view">
61 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 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 69 </tr>
70 70 </thead>
71 71 <tbody id="ListViewDiv" ng-if="!filterstring" class="clstbodyca">
72 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 74 {{item._Title}}
75 75 </td>
76   - <td style="max-width: 250px;">
  76 + <td style="width:25%">
77 77 {{item._BodyRegion}}
78 78 </td>
79   - <td style="min-width: 260px;">
  79 + <td style="width:25%">
80 80 {{item._BodySystem}}
81 81 </td>
82   - <td style="max-width: 280px;">
  82 + <td style="width:25%">
83 83 {{item._MedicalSpecialty}}
84 84 </td>
85 85 </tr>
86 86 </tbody>
87 87 <tbody id="ListViewDiv" ng-if="filterstring" class="clstbodyca">
88 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 90 {{item._Title}}
91 91 </td>
92   - <td style="max-width: 250px;">
  92 + <td style="width:25%">
93 93 {{item._BodyRegion}}
94 94 </td>
95   - <td style="min-width: 260px;">
  95 + <td style="width:25%">
96 96 {{item._BodySystem}}
97 97 </td>
98   - <td style="max-width: 280px;">
  98 + <td style="width:25%">
99 99 {{item._MedicalSpecialty}}
100 100 </td>
101 101 </tr>
... ...
400-SOURCECODE/AIAHTML5.Web/themes/default/css/bootstrap/3.3.6/main.css
... ... @@ -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 837 .cur-pot {
815 838 cursor:pointer;
816 839 }
... ...