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 (-11 / +11 lines)
Lines 17-25 Link Here
17
        $("#loading").hide();
17
        $("#loading").hide();
18
    });
18
    });
19
	 $(document).ready(function() {
19
	 $(document).ready(function() {
20
        $('#addbibliotabs').tabs().bind('show.ui-tabs', function(e, ui) {
20
           var $tabs = $('#addbibliotabs').tabs();
21
			$("#"+ui.panel.id+" input:eq(0)").focus();
21
           $( "ul.sortable_field", $tabs ).sortable().disableSelection();
22
		});
22
           $( "ul.sortable_subfield", $tabs ).sortable().disableSelection();
23
23
24
        [% IF tab %]
24
        [% IF tab %]
25
          $('#addbibliotabs').tabs('option', 'selected', "#[% tab %]");
25
          $('#addbibliotabs').tabs('option', 'selected', "#[% tab %]");
Lines 458-468 function Changefwk(FwkList) { Link Here
458
    </ul>
458
    </ul>
459
459
460
[% FOREACH BIG_LOO IN BIG_LOOP %]
460
[% FOREACH BIG_LOO IN BIG_LOOP %]
461
    <div id="tab[% BIG_LOO.number %]XX">
461
    <ul id="tab[% BIG_LOO.number %]XX" class="sortable_field">
462
    
462
    
463
    [% FOREACH innerloo IN BIG_LOO.innerloop %]
463
    [% FOREACH innerloo IN BIG_LOO.innerloop %]
464
    [% IF ( innerloo.tag ) %]
464
    [% IF ( innerloo.tag ) %]
465
    <div class="tag" id="tag_[% innerloo.tag %]_[% innerloo.index %][% innerloo.random %]">
465
    <li class="tag" id="tag_[% innerloo.tag %]_[% innerloo.index %][% innerloo.random %]">
466
        <div class="tag_title" id="div_indicator_tag_[% innerloo.tag %]_[% innerloo.index %][% innerloo.random %]">
466
        <div class="tag_title" id="div_indicator_tag_[% innerloo.tag %]_[% innerloo.index %][% innerloo.random %]">
467
        [% UNLESS hide_marc %]
467
        [% UNLESS hide_marc %]
468
            [% IF advancedMARCEditor %]
468
            [% IF advancedMARCEditor %]
Lines 542-551 function Changefwk(FwkList) { Link Here
542
                </span>
542
                </span>
543
543
544
        </div>
544
        </div>
545
545
        <ul class="sortable_subfield">
546
        [% FOREACH subfield_loo IN innerloo.subfield_loop %]
546
        [% FOREACH subfield_loo IN innerloo.subfield_loop %]
547
            <!--  One line on the marc editor -->
547
            <!--  One line on the marc editor -->
548
            <div class="subfield_line" style="[% subfield_loo.visibility %]" id="subfield[% subfield_loo.tag %][% subfield_loo.subfield %][% subfield_loo.random %]">
548
            <li class="subfield_line" style="[% subfield_loo.visibility %]" id="subfield[% subfield_loo.tag %][% subfield_loo.subfield %][% subfield_loo.random %]">
549
            
549
            
550
                [% UNLESS advancedMARCEditor %]
550
                [% UNLESS advancedMARCEditor %]
551
                    [% 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">
551
                    [% 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 597-610 function Changefwk(FwkList) { Link Here
597
                [% END %]
597
                [% END %]
598
                </span>
598
                </span>
599
                
599
                
600
            </div>
600
            </li>
601
            <!-- End of the line -->
601
            <!-- End of the line -->
602
        [% END %]
602
        [% END %]
603
603
    </ul>
604
    </div>
604
    </li>
605
    [% END %]<!-- if innerloo.tag -->
605
    [% END %]<!-- if innerloo.tag -->
606
    [% END %]<!-- BIG_LOO.innerloop -->
606
    [% END %]<!-- BIG_LOO.innerloop -->
607
    </div>
607
    </ul>
608
[% END %]<!-- BIG_LOOP -->
608
[% END %]<!-- BIG_LOOP -->
609
609
610
</div><!-- tabs -->
610
</div><!-- tabs -->

Return to bug 7882