11< div class ="form-group ">
2- < div class ="input-group " tabindex ="0 " role =" button " aria-label ="APIs ">
2+ < div class ="input-group " tabindex ="0 " aria-label ="APIs ">
33 < div class ="form-control " data-toggle ="dropdown ">
44 < span data-bind ="text: selection "> </ span >
55 <!-- ko if: selectedApi() -->
1414 <!-- /ko -->
1515 <!-- /ko -->
1616 </ div >
17- < button class ="input-group-addon no-border " data-toggle ="dropdown ">
17+ < button class ="input-group-addon no-border " data-toggle ="dropdown " aria-label =" Expand APIs list " >
1818 < i class ="icon-emb icon-emb-chevron-down "> </ i >
1919 </ button >
2020 < div class ="dropdown ">
2121 < input type ="search " class ="form-control form-control-light " aria-label ="Search " placeholder ="Search APIs "
2222 data-bind ="textInput: pattern " autofocus />
2323
2424 <!-- <tag-input params="{ scope: 'apis', onChange: onTagsChange }"></tag-input> -->
25-
26- <!-- ko if: working -->
27- < spinner class ="block " role ="presentation "> </ spinner >
28- <!-- /ko -->
2925
30- <!-- ko ifnot: working -->
31- <!-- ko foreach: { data: apiGroups, as: 'group' } -->
32- < div class ="tag-group ">
33- < span class ="tag-item " role ="group " data-bind ="text: group.tag "> </ span >
34- </ div >
35- < div class ="menu menu-vertical " role ="list ">
36- <!-- ko foreach: { data: group.items, as: 'item' } -->
37- < a href ="# " role ="listitem " class ="nav-link text-truncate " data-dismiss
38- data-bind ="attr: { href: $component.getReferenceUrl(item) }, css: { 'nav-link-active': $component.selectedApiName() === item.name } ">
39- < span data-bind ="text: item.displayName "> </ span >
40- <!-- ko if: item.type === 'soap' -->
41- < span class ="badge badge-soap "> SOAP</ span >
42- <!-- /ko -->
43- <!-- ko if: item.type === 'websocket' -->
44- < span class ="badge badge-soap "> WebSocket</ span >
45- <!-- /ko -->
46- <!-- ko if: item.type === 'graphql' -->
47- < span class ="badge badge-soap "> GraphQL</ span >
48- <!-- /ko -->
49- <!-- ko if: item.apiVersion -->
50- - < span data-bind ="text: item.apiVersion "> </ span >
51- <!-- /ko -->
52- </ a >
26+ <!-- ko if: working -->
27+ < spinner class ="block " role ="presentation "> </ spinner >
28+ <!-- /ko -->
29+
30+ <!-- ko ifnot: working -->
31+ <!-- ko foreach: { data: apiGroups, as: 'group' } -->
32+ < div class ="tag-group ">
33+ < span class ="tag-item " role ="group " data-bind ="text: group.tag "> </ span >
34+ </ div >
35+ < div class ="menu menu-vertical " role ="list ">
36+ <!-- ko foreach: { data: group.items, as: 'item' } -->
37+ < a href ="# " role ="listitem " class ="nav-link text-truncate " data-dismiss
38+ data-bind ="attr: { href: $component.getReferenceUrl(item) }, css: { 'nav-link-active': $component.selectedApiName() === item.name } ">
39+ < span data-bind ="text: item.displayName "> </ span >
40+ <!-- ko if: item.type === 'soap' -->
41+ < span class ="badge badge-soap "> SOAP</ span >
42+ <!-- /ko -->
43+ <!-- ko if: item.type === 'websocket' -->
44+ < span class ="badge badge-soap "> WebSocket</ span >
5345 <!-- /ko -->
54- </ div >
46+ <!-- ko if: item.type === 'graphql' -->
47+ < span class ="badge badge-soap "> GraphQL</ span >
48+ <!-- /ko -->
49+ <!-- ko if: item.apiVersion -->
50+ - < span data-bind ="text: item.apiVersion "> </ span >
51+ <!-- /ko -->
52+ </ a >
5553 <!-- /ko -->
54+ </ div >
55+ <!-- /ko -->
5656
57- <!-- ko if: apiGroups().length === 0 -->
58- < div class ="list-item-empty "> No APIs found</ div >
59- <!-- /ko -->
57+ <!-- ko if: apiGroups().length === 0 -->
58+ < div class ="list-item-empty "> No APIs found</ div >
59+ <!-- /ko -->
6060
61- <!-- ko ifnot: working -->
62- <!-- ko if: $component.totalPages() > 1 -->
63- < pagination params ="{ pageNumber: $component.pageNumber, totalPages: $component.totalPages } ">
64- </ pagination >
65- <!-- /ko -->
66- <!-- /ko -->
61+ <!-- ko ifnot: working -->
62+ <!-- ko if: $component.totalPages() > 1 -->
63+ < pagination params ="{ pageNumber: $component.pageNumber, totalPages: $component.totalPages } ">
64+ </ pagination >
65+ <!-- /ko -->
66+ <!-- /ko -->
67+
68+ <!-- /ko -->
6769
68- <!-- /ko -->
69-
7070 </ div >
7171 </ div >
7272</ div >
0 commit comments