Skip to content

Commit

Permalink
Books: caption [READING NOW] + displayed as first for author.
Browse files Browse the repository at this point in the history
  • Loading branch information
akoprow committed Jun 22, 2010
1 parent 18c3532 commit 82049ae
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 1 deletion.
6 changes: 6 additions & 0 deletions output/css/styles.css
@@ -1,3 +1,9 @@
.rating-comment {
font-size: 10pt;
color: #99C;
font-variant: small-caps;
padding-top: 25px;
}
.author-photo img {
width: 130px;
float: left;
Expand Down
3 changes: 2 additions & 1 deletion todo.txt
Expand Up @@ -3,10 +3,10 @@ TODO Strip double quotes from titles (beg & end)
TODO Normalize poster sizes (some are too wide)

=== Books:
TODO Add links to authors' pages at LibraryThing
TODO Author's cloud: the page flicking is almost gone, but it still happens when browsers side scrollbar show up.
TODO Author's tip with books - make width fit content (calculate based on number of books to show)
TODO Authors' cloud: put in a jQuery-like panel (consistency with by author & date)
TODO In authors' cloud add authors' photos

=== Papers:
TODO Fix special characters in bibtex
Expand Down Expand Up @@ -43,6 +43,7 @@ TODO Add automatic data on when page was last updated
TODO Split papers/talks data to one-file-per-entry to have proper last modification date?

=== Done:
TODO Books: In authors' cloud add authors' photos
TODO Movies: switch tabs with Ajax
TODO Books: Normalize book names in LT (especially series)
TODO Books: Fix book tips (broken because of Ajax-loading of content)
Expand Down
6 changes: 6 additions & 0 deletions xsl/book-author.xsl
Expand Up @@ -28,6 +28,7 @@
<span class="author-tip">
<ul>
<xsl:for-each select="$books//book[author = $author-dec]">
<xsl:sort order="descending" select="contains(tags, 'reading')" />
<xsl:sort order="descending" data-type="number" select="finished" />
<xsl:call-template name="show-authors-book" />
</xsl:for-each>
Expand All @@ -52,6 +53,11 @@
<xsl:call-template name="show-rating">
<xsl:with-param name="rating" select="rating" />
</xsl:call-template>
<xsl:if test="contains(tags, 'reading')">
<span class="rating-comment">
[reading now]
</span>
</xsl:if>
</td>
</tr>
<tr>
Expand Down

0 comments on commit 82049ae

Please sign in to comment.