mirror of
https://github.com/plan-player-analytics/Plan.git
synced 2024-09-16 08:46:33 +02:00
Restyled TabsElement
This commit is contained in:
parent
693884a7c7
commit
f0b31c8c4b
@ -48,10 +48,10 @@ public class TabsElement {
|
||||
String navText = tab.getNavText();
|
||||
String contentHtml = tab.getContentHtml();
|
||||
|
||||
nav.append("<li role=\"presentation\"").append(first ? " class=\"active\"" : "")
|
||||
.append("><a href=\"#").append(id).append("\" data-toggle=\"tab\">")
|
||||
nav.append("<li role=\"presentation\" class=\"nav-item col-black\"")
|
||||
.append("><a href=\"#").append(id).append("\" class=\"nav-link col-black").append(first ? " active" : "").append('"').append(" data-toggle=\"tab\">")
|
||||
.append(navText).append("</a></li>");
|
||||
content.append("<div role=\"tabpanel\" class=\"tab-pane fade").append(first ? " in active" : "")
|
||||
content.append("<div role=\"tabpanel\" class=\"tab-pane fade").append(first ? " in active show" : "")
|
||||
.append("\" id=\"").append(id).append("\">")
|
||||
.append(contentHtml).append("</div>");
|
||||
first = false;
|
||||
|
Loading…
Reference in New Issue
Block a user