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

(-)a/cataloguing/addbiblio.pl (-3 / +3 lines)
Lines 391-398 sub create_input { Link Here
391
                    maxlength=\"".$subfield_data{maxlength}."\"".
391
                    maxlength=\"".$subfield_data{maxlength}."\"".
392
                    ($is_readonly ? "readonly=\"readonly\"" : "").
392
                    ($is_readonly ? "readonly=\"readonly\"" : "").
393
                    "\/>
393
                    "\/>
394
                    <span class=\"subfield_controls\"><a href=\"#\" class=\"buttonDot\"
394
                    <span class=\"subfield_controls\"><a href=\"#\" class=\"buttonDot tag_editor\"
395
                       onclick=\"openAuth(this.parentNode.parentNode.getElementsByTagName('input')[1].id,'".$tagslib->{$tag}->{$subfield}->{authtypecode}."','biblio'); return false;\" tabindex=\"1\" title=\"Tag Editor\"><img src=\"/intranet-tmpl/prog/img/edit-tag.png\" alt=\"Tag Editor\" /></a></span>
395
                       onclick=\"openAuth(this.parentNode.parentNode.getElementsByTagName('input')[1].id,'".$tagslib->{$tag}->{$subfield}->{authtypecode}."','biblio'); return false;\" tabindex=\"1\">Tag editor</a></span>
396
            ";
396
            ";
397
    # it's a plugin field
397
    # it's a plugin field
398
    }
398
    }
