Debian Codegraph @

resources/jacket/template.xhtml

raw
1 <html xmlns="{xmlns}">
2 <head>
3 <title>{title_str}</title>
4 <meta name="calibre-content" content="jacket"/>
5 <style type="text/css">{css}</style>
6 </head>
7 <body>
8 <div class="cbj_banner">
9 <table class="cbj_header">
10 <tr>
11 <td class="cbj_title" colspan="2">{title}</td>
12 </tr>
13 <tr>
14 <!-- If you do not want the series number to be formatted using roman numerals
15 change {series.roman} to {series}. You can also access the raw series name and number
16 using {series.name}, {series.number} or {series.roman_number} -->
17 <td class="cbj_series" colspan="2">{series.roman}</td>
18 </tr>
19 <tr>
20 <td class="cbj_author" colspan="2">{author}</td>
21 </tr>
22 <tr>
23 <!-- When formatting dates you can specify the type of formatting, for example
24 {pubdate.yyyy} while show only the publication year, and, {pubdate.dd MMM yyyy}
25 will show the day, month and year. For the full list of supported formatting codes
26 see the documentation of "Control how dates are displayed" in Preferences->Tweaks -->
27 <td class="cbj_pubdata" colspan="2">{publisher} ({pubdate})</td>
28 </tr>
29
30 <tr>
31 <td class="cbj_author" colspan="2"><hr class="metadata_divider" /></td>
32 </tr>
33
34 <tr class="cbj_rating">
35 <td class="cbj_label">{rating_label}:</td>
36 <td class="cbj_content">{rating}</td>
37 </tr>
38 <tr class="cbj_tags">
39 <td class="cbj_label">{tags_label}:</td>
40 <!-- If you want the tags to be alphabetical, change {tags} to
41 {tags.alphabetical} -->
42 <td class="cbj_content">{tags}</td>
43 </tr>
44 <tr data-calibre-jacket-searchable-tags="1" style="color:white; display:none"><td colspan="2">{searchable_tags}</td></tr>
45 </table>
46 <!--
47 If you want to insert the identifiers you can do so either as a
48 comma separated list of links, just like they are displayed in
49 the Book details panel, or as individual entries, for example::
50 <div style="display: {display.identifiers}">{identifiers.links}</div>
51 <div style="display: {identifiers.display.isbn}">{identifiers.isbn}</div>
52 -->
53 <div class="cbj_footer">{footer}</div>
54 </div>
55 <hr class="cbj_kindle_banner_hr" />
56 <!--
57 In addition you can add code to show the values of custom columns here.
58 The value is available as _column_name and the title as
59 _column_name_label. For example, if you have a custom column with
60 label #genre, you can add it to this template with _genre_label and
61 _genre. Note that the # is replaced by an underscore. For example
62
63 <div style="display: display._genre"><b>{_genre_label}:</b> {_genre}</div>
64
65 If #genre is not set, then the entire <div> element will be hidden.
66 -->
67
68 <div class="cbj_comments">{comments}</div>
69 </body>
70 </html>
71