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

(-)a/koha-tmpl/intranet-tmpl/prog/css/addbiblio.css (-41 / +7 lines)
Lines 40-63 a.expandfield { Link Here
40
40
41
.tag {
41
.tag {
42
    border-bottom: 2px solid #D5E6E9;
42
    border-bottom: 2px solid #D5E6E9;
43
    clear: both;
44
    padding: .7em 0;
43
    padding: .7em 0;
45
}
44
}
46
45
46
.tag .row {
47
    margin-left: 0;
48
    margin-right: 0;
49
}
50
47
div.subfield_line {
51
div.subfield_line {
48
    padding-bottom: .3em;
52
    padding-bottom: .3em;
49
    float: left;
50
    clear: left;
51
    width: 100%;
52
}
53
}
53
54
54
div.subfield_line label {
55
div.subfield_line label {
55
    font-size:89%;
56
    font-size:89%;
56
    float: left;
57
	 padding-right : .4em;
58
    width: 16em;
59
    text-align: left;
57
    text-align: left;
60
    clear:left;
61
}
58
}
62
59
63
.subfieldcode img {
60
.subfieldcode img {
Lines 86-108 a.tagnum { Link Here
86
83
87
.subfield {
84
.subfield {
88
	color : #00698a;
85
	color : #00698a;
89
	float: left;
90
	width: 10em;
91
	text-align:right;
86
	text-align:right;
92
}
87
}
93
88
94
.subfieldcode {
95
	display: block;
96
	float: left;
97
}
98
99
.labelsubfield {
100
	float:left;
101
}
102
103
.input_marceditor {
89
.input_marceditor {
104
	float:left;
90
    float:left;
105
	width:30em;
91
    width: 70%;
106
}
92
}
107
93
108
.indicator {
94
.indicator {
Lines 263-291 tbody tr.active td { Link Here
263
}
249
}
264
250
265
@media (min-width: 768px) {
251
@media (min-width: 768px) {
266
    div.subfield_line label {
267
        width: 20em;
268
    }
269
252
270
    .input_marceditor {
271
        width: 50em;
272
    }
273
274
    .subfield {
275
        width: 14em;
276
    }
277
}
253
}
278
254
279
@media (min-width: 1200px) {
255
@media (min-width: 1200px) {
280
    div.subfield_line label {
281
        width: 25em;
282
    }
283
284
    .input_marceditor {
285
        width: 60em;
286
    }
287
256
288
    .subfield {
289
        width: 16em;
290
    }
291
}
257
}
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/addbiblio.tt (-15 / +20 lines)
Lines 633-640 function Changefwk() { Link Here
633
    [% END %]
633
    [% END %]
634
    [% FOREACH innerloo IN BIG_LOO.innerloop %]
634
    [% FOREACH innerloo IN BIG_LOO.innerloop %]
635
    [% IF ( innerloo.tag ) %]
635
    [% IF ( innerloo.tag ) %]
636
    <div class="tag clearfix" id="tag_[% innerloo.tag | html %]_[% innerloo.index | html %][% innerloo.random | html %]">
636
    <div class="tag" id="tag_[% innerloo.tag | html %]_[% innerloo.index | html %][% innerloo.random | html %]">
637
        <div class="tag_title" id="div_indicator_tag_[% innerloo.tag | html %]_[% innerloo.index | html %][% innerloo.random | html %]">
637
        <div class="row">
638
        <div class="tag_title col-sm-12" id="div_indicator_tag_[% innerloo.tag | html %]_[% innerloo.index | html %][% innerloo.random | html %]">
638
            [% IF advancedMARCEditor %]
639
            [% IF advancedMARCEditor %]
639
                <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>
640
                <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>
640
            [% ELSE %]
641
            [% ELSE %]
Lines 689-706 function Changefwk() { Link Here
689
                    </a>
690
                    </a>
690
                </span>
691
                </span>
691
692
692
        </div>
693
        </div> <!-- /.tag_title col-sm-12 -->
693
694
        </div> <!-- /.row -->
694
        [% FOREACH subfield_loo IN innerloo.subfield_loop %]
695
        [% FOREACH subfield_loo IN innerloo.subfield_loop %]
695
            <!--  One line on the marc editor -->
696
            <!--  One line on the marc editor -->
697
            <div class="row">
696
            <div class="subfield_line" style="[% subfield_loo.visibility | html %]" id="subfield[% subfield_loo.tag | html %][% subfield_loo.subfield | html %][% subfield_loo.random | html %]">
698
            <div class="subfield_line" style="[% subfield_loo.visibility | html %]" id="subfield[% subfield_loo.tag | html %][% subfield_loo.subfield | html %][% subfield_loo.random | html %]">
697
699
698
                [% UNLESS advancedMARCEditor %]
700
                <div class="col-sm-4">
701
                [% UNLESS advasmedMARCEditor %]
699
                    [% 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">
702
                    [% 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">
700
                    [% ELSE %]<label for="tag_[% subfield_loo.tag | html %]_subfield_[% subfield_loo.subfield | html %]_[% subfield_loo.index | html %]_[% subfield_loo.index_subfield | html %]" class="labelsubfield">
703
                    [% ELSE %]<label for="tag_[% subfield_loo.tag | html %]_subfield_[% subfield_loo.subfield | html %]_[% subfield_loo.index | html %]_[% subfield_loo.index_subfield | html %]" class="labelsubfield">
701
                    [% END %]
704
                    [% END %]
702
                [% END %]
705
                [% END %]
703
706
707
                    </label>
708
704
                <span class="subfieldcode">
709
                <span class="subfieldcode">
705
                    [% IF ( subfield_loo.fixedfield ) %]
710
                    [% IF ( subfield_loo.fixedfield ) %]
706
                        <img class="buttonUp" style="display:none;" src="[% interface | html %]/[% theme | html %]/img/up.png" onclick="upSubfield('subfield[% subfield_loo.tag | html %][% subfield_loo.subfield | html %][% subfield_loo.random | html %]')" alt="Move Up" title="Move Up" />
711
                        <img class="buttonUp" style="display:none;" src="[% interface | html %]/[% theme | html %]/img/up.png" onclick="upSubfield('subfield[% subfield_loo.tag | html %][% subfield_loo.subfield | html %][% subfield_loo.random | html %]')" alt="Move Up" title="Move Up" />
Lines 723-743 function Changefwk() { Link Here
723
                        [% subfield_loo.marc_lib | $raw %]
728
                        [% subfield_loo.marc_lib | $raw %]
724
                        [% IF ( subfield_loo.mandatory ) %]<span class="mandatory_marker" title="This field is mandatory">*</span>[% END %]
729
                        [% IF ( subfield_loo.mandatory ) %]<span class="mandatory_marker" title="This field is mandatory">*</span>[% END %]
725
                    </span>
730
                    </span>
726
                    </label>
727
                [% END %]
731
                [% END %]
728
                
732
                </div> <!-- /.col-sm-4 -->
733
                <div class="col-sm-8">
729
                [% SET mv = subfield_loo.marc_value %]
734
                [% SET mv = subfield_loo.marc_value %]
730
                [% IF ( mv.type == 'text' ) %]
735
                [% IF ( mv.type == 'text' ) %]
731
                    [% IF ( mv.readonly == 1 ) %]
736
                    [% IF ( mv.readonly == 1 ) %]
732
                    <input type="text" id="[%- mv.id | html -%]" name="[%- mv.name | html -%]" value="[%- mv.value | html -%]" class="input_marceditor readonly" tabindex="1" size="[%- mv.size | html -%]" maxlength="[%- mv.maxlength | html -%]" readonly="readonly" />
737
                    <input type="text" id="[%- mv.id | html -%]" name="[%- mv.name | html -%]" value="[%- mv.value | html -%]" class="input_marceditor readonly" tabindex="1" maxlength="[%- mv.maxlength | html -%]" readonly="readonly" />
733
                    [% ELSE %]
738
                    [% ELSE %]
734
                    <input type="text" id="[%- mv.id | html -%]" name="[%- mv.name | html -%]" value="[%- mv.value | html -%]" class="input_marceditor" tabindex="1" size="[%- mv.size | html -%]" maxlength="[%- mv.maxlength | html -%]" />
739
                    <input type="text" id="[%- mv.id | html -%]" name="[%- mv.name | html -%]" value="[%- mv.value | html -%]" class="input_marceditor" tabindex="1" maxlength="[%- mv.maxlength | html -%]" />
735
                    [% END %]
740
                    [% END %]
736
                    [% IF ( mv.authtype ) %]
741
                    [% IF ( mv.authtype ) %]
737
                    <span class="subfield_controls"><a href="#" class="buttonDot tag_editor" onclick="openAuth(this.parentNode.parentNode.getElementsByTagName('input')[1].id,'[%- mv.authtype | html -%]','biblio'); return false;" tabindex="1" title="Tag editor">Tag editor</a></span>
742
                    <span class="subfield_controls"><a href="#" class="buttonDot tag_editor" onclick="openAuth(this.parentNode.parentNode.getElementsByTagName('input')[1].id,'[%- mv.authtype | html -%]','biblio'); return false;" tabindex="1" title="Tag editor">Tag editor</a></span>
738
                    [% END %]
743
                    [% END %]
739
                [% ELSIF ( mv.type == 'text_complex' ) %]
744
                [% ELSIF ( mv.type == 'text_complex' ) %]
740
                    <input type="text" id="[%- mv.id | html -%]" name="[%- mv.name | html -%]" value="[%- mv.value | html -%]" class="input_marceditor framework_plugin" tabindex="1" size="[%- mv.size | html -%]" maxlength="[%- mv.maxlength | html -%]" />
745
                    <input type="text" id="[%- mv.id | html -%]" name="[%- mv.name | html -%]" value="[%- mv.value | html -%]" class="input_marceditor framework_plugin" tabindex="1" maxlength="[%- mv.maxlength | html -%]" />
741
                    <span class="subfield_controls">
746
                    <span class="subfield_controls">
742
                        [% IF mv.noclick %]
747
                        [% IF mv.noclick %]
743
                            <a href="#" class="buttonDot tag_editor disabled" tabindex="-1" title="No popup"></a>
748
                            <a href="#" class="buttonDot tag_editor disabled" tabindex="-1" title="No popup"></a>
Lines 747-753 function Changefwk() { Link Here
747
                    </span>
752
                    </span>
748
                    [% mv.javascript | $raw %]
753
                    [% mv.javascript | $raw %]
749
                [% ELSIF ( mv.type == 'hidden' ) %]
754
                [% ELSIF ( mv.type == 'hidden' ) %]
750
                    <input tabindex="1" type="hidden" id="[%- mv.id | html -%]" name="[%- mv.name | html -%]" size="[%- mv.size | html -%]" maxlength="[%- mv.maxlength | html -%]" value="[%- mv.value | html -%]" />
755
                    <input tabindex="1" type="hidden" id="[%- mv.id | html -%]" name="[%- mv.name | html -%]" maxlength="[%- mv.maxlength | html -%]" value="[%- mv.value | html -%]" />
751
                [% ELSIF ( mv.type == 'textarea' ) %]
756
                [% ELSIF ( mv.type == 'textarea' ) %]
752
                    <textarea cols="70" rows="4" id="[%- mv.id | html -%]" name="[%- mv.name | html -%]" class="input_marceditor" tabindex="1">[%- mv.value | html -%]</textarea>
757
                    <textarea cols="70" rows="4" id="[%- mv.id | html -%]" name="[%- mv.name | html -%]" class="input_marceditor" tabindex="1">[%- mv.value | html -%]</textarea>
753
                [% ELSIF ( mv.type == 'select' ) %]
758
                [% ELSIF ( mv.type == 'select' ) %]
Lines 772-783 function Changefwk() { Link Here
772
                    </a>
777
                    </a>
773
                [% END %]
778
                [% END %]
774
                </span>
779
                </span>
775
                
780
                </div> <!-- /.col-sm-8 -->
776
            </div>
781
            </div> <!-- /.subfield_line -->
782
            </div> <!-- /.row -->
777
            <!-- End of the line -->
783
            <!-- End of the line -->
778
        [% END %]
784
        [% END %]
779
785
780
    </div>
786
    </div> <!-- /.tag -->
781
    [% END %]<!-- if innerloo.tag -->
787
    [% END %]<!-- if innerloo.tag -->
782
    [% END %]<!-- BIG_LOO.innerloop -->
788
    [% END %]<!-- BIG_LOO.innerloop -->
783
    </div>
789
    </div>
784
- 

Return to bug 22399