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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/patroncards/edit-batch.tt (-15 / +15 lines)
Lines 23-38 Link Here
23
            New
23
            New
24
        [% END %]
24
        [% END %]
25
    </div>
25
    </div>
26
    <div id="doc3" class="yui-t2">
27
        <div id="bd">
28
            <div id="yui-main">
29
                <div class="yui-b">
30
                    <div class="yui-g">
31
                    [% INCLUDE 'patroncards-toolbar.inc' %]
32
                        <div class="yui-u first">
33
26
34
                        </div>
27
    <div class="main container-fluid">
35
                    </div>
28
        <div class="row">
29
            <div class="col-sm-10 col-sm-push-2">
30
                <main>
31
32
                    [% INCLUDE 'patroncards-toolbar.inc' %]
36
33
37
                [% IF ( duplicate_message ) %]
34
                [% IF ( duplicate_message ) %]
38
                    <div class="dialog message">
35
                    <div class="dialog message">
Lines 124-136 Link Here
124
                                </fieldset>
121
                                </fieldset>
125
                            [% END %]
122
                            [% END %]
126
                        </div>
123
                        </div>
127
                    </div>
128
                </div>
129
                <div class="yui-b">
130
                  [% INCLUDE 'tools-menu.inc' %]
131
                </div>
132
            </div>
133
124
125
            </main>
126
        </div> <!-- /.col-sm-10.col-sm-push-2 -->
127
128
        <div class="col-sm-2 col-sm-pull-10">
129
            <aside>
130
                [% INCLUDE 'tools-menu.inc' %]
131
            </aside>
132
        </div> <!-- /.col-sm-2.col-sm-pull-10 -->
133
     </div> <!-- /.row -->
134
[% MACRO jsinclude BLOCK %]
134
[% MACRO jsinclude BLOCK %]
135
    [% INCLUDE 'greybox.inc' %]
135
    [% INCLUDE 'greybox.inc' %]
136
    [% INCLUDE 'datatables.inc' %]
136
    [% INCLUDE 'datatables.inc' %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/patroncards/edit-layout.tt (-18 / +19 lines)
Lines 14-34 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">
18
        <div id="bd">
19
            <div id="yui-main">
20
                <div class="yui-b">
21
                    <div class="yui-g">
22
                    [% INCLUDE 'patroncards-toolbar.inc' %]
23
                        <div class="yui-u first">
24
17
25
                        </div>
18
    <div class="main container-fluid">
26
                    </div>
19
        <div class="row">
20
            <div class="col-sm-10 col-sm-push-2">
21
                <main>
22
23
                    [% INCLUDE 'patroncards-toolbar.inc' %]
27
24
28
                <!-- NOTE: The order of the elements on this form is crictical to correct processing. You've been warned...  -->
25
                <!-- 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">
26
                <form name="input" action="/cgi-bin/koha/patroncards/edit-layout.pl" method="get">
30
                <div class="yui-g">
27
                <div class="row">
31
                <div class="yui-g first">
28
                <div class="col-sm-6">
32
                        <fieldset class="rows">
29
                        <fieldset class="rows">
33
                            <legend>[% IF ( layout_id ) %]Edit[% ELSE %]Create[% END %] patron card text layout</legend>
30
                            <legend>[% IF ( layout_id ) %]Edit[% ELSE %]Create[% END %] patron card text layout</legend>
34
                            <ol>
31
                            <ol>
Lines 259-265 Link Here
259
                            </ol>
256
                            </ol>
260
                        </fieldset>
257
                        </fieldset>
261
                </div>
258
                </div>
262
                <div class="yui-g">
259
                <div class="col-sm-6">
263
                    <fieldset class="rows">
260
                    <fieldset class="rows">
264
                    <legend>[% IF ( layout_id ) %]Edit[% ELSE %]Create[% END %] patron card graphic layout</legend>
261
                    <legend>[% IF ( layout_id ) %]Edit[% ELSE %]Create[% END %] patron card graphic layout</legend>
265
                    <ol>
262
                    <ol>
Lines 460-471 Link Here
460
                        <input type="hidden" name="layout_id" value="[% layout_id | html %]" />
457
                        <input type="hidden" name="layout_id" value="[% layout_id | html %]" />
461
                    </fieldset>
458
                    </fieldset>
462
                </form>
459
                </form>
463
                </div>
460
464
            </div>
461
            </main>
465
            <div class="yui-b">
462
        </div> <!-- /.col-sm-10.col-sm-push-2 -->
466
              [% INCLUDE 'tools-menu.inc' %]
463
467
            </div>
464
        <div class="col-sm-2 col-sm-pull-10">
468
        </div>
465
            <aside>
466
                [% INCLUDE 'tools-menu.inc' %]
467
            </aside>
468
        </div> <!-- /.col-sm-2.col-sm-pull-10 -->
469
     </div> <!-- /.row -->
469
470
470
[% MACRO jsinclude BLOCK %]
471
[% MACRO jsinclude BLOCK %]
471
    <script>
472
    <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 (-14 / +17 lines)
Lines 36-49 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 id="manage-patroncards-layouts">
46
                        <div class="yui-u first" id="manage-patroncards-layouts">
47
                            <div class="hint">Current library: [% LoginBranchname | html %]</div>
48
                            <div class="hint">Current library: [% LoginBranchname | html %]</div>
48
                            [% IF ( table_loop ) %]
49
                            [% IF ( table_loop ) %]
49
                            <form name="layouts" action="/cgi-bin/koha/manage.pl?card_element=[% card_element | html %]">
50
                            <form name="layouts" action="/cgi-bin/koha/manage.pl?card_element=[% card_element | html %]">
Lines 121-133 Link Here
121
                            <p>Use the toolbar above to create a new [% PROCESS translate_card_element element=card_element %].</p></div>
122
                            <p>Use the toolbar above to create a new [% PROCESS translate_card_element element=card_element %].</p></div>
122
                            [% END %]
123
                            [% END %]
123
                        </div>
124
                        </div>
124
                    </div>
125
125
                </div>
126
            </main>
126
            </div>
127
        </div> <!-- /.col-sm-10.col-sm-push-2 -->
127
            <div class="yui-b">
128
128
              [% INCLUDE 'tools-menu.inc' %]
129
        <div class="col-sm-2 col-sm-pull-10">
129
            </div>
130
            <aside>
130
        </div>
131
                [% INCLUDE 'tools-menu.inc' %]
132
            </aside>
133
        </div> <!-- /.col-sm-2.col-sm-pull-10 -->
134
     </div> <!-- /.row -->
131
135
132
[% MACRO jsinclude BLOCK %]
136
[% MACRO jsinclude BLOCK %]
133
    [% INCLUDE 'greybox.inc' %]
137
    [% INCLUDE 'greybox.inc' %]
134
- 

Return to bug 21438