cops/templates/bootstrap/bookdetail.html

69 lines
2.6 KiB
HTML
Raw Normal View History

2014-02-09 22:17:04 +02:00
<div class="row">
<div class="col-md-offset-2 col-md-2 col-sm-12">
{{? it.book.hasCover == 1}}
<a href="{{=it.book.coverurl}}">
2014-02-09 22:17:04 +02:00
<img class="img-responsive" src="{{=it.book.thumbnailurl}}" alt="{{=it.c.i18n.coverAlt}}" />
</a>
{{?}}
2014-02-09 22:17:04 +02:00
</div>
<div class="col-md-4 text-center">
<h1><a title="{{=it.c.i18n.permalinkAlt}}" rel="bookmark" href="{{=str_format (it.c.url.detailUrl, it.book.id, it.databaseId)}}">
<span class="glyphicon glyphicon-link"></span></a>{{=htmlspecialchars (it.title)}}
</h1>
<h4>{{=it.c.i18n.authorsTitle}}:
{{~it.book.authors:author:i}}
{{? i > 0}}, {{?}}<a href="{{=author.url}}">{{=htmlspecialchars (author.name)}}</a>
{{~}}
</h4>
{{? it.book.tagsName != ""}}
2014-02-09 22:17:04 +02:00
<h4>{{=it.c.i18n.tagsTitle}}:
{{~it.book.tags:tag:i}}
{{? i > 0}}, {{?}}<a href="{{=tag.url}}">{{=htmlspecialchars (tag.name)}}</a>
{{~}}
2014-02-09 22:17:04 +02:00
</h4>
{{?}}
{{? it.book.seriesName != ""}}
2014-02-09 22:17:04 +02:00
<h4><a href="{{=it.book.seriesurl}}">{{=it.c.i18n.seriesTitle}}</a> : {{=htmlspecialchars (it.book.seriesCompleteName)}}</h4>
{{?}}
2014-02-09 22:17:04 +02:00
</div>
<div class="col-md-2 col-sm-12">
<div class="btn-group pull-right">
{{~it.book.datas:data:i}}
<a href="{{=data.url}}" class="btn btn-primary btn-sm" role="button">{{=data.format}}</a>
{{? data.mail == 1}}
<a id="mailButton" class="btn btn-primary btn-sm" role="button" title="Mail" href="empty.php" onclick="sendToMailAddress (this, {{=data.id}}); return false;">
<span class="glyphicon glyphicon-envelope"></span></a>
{{?}}
{{? data.readerUrl != ""}}
<a title="Reader" class="btn btn-primary btn-sm" role="button" href="{{=data.readerUrl}}" target="blank">
<span class="glyphicon glyphicon-eye-open"></span></a>
{{?}}
{{~}}
</div>
</div>
</div>
<div class="row">
<div class="col-md-offset-2 col-md-8 col-sm-12">
{{? it.book.publisherName != ""}}
2014-02-09 22:17:04 +02:00
<p>
<h4>{{=it.c.i18n.publisherName}}: </h4><a href="{{=it.book.publisherurl}}">{{=htmlspecialchars (it.book.publisherName)}}</a>
</p>
{{?}}
{{? it.book.pubDate != ""}}
2014-02-09 22:17:04 +02:00
<p>
<h4>{{=it.c.i18n.pubdateTitle}}: </h4>{{=it.book.pubDate}}
</p>
{{?}}
{{? it.book.languagesName != ""}}
2014-02-09 22:17:04 +02:00
<p>
<h4>{{=it.c.i18n.languagesTitle}}: </h4>{{=it.book.languagesName}}
</p>
{{?}}
{{? it.book.content != ""}}
<br />
<h4>{{=it.c.i18n.contentTitle}}</h4>
<div>{{=it.book.content}}</div>
{{?}}
2014-02-09 22:17:04 +02:00
</div>
</div>