Skip to content
Permalink
Browse files

fixed colorbox modal values

  • Loading branch information...
tabshaikh authored and root committed Jun 9, 2019
1 parent 545e0c4 commit f7755ee3bf34da0ee2d8439cd9a68d3c59674023
Showing with 6 additions and 3 deletions.
  1. +6 −3 openlibrary/macros/LoanStatus.html
@@ -94,17 +94,20 @@
<div class="hidden">
<div class="floater" id="sponsorshipModal">
<div class="floaterHead">
<h2>Welcome</h2>
<h2>Sponsor This eBook</h2>
<a class="floaterShut" href="javascript:;" onclick="\$.fn.colorbox.close();"><span class="shift">$_("Close")</span></a>
</div>
<section>
$ work = page.works and page.works[0]
$ authors = cond(work, work and work.get_authors(), page.get_authors())
$ byline = " by " + ", ".join(a.name for a in authors)
<div style="font-size: 1.3em; display: flex;">
<div style="padding-right: 20px; padding-top: 15px; border-right: 1px solid #eee;">
<div class="book" style="background-color: #eee; padding: 15px;">
<img src="$(page.get_cover_url('M'))" style="margin-left: 19px;"/>
<div>
<h3>Libraries of the Future</h3>
<p>By J. C. R. Licklider</p>
<h3>$page.title</h3>
<p>$byline</p>
</div>
</div>
</div>

0 comments on commit f7755ee

Please sign in to comment.
You can’t perform that action at this time.