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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/guided_reports_start.tt (-24 / +37 lines)
Lines 37-42 Link Here
37
    #col1, #col2 { width:45%; float:left; }
37
    #col1, #col2 { width:45%; float:left; }
38
    #col1 ins, #col2 del { display: none; }
38
    #col1 ins, #col2 del { display: none; }
39
    .show_sql { font-family: monospace; }
39
    .show_sql { font-family: monospace; }
40
    .send_to_item_mod {
41
        background-color: #EBF3FF;
42
        border: 1px solid #88b0e8;
43
        border-radius: 5px;
44
        display: inline-block;
45
        font-size: 75%;
46
        margin: 3px 5px;
47
        padding: 3px 5px;
48
        white-space: nowrap;
49
    }
40
</style>
50
</style>
41
[% IF ( saved1 ) %]
51
[% IF ( saved1 ) %]
42
    <link rel="stylesheet" type="text/css" href="[% interface %]/[% theme %]/css/datatables_[% KOHA_VERSION %].css" />
52
    <link rel="stylesheet" type="text/css" href="[% interface %]/[% theme %]/css/datatables_[% KOHA_VERSION %].css" />
Lines 705-733 canned reports and writing custom SQL reports.</p> Link Here
705
715
706
<div class="pages">[% pagination_bar %]</div>
716
<div class="pages">[% pagination_bar %]</div>
707
[% UNLESS ( errors ) %]
717
[% UNLESS ( errors ) %]
708
<form method="POST" id="report_results">
718
    <form method="POST" id="report_results">
709
<input type="hidden" name="op" value="show">
719
        <input type="hidden" name="op" value="show" />
710
<table>
720
        <table>
711
<tr>[% FOREACH header_ro IN header_row %]
721
            <tr>
712
        [% IF header_ro.cell == 'itemnumber' %]
722
                [% FOREACH header_ro IN header_row %]
713
            <th>[% header_ro.cell %] <a href="" data-toggle="tooltip" title="Send visible items to batch modification" class="send_to_item_mod">^</a></th>
723
                    [% IF header_ro.cell == 'itemnumber' %]
714
        [% ELSE %]
724
                        <th>
715
            <th>[% header_ro.cell %]</th>
725
                            [% header_ro.cell %] <a href="#" data-toggle="tooltip" title="Send visible items to batch modification" class="send_to_item_mod"><i class="fa fa-pencil"></i> Batch modify</a>
716
        [% END %]
726
                        </th>
717
    [% END %]</tr>
727
                    [% ELSE %]
718
[% FOREACH result IN results %]
728
                        <th>[% header_ro.cell %]</th>
719
<tr>
729
                    [% END %]
720
    [% FOREACH cells IN result.cells %]
730
                [% END %]
721
        [% place = loop.index %]
731
            </tr>
722
        [% IF header_row.$place.cell == 'itemnumber' %]
732
            [% FOREACH result IN results %]
723
            <input type="hidden" name="[% header_row.$place.cell | html %]" value="[% cells.cell | html %]">
733
                <tr>
724
        [% END %]
734
                    [% FOREACH cells IN result.cells %]
725
        <td>[% cells.cell %]</td>
735
                        [% place = loop.index %]
726
    [% END %]
736
                        [% IF header_row.$place.cell == 'itemnumber' %]
727
</tr>
737
                            <input type="hidden" name="[% header_row.$place.cell | html %]" value="[% cells.cell | html %]" />
728
[% END %]
738
                        [% END %]
729
</table>
739
                        <td>[% cells.cell %]</td>
730
</form>
740
                    [% END %]
741
                </tr>
742
            [% END %]
743
        </table>
744
    </form>
731
[% END %]
745
[% END %]
732
[% END %]
746
[% END %]
733
747
734
- 

Return to bug 19233