@ -5,32 +5,39 @@
< div class = "col-sm-3 col-lg-3 col-xs-5" >
< div class = "col-sm-3 col-lg-3 col-xs-5" >
< div class = "cover" >
< div class = "cover" >
<!-- Always use full - sized image for the detail page -->
<!-- Always use full - sized image for the detail page -->
< img id = "detailcover" title = "{{entry.title}}" src = "{{url_for('web.get_cover', book_id=entry.id, resolution='og', c=entry|last_modified)}}" / >
< img id = "detailcover" title = "{{ entry.title }}"
src="{{ url_for('web.get_cover', book_id=entry.id, resolution='og', c=entry|last_modified) }}"/>
< / div >
< / div >
< / div >
< / div >
< div class = "col-sm-9 col-lg-9 book-meta" >
< div class = "col-sm-9 col-lg-9 book-meta" >
< div class = "btn-toolbar" role = "toolbar" >
< div class = "btn-toolbar" role = "toolbar" >
< div class = "btn-group" role = "group" aria-label = "Download, send to e Reader, reading">
< div class = "btn-group" role = "group" aria-label = "Download, send to E- Reader, reading">
{% if current_user.role_download() %}
{% if current_user.role_download() %}
{% if entry.data|length %}
{% if entry.data|length %}
< div class = "btn-group" role = "group" >
< div class = "btn-group" role = "group" >
{% if entry.data|length < 2 % }
{% if entry.data|length < 2 % }
< button id = "Download" type = "button" class = "btn btn-primary" >
< button id = "Download" type = "button" class = "btn btn-primary" >
{{_('Download')}} :
{{ _('Download') }} :
< / button >
< / button >
{% for format in entry.data %}
{% for format in entry.data %}
< a href = "{{ url_for('web.download_link', book_id=entry.id, book_format=format.format|lower, anyname=entry.id|string+'.'+format.format|lower) }}" id = "btnGroupDrop1{{format.format|lower}}" class = "btn btn-primary" role = "button" >
< a href = "{{ url_for('web.download_link', book_id=entry.id, book_format=format.format|lower, anyname=entry.id|string+'.'+format.format|lower) }}"
< span class = "glyphicon glyphicon-download" > < / span > {{format.format}} ({{ format.uncompressed_size|filesizeformat }})
id="btnGroupDrop1{{ format.format|lower }}" class="btn btn-primary"
role="button">
< span class = "glyphicon glyphicon-download" > < / span > {{ format.format }}
({{ format.uncompressed_size|filesizeformat }})
< / a >
< / a >
{% endfor %}
{% endfor %}
{% else %}
{% else %}
< button id = "btnGroupDrop1" type = "button" class = "btn btn-primary dropdown-toggle" data-toggle = "dropdown" aria-haspopup = "true" aria-expanded = "false" >
< button id = "btnGroupDrop1" type = "button" class = "btn btn-primary dropdown-toggle"
< span class = "glyphicon glyphicon-download" > < / span > {{_('Download')}}
data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
< span class = "glyphicon glyphicon-download" > < / span > {{ _('Download') }}
< span class = "caret" > < / span >
< span class = "caret" > < / span >
< / button >
< / button >
< ul class = "dropdown-menu" aria-labelledby = "btnGroupDrop1" >
< ul class = "dropdown-menu" aria-labelledby = "btnGroupDrop1" >
{% for format in entry.data %}
{% for format in entry.data %}
< li > < a href = "{{ url_for('web.download_link', book_id=entry.id, book_format=format.format|lower, anyname=entry.id|string+'.'+format.format|lower) }}" > {{format.format}} ({{ format.uncompressed_size|filesizeformat }})< / a > < / li >
< li >
< a href = "{{ url_for('web.download_link', book_id=entry.id, book_format=format.format|lower, anyname=entry.id|string+'.'+format.format|lower) }}" > {{ format.format }}
({{ format.uncompressed_size|filesizeformat }})< / a > < / li >
{% endfor %}
{% endfor %}
< / ul >
< / ul >
{% endif %}
{% endif %}
@ -40,17 +47,24 @@
{% if current_user.kindle_mail and entry.email_share_list %}
{% if current_user.kindle_mail and entry.email_share_list %}
< input type = "hidden" name = "csrf_token" value = "{{ csrf_token() }}" >
< input type = "hidden" name = "csrf_token" value = "{{ csrf_token() }}" >
{% if entry.email_share_list.__len__() == 1 %}
{% if entry.email_share_list.__len__() == 1 %}
< div id = "sendbtn" data-action = "{{url_for('web.send_to_ereader', book_id=entry.id, book_format=entry.email_share_list[0]['format'], convert=entry.email_share_list[0]['convert'])}}" data-text = "{{_('Send to eReader')}}" class = "btn btn-primary postAction" role = "button" > < span class = "glyphicon glyphicon-send" > < / span > {{entry.email_share_list[0]['text']}}< / div >
< div class = "btn-group" role = "group" >
< button id = "sendbtn" class = "btn btn-primary sendbtn-form" data-href = "{{url_for('web.send_to_ereader', book_id=entry.id, book_format=entry.email_share_list[0]['format'], convert=entry.email_share_list[0]['convert'])}}" >
< span class = "glyphicon glyphicon-send" > < / span > {{entry.email_share_list[0]['text']}}
< / button >
< / div >
{% else %}
{% else %}
< div class = "btn-group" role = "group" >
< div class = "btn-group" role = "group" >
< button id = "sendbtn2" type = "button" class = "btn btn-primary dropdown-toggle" data-toggle = "dropdown" aria-haspopup = "true" aria-expanded = "false" >
< button id = "sendbtn2" type = "button" class = "btn btn-primary dropdown-toggle"
< span class = "glyphicon glyphicon-send" > < / span > {{_('Send to eReader')}}
data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
< span class = "glyphicon glyphicon-send" > < / span > {{ _('Send to eReader') }}
< span class = "caret" > < / span >
< span class = "caret" > < / span >
< / button >
< / button >
< ul class = "dropdown-menu" aria-labelledby = "send-to-ereader" >
< ul class = "dropdown-menu" aria-labelledby = "send-to-ereader" >
{% for format in entry.email_share_list %}
{% for format in entry.email_share_list %}
< li > < a class = "postAction" data-action = "{{url_for('web.send_to_ereader', book_id=entry.id, book_format=format['format'], convert=format['convert'])}}" > {{format['text']}}< / a > < / li >
< li >
{%endfor%}
< a class = "sendbtn-form" data-href = "{{url_for('web.send_to_ereader', book_id=entry.id, book_format=format['format'], convert=format['convert'])}}" > {{ format['text'] }}< / a >
< / li >
{% endfor %}
< / ul >
< / ul >
< / div >
< / div >
{% endif %}
{% endif %}
@ -58,17 +72,24 @@
{% if entry.reader_list and current_user.role_viewer() %}
{% if entry.reader_list and current_user.role_viewer() %}
< div class = "btn-group" role = "group" >
< div class = "btn-group" role = "group" >
{% if entry.reader_list|length > 1 %}
{% if entry.reader_list|length > 1 %}
< button id = "read-in-browser" type = "button" class = "btn btn-primary dropdown-toggle" data-toggle = "dropdown" aria-haspopup = "true" aria-expanded = "false" >
< button id = "read-in-browser" type = "button" class = "btn btn-primary dropdown-toggle"
< span class = "glyphicon glyphicon-book" > < / span > {{_('Read in Browser')}}
data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
< span class = "glyphicon glyphicon-book" > < / span > {{ _('Read in Browser') }}
< span class = "caret" > < / span >
< span class = "caret" > < / span >
< / button >
< / button >
< ul class = "dropdown-menu" aria-labelledby = "read-in-browser" >
< ul class = "dropdown-menu" aria-labelledby = "read-in-browser" >
{% for format in entry.reader_list %}
{% for format in entry.reader_list %}
< li > < a target = "_blank" href = "{{ url_for('web.read_book', book_id=entry.id, book_format=format) }}" > {{format}}< / a > < / li >
< li > < a target = "_blank"
{%endfor%}
href="{{ url_for('web.read_book', book_id=entry.id, book_format=format) }}">{{ format }}< / a >
< / li >
{% endfor %}
< / ul >
< / ul >
{% else %}
{% else %}
< a target = "_blank" href = "{{url_for('web.read_book', book_id=entry.id, book_format=entry.reader_list[0])}}" id = "readbtn" class = "btn btn-primary" role = "button" > < span class = "glyphicon glyphicon-book" > < / span > {{_('Read in Browser')}} - {{entry.reader_list[0]}}< / a >
< a target = "_blank"
href="{{ url_for('web.read_book', book_id=entry.id, book_format=entry.reader_list[0]) }}"
id="readbtn" class="btn btn-primary" role="button">< span
class="glyphicon glyphicon-book">< / span > {{ _('Read in Browser') }}
- {{ entry.reader_list[0] }}< / a >
{% endif %}
{% endif %}
< / div >
< / div >
{% endif %}
{% endif %}
@ -76,33 +97,36 @@
< div class = "btn-group" role = "group" >
< div class = "btn-group" role = "group" >
{% if entry.audio_entries|length > 1 %}
{% if entry.audio_entries|length > 1 %}
< button id = "listen-in-browser" type = "button" class = "btn btn-primary dropdown-toggle" data-toggle = "dropdown" aria-haspopup = "true" aria-expanded = "false" >
< button id = "listen-in-browser" type = "button" class = "btn btn-primary dropdown-toggle" data-toggle = "dropdown" aria-haspopup = "true" aria-expanded = "false" >
< span class = "glyphicon glyphicon-music" > < / span > {{_('Listen in Browser')}}
< span class = "glyphicon glyphicon-music" > < / span > {{ _('Listen in Browser') }}
< span class = "caret" > < / span >
< span class = "caret" > < / span >
< / button >
< / button >
< ul class = "dropdown-menu" aria-labelledby = "listen-in-browser" >
< ul class = "dropdown-menu" aria-labelledby = "listen-in-browser" >
{% for format in entry.reader_list %}
{% for format in entry.reader_list %}
< li > < a target = "_blank" href = "{{ url_for('web.read_book', book_id=entry.id, book_format=format) }}" > {{format}}< / a > < / li >
< li > < a target = "_blank" href = "{{ url_for('web.read_book', book_id=entry.id, book_format=format) }}" > {{ format }}< / a >
{%endfor%}
< / li >
{% endfor %}
< / ul >
< / ul >
< ul class = "dropdown-menu" aria-labelledby = "listen-in-browser" >
< ul class = "dropdown-menu" aria-labelledby = "listen-in-browser" >
{% for format in entry.data %}
{% for format in entry.data %}
{% if format.format|lower in entry.audio_entries %}
{% if format.format|lower in entry.audio_entries %}
< li > < a target = "_blank" href = "{{ url_for('web.read_book', book_id=entry.id, book_format=format.format|lower) }}" > {{format.format|lower }}< / a > < / li >
< li > < a target = "_blank"
href="{{ url_for('web.read_book', book_id=entry.id, book_format=format.format|lower) }}">{{ format.format|lower }}< / a >
< / li >
{% endif %}
{% endif %}
{% endfor %}
{% endfor %}
< / ul >
< / ul >
{% else %}
{% else %}
< a target = "_blank" href = "{{ url_for('web.read_book', book_id=entry.id, book_format=entry.audio_entries[0])}}" id = "listenbtn" class = "btn btn-primary" role = "button" > < span class = "glyphicon glyphicon-music" > < / span > {{_('Listen in Browser')}} - {{entry.audio_entries[0]}}< / a >
< a target = "_blank" href = "{{ url_for('web.read_book', book_id=entry.id, book_format=entry.audio_entries[0]) }}" id = "listenbtn" class = "btn btn-primary" role = "button" > < span class = "glyphicon glyphicon-music" > < / span > {{ _('Listen in Browser') }} - {{ entry.audio_entries[0] }}< / a >
{% endif %}
{% endif %}
< / div >
< / div >
{% endif %}
{% endif %}
< / div >
< / div >
< / div >
< / div >
< h2 id = "title" > {{entry.title}}< / h2 >
< h2 id = "title" > {{ entry.title }}< / h2 >
< p class = "author" >
< p class = "author" >
{% for author in entry.ordered_authors %}
{% for author in entry.ordered_authors %}
< a href = "{{ url_for('web.books_list', data='author', sort_param='stored', book_id=author.id ) }}"> {{author.name.replace('|',',')}}< / a >
< a href = "{{ url_for('web.books_list', data='author', sort_param='stored', book_id=author.id ) }}"> {{ author.name.replace('|',',') }}< / a >
{% if not loop.last %}
{% if not loop.last %}
&
&
{% endif %}
{% endif %}
@ -123,14 +147,15 @@
< / div >
< / div >
{% endif %}
{% endif %}
{% if entry.series|length > 0 %}
{% if entry.series|length > 0 %}
< p > {{_("Book %(index)s of %(range)s", index=entry.series_index | formatfloat(2), range=(url_for('web.books_list', data='series', sort_param='stored', book_id=entry.series[0].id)|escapedlink(entry.series[0].name))|safe)}}< / p >
< p > {{ _("Book %(index)s of %(range)s", index=entry.series_index | formatfloat(2), range=(url_for('web.books_list', data='series', sort_param='stored', book_id=entry.series[0].id)|escapedlink(entry.series[0].name))|safe) }}< / p >
{% endif %}
{% endif %}
{% if entry.languages.__len__() > 0 %}
{% if entry.languages.__len__() > 0 %}
< div class = "languages" >
< div class = "languages" >
< p >
< p >
< span class = "label label-default" > {{_('Language')}}: {% for language in entry.languages %}{{language.language_name}}{% if not loop.last %}, {% endif %}{% endfor %}< / span >
< span class = "label label-default" > {{ _('Language') }}: {% for language in entry.languages %}
{{ language.language_name }}{% if not loop.last %}, {% endif %}{% endfor %}< / span >
< / p >
< / p >
< / div >
< / div >
{% endif %}
{% endif %}
@ -140,8 +165,9 @@
< p >
< p >
< span class = "glyphicon glyphicon-link" > < / span >
< span class = "glyphicon glyphicon-link" > < / span >
{% for identifier in entry.identifiers %}
{% for identifier in entry.identifiers %}
< a href = "{{identifier}}" target = "_blank" class = "btn btn-xs btn-success" role = "button" > {{identifier.format_type()}}< / a >
< a href = "{{ identifier }}" target = "_blank" class = "btn btn-xs btn-success"
{%endfor%}
role="button">{{ identifier.format_type() }}< / a >
{% endfor %}
< / p >
< / p >
< / div >
< / div >
{% endif %}
{% endif %}
@ -153,8 +179,9 @@
< span class = "glyphicon glyphicon-tags" > < / span >
< span class = "glyphicon glyphicon-tags" > < / span >
{% for tag in entry.tags %}
{% for tag in entry.tags %}
< a href = "{{ url_for('web.books_list', data='category', sort_param='stored', book_id=tag.id) }}" class = "btn btn-xs btn-info" role = "button" > {{tag.name}}< / a >
< a href = "{{ url_for('web.books_list', data='category', sort_param='stored', book_id=tag.id) }}"
{%endfor%}
class="btn btn-xs btn-info" role="button">{{ tag.name }}< / a >
{% endfor %}
< / p >
< / p >
< / div >
< / div >
@ -163,8 +190,8 @@
{% if entry.publishers|length > 0 %}
{% if entry.publishers|length > 0 %}
< div class = "publishers" >
< div class = "publishers" >
< p >
< p >
< span > {{_('Publisher')}}:
< span > {{ _('Publisher') }}:
< a href = "{{ url_for('web.books_list', data='publisher', sort_param='stored', book_id=entry.publishers[0].id ) }}"> {{entry.publishers[0].name}}< / a >
< a href = "{{ url_for('web.books_list', data='publisher', sort_param='stored', book_id=entry.publishers[0].id ) }}"> {{ entry.publishers[0].name }}< / a >
< / span >
< / span >
< / p >
< / p >
< / div >
< / div >
@ -172,7 +199,7 @@
{% if (entry.pubdate|string)[:10] != '0101-01-01' %}
{% if (entry.pubdate|string)[:10] != '0101-01-01' %}
< div class = "publishing-date" >
< div class = "publishing-date" >
< p > {{_('Published')}}: {{entry.pubdate|formatdate}} < / p >
< p > {{ _('Published') }}: {{ entry.pubdate|formatdate }} < / p >
< / div >
< / div >
{% endif %}
{% endif %}
{% if cc|length > 0 %}
{% if cc|length > 0 %}
@ -198,7 +225,7 @@
{% elif c.datatype == 'datetime' %}
{% elif c.datatype == 'datetime' %}
{{ column.value|formatdate }}
{{ column.value|formatdate }}
{% elif c.datatype == 'comments' %}
{% elif c.datatype == 'comments' %}
{{column.value|safe}}
{{ column.value|safe }}
{% elif c.datatype == 'series' %}
{% elif c.datatype == 'series' %}
{{ '%s [%s]' % (column.value, column.extra|formatfloat(2)) }}
{{ '%s [%s]' % (column.value, column.extra|formatfloat(2)) }}
{% elif c.datatype == 'text' %}
{% elif c.datatype == 'text' %}
@ -217,21 +244,27 @@
< div class = "custom_columns" >
< div class = "custom_columns" >
< p >
< p >
< form id = "have_read_form" action = "{{ url_for('web.toggle_read', book_id=entry.id)}}" method = "POST" >
< form id = "have_read_form" action = "{{ url_for('web.toggle_read', book_id=entry.id) }}"
method="POST">
< input type = "hidden" name = "csrf_token" value = "{{ csrf_token() }}" >
< input type = "hidden" name = "csrf_token" value = "{{ csrf_token() }}" >
< label class = "block-label" >
< label class = "block-label" >
< input id = "have_read_cb" data-checked = "{{_('Mark As Unread')}}" data-unchecked = "{{_('Mark As Read')}}" type = "checkbox" { % if entry . read_status % } checked { % endif % } >
< input id = "have_read_cb" data-checked = "{{ _('Mark As Unread') }}"
< span > {{_('Read')}}< / span >
data-unchecked="{{ _('Mark As Read') }}" type="checkbox"
{% if entry.read_status %}checked{% endif %}>
< span > {{ _('Read') }}< / span >
< / label >
< / label >
< / form >
< / form >
< / p >
< / p >
{% if current_user.check_visibility(32768) %}
{% if current_user.check_visibility(32768) %}
< p >
< p >
< form id = "archived_form" action = "{{ url_for('web.toggle_archived', book_id=entry.id)}}" method = "POST" >
< form id = "archived_form" action = "{{ url_for('web.toggle_archived', book_id=entry.id) }}"
method="POST">
< input type = "hidden" name = "csrf_token" value = "{{ csrf_token() }}" >
< input type = "hidden" name = "csrf_token" value = "{{ csrf_token() }}" >
< label class = "block-label" >
< label class = "block-label" >
< input id = "archived_cb" data-checked = "{{_('Restore from archive')}}" data-unchecked = "{{_('Add to archive')}}" type = "checkbox" { % if entry . is_archived % } checked { % endif % } >
< input id = "archived_cb" data-checked = "{{ _('Restore from archive') }}"
< span > {{_('Archived')}}< / span >
data-unchecked="{{ _('Add to archive') }}" type="checkbox"
{% if entry.is_archived %}checked{% endif %}>
< span > {{ _('Archived') }}< / span >
< / label >
< / label >
< / form >
< / form >
< / p >
< / p >
@ -240,10 +273,10 @@
{% endif %}
{% endif %}
{% if entry.comments|length > 0 and entry.comments[0].text|length > 0%}
{% if entry.comments|length > 0 and entry.comments[0].text|length > 0 %}
< div class = "comments" >
< div class = "comments" >
< h3 id = "decription" > {{_('Description:')}}< / h3 >
< h3 id = "decription" > {{ _('Description:') }}< / h3 >
{{entry.comments[0].text|safe}}
{{ entry.comments[0].text|safe }}
< / div >
< / div >
{% endif %}
{% endif %}
@ -254,8 +287,10 @@
{% if current_user.shelf.all() or g.shelves_access %}
{% if current_user.shelf.all() or g.shelves_access %}
< div id = "shelf-actions" class = "btn-toolbar" role = "toolbar" >
< div id = "shelf-actions" class = "btn-toolbar" role = "toolbar" >
< div class = "btn-group" role = "group" aria-label = "Add to shelves" >
< div class = "btn-group" role = "group" aria-label = "Add to shelves" >
< button id = "add-to-shelf" type = "button" class = "btn btn-primary btn-sm dropdown-toggle" data-toggle = "dropdown" aria-haspopup = "true" aria-expanded = "false" >
< button id = "add-to-shelf" type = "button"
< span class = "glyphicon glyphicon-list" > < / span > {{_('Add to shelf')}}
class="btn btn-primary btn-sm dropdown-toggle" data-toggle="dropdown"
aria-haspopup="true" aria-expanded="false">
< span class = "glyphicon glyphicon-list" > < / span > {{ _('Add to shelf') }}
< span class = "caret" > < / span >
< span class = "caret" > < / span >
< / button >
< / button >
< ul id = "add-to-shelves" class = "dropdown-menu" aria-labelledby = "add-to-shelf" >
< ul id = "add-to-shelves" class = "dropdown-menu" aria-labelledby = "add-to-shelf" >
@ -266,27 +301,30 @@
data-remove-href="{{ url_for('shelf.remove_from_shelf', book_id=entry.id, shelf_id=shelf.id) }}"
data-remove-href="{{ url_for('shelf.remove_from_shelf', book_id=entry.id, shelf_id=shelf.id) }}"
data-shelf-action="add"
data-shelf-action="add"
>
>
{{shelf.name}}{% if shelf.is_public == 1 %} {{_('(Public)')}}{% endif %}
{{ shelf.name }}{% if shelf.is_public == 1 %}
{{ _('(Public)') }}{% endif %}
< / a >
< / a >
< / li >
< / li >
{% endif %}
{% endif %}
{%endfor%}
{% endfor %}
< / ul >
< / ul >
< / div >
< / div >
< div id = "remove-from-shelves" class = "btn-group" role = "group" aria-label = "Remove from shelves" >
< div id = "remove-from-shelves" class = "btn-group" role = "group"
aria-label="Remove from shelves">
{% if books_shelfs %}
{% if books_shelfs %}
{% for shelf in g.shelves_access %}
{% for shelf in g.shelves_access %}
{% if shelf.id in books_shelfs %}
{% if shelf.id in books_shelfs %}
< a data-href = "{{ url_for('shelf.remove_from_shelf', book_id=entry.id, shelf_id=shelf.id) }}"
< a data-href = "{{ url_for('shelf.remove_from_shelf', book_id=entry.id, shelf_id=shelf.id) }}"
data-add-href="{{ url_for('shelf.add_to_shelf', book_id=entry.id, shelf_id=shelf.id) }}"
data-add-href="{{ url_for('shelf.add_to_shelf', book_id=entry.id, shelf_id=shelf.id) }}"
class="btn btn-sm btn-default" role="button" data-shelf-action="remove"
class="btn btn-sm btn-default" role="button"
data-shelf-action="remove"
>
>
< span { % if not shelf . is_public or current_user . role_edit_shelfs ( ) % }
< span { % if not shelf . is_public or current_user . role_edit_shelfs ( ) % }
class="glyphicon glyphicon-remove"
class="glyphicon glyphicon-remove"
{% endif %}>< / span > {{shelf.name}}{% if shelf.is_public == 1 %} {{_('(Public)')}}{% endif %}
{% endif %}>< / span > {{ shelf.name }}{% if shelf.is_public == 1 %} {{ _('(Public)') }}{% endif %}
< / a >
< / a >
{% endif %}
{% endif %}
{%endfor%}
{% endfor %}
{% endif %}
{% endif %}
< / div >
< / div >
< div id = "shelf-action-errors" class = "pull-left" role = "alert" > < / div >
< div id = "shelf-action-errors" class = "pull-left" role = "alert" > < / div >
@ -297,12 +335,13 @@
{% if current_user.role_edit() %}
{% if current_user.role_edit() %}
< div class = "btn-toolbar" role = "toolbar" >
< div class = "btn-toolbar" role = "toolbar" >
< div class = "btn-group" role = "group" aria-label = "Edit/Delete book" >
< div class = "btn-group" role = "group" aria-label = "Edit/Delete book" >
< a href = "{{ url_for('edit-book.show_edit_book', book_id=entry.id) }}" class = "btn btn-sm btn-primary" id = "edit_book" role = "button" > < span class = "glyphicon glyphicon-edit" > < / span > {{_('Edit Metadata')}}< / a >
< a href = "{{ url_for('edit-book.show_edit_book', book_id=entry.id) }}"
class="btn btn-sm btn-primary" id="edit_book" role="button">< span
class="glyphicon glyphicon-edit">< / span > {{ _('Edit Metadata') }}< / a >
< / div >
< / div >
< / div >
< / div >
{% endif %}
{% endif %}
< / div >
< / div >
< / div >
< / div >
< / div >
< / div >
< / div >
< / div >
@ -317,10 +356,15 @@
< / li >
< / li >
< / script >
< / script >
< script type = "text/template" id = "template-shelf-remove" >
< script type = "text/template" id = "template-shelf-remove" >
< a data-href = "<%= remove %>" data-add-href = "<%= add %>" class = "btn btn-sm btn-default" data-shelf-action = "remove" >
< a data-href = "<%= remove %>" data-add-href = "<%= add %>" class = "btn btn-sm btn-default"
data-shelf-action="remove">
< span class = "glyphicon glyphicon-remove" > < / span > < %= content %>
< span class = "glyphicon glyphicon-remove" > < / span > < %= content %>
< / a >
< / a >
< / script >
< / script >
< script src = "{{ url_for('static', filename='js/details.js') }}" > < / script >
< script src = "{{ url_for('static', filename='js/details.js') }}" > < / script >
< script src = "{{ url_for('static', filename='js/fullscreen.js') }}" > < / script >
< script src = "{{ url_for('static', filename='js/fullscreen.js') }}" > < / script >
< script type = "text/javascript" >
< / script >
{% endblock %}
{% endblock %}