@@ -63,7 +63,7 @@
{{entry.title|shortentitle}}
{% for author in entry.authors %}
- {{author.name.replace('|',',')}}
+ {{author.name.replace('|',',')|shortentitle(30)}}
{% if not loop.last %}
&
{% endif %}
diff --git a/cps/templates/index.xml b/cps/templates/index.xml
index 56978369..97848b5e 100644
--- a/cps/templates/index.xml
+++ b/cps/templates/index.xml
@@ -1,10 +1,11 @@
urn:uuid:2853dacf-ed79-42f5-8e8a-a7bb3d1ae6a2
+ {{ current_time }}
-
+
{{instance}}
{{instance}}
@@ -14,24 +15,28 @@
{{_('Hot Books')}}
{{url_for('feed_hot')}}
+ {{ current_time }}
{{_('Popular publications from this catalog based on Downloads.')}}
{{_('Best rated Books')}}
{{url_for('feed_best_rated')}}
+ {{ current_time }}
{{_('Popular publications from this catalog based on Rating.')}}
{{_('New Books')}}
{{url_for('feed_new')}}
+ {{ current_time }}
{{_('The latest Books')}}
{{_('Random Books')}}
{{url_for('feed_discover')}}
+ {{ current_time }}
{{_('Show Random Books')}}
{% if not current_user.is_anonymous %}
@@ -39,6 +44,7 @@
{{_('Read Books')}}
{{url_for('feed_read_books')}}
+ {{ current_time }}
{{_('Read Books')}}
{% endif %}
@@ -46,30 +52,35 @@
{{_('Unread Books')}}
{{url_for('feed_unread_books')}}
+ {{ current_time }}
{{_('Unread Books')}}
{{_('Authors')}}
{{url_for('feed_authorindex')}}
+ {{ current_time }}
{{_('Books ordered by Author')}}
{{_('Category list')}}
{{url_for('feed_categoryindex')}}
+ {{ current_time }}
{{_('Books ordered by category')}}
{{_('Series list')}}
{{url_for('feed_seriesindex')}}
+ {{ current_time }}
{{_('Books ordered by series')}}
{{_('Public Shelves')}}
{{url_for('feed_shelfindex', public="public")}}
+ {{ current_time }}
{{_('Books organized in public shelfs, visible to everyone')}}
{% if not current_user.is_anonymous %}
@@ -77,6 +88,7 @@
{{_('Your Shelves')}}
{{url_for('feed_shelfindex')}}
+ {{ current_time }}
{{_("User's own shelfs, only visible to the current user himself")}}
{% endif %}
diff --git a/cps/templates/languages.html b/cps/templates/languages.html
index eba7af04..4c582d27 100644
--- a/cps/templates/languages.html
+++ b/cps/templates/languages.html
@@ -2,15 +2,15 @@
{% block body %}
{{title}}
-
+
{% for lang in languages %}
{% if loop.index0 == (loop.length/2)|int and loop.length > 20 %}
-
+
{% endif %}
-
{{lang_counter[loop.index0].bookcount}}
-
+
{{lang_counter[loop.index0].bookcount}}
+
{% endfor %}
diff --git a/cps/templates/layout.html b/cps/templates/layout.html
index 8a3bc3c2..634a3426 100644
--- a/cps/templates/layout.html
+++ b/cps/templates/layout.html
@@ -24,7 +24,7 @@
{% block header %}{% endblock %}
-
+
@@ -67,6 +67,9 @@
{% endif %}
{% endif %}
+ {% if g.user.role_admin() %}
+
{{_('Tasks')}}
+ {% endif %}
{% if g.user.role_admin() %}
{{_('Admin')}}
{% endif %}
@@ -116,61 +119,61 @@
{% block modal %}{% endblock %}
+
diff --git a/cps/templates/list.html b/cps/templates/list.html
index 55d07e82..483738e7 100644
--- a/cps/templates/list.html
+++ b/cps/templates/list.html
@@ -2,15 +2,15 @@
{% block body %}
{{title}}
-
+
{% for entry in entries %}
{% if loop.index0 == (loop.length/2)|int and loop.length > 20 %}
-
+
{% endif %}
-
{{entry.count}}
-
+
{{entry.count}}
+
{% endfor %}
diff --git a/cps/templates/osd.xml b/cps/templates/osd.xml
index 77709478..b88e6823 100644
--- a/cps/templates/osd.xml
+++ b/cps/templates/osd.xml
@@ -2,7 +2,7 @@
{{instance}}
{{instance}}
- {{_('Calibre Web ebook catalog')}}
+ {{_('Calibre-Web ebook catalog')}}
Janeczku
https://github.com/janeczku/calibre-web
+
diff --git a/cps/templates/readcbr.html b/cps/templates/readcbr.html
index 4893e038..bdc2a3ea 100644
--- a/cps/templates/readcbr.html
+++ b/cps/templates/readcbr.html
@@ -1,44 +1,157 @@
-
-
-
- Comic Reader
-
-
-
-
-
-
-
+
+
+
+ Comic Reader
+
+
+
-
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
- 70%
-
+
+
+
+
+
+
+
+
+
+
+
+ {{ title | shortentitle }}
+ –
+
+
+
+
+
+
+
+
+
+
‹
+
›
+
+
+
+
+
{{_('Settings')}}
+
+
+
+
+ {{_('Keyboard Shortcuts')}} |
+
+
+ ← | {{_('Previous Page')}} |
+ → | {{_('Next Page')}} |
+ B | {{_('Scale to Best')}} |
+ W | {{_('Scale to Width')}} |
+ H | {{_('Scale to Height')}} |
+ N | {{_('Scale to Native')}} |
+ R | {{_('Rotate Right')}} |
+ L | {{_('Rotate Left')}} |
+ F | {{_('Flip Image')}} |
+
+
+
+
-
+
+
+
+
+
+
diff --git a/cps/templates/readpdf.html b/cps/templates/readpdf.html
index 68b19d6e..abd5df65 100644
--- a/cps/templates/readpdf.html
+++ b/cps/templates/readpdf.html
@@ -48,7 +48,7 @@ See https://github.com/adobe-type-tools/cmap-resources
{% endif %}
+
+
+
+{% endblock %}
diff --git a/cps/templates/user_edit.html b/cps/templates/user_edit.html
index 9a44cfcc..5c6b308e 100644
--- a/cps/templates/user_edit.html
+++ b/cps/templates/user_edit.html
@@ -10,14 +10,20 @@
{% endif %}
-
+
{% if ( g.user and g.user.role_passwd() or g.user.role_admin() ) and not content.role_anonymous() %}
-
-
-
-
+ {% if g.user and g.user.role_admin() and g.allow_registration and not new_user and not profile %}
+
+ {% else %}
+
+
+
+
+ {% endif %}
+
+
{% endif %}