Lines 30-36
Link Here
|
30 |
[% END %] |
30 |
[% END %] |
31 |
[% IF tables.$pagename.keys and tables.$pagename.keys.size > 0 %] |
31 |
[% IF tables.$pagename.keys and tables.$pagename.keys.size > 0 %] |
32 |
[% FOR tablename IN tables.$pagename.keys.sort %] |
32 |
[% FOR tablename IN tables.$pagename.keys.sort %] |
33 |
[% SET table_id = pagename _ '#' _ tablename %] |
33 |
[% SET table_id = pagename _ '_' _ tablename %] |
34 |
<div class="datatable_config" id="[% table_id | html %]"> |
34 |
<div class="datatable_config" id="[% table_id | html %]"> |
35 |
<input type="hidden" name="table_id" value="[% table_id| html %]" /> |
35 |
<input type="hidden" name="table_id" value="[% table_id| html %]" /> |
36 |
[% IF pagename == 'additem' AND tablename == 'itemst' %] |
36 |
[% IF pagename == 'additem' AND tablename == 'itemst' %] |
Lines 369-375
Link Here
|
369 |
|
369 |
|
370 |
<div class="col-md-2 order-sm-2 order-md-1"> |
370 |
<div class="col-md-2 order-sm-2 order-md-1"> |
371 |
<aside> |
371 |
<aside> |
372 |
[% INCLUDE 'admin-menu.inc' %] |
372 |
[% INCLUDE 'admin-menu.inc' %] |
373 |
</aside> |
373 |
</aside> |
374 |
</div> <!-- /.col-md-2.order-md-1 --> |
374 |
</div> <!-- /.col-md-2.order-md-1 --> |
375 |
</div> <!-- /.row --> |
375 |
</div> <!-- /.row --> |
Lines 380-391
Link Here
|
380 |
[%- IF ( panel.defined ) -%] |
380 |
[%- IF ( panel.defined ) -%] |
381 |
<script> |
381 |
<script> |
382 |
$(document).ready( function() { |
382 |
$(document).ready( function() { |
383 |
$("#[% panel | uri %]Toggle").click(); |
383 |
$("#[% panel | uri %]_panel").collapse("show"); |
384 |
[%- IF page.defined -%] |
384 |
[%- IF page.defined -%] |
385 |
$("#[% panel | uri %]_panel").on('shown.bs.collapse', function () { |
385 |
$("#[% panel | uri %]_panel").on('shown.bs.collapse', function () { |
386 |
$('html, body').animate({ |
386 |
$('html, body').animate({ |
387 |
[%- IF table.defined -%] |
387 |
[%- IF table.defined -%] |
388 |
scrollTop: ($("#[% page | uri %]#[% table | uri %]").offset().top) |
388 |
scrollTop: ($("#[% page | uri %]_[% table | uri %]").offset().top) |
389 |
[%- ELSE -%] |
389 |
[%- ELSE -%] |
390 |
scrollTop: ($("#[% page | uri %]").offset().top) |
390 |
scrollTop: ($("#[% page | uri %]").offset().top) |
391 |
[%- END -%] |
391 |
[%- END -%] |
392 |
- |
|
|