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

(-)a/koha-tmpl/intranet-tmpl/prog/en/css/staff-global.css (-57 lines)
Lines 1851-1913 span.permissiondesc { Link Here
1851
    cursor: pointer;
1851
    cursor: pointer;
1852
}
1852
}
1853
1853
1854
h1#pdf {
1855
        background:transparent url(../../img/pdficon_large.gif) no-repeat scroll 0%;
1856
        border: 0;
1857
        margin:0.75em .3em 0.75em .7em;
1858
        padding:0;
1859
}
1860
1861
h1#pdf a {
1862
	border:0;
1863
	cursor:pointer;
1864
	display:block;
1865
	height:0px !important;
1866
	margin:0;
1867
	overflow:hidden;
1868
	padding:44px 0 0;
1869
	text-decoration:none;
1870
	width:35px;
1871
}
1872
1873
h1#csv {
1874
        background:transparent url(../../img/csv_icon.gif) no-repeat scroll 0%;
1875
        border: 0;
1876
        margin:0.75em .3em 0.75em .7em;
1877
        padding:0;
1878
}
1879
1880
h1#csv a {
1881
	border:0;
1882
	cursor:pointer;
1883
	display:block;
1884
	height:0px !important;
1885
	margin:0;
1886
	overflow:hidden;
1887
	padding:44px 0 0;
1888
	text-decoration:none;
1889
	width:35px;
1890
}
1891
1892
h1#xml {
1893
        background:transparent url(../../img/icon_xml.gif) no-repeat scroll 0%;
1894
        border: 0;
1895
        margin:0.75em .3em 0.75em .7em;
1896
        padding:0;
1897
}
1898
1899
h1#xml a {
1900
	border:0;
1901
	cursor:pointer;
1902
	display:block;
1903
	height:0px !important;
1904
	margin:0;
1905
	overflow:hidden;
1906
	padding:44px 0 0;
1907
	text-decoration:none;
1908
	width:35px;
1909
}
1910
1911
#cartDetails {
1854
#cartDetails {
1912
	background-color : #FFF;
1855
	background-color : #FFF;
1913
	border: 1px solid #739acf;
