Revert jot tabs to links due to Bootstrap not supporting button styling

This commit is contained in:
Hypolite Petovan 2017-03-15 07:24:14 -04:00
parent 30049d862c
commit 82ce1a449b
1 changed files with 4 additions and 4 deletions

View File

@ -16,20 +16,20 @@
{{* Mark the first list entry as active because it is the first which is active after opening {{* Mark the first list entry as active because it is the first which is active after opening
the modal. Changing of the activity status is done by js in jot.tpl-header *}} the modal. Changing of the activity status is done by js in jot.tpl-header *}}
<li class="active" role="menuitem"> <li class="active" role="menuitem">
<button type="button" class="btn btn-link jot-text-lnk" id="jot-text-lnk" onclick="jotActive();">{{$message}}</button> <a class="jot-text-lnk" id="jot-text-lnk" onclick="jotActive(); return false;">{{$message}}</a>
</li> </li>
{{if $acl}} {{if $acl}}
<li role="menuitem"> <li role="menuitem">
<button type="button" class="btn btn-link jot-perms-lnk" id="jot-perms-lnk" onclick="aclActive();">{{$shortpermset}}</button> <a class="btn btn-link jot-perms-lnk" id="jot-perms-lnk" onclick="aclActive(); return false;">{{$shortpermset}}</a>
</li> </li>
{{/if}} {{/if}}
{{if $preview}} {{if $preview}}
<li role="menuitem"> <li role="menuitem">
<button type="button" class="btn btn-link jot-preview-lnk" id="jot-preview-lnk" onclick="previewActive();">{{$preview}}</button> <a class="btn btn-link jot-preview-lnk" id="jot-preview-lnk" onclick="previewActive(); return false;">{{$preview}}</a>
</li> </li>
{{/if}} {{/if}}
<li role="menuitem"> <li role="menuitem">
<button type="button" class="btn btn-link" id="jot-browser-link" onclick="fbrowserActive();">{{$browser}}</button> <a class="btn btn-link" id="jot-browser-link" onclick="fbrowserActive(); return false;">{{$browser}}</a>
</li> </li>
</ul> </ul>