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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/patroncards/edit-batch.tt (-10 / +15 lines)
Lines 21-30 Link Here
21
            New
21
            New
22
        [% END %]
22
        [% END %]
23
    </div>
23
    </div>
24
    <div id="doc3" class="yui-t2">
24
25
        <div id="bd">
25
    <div class="main container-fluid">
26
            <div id="yui-main">
26
        <div class="row">
27
                <div class="yui-b">
27
            <div class="col-sm-10 col-sm-push-2">
28
                <main>
29
28
                    <div class="yui-g">
30
                    <div class="yui-g">
29
                    [% INCLUDE 'patroncards-toolbar.inc' %]
31
                    [% INCLUDE 'patroncards-toolbar.inc' %]
30
                        <div class="yui-u first">
32
                        <div class="yui-u first">
Lines 118-130 Link Here
118
                                </fieldset>
120
                                </fieldset>
119
                            [% END %]
121
                            [% END %]
120
                        </div>
122
                        </div>
121
                    </div>
122
                </div>
123
                <div class="yui-b">
124
                  [% INCLUDE 'tools-menu.inc' %]
125
                </div>
126
            </div>
127
123
124
            </main>
125
        </div> <!-- /.col-sm-10.col-sm-push-2 -->
126
127
        <div class="col-sm-2 col-sm-pull-10">
128
            <aside>
129
                [% INCLUDE 'tools-menu.inc' %]
130
            </aside>
131
        </div> <!-- /.col-sm-2.col-sm-pull-10 -->
132
     </div> <!-- /.row -->
128
[% MACRO jsinclude BLOCK %]
133
[% MACRO jsinclude BLOCK %]
129
    [% INCLUDE 'greybox.inc' %]
134
    [% INCLUDE 'greybox.inc' %]
130
    [% INCLUDE 'datatables.inc' %]
