mirror of
https://github.com/janeczku/calibre-web
synced 2024-08-19 14:16:19 +00:00
50 lines
1.1 KiB
HTML
50 lines
1.1 KiB
HTML
{% extends "layout.html" %}
|
|
{% block body %}
|
|
<h3>{{_('About')}} {{instance}}</h3>
|
|
<p>{{instance}} powered by
|
|
<a href="https://github.com/janeczku/calibre-web" title="Calibre-Web">Calibre-Web</a>.
|
|
</p>
|
|
<h3>{{_('Library Statistics')}}</h3>
|
|
<table id="stats" class="table">
|
|
<tbody>
|
|
<tr>
|
|
<th>{{bookcounter}}</th>
|
|
<td>{{_('Books in this Library')}}</td>
|
|
</tr>
|
|
<tr>
|
|
<th>{{authorcounter}}</th>
|
|
<td>{{_('Authors in this Library')}}</td>
|
|
</tr>
|
|
<tr>
|
|
<th>{{categorycounter}}</th>
|
|
<td>{{_('Categories in this Library')}}</td>
|
|
</tr>
|
|
<tr>
|
|
<th>{{seriecounter}}</th>
|
|
<td>{{_('Series in this Library')}}</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
{% if g.user.role_admin() %}
|
|
<h3>{{_('Linked Libraries')}}</h3>
|
|
<table id="libs" class="table">
|
|
<thead>
|
|
<tr>
|
|
<th>{{_('Program Library')}}</th>
|
|
<th>{{_('Installed Version')}}</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
{% for library,version in versions.items() %}
|
|
{% if version %}
|
|
<tr>
|
|
<th>{{library}}</th>
|
|
<td>{{_(version)}}</td>
|
|
</tr>
|
|
{% endif %}
|
|
{% endfor %}
|
|
</tbody>
|
|
</table>
|
|
{% endif %}
|
|
{% endblock %}
|