View | Details | Raw Unified | Return to bug 21945
Collapse All | Expand All

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/stockrotation.tt (-22 / +31 lines)
Lines 42-51 Link Here
42
42
43
</div>
43
</div>
44
44
45
<div id="doc3" class="yui-t2">
45
<div class="main container-fluid">
46
    <div id="bd">
46
    <div class="row">
47
        <div id="yui-main">
47
        <div class="col-sm-10 col-sm-push-2">
48
            <div id="stockrotation" class="yui-b">
48
            <main>
49
50
            <div id="stockrotation">
49
51
50
                [% IF no_op_set %]
52
                [% IF no_op_set %]
51
53
Lines 56-67 Link Here
56
                    [% IF existing_rotas.size > 0 %]
58
                    [% IF existing_rotas.size > 0 %]
57
                        <table class="rotas_table" role="grid">
59
                        <table class="rotas_table" role="grid">
58
                            <thead>
60
                            <thead>
61
                                <tr>
59
                                <th>Name</th>
62
                                <th>Name</th>
60
                                <th>Cyclical</th>
63
                                <th>Cyclical</th>
61
                                <th>Active</th>
64
                                <th>Active</th>
62
                                <th>Description</th>
65
                                <th>Description</th>
63
                                <th>Number of items</th>
66
                                <th>Number of items</th>
64
                                <th>&nbsp;</th>
67
                                <th>&nbsp;</th>
68
                                </tr>
65
                            </thead>
69
                            </thead>
66
                            <tbody>
70
                            <tbody>
67
                                [% FOREACH rota IN existing_rotas %]
71
                                [% FOREACH rota IN existing_rotas %]
Lines 362-367 Link Here
362
                        <h3>Manage items assigned to &quot;[% rota.title | html %]&quot;</h3>
366
                        <h3>Manage items assigned to &quot;[% rota.title | html %]&quot;</h3>
363
                        <table id="sr_manage_items" class="items_table" role="grid">
367
                        <table id="sr_manage_items" class="items_table" role="grid">
364
                            <thead>
368
                            <thead>
369
                                <tr>
365
                                <th>Barcode</th>
370
                                <th>Barcode</th>
366
                                <th>Title</th>
371
                                <th>Title</th>
367
                                <th>Author</th>
372
                                <th>Author</th>
Lines 369-374 Link Here
369
                                <th class="NoSearch">In transit</th>
374
                                <th class="NoSearch">In transit</th>
370
                                <th class="NoSort">Stages &amp; duration in days<br>(current stage highlighted)</th>
375
                                <th class="NoSort">Stages &amp; duration in days<br>(current stage highlighted)</th>
371
                                <th class="NoSort">&nbsp;</th>
376
                                <th class="NoSort">&nbsp;</th>
377
                                </tr>
372
                            </thead>
378
                            </thead>
373
                            <tbody>
379
                            <tbody>
374
                                [% FOREACH item IN items %]
380
                                [% FOREACH item IN items %]
Lines 492-519 Link Here
492
498
493
                [% END %]
499
                [% END %]
494
            </div>
500
            </div>
495
        </div>
501
            </main>
496
        <div class="yui-b">
502
        </div> <!-- /.col-sm-10.col-sm-push-2 -->
497
            [% INCLUDE 'tools-menu.inc' %]
503
498
        </div>
504
        <div class="col-sm-2 col-sm-pull-10">
499
    </div>
505
            <aside>
500
</div>
506
                [% INCLUDE 'tools-menu.inc' %]
507
            </aside>
508
        </div> <!-- /.col-sm-2.col-sm-pull-10 -->
509
    </div> <!-- /.row -->
510
501
511
502
[% MACRO jsinclude BLOCK %]
512
[% MACRO jsinclude BLOCK %]
503
    [% Asset.js("js/tools-menu.js") | $raw %]
513
    [% Asset.js("js/tools-menu.js") | $raw %]
504
    [% INCLUDE 'datatables.inc' %]
514
    [% INCLUDE 'datatables.inc' %]
505
    [% Asset.js("js/pages/stockrotation.js") | $raw %]
515
    [% Asset.js("js/pages/stockrotation.js") | $raw %]
506
    <script type="text/javascript">
516
    <script>
507
    $(document).ready(function() {
517
        $(document).ready(function() {
508
        $('#sr_manage_items').dataTable($.extend(true, {}, dataTablesDefaults, {
518
            $('#sr_manage_items').dataTable($.extend(true, {}, dataTablesDefaults, {
509
            "autoWidth": false,
519
                "autoWidth": false,
510
            "aoColumnDefs": [
520
                "aoColumnDefs": [
511
                { "bSortable": false, "bSearchable": false, 'aTargets': [ 'NoSort' ] },
521
                    { "bSortable": false, "bSearchable": false, 'aTargets': [ 'NoSort' ] },
512
                { "bSortable": true, "bSearchable": false, 'aTargets': [ 'NoSearch' ] }
522
                    { "bSortable": true, "bSearchable": false, 'aTargets': [ 'NoSearch' ] }
513
            ],
523
                ],
514
            "sPaginationType": "four_button"
524
                "sPaginationType": "four_button"
515
        }));
525
            }));
516
    });
526
        });
517
    </script>
527
    </script>
518
[% END %]
528
[% END %]
519
529
520
- 

Return to bug 21945