135
    [% INCLUDE 'datatables.inc' %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/patroncards/edit-layout.tt (-13 / +19 lines)
Lines 14-23 Link Here
14
        <a href="/cgi-bin/koha/patroncards/manage.pl?card_element=layout">Layouts</a> &rsaquo;
14
        <a href="/cgi-bin/koha/patroncards/manage.pl?card_element=layout">Layouts</a> &rsaquo;
15
        [% IF ( layout_id ) %]Edit ([% layout_id | html %])[% ELSE %]New[% END %]
15
        [% IF ( layout_id ) %]Edit ([% layout_id | html %])[% ELSE %]New[% END %]
16
    </div>
16
    </div>
17
    <div id="doc3" class="yui-t2">
17
18
        <div id="bd">
18
    <div class="main container-fluid">
19
            <div id="yui-main">
19
        <div class="row">
20
                <div class="yui-b">
20
            <div class="col-sm-10 col-sm-push-2">
21
                <main>
22
21
                    <div class="yui-g">
23
                    <div class="yui-g">
22
                    [% INCLUDE 'patroncards-toolbar.inc' %]
24
                    [% INCLUDE 'patroncards-toolbar.inc' %]
23
                        <div class="yui-u first">
25
                        <div class="yui-u first">
Lines 27-34 Link Here
27
29
28
                <!-- NOTE: The order of the elements on this form is crictical to correct processing. You've been warned...  -->
30
                <!-- NOTE: The order of the elements on this form is crictical to correct processing. You've been warned...  -->
29
                <form name="input" action="/cgi-bin/koha/patroncards/edit-layout.pl" method="get">
31
                <form name="input" action="/cgi-bin/koha/patroncards/edit-layout.pl" method="get">
30
                <div class="yui-g">
32
                <div class="row">
31
                <div class="yui-g first">
33
                <div class="col-sm-6">
32
                        <fieldset class="rows">
34
                        <fieldset class="rows">
33
                            <legend>[% IF ( layout_id ) %]Edit[% ELSE %]Create[% END %] patron card text layout</legend>
35
                            <legend>[% IF ( layout_id ) %]Edit[% ELSE %]Create[% END %] patron card text layout</legend>
34
                            <ol>
36
                            <ol>
Lines 259-265 Link Here
259
                            </ol>
261
                            </ol>
260
                        </fieldset>
262
                        </fieldset>
261
                </div>
263
                </div>
262
                <div class="yui-g">
264
                <div class="col-sm-6">
263
                    <fieldset class="rows">
265
                    <fieldset class="rows">
264
                    <legend>[% IF ( layout_id ) %]Edit[% ELSE %]Create[% END %] patron card graphic layout</legend>
266
                    <legend>[% IF ( layout_id ) %]Edit[% ELSE %]Create[% END %] patron card graphic layout</legend>
265
                    <ol>
267
                    <ol>
Lines 460-471 Link Here
460
                        <input type="hidden" name="layout_id" value="[% layout_id | html %]" />
462
                        <input type="hidden" name="layout_id" value="[% layout_id | html %]" />
461
                    </fieldset>
463
                    </fieldset>
462
                </form>
464
                </form>
463
                </div>
465
464
            </div>
466
            </main>
465
            <div class="yui-b">
467
        </div> <!-- /.col-sm-10.col-sm-push-2 -->
466
              [% INCLUDE 'tools-menu.inc' %]
468
467
            </div>
469
        <div class="col-sm-2 col-sm-pull-10">
468
        </div>
470
            <aside>
471
                [% INCLUDE 'tools-menu.inc' %]
472
            </aside>
473
        </div> <!-- /.col-sm-2.col-sm-pull-10 -->
474
     </div> <!-- /.row -->
469
475
470
[% MACRO jsinclude BLOCK %]
476
[% MACRO jsinclude BLOCK %]
471
    <script>
477
    <script>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/patroncards/edit-profile.tt (-18 / +16 lines)
Lines 14-32 Link Here
14
        <a href="/cgi-bin/koha/patroncards/manage.pl?card_element=profile">Profiles</a> &rsaquo;
14
        <a href="/cgi-bin/koha/patroncards/manage.pl?card_element=profile">Profiles</a> &rsaquo;
15
        [% IF ( profile_id ) %]Edit ([% profile_id | html %])[% ELSE %]New[% END%]
15
        [% IF ( profile_id ) %]Edit ([% profile_id | html %])[% ELSE %]New[% END%]
16
    </div>
16
    </div>
17
    <div id="doc3" class="yui-t2">
17
18
        <div id="bd">
18
    <div class="main container-fluid">
19
        <div id="yui-main">
19
        <div class="row">
20
            <div class="yui-b">
20
            <div class="col-sm-10 col-sm-push-2">
21
                    <div class="yui-g">
21
                <main>
22
22
                    [% INCLUDE 'patroncards-toolbar.inc' %]
23
                    [% INCLUDE 'patroncards-toolbar.inc' %]
23
                        <div class="yui-u first">
24
24
25
                        </div>
26
                    </div>
27
                        <div class="yui-g">
28
                            <h3>[% IF (profile_id) %]Edit[% ELSE %]Create[% END%] printer profile[% IF (profile_id) %] ([% profile_id | html %])[% END %]</h3>
25
                            <h3>[% IF (profile_id) %]Edit[% ELSE %]Create[% END%] printer profile[% IF (profile_id) %] ([% profile_id | html %])[% END %]</h3>
29
                                <div class="yui-g first">
30
                                    <form name="input" action="/cgi-bin/koha/patroncards/edit-profile.pl" method="get">
26
                                    <form name="input" action="/cgi-bin/koha/patroncards/edit-profile.pl" method="get">
31
                                    <fieldset class="rows"><legend>Profile settings</legend>
27
                                    <fieldset class="rows"><legend>Profile settings</legend>
32
                                        <ol>
28
                                        <ol>
Lines 98-111 Link Here
98
                                        <input type="hidden" name="profile_id" value="[% profile_id | html %]" />
94
                                        <input type="hidden" name="profile_id" value="[% profile_id | html %]" />
99
                                    </fieldset>
95
                                    </fieldset>
100
                    </form>
96
                    </form>
101
                                </div>
97
102
                            </div>
98
            </main>
103
                        </div>
99
        </div> <!-- /.col-sm-10.col-sm-push-2 -->
104
                </div>
100
105
                <div class="yui-b">
101
        <div class="col-sm-2 col-sm-pull-10">
106
                  [% INCLUDE 'tools-menu.inc' %]
102
            <aside>
107
                </div>
103
                [% INCLUDE 'tools-menu.inc' %]
108
            </div>
104
            </aside>
105
        </div> <!-- /.col-sm-2.col-sm-pull-10 -->
106
     </div> <!-- /.row -->
109
107
110
[% MACRO jsinclude BLOCK %]
108
[% MACRO jsinclude BLOCK %]
111
    <script>
109
    <script>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/patroncards/edit-template.tt (-28 / +28 lines)
Lines 16-35 Link Here
16
        <a href="/cgi-bin/koha/patroncards/manage.pl?card_element=template">Templates</a> &rsaquo;
16
        <a href="/cgi-bin/koha/patroncards/manage.pl?card_element=template">Templates</a> &rsaquo;
17
        [% IF (template_id) %]Edit ([% template_id | html %])[% ELSE %]New[% END %]
17
        [% IF (template_id) %]Edit ([% template_id | html %])[% ELSE %]New[% END %]
18
    </div>
18
    </div>
19
    <div id="doc3" class="yui-t2">
20
        <div id="bd">
21
            <div id="yui-main">
22
                <div class="yui-b">
23
                    <div class="yui-g">
24
                    [% INCLUDE 'patroncards-toolbar.inc' %]
25
                        <div class="yui-u first">
26
19
27
                        </div>
20
    <div class="main container-fluid">
28
                    </div>
21
        <div class="row">
22
            <div class="col-sm-10 col-sm-push-2">
23
                <main>
24
25
                    [% INCLUDE 'patroncards-toolbar.inc' %]
29
                    <form name="input" action="/cgi-bin/koha/patroncards/edit-template.pl" method="get">
26
                    <form name="input" action="/cgi-bin/koha/patroncards/edit-template.pl" method="get">
30
                    <div class="yui-g">
31
                        <h3>[% IF (template_id) %]Edit[% ELSE %]Create[% END %] patron card template[% IF (template_id) %] ([% template_id | html %])[% END %]</h3>
27
                        <h3>[% IF (template_id) %]Edit[% ELSE %]Create[% END %] patron card template[% IF (template_id) %] ([% template_id | html %])[% END %]</h3>
32
                        <div class="yui-u first">
28
                        <div class="row">
29
                        <div class="col-sm-6">
33
                            <fieldset class="rows">
30
                            <fieldset class="rows">
34
                                <ol>
31
                                <ol>
35
                                    <li>
32
                                    <li>
Lines 92-98 Link Here
92
                                </ol>
89
                                </ol>
93
                            </fieldset>
90
                            </fieldset>
94
                        </div>
91
                        </div>
95
                        <div class="yui-u">
92
                        <div class="col-sm-6">
96
                            <fieldset class="rows">
93
                            <fieldset class="rows">
97
                                <ol><li>
94
                                <ol><li>
98
                                    <label for="top_margin">Top page margin:</label>
95
                                    <label for="top_margin">Top page margin:</label>
Lines 141-163 Link Here
141
                            </fieldset>
138
                            </fieldset>
142
                        </div>
139
                        </div>
143
                    </div>
140
                    </div>
144
                    <div class="yui-g">
141
145
                        <fieldset class="action">
142
                    <fieldset class="action">
146
                            <input type="submit" class="submit" value="Save" />
143
                        <input type="submit" class="submit" value="Save" />
147
                            <a class="cancel" href="/cgi-bin/koha/patroncards/manage.pl?card_element=template">Cancel</a>
144
                        <a class="cancel" href="/cgi-bin/koha/patroncards/manage.pl?card_element=template">Cancel</a>
148
                            <input type="hidden" name="op" value="save" />
145
                        <input type="hidden" name="op" value="save" />
149
                            [% IF ( template_id ) %]
146
                        [% IF ( template_id ) %]
150
                            <input type="hidden" name="template_id" value="[% template_id | html %]" />
147
                        <input type="hidden" name="template_id" value="[% template_id | html %]" />
151
                            [% END %]
148
                        [% END %]
152
                        </fieldset>
149
                    </fieldset>
153
                    </div>
154
                </form>
150
                </form>
155
            </div>
151
156
        </div>
152
            </main>
157
        <div class="yui-b">
153
        </div> <!-- /.col-sm-10.col-sm-push-2 -->
158
          [% INCLUDE 'tools-menu.inc' %]
154
159
        </div>
155
        <div class="col-sm-2 col-sm-pull-10">
160
    </div>
156
            <aside>
157
                [% INCLUDE 'tools-menu.inc' %]
158
            </aside>
159
        </div> <!-- /.col-sm-2.col-sm-pull-10 -->
160
     </div> <!-- /.row -->
161
161
162
[% MACRO jsinclude BLOCK %]
162
[% MACRO jsinclude BLOCK %]
163
    [% Asset.js("js/tools-menu.js") | $raw %]
163
    [% Asset.js("js/tools-menu.js") | $raw %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/patroncards/home.tt (-16 / +20 lines)
Lines 10-28 Link Here
10
        <a href="/cgi-bin/koha/tools/tools-home.pl">Tools</a> &rsaquo;
10
        <a href="/cgi-bin/koha/tools/tools-home.pl">Tools</a> &rsaquo;
11
        Patron card creator
11
        Patron card creator
12
    </div>
12
    </div>
13
    <div id="doc3" class="yui-t2">
13
14
        <div id="bd">
14
<div class="main container-fluid">
15
            <div id="yui-main">
15
    <div class="row">
16
                <div class="yui-b">
16
        <div class="col-sm-10 col-sm-push-2">
17
                    <div class="yui-g">
17
            <main>
18
                    [% INCLUDE 'patroncards-toolbar.inc' %]
18
19
                        <div class="yui-u first">
19
                [% INCLUDE 'patroncards-toolbar.inc' %]
20
                        </div>
20
21
                    </div>
21
22
                </div>
22
            </main>
23
            </div>
23
        </div> <!-- /.col-sm-10.col-sm-push-2 -->
24
            <div class="yui-b">
24
25
              [% INCLUDE 'tools-menu.inc' %]
25
        <div class="col-sm-2 col-sm-pull-10">
26
            </div>
26
            <aside>
27
        </div>
27
                [% INCLUDE 'tools-menu.inc' %]
28
        [% INCLUDE 'intranet-bottom.inc' %]
28
            </aside>
29
        </div> <!-- .col-sm-2.col-sm-pull-10 -->
30
     </div> <!-- /.row -->
31
32
[% INCLUDE 'intranet-bottom.inc' %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/patroncards/image-manage.tt (-18 / +19 lines)
Lines 13-31 Link Here
13
    <a href="/cgi-bin/koha/patroncards/home.pl">Patron card creator</a> &rsaquo;
13
    <a href="/cgi-bin/koha/patroncards/home.pl">Patron card creator</a> &rsaquo;
14
    Images
14
    Images
15
</div>
15
</div>
16
<div id="doc3" class="yui-t2">
17
    <div id="bd">
18
        <div id="yui-main">
19
            <div class="yui-b">
20
                    <div class="yui-g">
21
                    [% INCLUDE 'patroncards-toolbar.inc' %]
22
                        <div class="yui-u first">
23
16
24
                        </div>
17
<div class="main container-fluid">
25
                    </div>
18
    <div class="row">
19
        <div class="col-sm-10 col-sm-push-2">
20
            <main>
21
22
                [% INCLUDE 'patroncards-toolbar.inc' %]
26
                [% INCLUDE 'patroncards-errors.inc' %]
23
                [% INCLUDE 'patroncards-errors.inc' %]
27
                <div class="yui-g">
24
                <div class="row">
28
                    <div class="yui-u first">
25
                    <div class="col-sm-6">
29
                        <h1>Upload additional images for patron cards</h1>
26
                        <h1>Upload additional images for patron cards</h1>
30
                        <p>Manage additional images to use as logo, decoration or background on a patron card layout.</p>
27
                        <p>Manage additional images to use as logo, decoration or background on a patron card layout.</p>
31
                        <form name="upload_images" method="post" action="/cgi-bin/koha/patroncards/image-manage.pl" enctype="multipart/form-data">
28
                        <form name="upload_images" method="post" action="/cgi-bin/koha/patroncards/image-manage.pl" enctype="multipart/form-data">
Lines 64-70 Link Here
64
61
65
                        </form>
62
                        </form>
66
                    </div>
63
                    </div>
67
                    <div class="yui-u">
64
                    <div class="col-sm-6">
68
                    <h1>Delete Images</h1>
65
                    <h1>Delete Images</h1>
69
                        [% IF ( TABLE ) %]
66
                        [% IF ( TABLE ) %]
70
                        <form name="delete_images" method="post" action="/cgi-bin/koha/patroncards/image-manage.pl" enctype="multipart/form-data">
67
                        <form name="delete_images" method="post" action="/cgi-bin/koha/patroncards/image-manage.pl" enctype="multipart/form-data">
Lines 134-145 Link Here
134
                        [% END %]
131
                        [% END %]
135
                    </div>
132
                    </div>
136
                </div>
133
                </div>
137
            </div>
134
138
        </div>
135
            </main>
139
        <div class="yui-b">
136
        </div> <!-- /.col-sm-10.col-sm-push-2 -->
140
          [% INCLUDE 'tools-menu.inc' %]
137
141
        </div>
138
        <div class="col-sm-2 col-sm-pull-10">
142
    </div>
139
            <aside>
140
                [% INCLUDE 'tools-menu.inc' %]
141
            </aside>
142
        </div> <!-- /.col-sm-2.col-sm-pull-10 -->
143
     </div> <!-- /.row -->
143
144
144
[% MACRO jsinclude BLOCK %]
145
[% MACRO jsinclude BLOCK %]
145
    <script>
146
    <script>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/patroncards/manage.tt (-11 / +16 lines)
Lines 36-45 Link Here
36
        <a href="/cgi-bin/koha/patroncards/home.pl">Patron card creator</a> &rsaquo;
36
        <a href="/cgi-bin/koha/patroncards/home.pl">Patron card creator</a> &rsaquo;
37
        [% PROCESS translate_card_element element=card_element_title %]
37
        [% PROCESS translate_card_element element=card_element_title %]
38
    </div>
38
    </div>
39
    <div id="doc3" class="yui-t2">
39
40
        <div id="bd">
40
    <div class="main container-fluid">
41
            <div id="yui-main">
41
        <div class="row">
42
                <div class="yui-b">
42
            <div class="col-sm-10 col-sm-push-2">
43
                <main>
44
43
                    [% INCLUDE 'patroncards-toolbar.inc' %]
45
                    [% INCLUDE 'patroncards-toolbar.inc' %]
44
                    [% INCLUDE 'patroncards-errors.inc' %]
46
                    [% INCLUDE 'patroncards-errors.inc' %]
45
                    <div class="yui-gc">
47
                    <div class="yui-gc">
Lines 122-133 Link Here
122
                            [% END %]
124
                            [% END %]
123
                        </div>
125
                        </div>
124
                    </div>
126
                    </div>
125
                </div>
127
126
            </div>
128
            </main>
127
            <div class="yui-b">
129
        </div> <!-- /.col-sm-10.col-sm-push-2 -->
128
              [% INCLUDE 'tools-menu.inc' %]
130
129
            </div>
131
        <div class="col-sm-2 col-sm-pull-10">
130
        </div>
132
            <aside>
133
                [% INCLUDE 'tools-menu.inc' %]
134
            </aside>
135
        </div> <!-- /.col-sm-2.col-sm-pull-10 -->
136
     </div> <!-- /.row -->
131
137
132
[% MACRO jsinclude BLOCK %]
138
[% MACRO jsinclude BLOCK %]
133
    [% INCLUDE 'greybox.inc' %]
139
    [% INCLUDE 'greybox.inc' %]
134
- 

Return to bug 21438