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

(-)a/koha-tmpl/intranet-tmpl/prog/css/addbiblio.css (-50 / +8 lines)
Lines 159-179 a.tagnum { Link Here
159
    float: left;
159
    float: left;
160
}
160
}
161
161
162
#cat_addbiblio .subfieldcode {
162
.subfieldcode {
163
    float: none;
163
    float: none;
164
}
164
}
165
165
166
#cat_addbiblio .labelsubfield {
166
.labelsubfield {
167
    font-size: 90%;
167
    font-size: 90%;
168
    float: none;
168
    float: none;
169
}
169
}
170
170
171
#cat_addbiblio .subfield {
171
.subfield {
172
    float: none;
172
    float: none;
173
    padding: .25em .5em;
173
    padding: .25em .5em;
174
}
174
}
175
175
176
#cat_addbiblio .subfield label {
176
.subfield label {
177
    color: #00698a;
177
    color: #00698a;
178
}
178
}
179
179
Lines 182-202 a.tagnum { Link Here
182
	width:30em;
182
	width:30em;
183
}
183
}
184
184
185
#cat_addbiblio .input_marceditor {
185
.input_marceditor {
186
    float: none;
186
    float: none;
187
    width: 100%;
187
    width: 100%;
188
}
188
}
189
189
190
#cat_addbiblio .subfield_line {
190
.subfield_line {
191
    display: flex;
191
    display: flex;
192
}
192
}
193
193
194
#cat_addbiblio .field_marceditor {
194
.field_marceditor {
195
    flex-grow: 1;
195
    flex-grow: 1;
196
    padding: .25em .5em;
196
    padding: .25em .5em;
197
}
197
}
198
198
199
#cat_addbiblio .subfield_loop_mandatory {
199
.subfield_loop_mandatory {
200
    padding: .25em .5em;
200
    padding: .25em .5em;
201
}
201
}
202
202
Lines 400-444 tbody tr.active td { Link Here
400
    z-index: 2000;
400
    z-index: 2000;
401
}
401
}
402
402
403
#authoritiestabs .marc_field {
404
    display: inline-block;
405
    padding: .3em;
406
    border-radius: 3px;
407
}
408
409
#authoritiestabs .marc_subfield {
410
    font-weight: bold;
411
    color: #666;
412
}
413
414
#authoritiestabs .marc_subfield_desc {
415
    color: #00698a;
416
    font-style: italic;
417
}
418
419
#authoritiestabs .auth_subfield {
420
    display: flex;
421
}
422
423
#authoritiestabs .tag {
424
    padding: .4em 0;
425
}
426
427
#authoritiestabs .tag_desc {
428
    color: #026;
429
}
430
431
#authoritiestabs .tag_num {
432
    color: #080;
433
}
434
435
#authoritiestabs .tag_title {
436
    font-size: 100%;
437
    font-weight: bold;
438
    padding: 0;
439
}
440
441
#authoritiestabs .ui-tabs-nav.ui-widget-header {
442
    border-bottom: 1px solid #b9d8d9;
443
    border-radius: 0;
