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.css" />
52
    <link rel="stylesheet" type="text/css" href="[% interface %]/[% theme %]/css/datatables.css" />
Lines 695-723 canned reports and writing custom SQL reports.</p> Link Here
695
705
696
<div class="pages">[% pagination_bar %]</div>
706
<div class="pages">[% pagination_bar %]</div>
697
[% UNLESS ( errors ) %]
707
[% UNLESS ( errors ) %]
698
<form method="POST" id="report_results">
708
    <form method="POST" id="report_results">
699
<input type="hidden" name="op" value="show">
709
        <input type="hidden" name="op" value="show" />
700
<table>
710
        <table>
701
<tr>[% FOREACH header_ro IN header_row %]
711
            <tr>
702
        [% IF header_ro.cell == 'itemnumber' %]
712
                [% FOREACH header_ro IN header_row %]
703
            <th>[% header_ro.cell %] <a href="" data-toggle="tooltip" title="Send visible items to batch modification" class="send_to_item_mod">^</a></th>
713
                    [% IF header_ro.cell == 'itemnumber' %]
704
        [% ELSE %]
714
                        <th>
705
            <th>[% header_ro.cell %]</th>
715
                            [% 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>
706
        [% END %]
716
                        </th>
707
    [% END %]</tr>
717
                    [% ELSE %]
708
[% FOREACH result IN results %]
718
                        <th>[% header_ro.cell %]</th>
709
<tr>
719
                    [% END %]
710
    [% FOREACH cells IN result.cells %]
720
                [% END %]
711
        [% place = loop.index %]
721
            </tr>
712
        [% IF header_row.$place.cell == 'itemnumber' %]
722
            [% FOREACH result IN results %]
713
            <input type="hidden" name="[% header_row.$place.cell | html %]" value="[% cells.cell | html %]">
723
                <tr>
714
        [% END %]
724
                    [% FOREACH cells IN result.cells %]
715
        <td>[% cells.cell %]</td>
725
                        [% place = loop.index %]
716
    [% END %]
726
                        [% IF header_row.$place.cell == 'itemnumber' %]
717
</tr>
727
                            <input type="hidden" name="[% header_row.$place.cell | html %]" value="[% cells.cell | html %]" />
718
[% END %]
728
                        [% END %]
719
</table>
729
                        <td>[% cells.cell %]</td>
720
</form>
730
                    [% END %]
731
                </tr>
732
            [% END %]
733
        </table>
734
    </form>
721
[% END %]
735
[% END %]
722
[% END %]
736
[% END %]
723
737
724
- 

Return to bug 19233