Lines 68-83
Link Here
|
68 |
</div> |
68 |
</div> |
69 |
|
69 |
|
70 |
<div id="authoritiestabs" class="toptabs numbered"> |
70 |
<div id="authoritiestabs" class="toptabs numbered"> |
71 |
<ul> |
71 |
<ul class="nav nav-tabs" role="tablist"> |
72 |
[% FOREACH BIG_LOO IN BIG_LOOP %] |
72 |
[% FOREACH BIG_LOO IN BIG_LOOP %] |
73 |
<li> |
73 |
<li role="presentation"> |
74 |
<a href="#tab[% BIG_LOO.number | uri %]XX">[% BIG_LOO.number | html %]</a> |
74 |
<a href="#tab[% BIG_LOO.number | uri %]XX" aria-controls="tab[% BIG_LOO.number | uri %]XX" role="tab" data-toggle="tab">[% BIG_LOO.number | html %]</a> |
75 |
</li> |
75 |
</li> |
76 |
[% END %] |
76 |
[% END %] |
77 |
</ul> |
77 |
</ul> |
78 |
|
78 |
<div class="tab-content"> |
79 |
[% FOREACH BIG_LOO IN BIG_LOOP %] |
79 |
[% FOREACH BIG_LOO IN BIG_LOOP %] |
80 |
<div id="tab[% BIG_LOO.number | html %]XX"> |
80 |
<div id="tab[% BIG_LOO.number | html %]XX" role="tabpanel" class="tab-pane"> |
81 |
[% FOREACH innerloo IN BIG_LOO.innerloop %] |
81 |
[% FOREACH innerloo IN BIG_LOO.innerloop %] |
82 |
[% IF ( innerloo.tag_number ) %] |
82 |
[% IF ( innerloo.tag_number ) %] |
83 |
<div class="tag"> |
83 |
<div class="tag"> |
Lines 116-121
Link Here
|
116 |
[% END %] |
116 |
[% END %] |
117 |
</div> |
117 |
</div> |
118 |
[% END %] |
118 |
[% END %] |
|
|
119 |
</div> <!-- /.tab-content --> |
119 |
</div> |
120 |
</div> |
120 |
</div> |
121 |
</div> |
121 |
</div> |
122 |
</div> |
Lines 128-140
Link Here
|
128 |
[% END %] |
129 |
[% END %] |
129 |
<script> |
130 |
<script> |
130 |
$(document).ready(function() { |
131 |
$(document).ready(function() { |
131 |
var editAuth = $("#editAuth"); |
132 |
if( $(".tab-pane.active").length < 1 ){ |
132 |
var editAuthLink = editAuth.attr("href"); |
133 |
$("#authoritiestabs a:first").tab("show"); |
133 |
$('#authoritiestabs').tabs({ |
134 |
} |
134 |
activate: function( event, ui ){ |
135 |
|
135 |
editAuth.attr("href", editAuthLink + "#" + ui.newPanel.attr('id') ); |
|
|
136 |
} |
137 |
}); |
138 |
[% IF ( displayhierarchy ) %] |
136 |
[% IF ( displayhierarchy ) %] |
139 |
$('#hierarchies').jstree({ |
137 |
$('#hierarchies').jstree({ |
140 |
"types" : { |
138 |
"types" : { |
141 |
- |
|
|