Find Cheaper University Textbooks
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

35 lines
964 B

<book>
<div class="text-clip toast" if={ opts.title && opts.author }>
<p>
<dt class="book-title text-center">
<button onclick={ makeResourceGetter(this) } class="btn btn-link">
{ opts.title }
</button>
</dt>
<dd>
<div if={ loading } class="loading">
</div>
<p if={ iarchive }>
<a target="_blank" href="{ iarchive }">
<button class="centered btn btn-link">
Internet Archive Result
</button>
</a>
</p>
<p if={ openlib }>
<a target="_blank" href="{ openlib }">
<button class="centered btn btn-link">
Open Library Result
</button>
</a>
</p>
<p class="centered" if={ noResources }>
Couldn't find anything, sorry :(
</p>
</dd>
</p>
</div>
this.iarchive = false;
this.openlib = false;
this.noResources = false;
</book>