1856
	border: 1px solid #739acf;
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/patroncards/members-search.tt (-1 / +1 lines)
Lines 133-136 No results found Link Here
133
133
134
</div>
134
</div>
135
</div>
135
</div>
136
[% INCLUDE 'intranet-bottom.inc' %]
136
[% INCLUDE 'popup-bottom.inc' %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/patroncards/print.tt (-91 / +53 lines)
Lines 1-7 Link Here
1
    [% INCLUDE 'doc-head-open.inc' %]
1
    [% INCLUDE 'doc-head-open.inc' %]
2
    <title>Koha &rsaquo; Tools &rsaquo; Patron Cards &rsaquo; Patron Card Printing/Exporting</title>
2
    <title>Koha &rsaquo; Tools &rsaquo; Patron Cards &rsaquo; Patron Card Printing/Exporting</title>
3
    [% INCLUDE 'doc-head-close.inc' %]
3
    [% INCLUDE 'doc-head-close.inc' %]
4
    <script type="text/JavaScript" language="JavaScript">
4
    <script type="text/javascript">
5
        //<![CDATA[
5
        //<![CDATA[
6
            function Done() {
6
            function Done() {
7
                window.location = "[% referer %]";
7
                window.location = "[% referer %]";
Lines 9-80 Link Here
9
        //]]>
9
        //]]>
10
    </script>
10
    </script>
11
    <style type="text/css">#custom-doc {width:47.23em; *width:46.04em; min-width:610px; margin:auto; margin-top:0.4em;}</style>
11
    <style type="text/css">#custom-doc {width:47.23em; *width:46.04em; min-width:610px; margin:auto; margin-top:0.4em;}</style>
12
    <style type="text/css">table {border-collapse: separate; border-spacing: 0; border: hidden none;} .header {cursor: auto; background-position: center center; background-repeat: repeat;} .tr {border-collapse: separate;}</style>
13
</head>
12
</head>
14
<body>
13
<body>
15
    <div id="custom-doc" class="yui-t2">
14
    <div id="custom-doc" class="yui-t2">
16
        <div id="bd">
15
        <div id="bd">
17
            [% IF ( batches ) %]
16
            [% IF ( batches ) %]
18
            <form>
17
            <form>
19
                <div align="center">
18
                <h3>Click on the following link(s) to download the exported batch(es).</h3>
20
                    <div class="message">
19
                    <fieldset>
21
                        <b>Click on the following link(s) to download the exported batch(es).</b>
20
                    [% FOREACH batche IN batches %]
22
                    </div>
21
                        [% IF ( batche.label_ids ) %]
23
                </div>
22
                        <legend>[% batche.card_count %] Single Patron Cards</legend>
24
                <fieldset class="rows">
23
                        <p>
25
                    <table class="borderless">
24
                                <a class="document pdf" href="/cgi-bin/koha/patroncards/[% batche.create_script %]?batch_id=[% batche.batch_id %]&amp;template_id=[% batche.template_id %]&amp;layout_id=[% batche.layout_id %]&amp;start_card=[% batche.start_card %][% batche.label_ids %]">label_single_[% batche.card_count %].pdf</a>
26
                        [% FOREACH batche IN batches %]
25
                        </p>
27
                        <tr>
26
                        [% ELSIF ( batche.borrower_numbers ) %]
28
                            [% IF ( batche.label_ids ) %]
27
                        <legend>[% batche.card_count %] Single Patron Cards</legend>
29
                            <td class="borderless">
28
                        <p>
30
                                [% batche.card_count %] Single Patron Cards
29
                                <a class="document pdf" href="/cgi-bin/koha/patroncards/[% batche.create_script %]?template_id=[% batche.template_id %]&amp;layout_id=[% batche.layout_id %]&amp;start_card=[% batche.start_card %][% batche.borrower_numbers %]">label_single_[% batche.card_count %].pdf</a>
31
                            </td>
30
                        </p>
32
                            <td class="borderless">
31
                        [% ELSE %]
33
                                <h1 id="pdf">
32
                        <legend>Card Batch Number [% batche.batch_id %]</legend>
34
                                    <a href="/cgi-bin/koha/patroncards/[% batche.create_script %]?batch_id=[% batche.batch_id %]&amp;template_id=[% batche.template_id %]&amp;layout_id=[% batche.layout_id %]&amp;start_card=[% batche.start_card %][% batche.label_ids %]">label_single_[% batche.card_count %].pdf</a>
33
                        <p>
35
                                </h1>
34
                                <a class="document pdf" href="/cgi-bin/koha/patroncards/create-pdf.pl?batch_id=[% batche.batch_id %]&amp;template_id=[% batche.template_id %]&amp;layout_id=[% batche.layout_id %]&amp;start_card=[% batche.start_card %]">label_batch_[% batche.batch_id %].pdf</a>
36
                            </td>
35
                        </p>
37
                            [% ELSIF ( batche.borrower_numbers ) %]
38
                            <td class="borderless">
39
                                [% batche.card_count %] Single Patron Cards
40
                            </td>
41
                            <td class="borderless">
42
                                <h1 id="pdf">
43
                                    <a href="/cgi-bin/koha/patroncards/[% batche.create_script %]?template_id=[% batche.template_id %]&amp;layout_id=[% batche.layout_id %]&amp;start_card=[% batche.start_card %][% batche.borrower_numbers %]">label_single_[% batche.card_count %].pdf</a>
44
                                </h1>
45
                            </td>
46
                            [% ELSE %]
47
                            <td class="borderless">
48
                                Card Batch Number [% batche.batch_id %]
49
                            </td>
50
                            <td class="borderless">
51
                                <h1 id="pdf">
52
                                    <a href="/cgi-bin/koha/patroncards/create-pdf.pl?batch_id=[% batche.batch_id %]&amp;template_id=[% batche.template_id %]&amp;layout_id=[% batche.layout_id %]&amp;start_card=[% batche.start_card %]">label_batch_[% batche.batch_id %].pdf</a>
53
                                </h1>
54
                            </td>
55
                            [% END %]
56
                        </tr>
57
                        [% END %]
36
                        [% END %]
58
                    </table>
37
                    [% END %]
59
                </fieldset>
38
                    </fieldset>
39
60
                <fieldset class="action">
40
                <fieldset class="action">
61
                    <div style="margin: 10px 10px 10px 0px;">
41
                    <input type="button" class="submit" id="done" onclick="parent.parent.GB_hide();" value="Done" />
62
                        <span class="yui-button yui-link-button"><span class="first-child"><input type="button" id="done" onclick="parent.parent.GB_hide();" value="Done"></span></span>
63
                    </div>
64
                </fieldset>
42
                </fieldset>
65
            </form>
43
            </form>
66
            [% ELSE %]
44
            [% ELSE %]
67
            <div align="center">
45
            <h3>
68
                <div class="message">
69
                    [% IF ( label_ids ) %]
46
                    [% IF ( label_ids ) %]
70
                    <b>Exporting [% card_count %] patroncard(s).</b>
47
                        [% IF ( card_count == 1 ) %]Exporting [% card_count %] patroncard[% ELSE %]Exporting [% card_count %] patroncards[% END %]
71
                    [% ELSIF ( borrower_numbers ) %]
48
                    [% ELSIF ( borrower_numbers ) %]
72
                    <b>Exporting [% borrower_count %] patroncard(s).</b>
49
                        [% IF ( borrower_count == 1 ) %]Exporting [% borrower_count %] patroncard[% ELSE %]Exporting [% borrower_count %] patroncards[% END %]
73
                    [% ELSE %]
50
                    [% ELSE %]
74
                    <b>[% multi_batch_count %] batch(es) to export.</b>
51
                        [% IF ( multi_batch_count == 1 ) %][% multi_batch_count %] batch to export[% ELSE %][% multi_batch_count %] batches to export[% END %]
75
                    [% END %]
52
                    [% END %]
76
                </div>
53
            </h3>
77
            </div>
78
            <form name="exporting" method="post" action="/cgi-bin/koha/patroncards/print.pl">
54
            <form name="exporting" method="post" action="/cgi-bin/koha/patroncards/print.pl">
79
                <input type="hidden" name="op" value="export" />
55
                <input type="hidden" name="op" value="export" />
80
                <input type="hidden" name="referer" value="[% referer %]" />
56
                <input type="hidden" name="referer" value="[% referer %]" />
Lines 88-135 Link Here
88
                    <input type="hidden" name="borrower_number" value="[% borrower_number.borrower_number %]" />
64
                    <input type="hidden" name="borrower_number" value="[% borrower_number.borrower_number %]" />
89
                [% END %]
65
                [% END %]
90
                <fieldset class="rows">
66
                <fieldset class="rows">
91
                    <table class="borderless">
67
                    <ol>
92
                        <tr>
68
                        <li>
93
                            <td class="borderless">
69
                            <label style="width:9em" for="template_id">Select a template to be applied: </label>
94
                                <label for="template">Select a template to be applied: </label>
70
                            <select name="template_id" id="template_id">
95
                            </td>
71
                                [% FOREACH template IN templates %]
96
                            <td class="borderless">
72
                                <option value="[% template.template_id %]">[% template.template_code %]</option>
97
                                <select name="template_id">
73
                                [% END %]
98
                                    [% FOREACH template IN templates %]
74
                            </select>
99
                                    <option value="[% template.template_id %]">[% template.template_code %]</option>
75
                        </li>
100
                                    [% END %]
76
                        <li>
101
                                </select>
77
                            <label style="width:9em" for="layout_id">Select a layout to be applied: </label>
102
                            </td>
78
                            <select name="layout_id" id="layout_id">
103
                        </tr>
79
                                [% FOREACH layout IN layouts %]
104
                        <tr>
80
                                <option value="[% layout.layout_id %]">[% layout.layout_name %]</option>
105
                            <td class="borderless">
81
                                [% END %]
106
                                <label for="layout">Select a layout to be applied: </label>
82
                            </select>
107
                            </td>
83
                        </li>
108
                            <td class="borderless">
84
                        <li>
109
                                <select name="layout_id">
85
                            <label style="width:9em" for="start_card">Enter starting card number: </label>
110
                                    [% FOREACH layout IN layouts %]
86
                            <input type="text" size="5" id="start_card" name="start_card" class="focus" title="Starting card number" value="1" />
111
                                    <option value="[% layout.layout_id %]">[% layout.layout_name %]</option>
87
                        </li>
112
                                    [% END %]
88
                    </ol>
113
                                </select>
114
                            </td>
115
                        </tr>
116
                        <tr>
117
                            <td class="borderless">
118
                                <label for="start_card">Enter starting card number: </label>
119
                            </td>
120
                            <td class="borderless">
121
                                <input type="text" size="5" id="start_card" name="start_card" class="focus" title="Starting card number" value="1"/>
122
                            </td>
123
                        </tr>
124
                    </table>
125
                </fieldset>
89
                </fieldset>
126
                <fieldset class="action">
90
                <fieldset class="action">
127
                    <div style="margin: 10px 10px 10px 0px;">
91
                    <input type="submit" class="submit" value="Export" />
128
                        <span class="yui-button yui-link-button"><span class="first-child"><input type="submit" value="Export" /></span></span>
92
                    <a href="#" class="cancel" id="done" onclick="parent.parent.GB_hide();">Cancel</a>
129
                        <span class="yui-button yui-link-button"><span class="first-child"><input type="button" id="done" onclick="parent.parent.GB_hide();" value="Cancel"></span></span>
130
                    </div>
131
                </fieldset>
93
                </fieldset>
132
            </form>
94
            </form>
133
            [% END %]
95
            [% END %]
134
        </div>
96
        </div>
135
    [% INCLUDE 'intranet-bottom.inc' %]
97
    [% INCLUDE 'popup-bottom.inc' %]

Return to bug 6753