cops/templates/default/main.html
Sébastien Lucas bf54e6a7b9 Template are now cleanly split. Properly handle synchronization with jquery. re #73
--HG--
rename : templates/default/frontpage.html => templates/default/header.html
rename : templates/default/frontpage.html => templates/default/main.html
2013-06-16 08:46:41 +02:00

41 lines
1.7 KiB
HTML

<section>
{{? it.page == 13}}
{{#def.bookdetail}}
{{??}}
{{~it.entries:entry:i}}
{{? it.containsBook == 0}}
<article>
<div class="frontpage">
<a href="{{=entry.navlink}}">
<h2>{{=htmlEscape (entry.title)}}</h2>
<h4>{{=entry.content}}</h4>
</a>
</div>
</article>
{{??}}
<article class="books">
<span class="cover">
{{? entry.book.hasCover == 1}}
<a data-fancybox-group="group" class="fancycover" href="{{=entry.coverurl}}"><img src="{{=entry.thumbnailurl}}" alt="{{=it.i18n.coverAlt}}" /></a>
{{?}}
</span>
<h2 class="download">
{{~entry.book.preferedData:data:j}}
<a href="{{=data.url}}">{{=data.name}}</a><br />
{{~}}
</h2>
<a class="fancydetail" href="{{=entry.book.detailUrl}}">
<div class="fullclickpopup">
<h2><span class="st">{{=htmlEscape (entry.title)}}</span>
{{? entry.book.pubDate != ""}}<span class="sp">({{=entry.book.pubDate}})</span>{{?}}
{{? entry.book.rating != ""}}<span class="sr">{{=entry.book.rating}}</span>{{?}}
</h2>
<h4>{{=it.i18n.authorsTitle}} : </h4><span class="sa">{{=htmlEscape (entry.book.authorsName)}}</span><br />
{{? entry.book.tagsName != ""}}<h4>{{=it.i18n.tagsTitle}} : </h4>{{=htmlEscape (entry.book.tagsName)}}<br />{{?}}
{{? entry.book.seriesName != ""}}<h4>{{=it.i18n.seriesTitle}} : </h4>{{=htmlEscape (entry.book.seriesName)}}<br />{{?}}
</div></a>
</article>
{{?}}
{{~}}
{{?}}
</section>