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

(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/branch-selector.inc (-2 / +3 lines)
Lines 6-18 Link Here
6
    END;
6
    END;
7
END %]
7
END %]
8
<div class="branchselector">
8
<div class="branchselector">
9
    <p><a href="#" id="checkall"> <i class="fa fa-check"></i> Select all</a> | <a href="#" id="checknone"> <i class="fa fa-remove"></i> Clear all</a></p>
9
    <div class="branchgridrow">
10
    <div class="branchgridrow">
10
    [% FOREACH branch IN branches %]
11
    [% FOREACH branch IN branches %]
11
        <div class="branchgriditem">
12
        <div class="branchgriditem">
12
            [% IF branch.selected || (selectall == 1) %]
13
            [% IF branch.selected || (selectall == 1) %]
13
                <input id="branch_[% branch.value %]" type="checkbox" name="branch" value="[% branch.value %]" checked="checked" />
14
                <input id="branch_[% branch.value %]" class="branch_select" type="checkbox" name="branch" value="[% branch.value %]" checked="checked" />
14
            [% ELSE %]
15
            [% ELSE %]
15
                <input id="branch_[% branch.value %]" type="checkbox" name="branch" value="[% branch.value %]" />
16
                <input id="branch_[% branch.value %]" class="branch_select" type="checkbox" name="branch" value="[% branch.value %]" />
16
            [% END %]
17
            [% END %]
17
18
18
            <label for="branch_[% branch.value %]">[% branch.branchname %]</label>
19
            <label for="branch_[% branch.value %]">[% branch.branchname %]</label>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/export.tt (-23 / +47 lines)
Lines 1-5 Link Here
1
[% INCLUDE 'doc-head-open.inc' %]
1
[% INCLUDE 'doc-head-open.inc' %]
2
<title>Koha &rsaquo; Tools &rsaquo; MARC export</title>
2
<title>Koha &rsaquo; Tools &rsaquo; Export data</title>
3
[% INCLUDE 'doc-head-close.inc' %]
3
[% INCLUDE 'doc-head-close.inc' %]
4
[% INCLUDE 'calendar.inc' %]
4
[% INCLUDE 'calendar.inc' %]
5
<script type="text/javascript">
5
<script type="text/javascript">
Lines 17-31 $(document).ready(function() { Link Here
17
            $("#bibs li.csv_profiles").hide();
17
            $("#bibs li.csv_profiles").hide();
18
        }
18
        }
19
    });
19
    });
20
    $("#checkall").on("click",function(e){
21
        e.preventDefault();
22
        $(".branch_select").prop("checked",1);
23
    });
24
    $("#checknone").on("click",function(e){
25
        e.preventDefault();
26
        $(".branch_select").prop("checked",0);
27
    });
20
});
28
});
21
//]]>
29
//]]>
22
</script>
30
</script>
31
<style type="text/css">
32
    fieldset.rows fieldset.rows {
33
        width: 90%;
34
    }
35
</style>
23
</head>
36
</head>
24
<body id="tools_export" class="tools">
37
<body id="tools_export" class="tools">
25
[% INCLUDE 'header.inc' %]
38
[% INCLUDE 'header.inc' %]
26
[% INCLUDE 'cat-search.inc' %]
39
[% INCLUDE 'cat-search.inc' %]
27
40
28
<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> &rsaquo; <a href="/cgi-bin/koha/tools/tools-home.pl">Tools</a> &rsaquo; MARC export</div>
41
<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> &rsaquo; <a href="/cgi-bin/koha/tools/tools-home.pl">Tools</a> &rsaquo; Export data</div>
29
42
30
<div id="doc3" class="yui-t2">
43
<div id="doc3" class="yui-t2">
31
   
44
   
Lines 52-58 $(document).ready(function() { Link Here
52
<form method="post" enctype="multipart/form-data" action="/cgi-bin/koha/tools/export.pl">
65
<form method="post" enctype="multipart/form-data" action="/cgi-bin/koha/tools/export.pl">
53
    <fieldset class="rows">
66
    <fieldset class="rows">
54
    <legend> Select records to export </legend>
67
    <legend> Select records to export </legend>
55
        <ol><li>
68
        <ol>
69
        <li>
56
            <label for="start">From biblio number: </label>
70
            <label for="start">From biblio number: </label>
57
            <input id="start" type="text" name="StartingBiblionumber" size="5" />
71
            <input id="start" type="text" name="StartingBiblionumber" size="5" />
58
        </li>
72
        </li>
Lines 80-104 $(document).ready(function() { Link Here
80
            [% INCLUDE 'branch-selector.inc'
94
            [% INCLUDE 'branch-selector.inc'
81
                branches = branchloop %]
95
                branches = branchloop %]
82
        </li>
96
        </li>
83
        <li>
97
    </ol>
84
            <label for="startcn">From item call number: </label>
98
85
            <input id="startcn" type="text" name="start_callnumber" size="5" />
99
    <fieldset class="rows">
86
        </li>
100
        <legend>Call number range</legend>
87
        <li>
101
        <ol>
88
            <label for="endcn">To item call number: </label>
102
            <li>
89
            <input id="endcn" type="text" name="end_callnumber" size="5" />
103
                <label for="startcn">From item call number: </label>
90
        </li>
104
                <input id="startcn" type="text" name="start_callnumber" size="15" />
91
	<li>Accession date (inclusive):
105
            </li>
92
		<ul><li>
106
            <li>
93
        <label for="from">Start date:</label>
107
                <label for="endcn">To item call number: </label>
94
        <input type="text" size="10" id="from" name="start_accession" value="[% from %]" class="datepickerfrom" />
108
                <input id="endcn" type="text" name="end_callnumber" size="15" />
95
</li>
109
            </li>
96
<li><label for="to">
110
        </ol>
97
    End date:
111
    </fieldset>
98
</label>
112
99
<input size="10" id="to" name="end_accession" value="[% end_accession %]" type="text" class="datepickerto" />
113
    <fieldset class="rows">
100
</li>
114
        <legend>Accession date (inclusive)</legend>
101
</ul></li></ol>
115
        <ol>
116
            <li>
117
                    <label for="from">Start date:</label>
118
                    <input type="text" size="10" id="from" name="start_accession" value="[% from %]" class="datepickerfrom" />
119
            </li>
120
            <li>
121
                <label for="to">End date:</label>
122
                <input size="10" id="to" name="end_accession" value="[% end_accession %]" type="text" class="datepickerto" />
123
            </li>
124
        </ol>
125
    </fieldset>
126
102
    </fieldset>
127
    </fieldset>
103
    <fieldset class="rows">
128
    <fieldset class="rows">
104
    <legend>
129
    <legend>
105
- 

Return to bug 16548