Better book detail

This commit is contained in:
Sébastien Lucas 2012-06-12 22:46:54 +02:00
parent b3eaeb8592
commit 2de35f9897
2 changed files with 28 additions and 16 deletions

View file

@ -21,7 +21,8 @@ $tags = $book->getTags ();
<img src="fetch.php?id=<?php echo $book->id ?>&amp;height=150" alt="cover" /> <img src="fetch.php?id=<?php echo $book->id ?>&amp;height=150" alt="cover" />
</div> </div>
<div class="entryTitle"><?php echo htmlspecialchars ($book->title) ?></div> <div class="entryTitle"><?php echo htmlspecialchars ($book->title) ?></div>
<div class="entrySection"><?php echo localize("authors.title") ?></div> <div class="entrySection">
<span><?php echo localize("authors.title") ?></span>
<div class="buttonEffect pad6"> <div class="buttonEffect pad6">
<?php <?php
$i = 0; $i = 0;
@ -33,7 +34,9 @@ $tags = $book->getTags ();
} }
?> ?>
</div> </div>
<div class="entrySection"><?php echo localize("tags.title") ?></div> </div>
<div class="entrySection">
<span><?php echo localize("tags.title") ?></span>
<div class="buttonEffect pad6"> <div class="buttonEffect pad6">
<?php <?php
$i = 0; $i = 0;
@ -46,6 +49,7 @@ $tags = $book->getTags ();
?> ?>
</div> </div>
</div> </div>
</div>
<div class="clearer" /> <div class="clearer" />
<hr /> <hr />
<div><?php echo localize("content.summary") ?></div> <div><?php echo localize("content.summary") ?></div>

View file

@ -150,10 +150,14 @@ padding-top: 120px;
.entrySection .entrySection
{ {
margin-top: 8px;
margin-bottom: 18px;
}
.entrySection span
{
font-style:italic; font-style:italic;
font-size: 1em; font-size: 1em;
margin-top: 8px;
margin-bottom: 8px;
} }
@ -171,3 +175,7 @@ font-weight: bold;
padding: 6px; padding: 6px;
} }
.pad6
{
display: inline;
}