add "loan" to spreadsheet and represent in UI
This commit is contained in:
parent
6597e52772
commit
5533ccd17b
@ -107,6 +107,10 @@
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.bookTable .onLoan {
|
||||
color: #bbb;
|
||||
}
|
||||
|
||||
.bookTable .tRow .title {
|
||||
font-style: italic;
|
||||
max-width: 600px;
|
||||
@ -134,3 +138,11 @@
|
||||
#current .description p {
|
||||
padding: 20px 0;
|
||||
}
|
||||
|
||||
#current h1.onLoan {
|
||||
color: #bbb;
|
||||
}
|
||||
|
||||
#current h2.onLoan {
|
||||
font-weight: bold;
|
||||
}
|
@ -141,7 +141,7 @@
|
||||
<th class="tHeader isbn">ISBN</th>
|
||||
</tr>
|
||||
{{#books}}
|
||||
<tr class="tRow" id="{{rowNumber}}">
|
||||
<tr class="tRow {{#onLoan}}onLoan{{/onLoan}}" id="{{rowNumber}}">
|
||||
<td class="title">{{title}}
|
||||
{{#signed}}<span class="signed" title="Signed by the author">✒</span>︎{{/signed}}</td>
|
||||
<td class="author">{{author}}</td>
|
||||
@ -158,7 +158,7 @@
|
||||
{{#coverurl}}
|
||||
<img src="{{coverurl}}"/>
|
||||
{{/coverurl}}
|
||||
<h1>{{title}}</h1>
|
||||
<h1 {{#onLoan}}class="onLoan" {{/onLoan}}>{{title}}</h1>
|
||||
<h2>{{author}}</h2>
|
||||
<span>{{isbn-13}}</span><br/>
|
||||
<span>{{publisher}}, {{year}}</span><br/>
|
||||
@ -169,6 +169,9 @@
|
||||
<span>Signed by the author ✒</span><br/>
|
||||
{{/signed}}
|
||||
<span>{{format}}</span>
|
||||
{{#onLoan}}
|
||||
<h2 class="onLoan">On loan to {{onLoan}}</h2>
|
||||
{{/onLoan}}
|
||||
<div class="description">
|
||||
<p>{{description}}</p>
|
||||
{{#notes}}
|
||||
|
Loading…
Reference in New Issue
Block a user