To create a footer with a footer, you must modify the popovers templateand add CSS to style that footer. Here I also place the button in the footer as you included in the image, but you have to figure out what you want to do with it.
<div class="popover">
<div class="arrow"></div>
<h3 class="popover-title"></h3>
<div class="popover-content"></div>
<div class="popover-footer">
<button type="button" class="btn btn-default">Button</button>
</div>
</div>
$("[rel=details]").popover({
trigger : 'click',
placement : 'bottom',
content : 'Lorem ipsum dolor ...',
template: '<div class="popover"><div class="arrow"></div><h3 class="popover-title"></h3><div class="popover-content"></div><div class="popover-footer"><button type="button" class="btn btn-default">Button</button></div></div>'
});
footer style:
.popover-footer {
margin: 0;
padding: 8px 14px;
font-size: 14px;
font-weight: 400;
line-height: 18px;
background-color: #F7F7F7;
border-bottom: 1px solid #EBEBEB;
border-radius: 5px 5px 0 0;
}
:
.popover-content {
overflow-y : scroll;
height: 200px;
}
. → http://jsfiddle.net/3x4yD/
