9292 </ style >
9393</ head > < body >
9494< div > < b > module name ietf-connection-oriented-oam@2019-04-16, namespace urn:ietf:params:xml:ns:yang:ietf-connection-oriented-oam, prefix co-oam </ b > </ div > < div >
95- < button type ="button " id ="expander " class ="btn btn-danger "> Expand All</ button >
96- < button type ="button " id ="collapser " class ="btn btn-info "> Collapse All</ button >
97- < table id ="basic " class ="table table-bordered table-striped simple-tree-table ">
95+ < button type ="button " id ="expander-ietf-connection-oriented-oam " class ="btn btn-danger "> Expand All</ button >
96+ < button type ="button " id ="collapser-ietf-connection-oriented-oam " class ="btn btn-info "> Collapse All</ button >
97+ < table id ="basic-ietf-connection-oriented-oam " class ="table table-bordered table-striped simple-tree-table ">
9898 < th > element </ th >
9999 < th > schema </ th >
100100 < th > type </ th >
334334 </ table >
335335</ div >
336336< div > < b > module name ietf-routing@2018-03-13, namespace urn:ietf:params:xml:ns:yang:ietf-routing, prefix rt </ b > </ div > < div >
337- < button type ="button " id ="expander " class ="btn btn-danger "> Expand All</ button >
338- < button type ="button " id ="collapser " class ="btn btn-info "> Collapse All</ button >
339- < table id ="basic " class ="table table-bordered table-striped simple-tree-table ">
337+ < button type ="button " id ="expander-ietf-routing " class ="btn btn-danger "> Expand All</ button >
338+ < button type ="button " id ="collapser-ietf-routing " class ="btn btn-info "> Collapse All</ button >
339+ < table id ="basic-ietf-routing " class ="table table-bordered table-striped simple-tree-table ">
340340 < th > element </ th >
341341 < th > schema </ th >
342342 < th > type </ th >
916916
917917$ . SimpleTreeTable = SimpleTreeTable ;
918918
919- $ ( '.table.table-bordered.table-striped.simple-tree-table' ) . simpleTreeTable ( {
920- expander : $ ( '#expander' ) ,
921- collapser : $ ( '#collapser' )
919+ //AddTableLogic
920+ $ ( document ) . ready ( function ( ) {
921+ $ ( '#basic-ietf-connection-oriented-oam' ) . simpleTreeTable ( {
922+ expander : $ ( '#expander-ietf-connection-oriented-oam' ) ,
923+ collapser : $ ( '#collapser-ietf-connection-oriented-oam' )
922924} ) ;
923-
924- $ ( '#collapsed' ) . simpleTreeTable ( {
925- opened : 'none' ,
925+ $ ( '#basic-ietf-routing' ) . simpleTreeTable ( {
926+ expander : $ ( '#expander-ietf-routing' ) ,
927+ collapser : $ ( '#collapser-ietf-routing' )
926928} ) ;
927- $ ( '#collapsed' ) . simpleTreeTable ( {
928- margin : 25
929929} ) ;
930+
930931</ script >
931932</ body >
932- </ html >
933+ </ html >
0 commit comments