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

(-)a/koha-tmpl/intranet-tmpl/prog/en/css/staff-global.css (-1 / +1 lines)
Lines 2527-2533 a.disabled { Link Here
2527
    position: inherit;
2527
    position: inherit;
2528
    top: auto;
2528
    top: auto;
2529
    right : auto;
2529
    right : auto;
2530
    line-height: inherit;
2531
    filter : none;
2530
    filter : none;
2532
    float : none;
2531
    float : none;
2533
    font-size: inherit;
2532
    font-size: inherit;
Lines 2539-2544 a.disabled { Link Here
2539
.close:hover {
2538
.close:hover {
2540
    color: #538200;
2539
    color: #538200;
2541
    filter: inherit;
2540
    filter: inherit;
2541
    font-size: inherit;
2542
    opacity: inherit;
2542
    opacity: inherit;
2543
}
2543
}
2544
2544
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/basket/basket.tt (-52 / +17 lines)
Lines 40-47 function placeHold () { Link Here
40
    window.close();
40
    window.close();
41
}
41
}
42
42
43
44
45
	$(document).ready(function(){
43
	$(document).ready(function(){
46
		$("#CheckAll").click(function(){
44
		$("#CheckAll").click(function(){
47
		var checked = [];
45
		var checked = [];
Lines 69-92 function placeHold () { Link Here
69
            headers: { 0: { sorter: false }}
67
            headers: { 0: { sorter: false }}
70
        });
68
        });
71
	});
69
	});
72
73
function yuiToolbar() {
74
    var downloadmenu = [
75
    { text: _("iso2709"), url: "/cgi-bin/koha/basket/downloadcart.pl?format=iso2709&bib_list=[% bib_list %]" },
76
    { text: _("RIS"), url: "/cgi-bin/koha/basket/downloadcart.pl?format=ris&bib_list=[% bib_list %]" },
77
    { text: _("BibTex"), url: "/cgi-bin/koha/basket/downloadcart.pl?format=bibtex&bib_list=[% bib_list %]" },
78
[% FOREACH csv_profile IN csv_profiles %]
79
    { text: _("CSV - [% csv_profile.profile %]"), url: "/cgi-bin/koha/basket/downloadcart.pl?format=[% csv_profile.export_format_id %]&bib_list=[% bib_list %]" },
80
[% END %]
81
    ];
82
    new YAHOO.widget.Button({
83
        type: "menu",
84
        label: _("Download"),
85
        name: "downloadmenubutton",
86
        menu: downloadmenu,
87
        container: "downloadcartc"
88
    });
89
}
90
	//]]>
70
	//]]>
91
	</script>
71
	</script>
92
	[% END %]
72
	[% END %]
Lines 98-134 function yuiToolbar() { Link Here
98
[% UNLESS ( print_basket ) %]
78
[% UNLESS ( print_basket ) %]
99
<h1>Your cart</h1>
79
<h1>Your cart</h1>
100
80
101
<div id="toolbar">
81
<div id="toolbar" class="btn-toolbar">
102
<ul class="toolbar">
82
    [% IF ( verbose ) %]<a href="basket.pl" class="btn btn-small" onclick="showLess(); return false;"><i class="icon-zoom-out"></i> Brief display</a>[% ELSE %]<a href="basket.pl" class="btn btn-small" onclick="showMore(); return false;"><i class="icon-zoom-in"></i> More details</a>[% END %]
103
	<li>
83
    <a class="btn btn-small" href="basket.pl" onclick="sendBasket(); return false;"><i class="icon-envelope"></i> Send</a>
104
	    <span id="addchild" class="yui-button yui-link-button"><span class="first-child">
84
    <div class="btn-group">
105
        [% IF ( verbose ) %]<a href="basket.pl" class="brief" onclick="showLess(); return false;">Brief display</a>[% ELSE %]<a href="basket.pl" class="detail" onclick="showMore(); return false;">More details</a>[% END %]
85
        <a class="btn btn-small dropdown-toggle" data-toggle="dropdown" href="#" id="downloadcart"><i class="icon-download-alt"></i> Download <span class="caret"></span> </a>
106
	    </span></span>
86
        <ul class="dropdown-menu">
107
	</li>
87
            <li><a href="/cgi-bin/koha/basket/downloadcart.pl?format=iso2709&amp;bib_list=[% bib_list %]">iso2709</a></li>
108
	<li>
88
            <li><a href="/cgi-bin/koha/basket/downloadcart.pl?format=ris&amp;bib_list=[% bib_list %]">RIS</a></li>
109
	    <span id="receive" class="yui-button yui-link-button"><span class="first-child">
89
            <li><a href="/cgi-bin/koha/basket/downloadcart.pl?format=bibtex&amp;bib_list=[% bib_list %]">BibTex</a></li>
110
		<a class="send" href="basket.pl" onclick="sendBasket(); return false;">Send</a>
90
        [% FOREACH csv_profile IN csv_profiles %]
111
	    </span></span>
91
            <li><a href="/cgi-bin/koha/basket/downloadcart.pl?format=[% csv_profile.export_format_id %]&amp;bib_list=[% bib_list %]">CSV - [% csv_profile.profile %]</a></li>
112
	</li>
92
        [% END %]
113
    <li id="downloadcartc">
93
        </ul>
114
        <a href="#" id="downloadcart">Download</a>
94
    </div>
115
    </li>
95
    <a class="btn btn-small" href="basket.pl" onclick="printBasket(); return false;"><i class="icon-print"></i> Print</a>
116
	<li>
96
    <a class="btn btn-small" href="basket.pl" onclick="delBasket('popup'); return false;"><i class="icon-trash"></i> Empty and close</a>
117
	    <span id="printmenuc" class="yui-button yui-link-button"><span class="first-child">
97
    <a class="btn btn-small close" href="basket.pl"><i class="icon-remove-sign"></i> Hide window</a>
118
		<a class="print" href="basket.pl" onclick="printBasket(); return false;">Print</a>
119
	    </span></span>
120
	</li>
121
	<li>
122
	    <span id="delete" class="yui-button yui-link-button"><span class="first-child">
123
        <a class="empty" href="basket.pl" onclick="delBasket('popup'); return false;">Empty and close</a>
124
	    </span></span>
125
	</li>
126
	<li>
127
	    <span id="hide" class="yui-button yui-link-button"><span class="first-child">
128
        <a class="hide close" href="basket.pl">Hide window</a>
129
	    </span></span>
130
	</li>
131
</ul>
132
</div>
98
</div>
133
        [% END %]
99
        [% END %]
134
100
135
- 

Return to bug 9669