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

(-)a/koha-tmpl/intranet-tmpl/prog/en/css/addbiblio.css (-4 / +13 lines)
Lines 1-7 Link Here
1
#addbibliotabs {
1
#addbibliotabs {
2
	margin-top : 1em;
2
	margin-top : 1em;
3
}
3
}
4
4
ul li.tag {
5
    list-style-type:none;
6
    padding:0 0 0 25px;
7
    background: url("../../img/cursor_split_16.png") no-repeat left top;
8
}
9
ul li, ul li li {
10
    list-style-type:none;
11
    margin: 0 5px 5px 5px; padding: 5px;
12
}
13
.ui-state-highlight { height: 1.5em; line-height: 1.2em; }
5
#addbibliotabs .ui-tabs-panel {
14
#addbibliotabs .ui-tabs-panel {
6
	float : left;
15
	float : left;
7
}
16
}
Lines 29-46 a.expandfield { Link Here
29
	padding : .2em 1.2em;
38
	padding : .2em 1.2em;
30
}
39
}
31
40
32
div.tag {
41
li.tag {
33
    clear: both;
42
    clear: both;
34
}
43
}
35
44
36
div.subfield_line {
45
li.subfield_line {
37
    padding-bottom: .3em;
46
    padding-bottom: .3em;
38
    float: left;
47
    float: left;
39
    clear: left;
48
    clear: left;
40
    width: 100%;
49
    width: 100%;
41
}
50
}
42
51
43
div.subfield_line label {
52
li.subfield_line label {
44
    font-size:89%;
53
    font-size:89%;
45
    float: left;
54
    float: left;
46
	 padding-right : .4em;
55
	 padding-right : .4em;
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/addbiblio.tt (-13 / +17 lines)
Lines 9-17 Link Here
9
        $("#loading").hide();
9
        $("#loading").hide();
10
    });
10
    });
