##// END OF EJS Templates
Added clickable icon to collapse pager...
Erik Tollerud -
Show More
@@ -48,14 +48,24 var IPython = (function (IPython) {
48 var that = this;
48 var that = this;
49 this.pager_button_area.append(
49 this.pager_button_area.append(
50 $('<a>').attr('role', "button")
50 $('<a>').attr('role', "button")
51 .attr('title',"open the pager in an external window")
51 .attr('title',"Open the pager in an external window")
52 .addClass('ui-button')
52 .addClass('ui-button')
53 .click(function(){that.detach()})
53 .click(function(){that.detach()})
54 .attr('style','position: absolute; right: 10px;')
54 .attr('style','position: absolute; right: 20px;')
55 .append(
55 .append(
56 $('<span>').addClass("ui-icon ui-icon-extlink")
56 $('<span>').addClass("ui-icon ui-icon-extlink")
57 )
57 )
58 )
58 )
59 this.pager_button_area.append(
60 $('<a>').attr('role', "button")
61 .attr('title',"Collapse the pager")
62 .addClass('ui-button')
63 .click(function(){that.collapse()})
64 .attr('style','position: absolute; right: 5px;')
65 .append(
66 $('<span>').addClass("ui-icon ui-icon-close")
67 )
68 )
59 };
69 };
60
70
61 Pager.prototype.style = function () {
71 Pager.prototype.style = function () {
General Comments 0
You need to be logged in to leave comments. Login now