|
1 |
| -<div class="actionable-genes"> |
2 |
| - <div ng-if="status.loading" class="loading-style"> |
3 |
| - <img src="resources/images/loader.gif"> |
4 |
| - </div> |
5 |
| - <div ng-show="!status.loading" > |
6 |
| - <div class="fixed-filter"> |
7 |
| - <div class="container"> |
8 |
| - <div style="display: flex;"> |
9 |
| - <div style="display: flex; flex-direction: column; width: 100%; margin: auto;max-width: 1000px;"> |
| 1 | +<div class="container"> |
| 2 | + <div class="actionable-genes"> |
| 3 | + <div ng-if="status.loading" class="loading-style"> |
| 4 | + <img src="resources/images/loader.gif"> |
| 5 | + </div> |
| 6 | + <div ng-show="!status.loading"> |
| 7 | + <div class="fixed-filter container"> |
| 8 | + <div class="actionable-genes"> |
10 | 9 | <div class="row">
|
11 | 10 | <action-button class="col-sm-2 col-xs-4" ng-repeat="level in meta.levelButtons"
|
12 | 11 | disabled="buttonShouldBeDisabled(level.level)"
|
|
23 | 22 | <div class="col-sm-4 col-xs-12">
|
24 | 23 | <div class="input-group" style="width: 100%">
|
25 | 24 | <ui-select ng-model="filters.gene" theme="bootstrap" style="width: 100%;">
|
26 |
| - <ui-select-match placeholder="{{data.genes.total.length}} actionable {{pluralizeString('gene', data.genes.total.length)}}" |
27 |
| - allow-clear="true"> |
| 25 | + <ui-select-match |
| 26 | + placeholder="{{data.genes.total.length}} actionable {{pluralizeString('gene', data.genes.total.length)}}" |
| 27 | + allow-clear="true"> |
28 | 28 | {{$select.selected.name}}
|
29 | 29 | </ui-select-match>
|
30 | 30 | <ui-select-choices
|
|
37 | 37 | <div class="col-sm-4 col-xs-12">
|
38 | 38 | <div class="input-group" style="width: 100%;">
|
39 | 39 | <ui-select ng-model="filters.tumorType" theme="bootstrap" style="width: 100%;">
|
40 |
| - <ui-select-match placeholder="{{data.tumorTypes.length}} curated {{pluralizeString('tumor type', data.tumorTypes.length)}}" |
41 |
| - allow-clear="true"> |
| 40 | + <ui-select-match |
| 41 | + placeholder="{{data.tumorTypes.length}} curated {{pluralizeString('tumor type', data.tumorTypes.length)}}" |
| 42 | + allow-clear="true"> |
42 | 43 | {{$select.selected.name}}
|
43 | 44 | </ui-select-match>
|
44 | 45 | <ui-select-choices
|
|
51 | 52 | <div class="col-sm-4 col-xs-12">
|
52 | 53 | <div class="input-group" style="width: 100%">
|
53 | 54 | <ui-select ng-model="filters.drug" theme="bootstrap" style="width: 100%;">
|
54 |
| - <ui-select-match placeholder="{{data.drugs.length}} {{pluralizeString('drug', data.drugs.length)}}" allow-clear="true"> |
| 55 | + <ui-select-match |
| 56 | + placeholder="{{data.drugs.length}} {{pluralizeString('drug', data.drugs.length)}}" |
| 57 | + allow-clear="true"> |
55 | 58 | {{$select.selected.name}}
|
56 | 59 | </ui-select-match>
|
57 | 60 | <ui-select-choices
|
|
69 | 72 | </div>
|
70 | 73 | </div>
|
71 | 74 | </div>
|
72 |
| - |
73 | 75 | </div>
|
74 |
| - </div> |
75 |
| - </div> |
76 |
| - <div class="container result-table"> |
77 |
| - <div style="margin: auto; max-width: 1000px;"> |
78 |
| - |
79 |
| - <div> |
80 |
| - <table ng-table="tableParams" class="table table-bordered table-striped" show-filter="false"> |
81 |
| - <tr ng-repeat="x in $data"> |
82 |
| - <td data-title="'Level'" filter="{level:'text'}" sortable="'level'"> |
| 76 | + <div class="result-table row"> |
| 77 | + <div class="col-xs-12"> |
| 78 | + <table ng-table="tableParams" class="table table-bordered table-striped" show-filter="false"> |
| 79 | + <tr ng-repeat="x in $data"> |
| 80 | + <td data-title="'Level'" filter="{level:'text'}" sortable="'level'"> |
83 | 81 | <span class="gene-column"><i class="level-icon-image"
|
84 |
| - ng-class="'level-' + match2KeyLevel(x.level)"></i></span> |
85 |
| - </td> |
86 |
| - <td data-title="'Gene'" filter="{gene:'text'}" sortable="'gene'"> |
87 |
| - <span ng-bind-html="getHugoSymbolLinkout(x.gene)"></span> |
88 |
| - </td> |
89 |
| - <td data-title="'Alterations'" filter="{alterations:'text'}" sortable="'alterations'"> |
90 |
| - <span ng-bind-html="getAlterationCellContent(x.gene, x.alterations)"></span> |
91 |
| - </td> |
92 |
| - <td data-title="'Tumor Type'" filter="{tumorType:'text'}" sortable="'tumorType'"> |
93 |
| - <span>{{x.tumorType}}</span> |
94 |
| - </td> |
95 |
| - <td data-title="'Drugs'" filter="{drugs:'text'}" sortable="'drugs'"> |
96 |
| - <span>{{x.drugs}}</span> |
97 |
| - </td> |
98 |
| - </tr> |
99 |
| - </table> |
| 82 | + ng-class="'level-' + match2KeyLevel(x.level)"></i></span> |
| 83 | + </td> |
| 84 | + <td data-title="'Gene'" filter="{gene:'text'}" sortable="'gene'"> |
| 85 | + <span ng-bind-html="getHugoSymbolLinkout(x.gene)"></span> |
| 86 | + </td> |
| 87 | + <td data-title="'Alterations'" filter="{alterations:'text'}" sortable="'alterations'"> |
| 88 | + <span ng-bind-html="getAlterationCellContent(x.gene, x.alterations)"></span> |
| 89 | + </td> |
| 90 | + <td data-title="'Tumor Type'" filter="{tumorType:'text'}" sortable="'tumorType'"> |
| 91 | + <span>{{x.tumorType}}</span> |
| 92 | + </td> |
| 93 | + <td data-title="'Drugs'" filter="{drugs:'text'}" sortable="'drugs'"> |
| 94 | + <span>{{x.drugs}}</span> |
| 95 | + </td> |
| 96 | + </tr> |
| 97 | + </table> |
| 98 | + </div> |
100 | 99 | </div>
|
101 | 100 | </div>
|
102 | 101 | </div>
|
103 |
| - </div> |
104 | 102 | </div>
|
105 |
| - |
106 |
| - |
0 commit comments