11
	 $(document).ready(function() {
11
	 $(document).ready(function() {
12
        $('#addbibliotabs').tabs().bind('show.ui-tabs', function(e, ui) {
12
           var $tabs = $('#addbibliotabs').tabs();
13
			$("#"+ui.panel.id+" input:eq(0)").focus();
13
           $( "ul.sortable_field", $tabs ).sortable({
14
		});
14
             placeholder: "ui-state-highlight",
15
           }).disableSelection();
16
           $( "ul.sortable_subfield", $tabs ).sortable({
17
             placeholder: "ui-state-highlight",
18
           }).disableSelection();
15
19
16
		/* check cookie to hide/show marcdocs*/
20
		/* check cookie to hide/show marcdocs*/
17
		if($.cookie("marcdocs_[% borrowernumber %]") == 'false'){
21
		if($.cookie("marcdocs_[% borrowernumber %]") == 'false'){
Lines 429-439 function Changefwk(FwkList) { Link Here
429
    </ul>
433
    </ul>
430
434
431
[% FOREACH BIG_LOO IN BIG_LOOP %]
435
[% FOREACH BIG_LOO IN BIG_LOOP %]
432
    <div id="tab[% BIG_LOO.number %]XX">
436
    <ul id="tab[% BIG_LOO.number %]XX" class="sortable_field">
433
    
437
    
434
    [% FOREACH innerloo IN BIG_LOO.innerloop %]
438
    [% FOREACH innerloo IN BIG_LOO.innerloop %]
435
    [% IF ( innerloo.tag ) %]
439
    [% IF ( innerloo.tag ) %]
436
    <div class="tag" id="tag_[% innerloo.tag %]_[% innerloo.index %][% innerloo.random %]">
440
    <li class="tag" id="tag_[% innerloo.tag %]_[% innerloo.index %][% innerloo.random %]">
437
        <div class="tag_title" id="div_indicator_tag_[% innerloo.tag %]_[% innerloo.index %][% innerloo.random %]">
441
        <div class="tag_title" id="div_indicator_tag_[% innerloo.tag %]_[% innerloo.index %][% innerloo.random %]">
438
        [% UNLESS hide_marc %]
442
        [% UNLESS hide_marc %]
439
            [% IF advancedMARCEditor %]
443
            [% IF advancedMARCEditor %]
Lines 513-522 function Changefwk(FwkList) { Link Here
513
                </span>
517
                </span>
514
518
515
        </div>
519
        </div>
516
520
        <ul class="sortable_subfield">
517
        [% FOREACH subfield_loo IN innerloo.subfield_loop %]
521
        [% FOREACH subfield_loo IN innerloo.subfield_loop %]
518
            <!--  One line on the marc editor -->
522
            <!--  One line on the marc editor -->
519
            <div class="subfield_line" style="[% subfield_loo.visibility %]" id="subfield[% subfield_loo.tag %][% subfield_loo.subfield %][% subfield_loo.random %]">
523
            <li class="subfield_line" style="[% subfield_loo.visibility %]" id="subfield[% subfield_loo.tag %][% subfield_loo.subfield %][% subfield_loo.random %]">
520
            
524
            
521
                [% UNLESS advancedMARCEditor %]
525
                [% UNLESS advancedMARCEditor %]
522
                    [% IF ( subfield_loo.fixedfield ) %]<label for="tag_[% subfield_loo.tag %]_subfield_[% subfield_loo.subfield %]_[% subfield_loo.index %]_[% subfield_loo.index_subfield %]" style="display:none;" class="labelsubfield">
526
                    [% IF ( subfield_loo.fixedfield ) %]<label for="tag_[% subfield_loo.tag %]_subfield_[% subfield_loo.subfield %]_[% subfield_loo.index %]_[% subfield_loo.index_subfield %]" style="display:none;" class="labelsubfield">
Lines 527-535 function Changefwk(FwkList) { Link Here
527
                [% UNLESS hide_marc %]
531
                [% UNLESS hide_marc %]
528
                <span class="subfieldcode">
532
                <span class="subfieldcode">
529
                    [% IF ( subfield_loo.fixedfield ) %]
533
                    [% IF ( subfield_loo.fixedfield ) %]
530
                        <img class="buttonUp" style="display:none;" src="/intranet-tmpl/prog/img/up.png" onclick="upSubfield('subfield[% subfield_loo.tag %][% subfield_loo.subfield %][% subfield_loo.random %]')" alt="Move Up" title="Move Up" />
534
                        <img class="buttonUp" style="display:none;" src="/intranet-tmpl/prog/img/cursor_split_16.png" onclick="upSubfield('subfield[% subfield_loo.tag %][% subfield_loo.subfield %][% subfield_loo.random %]')" alt="Move" title="Move" />
531
                    [% ELSE %]
535
                    [% ELSE %]
532
                        <img class="buttonUp" src="/intranet-tmpl/prog/img/up.png" onclick="upSubfield('subfield[% subfield_loo.tag %][% subfield_loo.subfield %][% subfield_loo.random %]')" alt="Move Up" title="Move Up" />
536
                        <img class="buttonUp" src="/intranet-tmpl/prog/img/cursor_split_16.png" onclick="upSubfield('subfield[% subfield_loo.tag %][% subfield_loo.subfield %][% subfield_loo.random %]')" alt="Move" title="Move" />
533
                    [% END %]
537
                    [% END %]
534
                        <input type="text"
538
                        <input type="text"
535
                            title="[% subfield_loo.marc_lib_plain %]"
539
                            title="[% subfield_loo.marc_lib_plain %]"
Lines 568-581 function Changefwk(FwkList) { Link Here
568
                [% END %]
572
                [% END %]
569
                </span>
573
                </span>
570
                
574
                
571
            </div>
575
            </li>
572
            <!-- End of the line -->
576
            <!-- End of the line -->
573
        [% END %]
577
        [% END %]
574
578
    </ul>
575
    </div>
579
    </li>
576
    [% END %]<!-- if innerloo.tag -->
580
    [% END %]<!-- if innerloo.tag -->
577
    [% END %]<!-- BIG_LOO.innerloop -->
581
    [% END %]<!-- BIG_LOO.innerloop -->
578
    </div>
582
    </ul>
579
[% END %]<!-- BIG_LOOP -->
583
[% END %]<!-- BIG_LOOP -->
580
584
581
</div><!-- tabs -->
585
</div><!-- tabs -->

Return to bug 7882