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 38-43 Link Here
38
    #col1, #col2 { width:45%; float:left; }
38
    #col1, #col2 { width:45%; float:left; }
39
    #col1 ins, #col2 del { display: none; }
39
    #col1 ins, #col2 del { display: none; }
40
    .show_sql { font-family: monospace; }
40
    .show_sql { font-family: monospace; }
41
    .send_to_item_mod {
42
        background-color: #EBF3FF;
43
        border: 1px solid #88b0e8;
44
        border-radius: 5px;
45
        display: inline-block;
46
        font-size: 75%;
47
        margin: 3px 5px;
48
        padding: 3px 5px;
49
        white-space: nowrap;
50
    }
41
</style>
51
</style>
42
[% IF ( saved1 ) %]
52
[% IF ( saved1 ) %]
43
<link rel="stylesheet" type="text/css" href="[% interface %]/[% theme %]/css/datatables.css" />
53
<link rel="stylesheet" type="text/css" href="[% interface %]/[% theme %]/css/datatables.css" />
Lines 929-957 canned reports and writing custom SQL reports.</p> Link Here
929
939
930
<div class="pages">[% pagination_bar %]</div>
940
<div class="pages">[% pagination_bar %]</div>
931
[% UNLESS ( errors ) %]
941
[% UNLESS ( errors ) %]
932
<form method="POST" id="report_results">
942
    <form method="POST" id="report_results">
933
<input type="hidden" name="op" value="show">
943
        <input type="hidden" name="op" value="show" />
934
<table>
944
        <table>
935
<tr>[% FOREACH header_ro IN header_row %]
945
            <tr>
936
        [% IF header_ro.cell == 'itemnumber' %]
946
                [% FOREACH header_ro IN header_row %]
937
            <th>[% header_ro.cell %] <a href="" data-toggle="tooltip" title="Send visible items to batch modification" class="send_to_item_mod">^</a></th>
947
                    [% IF header_ro.cell == 'itemnumber' %]
938
        [% ELSE %]
948
                        <th>
939
            <th>[% header_ro.cell %]</th>
949
                            [% 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>
940
        [% END %]
950
                        </th>
941
    [% END %]</tr>
951
                    [% ELSE %]
942
[% FOREACH result IN results %]
952
                        <th>[% header_ro.cell %]</th>
943
<tr>
953
                    [% END %]
944
    [% FOREACH cells IN result.cells %]
954
                [% END %]
945
        [% place = loop.index %]
955
            </tr>
946
        [% IF header_row.$place.cell == 'itemnumber' %]
956
            [% FOREACH result IN results %]
947
            <input type="hidden" name="[% header_row.$place.cell | html %]" value="[% cells.cell | html %]">
957
                <tr>
948
        [% END %]
958
                    [% FOREACH cells IN result.cells %]
949
        <td>[% cells.cell %]</td>
959
                        [% place = loop.index %]
950
    [% END %]
960
                        [% IF header_row.$place.cell == 'itemnumber' %]
951
</tr>
961
                            <input type="hidden" name="[% header_row.$place.cell | html %]" value="[% cells.cell | html %]" />
952
[% END %]
962
                        [% END %]
953
</table>
963
                        <td>[% cells.cell %]</td>
954
</form>
964
                    [% END %]
965
                </tr>
966
            [% END %]
967
        </table>
968
    </form>
955
[% END %]
969
[% END %]
956
[% END %]
970
[% END %]
957
971
958
- 

Return to bug 19233