nitweb/angular: fix some bootstrap components
authorAlexandre Terrasa <alexandre@moz-code.org>
Tue, 7 Jun 2016 13:40:24 +0000 (09:40 -0400)
committerAlexandre Terrasa <alexandre@moz-code.org>
Tue, 7 Jun 2016 15:56:36 +0000 (11:56 -0400)
Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>

share/nitweb/views/class.html
share/nitweb/views/classdef.html
share/nitweb/views/propdef.html
share/nitweb/views/property.html

index b12f7a4..2585705 100644 (file)
@@ -5,7 +5,7 @@
        </div>
 
        <ul class='nav nav-tabs'>
-               <li class='active'>
+               <li role='presentation' class='active'>
                        <a data-toggle='tab' data-target='#doc'>
                                <span class='glyphicon glyphicon-book'/> Doc
                        </a>
@@ -18,7 +18,7 @@
        </ul>
 
        <div class='tab-content'>
-               <div class='tab-pane fade in active' id='doc'>
+               <div role='tabpanel' class='tab-pane fade in active' id='doc'>
                        <entity-doc mentity='mentity.intro'/>
 
                        <entity-list list-title='Parents'
index 0bfca12..a028436 100644 (file)
@@ -7,7 +7,7 @@
        </div>
 
        <ul class='nav nav-tabs' role='tablist'>
-               <li class='warning'>
+               <li role='presentation' class='warning'>
                        <a ng-href='{{mentity.mclass.web_url}}'>
                                <span class='glyphicon glyphicon-chevron-left'/> Go to class
                        </a>
index dfc6c08..30d0397 100644 (file)
@@ -8,7 +8,7 @@
        </div>
 
        <ul class='nav nav-tabs'>
-               <li class='warning'>
+               <li role='presentation' class='warning'>
                        <a href='{{mentity.mproperty.web_url}}'>
                                <span class='glyphicon glyphicon-chevron-left'/> Go to property
                        </a>
index cb65730..fea0da7 100644 (file)
@@ -8,7 +8,7 @@
        </div>
 
        <ul class='nav nav-tabs'>
-               <li class='active'>
+               <li role='presentation' class='active'>
                        <a data-toggle='tab' data-target='#doc'>
                                <span class='glyphicon glyphicon-book'/> Doc
                        </a>