444
}
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/authorities/authorities.tt (-38 / +56 lines)
Lines 185-191 function confirmnotdup(redirect){ Link Here
185
185
186
<div class="main container-fluid">
186
<div class="main container-fluid">
187
    <div class="row">
187
    <div class="row">
188
        <div class="col-md-8 col-md-offset-2">
188
        <div class="col-md-10 col-md-offset-1">
189
189
190
[% IF ( authid ) %]
190
[% IF ( authid ) %]
191
<h1>Modify authority #[% authid | html %] [% authtypetext | html %]</h1>
191
<h1>Modify authority #[% authid | html %] [% authtypetext | html %]</h1>
Lines 253-267 function confirmnotdup(redirect){ Link Here
253
            </ul>
253
            </ul>
254
        [% END %]
254
        [% END %]
255
        [% previous = innerloo.tag %]
255
        [% previous = innerloo.tag %]
256
        <ul class="sortable_field">
256
        [% IF ( innerloo.repeatable ) %]
257
            <ul class="sortable_field">
258
        [% ELSE %]
259
            <ul>
260
        [% END %]
261
    [% END %]
262
    [% IF ( innerloo.repeatable ) %]
263
        <li class="tag sortable_tag clearfix" id="tag_[% innerloo.tag | html %]_[% innerloo.index | html %][% innerloo.random | html %]">
264
    [% ELSE %]
265
        <li class="tag clearfix" id="tag_[% innerloo.tag | html %]_[% innerloo.index | html %][% innerloo.random | html %]">
257
    [% END %]
266
    [% END %]
258
    <li class="tag clearfix" id="tag_[% innerloo.tag | html %]_[% innerloo.index | html %][% innerloo.random | html %]">
259
        <div class="tag_title" id="div_indicator_tag_[% innerloo.tag | html %]_[% innerloo.index | html %][% innerloo.random | html %]">
267
        <div class="tag_title" id="div_indicator_tag_[% innerloo.tag | html %]_[% innerloo.index | html %][% innerloo.random | html %]">
260
        [% UNLESS hide_marc %]
268
        [% UNLESS hide_marc %]
261
            [% IF advancedMARCEditor %]
269
            [% IF advancedMARCEditor %]
262
                <a href="#" tabindex="1" class="tagnum" title="[% innerloo.tag_lib | html %] - Click to Expand this Tag" onclick="ExpandField('tag_[% innerloo.tag | html %]_[% innerloo.index | html %][% innerloo.random | html %]'); return false;">[% innerloo.tag | html %]</a>
270
                <a href="#" tabindex="1" class="tagnum" title="[% innerloo.tag_lib | html %] - Click to Expand this Tag" onclick="ExpandField('tag_[% innerloo.tag | html %]_[% innerloo.index | html %][% innerloo.random | html %]'); return false;">[% innerloo.tag | html %]</a>
263
            [% ELSE %]
271
            [% ELSE %]
264
                <span title="[% innerloo.tag_lib | html %]">[% innerloo.tag | html %]</span>
272
                <span class="tagnum" title="[% innerloo.tag_lib | html %]">[% innerloo.tag | html %]</span>
265
            [% END %]
273
            [% END %]
266
                [% IF ( innerloo.fixedfield ) %]
274
                [% IF ( innerloo.fixedfield ) %]
267
                    <input type="text"
275
                    <input type="text"
Lines 330-352 function confirmnotdup(redirect){ Link Here
330
                    <a href="#" tabindex="1" class="buttonMinus" onclick="UnCloneField('tag_[% innerloo.tag | html %]_[% innerloo.index | html %][% innerloo.random | html %]'); return false;" title="Delete this Tag">
338
                    <a href="#" tabindex="1" class="buttonMinus" onclick="UnCloneField('tag_[% innerloo.tag | html %]_[% innerloo.index | html %][% innerloo.random | html %]'); return false;" title="Delete this Tag">
331
                        <img src="[% interface | html %]/[% theme | html %]/img/delete-tag.png" alt="Delete this Tag" />
339
                        <img src="[% interface | html %]/[% theme | html %]/img/delete-tag.png" alt="Delete this Tag" />
332
                    </a>
340
                    </a>
333
                </span>
341
                </span> <!-- /.field_controls -->
334
342
335
        </div>
343
        </div> <!-- /div.tag_title -->
336
344
337
        <ul class="sortable_subfield">
345
        <ul class="sortable_subfield">
338
        [% FOREACH subfield_loo IN innerloo.subfield_loop %]
346
        [% FOREACH subfield_loo IN innerloo.subfield_loop %]
339
            <!--  One line on the marc editor -->
347
            <!--  One line on the marc editor -->
340
            <li class="subfield_line" style="[% subfield_loo.visibility | html %]" id="subfield[% subfield_loo.tag | html %][% subfield_loo.subfield | html %][% subfield_loo.random | html %]">
348
            <li class="subfield_line" style="[% subfield_loo.visibility | html %]" id="subfield[% subfield_loo.tag | html %][% subfield_loo.subfield | html %][% subfield_loo.random | html %]">
341
349
342
                [% UNLESS advancedMARCEditor %]
343
                    [% IF ( subfield_loo.fixedfield ) %]<label for="tag_[% subfield_loo.tag | html %]_subfield_[% subfield_loo.subfield | html %]_[% subfield_loo.index | html %]_[% subfield_loo.index_subfield | html %]" style="display:none;" class="labelsubfield">
344
                    [% ELSE %]<label for="tag_[% subfield_loo.tag | html %]_subfield_[% subfield_loo.subfield | html %]_[% subfield_loo.index | html %]_[% subfield_loo.index_subfield | html %]" class="labelsubfield">
345
                    [% END %]
346
                [% END %]
347
                
348
                [% UNLESS hide_marc %]
350
                [% UNLESS hide_marc %]
349
                <span class="subfieldcode">
351
                <div class="subfieldcode">
350
                        <input type="text"
352
                        <input type="text"
351
                            title="[% subfield_loo.marc_lib | $raw %]"
353
                            title="[% subfield_loo.marc_lib | $raw %]"
352
                            style=" [% IF ( subfield_loo.fixedfield ) %]display:none; [% END %]border:0;"
354
                            style=" [% IF ( subfield_loo.fixedfield ) %]display:none; [% END %]border:0;"
Lines 356-362 function confirmnotdup(redirect){ Link Here
356
                            maxlength="1"
358
                            maxlength="1"
357
                            class="flat"
359
                            class="flat"
358
                            tabindex="0" />
360
                            tabindex="0" />
359
                </span>
361
                </div>
360
                [% ELSE %]
362
                [% ELSE %]
361
                    <input type="hidden"
363
                    <input type="hidden"
362
                        name="tag_[% subfield_loo.tag | html %]_code_[% subfield_loo.subfield | html %]_[% subfield_loo.index | html %]_[% subfield_loo.index_subfield | html %]"
364
                        name="tag_[% subfield_loo.tag | html %]_code_[% subfield_loo.subfield | html %]_[% subfield_loo.index | html %]_[% subfield_loo.index_subfield | html %]"
Lines 364-377 function confirmnotdup(redirect){ Link Here
364
                [% END %]
366
                [% END %]
365
367
366
                [% UNLESS advancedMARCEditor %]
368
                [% UNLESS advancedMARCEditor %]
367
                    [% IF ( subfield_loo.mandatory ) %]<span class="subfield subfield_mandatory">[% ELSE %]<span class="subfield">[% END %]
369
                    [% IF ( subfield_loo.mandatory ) %]
368
                        [% subfield_loo.marc_lib | $raw %]
370
                        <div class="subfield subfield_mandatory">
369
                        [% IF ( subfield_loo.mandatory ) %]<span class="mandatory_marker" title="This field is mandatory">*</span>[% END %]
371
                    [% ELSE %]
370
                    </span>
372
                        <div class="subfield">
371
                    </label>
373
                    [% END %]
374
                        [% IF ( subfield_loo.fixedfield ) %]
375
                            <label for="tag_[% subfield_loo.tag | html %]_subfield_[% subfield_loo.subfield | html %]_[% subfield_loo.index | html %]_[% subfield_loo.index_subfield | html %]" style="display:none;" class="labelsubfield">
376
                        [% ELSE %]
377
                            <label for="tag_[% subfield_loo.tag | html %]_subfield_[% subfield_loo.subfield | html %]_[% subfield_loo.index | html %]_[% subfield_loo.index_subfield | html %]" class="labelsubfield">
378
                        [% END %]
379
                            [% subfield_loo.marc_lib | $raw %]
380
                        </label>
381
                    </div>
372
                [% END %]
382
                [% END %]
373
                
383
374
                [% SET mv = subfield_loo.marc_value %]
384
                [% SET mv = subfield_loo.marc_value %]
385
                <div id="field_marceditor[% subfield_loo.tag | html %][% subfield_loo.subfield | html %][% subfield_loo.random | html %]" class="field_marceditor">
375
                [% IF ( mv.type == 'select' ) %]
386
                [% IF ( mv.type == 'select' ) %]
376
                    [% IF mv.category AND CAN_user_parameters_manage_auth_values %]
387
                    [% IF mv.category AND CAN_user_parameters_manage_auth_values %]
377
                        <select name="[%- mv.name | html -%]" tabindex="1" size="1" class="input_marceditor" id="[%- mv.id | html -%]" data-category="[% mv.category | html %]">
388
                        <select name="[%- mv.name | html -%]" tabindex="1" size="1" class="input_marceditor" id="[%- mv.id | html -%]" data-category="[% mv.category | html %]">
Lines 389-403 function confirmnotdup(redirect){ Link Here
389
                     </select>
400
                     </select>
390
                [% ELSIF ( mv.type == 'text1' ) %]
401
                [% ELSIF ( mv.type == 'text1' ) %]
391
                    <input type="text" id="[%- mv.id | html -%]" name="[%- mv.id | html -%]" value="[%- mv.value | html -%]" class="input_marceditor" tabindex="1" />
402
                    <input type="text" id="[%- mv.id | html -%]" name="[%- mv.id | html -%]" value="[%- mv.value | html -%]" class="input_marceditor" tabindex="1" />
392
                    <a href="#" class="buttonDot" onclick="openAuth(this.parentNode.getElementsByTagName('input')[1].id,'[%- mv.authtypecode | html -%]','auth'); return false;" tabindex="1" title="Tag editor">...</a>
393
                [% ELSIF ( mv.type == 'text2' ) %]
403
                [% ELSIF ( mv.type == 'text2' ) %]
394
                    <input type="text" id="[%- mv.id | html -%]" size="67" maxlength="[%- mv.maxlength | html -%]" name="[%- mv.name | html -%]" value="[%- mv.value | html -%]" class="input_marceditor" />
404
                    <input type="text" id="[%- mv.id | html -%]" size="67" maxlength="[%- mv.maxlength | html -%]" name="[%- mv.name | html -%]" value="[%- mv.value | html -%]" class="input_marceditor" />
395
                    [% IF mv.noclick %]
396
                        <a href="#" class="buttonDot tag_editor disabled" tabindex="-1" title="No popup">...</a>
397
                    [% ELSE %]
398
                        <a href="#" id="buttonDot_[% mv.id | html %]" class="buttonDot tag_editor" title="Tag editor">...</a>
399
                    [% END %]
400
                    [% mv.javascript | $raw %]
401
                [% ELSIF ( mv.type == 'text' ) %]
405
                [% ELSIF ( mv.type == 'text' ) %]
402
                    <input type="text" id="[%- mv.id | html -%]" name="[%- mv.name | html -%]" value="[%- mv.value | html -%]" class="input_marceditor" tabindex="1" size="67" maxlength="[%- mv.maxlength | html -%]" />
406
                    <input type="text" id="[%- mv.id | html -%]" name="[%- mv.name | html -%]" value="[%- mv.value | html -%]" class="input_marceditor" tabindex="1" size="67" maxlength="[%- mv.maxlength | html -%]" />
403
                [% ELSIF ( mv.type == 'textarea' ) %]
407
                [% ELSIF ( mv.type == 'textarea' ) %]
Lines 407-423 function confirmnotdup(redirect){ Link Here
407
                [% ELSIF ( mv.type == 'hidden_simple' ) %]
411
                [% ELSIF ( mv.type == 'hidden_simple' ) %]
408
                    <input type="hidden" name="[%- mv.name | html -%]" />
412
                    <input type="hidden" name="[%- mv.name | html -%]" />
409
                [% END %]
413
                [% END %]
410
414
                </div>
411
                <span class="subfield_controls">
415
                [% IF ( subfield_loo.mandatory ) %]
412
                [% IF ( subfield_loo.repeatable ) %]
416
                    <div class="subfield_loop_mandatory">
413
                    <a href="#" class="buttonPlus" tabindex="1" onclick="CloneSubfield('subfield[% subfield_loo.tag | html %][% subfield_loo.subfield | html %][% subfield_loo.random | html %]','[% advancedMARCEditor | html %]'); return false;">
417
                        <span class="required">Required</span>
414
                        <img src="[% interface | html %]/[% theme | html %]/img/clone-subfield.png" alt="Clone" title="Clone this subfield" />
418
                    </div>
415
                    </a>
416
                    <a href="#" class="buttonMinus" tabindex="1" onclick="UnCloneField('subfield[% subfield_loo.tag | html %][% subfield_loo.subfield | html %][% subfield_loo.random | html %]'); return false;">
417
                        <img src="[% interface | html %]/[% theme | html %]/img/delete-subfield.png" alt="Delete" title="Delete this subfield" />
418
                    </a>
419
                [% END %]
419
                [% END %]
420
                </span>
420
                <div class="subfield_controls">
421
                    [% IF ( mv.type == 'text1' ) %]
422
                        <a href="#" class="buttonDot tag_editor" onclick="openAuth(this.parentNode.parentNode.getElementsByTagName('input')[1].id,'[%- mv.authtypecode | html -%]','auth'); return false;" tabindex="1" title="Tag editor">Tag editor</a>
423
                    [% ELSIF ( mv.type == 'text2' ) %]
424
                        [% IF mv.noclick %]
425
                            <a href="#" class="buttonDot tag_editor disabled" tabindex="-1" title="No popup">...</a>
426
                        [% ELSE %]
427
                            <a href="#" id="buttonDot_[% mv.id | html %]" class="buttonDot tag_editor" title="Tag editor">...</a>
428
                        [% END %]
429
                        [% mv.javascript | $raw %]
430
                    [% END %]
431
                    [% IF ( subfield_loo.repeatable ) %]
432
                        <a href="#" class="buttonPlus" tabindex="1" onclick="CloneSubfield('subfield[% subfield_loo.tag | html %][% subfield_loo.subfield | html %][% subfield_loo.random | html %]','[% advancedMARCEditor | html %]'); return false;">
433
                            <img src="[% interface | html %]/[% theme | html %]/img/clone-subfield.png" alt="Clone" title="Clone this subfield" />
434
                        </a>
435
                        <a href="#" class="buttonMinus" tabindex="1" onclick="UnCloneField('subfield[% subfield_loo.tag | html %][% subfield_loo.subfield | html %][% subfield_loo.random | html %]'); return false;">
436
                            <img src="[% interface | html %]/[% theme | html %]/img/delete-subfield.png" alt="Delete" title="Delete this subfield" />
437
                        </a>
438
                    [% END %]
439
                </div>
421
                                </li>
440
                                </li>
422
                                <!-- End of the line -->
441
                                <!-- End of the line -->
423
                            [% END %]
442
                            [% END %]
424
- 

Return to bug 27737