Lines 421-427 sub create_input { Link Here
421
                            size=\"67\"
421
                            size=\"67\"
422
                            maxlength=\"".$subfield_data{maxlength}."\"
422
                            maxlength=\"".$subfield_data{maxlength}."\"
423
                            onblur=\"Blur$function_name($index_tag); \" \/>
423
                            onblur=\"Blur$function_name($index_tag); \" \/>
424
                            <span class=\"subfield_controls\"><a href=\"#\" class=\"buttonDot\" onclick=\"Clic$function_name('$subfield_data{id}'); return false;\" tabindex=\"1\" title=\"Tag Editor\"><img src=\"/intranet-tmpl/prog/img/edit-tag.png\" alt=\"Tag Editor\" /></a></span>
424
                            <span class=\"subfield_controls\"><a href=\"#\" class=\"buttonDot tag_editor\" onclick=\"Clic$function_name('$subfield_data{id}'); return false;\" tabindex=\"1\">Tag editor</a></span>
425
                    $javascript";
425
                    $javascript";
426
        } else {
426
        } else {
427
            warn "Plugin Failed: $plugin";
427
            warn "Plugin Failed: $plugin";
(-)a/koha-tmpl/intranet-tmpl/prog/en/css/blue.css (-3 / +3 lines)
Lines 39-45 h4 { Link Here
39
h5 {
39
h5 {
40
    font-size : 100%;	
40
    font-size : 100%;	
41
    font-weight : bold;
41
    font-weight : bold;
42
    background: url( /intranet-tmpl/prog/img/css_header.png );
42
    background: url( ../../img/css_header.png );
43
    background-repeat:repeat-x;
43
    background-repeat:repeat-x;
44
    color:white;}
44
    color:white;}
45
45
Lines 54-60 h6 { Link Here
54
54
55
th {
55
th {
56
    color:white;
56
    color:white;
57
    background: url( /intranet-tmpl/prog/img/css_header.png );
57
    background: url( ../../img/css_header.png );
58
    background-repeat:repeat-x;
58
    background-repeat:repeat-x;
59
    border-bottom : 1px solid #BCBCBC;
59
    border-bottom : 1px solid #BCBCBC;
60
    border-left : 1px solid #BCBCBC;
60
    border-left : 1px solid #BCBCBC;
Lines 66-72 border: 1px solid #bbbbbb; Link Here
66
}
66
}
67
67
68
input[type=submit], input[type=button], input[type=reset] {
68
input[type=submit], input[type=button], input[type=reset] {
69
    background: url( /intranet-tmpl/prog/img/css_header.png );
69
    background: url( ../../img/css_header.png );
70
    color:white;
70
    color:white;
71
    border:1px inset;
71
    border:1px inset;
72
    margin-top:10px;
72
    margin-top:10px;
(-)a/koha-tmpl/intranet-tmpl/prog/en/css/mainpage.css (-2 / +2 lines)
Lines 13-19 Link Here
13
13
14
#doc3 {
14
#doc3 {
15
    /* Contains the news + both columns of links + pending box + userblock box */
15
    /* Contains the news + both columns of links + pending box + userblock box */
16
    background-image:url('/intranet-tmpl/prog/img/background_koha_logo.png');
16
    background-image:url('../../img/background_koha_logo.png');
17
    background-repeat:no-repeat;
17
    background-repeat:no-repeat;
18
    background-position:left top;
18
    background-position:left top;
19
    padding-top: 12px;
19
    padding-top: 12px;
Lines 72-78 ul.biglinks-list li { Link Here
72
72
73
ul.biglinks-list li a.icon_general {
73
ul.biglinks-list li a.icon_general {
74
    /* Class used for each module link */
74
    /* Class used for each module link */
75
    background-image:url('/intranet-tmpl/prog/img/staff-home-icons-sprite.png');
75
    background-image:url('../../img/staff-home-icons-sprite.png');
76
    display: block;
76
    display: block;
77
    float: left;
77
    float: left;
78
78
(-)a/koha-tmpl/intranet-tmpl/prog/en/css/preferences.css (+9 lines)
Lines 73-76 h3.collapsed { Link Here
73
#toolbar.floating {
73
#toolbar.floating {
74
    box-shadow: 0 3px 2px 0 rgba(0, 0, 0, 0.5);
74
    box-shadow: 0 3px 2px 0 rgba(0, 0, 0, 0.5);
75
    border-radius: 0;
75
    border-radius: 0;
76
}
77
78
.loading {
79
    display: inline-block;
80
    height : 16px;
81
    width: 16px;
82
    background: transparent url("../../img/spinner-small.gif") top left no-repeat;
83
    padding : 0 4px;
84
    vertical-align: middle;
76
}
85
}
(-)a/koha-tmpl/intranet-tmpl/prog/en/css/staff-global.css (-5 / +13 lines)
Lines 1859-1868 span.permissiondesc { Link Here
1859
  font-weight: normal;
1859
  font-weight: normal;
1860
}
1860
}
1861
1861
1862
img.spinner {
1863
    vertical-align: middle;
1864
    padding-right: 0.3em;
1865
}
1866
ul.budget_hierarchy {
1862
ul.budget_hierarchy {
1867
    margin-left: 0px;
1863
    margin-left: 0px;
1868
    padding-left: 0px;
1864
    padding-left: 0px;
Lines 2565-2571 fieldset.rows table.mceListBox { Link Here
2565
2561
2566
#jobpanel,#jobstatus,#jobfailed { display : none; }
2562
#jobpanel,#jobstatus,#jobfailed { display : none; }
2567
#jobstatus { margin:.4em; }
2563
#jobstatus { margin:.4em; }
2568
#jobprogress{ width:200px;height:10px;border:1px solid #666;background:url('/intranet-tmpl/prog/img/progress.png') -300px 0px no-repeat; }
2564
#jobprogress{ width:200px;height:10px;border:1px solid #666;background:url('../../img/progress.png') -300px 0px no-repeat; }
2569
#selections { width : 100%; white-space : normal; }
2565
#selections { width : 100%; white-space : normal; }
2570
#selections span { margin:3px;padding:3px;background-color:#EBF3FF;-moz-border-radius:5px;border-radius:5px;white-space:nowrap;line-height:240%;font-size:75%; }
2566
#selections span { margin:3px;padding:3px;background-color:#EBF3FF;-moz-border-radius:5px;border-radius:5px;white-space:nowrap;line-height:240%;font-size:75%; }
2571
#selections span.selected { background-color : #CCE0FC; }
2567
#selections span.selected { background-color : #CCE0FC; }
Lines 2582-2584 fieldset.rows table.mceListBox { Link Here
2582
    -webkit-box-shadow: 0px 3px 2px 0px rgba(0, 0, 0, .5);
2578
    -webkit-box-shadow: 0px 3px 2px 0px rgba(0, 0, 0, .5);
2583
    box-shadow: 0px 3px 2px 0px rgba(0, 0, 0, .5);
2579
    box-shadow: 0px 3px 2px 0px rgba(0, 0, 0, .5);
2584
}
2580
}
2581
2582
.tag_editor {
2583
    background: transparent url("../../img/edit-tag.png") top left no-repeat;
2584
    display : block;
2585
    float : left;
2586
    width : 16px;
2587
    height: 16px;
2588
    margin : 4px;
2589
    text-indent: 100%;
2590
    white-space: nowrap;
2591
    overflow: hidden;
2592
}
(-)a/koha-tmpl/intranet-tmpl/prog/en/js/ajax.js (-6 / +5 lines)
Lines 36-42 KOHA.AJAX = { Link Here
36
        $( selector )
36
        $( selector )
37
            .attr( 'disabled', 'disabled' )
37
            .attr( 'disabled', 'disabled' )
38
            .each( function () {
38
            .each( function () {
39
                var $image = $( '<img src="/intranet-tmpl/prog/img/spinner-small.gif" alt="" class="spinner" />' );
39
                var $spinner = $( '<span class="loading"></span>' );
40
                var selector_type = this.localName;
40
                var selector_type = this.localName;
41
                if (selector_type === undefined) selector_type = this.nodeName; // IE only
41
                if (selector_type === undefined) selector_type = this.nodeName; // IE only
42
                switch ( selector_type.toLowerCase() ) {
42
                switch ( selector_type.toLowerCase() ) {
Lines 48-61 KOHA.AJAX = { Link Here
48
                        $( this )
48
                        $( this )
49
                            .data( 'original-text', $( this ).text )
49
                            .data( 'original-text', $( this ).text )
50
                            .text( text )
50
                            .text( text )
51
                            .before( $image )
51
                            .before( $spinner )
52
                            .bind( 'click.disabled', function () { return false; } );
52
                            .bind( 'click.disabled', function () { return false; } );
53
                        break;
53
                        break;
54
                    case 'button':
54
                    case 'button':
55
                        $( this )
55
                        $( this )
56
                            .data( 'original-text', $( this ).text() )
56
                            .data( 'original-text', $( this ).text() )
57
                            .text( text )
57
                            .text( text )
58
                            .prepend( $image );
58
                            .prepend( $spinner );
59
                        break;
59
                        break;
60
                }
60
                }
61
            } );
61
            } );
Lines 74-85 KOHA.AJAX = { Link Here
74
                        $( this )
74
                        $( this )
75
                            .text( $( this ).data( 'original-text' ) )
75
                            .text( $( this ).data( 'original-text' ) )
76
                            .unbind( 'click.disabled' )
76
                            .unbind( 'click.disabled' )
77
                            .prevAll( 'img.spinner' ).remove();
77
                            .prevAll( 'span.loading' ).remove();
78
                        break;
78
                        break;
79
                    case 'button':
79
                    case 'button':
80
                        $( this )
80
                        $( this )
81
                            .text( $( this ).data( 'original-text' ) )
81
                            .text( $( this ).data( 'original-text' ) )
82
                            .find( 'img.spinner' ).remove();
82
                            .find( 'span.loading' ).remove();
83
                        break;
83
                        break;
84
                }
84
                }
85
            } )
85
            } )
86
- 

Return to bug 2774