Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
D
douban-api-proxy
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
captainwong
douban-api-proxy
Commits
e69b1adc
Commit
e69b1adc
authored
Jul 12, 2021
by
Ozzie Isaacs
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix #2053 (Add tooltip for complete title on hover over cover and title)
parent
280efad9
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
22 additions
and
22 deletions
+22
-22
author.html
cps/templates/author.html
+5
-5
book_edit.html
cps/templates/book_edit.html
+1
-1
detail.html
cps/templates/detail.html
+1
-1
discover.html
cps/templates/discover.html
+2
-2
grid.html
cps/templates/grid.html
+2
-2
index.html
cps/templates/index.html
+4
-4
search.html
cps/templates/search.html
+2
-2
shelf.html
cps/templates/shelf.html
+2
-2
shelf_order.html
cps/templates/shelf_order.html
+2
-2
shelfdown.html
cps/templates/shelfdown.html
+1
-1
No files found.
cps/templates/author.html
View file @
e69b1adc
...
...
@@ -5,7 +5,7 @@
{% if author is not none %}
<section
class=
"author-bio"
>
{%if author.image_url is not none %}
<img
src=
"{{author.image_url}}"
alt=
"{{author.name|safe}}"
class=
"author-photo pull-left"
>
<img
title=
"{{author.name|safe}}"
src=
"{{author.image_url}}"
alt=
"{{author.name|safe}}"
class=
"author-photo pull-left"
>
{% endif %}
{%if author.about is not none %}
...
...
@@ -37,14 +37,14 @@
<div
class=
"cover"
>
<a
href=
"{{ url_for('web.show_book', book_id=entry.id) }}"
>
<span
class=
"img"
>
<img
src=
"{{ url_for('web.get_cover', book_id=entry.id) }}"
/>
<img
title=
"{{author.name|safe}}"
src=
"{{ url_for('web.get_cover', book_id=entry.id) }}"
/>
{% if entry.id in read_book_ids %}
<span
class=
"badge read glyphicon glyphicon-ok"
></span>
{% endif %}
</span>
</a>
</div>
<div
class=
"meta"
>
<a
href=
"{{ url_for('web.show_book', book_id=entry.id) }}"
>
<p
class=
"title"
>
{{entry.title|shortentitle}}
</p>
<p
title=
"{{ entry.title }}"
class=
"title"
>
{{entry.title|shortentitle}}
</p>
</a>
<p
class=
"author"
>
{% for author in entry.authors %}
...
...
@@ -104,11 +104,11 @@
<div
class=
"col-sm-3 col-lg-2 col-xs-6 book"
>
<div
class=
"cover"
>
<a
href=
"https://www.goodreads.com/book/show/{{ entry.gid['#text'] }}"
target=
"_blank"
rel=
"noopener"
>
<img
src=
"{{ entry.image_url }}"
/>
<img
title=
"{{entry.title}}"
src=
"{{ entry.image_url }}"
/>
</a>
</div>
<div
class=
"meta"
>
<p
class=
"title"
>
{{entry.title|shortentitle}}
</p>
<p
title=
"{{ entry.title }}"
class=
"title"
>
{{entry.title|shortentitle}}
</p>
<p
class=
"author"
>
{% for author in entry.authors %}
{% if loop.index > g.config_authors_max and g.config_authors_max != 0 %}
...
...
cps/templates/book_edit.html
View file @
e69b1adc
...
...
@@ -3,7 +3,7 @@
{% if book %}
<div
class=
"col-sm-3 col-lg-3 col-xs-12"
>
<div
class=
"cover"
>
<img
id=
"detailcover"
src=
"{{ url_for('web.get_cover', book_id=book.id, edit=1|uuidfilter) }}"
alt=
"{{ book.title }}"
/>
<img
id=
"detailcover"
title=
"{{entry.title}}"
src=
"{{ url_for('web.get_cover', book_id=book.id, edit=1|uuidfilter) }}"
alt=
"{{ book.title }}"
/>
</div>
{% if g.user.role_delete_books() %}
<div
class=
"text-center"
>
...
...
cps/templates/detail.html
View file @
e69b1adc
...
...
@@ -4,7 +4,7 @@
<div
class=
"row"
>
<div
class=
"col-sm-3 col-lg-3 col-xs-5"
>
<div
class=
"cover"
>
<img
id=
"detailcover"
src=
"{{ url_for('web.get_cover', book_id=entry.id, edit=1|uuidfilter) }}"
alt=
"{{ entry.title }}"
/>
<img
id=
"detailcover"
title=
"{{entry.title}}"
src=
"{{ url_for('web.get_cover', book_id=entry.id, edit=1|uuidfilter) }}"
alt=
"{{ entry.title }}"
/>
</div>
</div>
<div
class=
"col-sm-9 col-lg-9 book-meta"
>
...
...
cps/templates/discover.html
View file @
e69b1adc
...
...
@@ -9,7 +9,7 @@
{% if entry.has_cover is defined %}
<a
href=
"{{ url_for('web.show_book', book_id=entry.id) }}"
data-toggle=
"modal"
data-target=
"#bookDetailsModal"
data-remote=
"false"
>
<span
class=
"img"
>
<img
src=
"{{ url_for('web.get_cover', book_id=entry.id) }}"
alt=
"{{ entry.title }}"
/>
<img
title=
"{{entry.title}}"
src=
"{{ url_for('web.get_cover', book_id=entry.id) }}"
alt=
"{{ entry.title }}"
/>
{% if entry.id in read_book_ids %}
<span
class=
"badge read glyphicon glyphicon-ok"
></span>
{% endif %}
</span>
</a>
...
...
@@ -17,7 +17,7 @@
</div>
<div
class=
"meta"
>
<a
href=
"{{ url_for('web.show_book', book_id=entry.id) }}"
data-toggle=
"modal"
data-target=
"#bookDetailsModal"
data-remote=
"false"
>
<p
class=
"title"
>
{{entry.title|shortentitle}}
</p>
<p
title=
"{{ entry.title }}"
class=
"title"
>
{{entry.title|shortentitle}}
</p>
</a>
<p
class=
"author"
>
{% for author in entry.authors %}
...
...
cps/templates/grid.html
View file @
e69b1adc
...
...
@@ -29,14 +29,14 @@
<div
class=
"cover"
>
<a
href=
"{{url_for('web.books_list', data=data, sort_param='stored', book_id=entry[0].series[0].id )}}"
>
<span
class=
"img"
>
<img
src=
"{{ url_for('web.get_cover', book_id=entry[0].id) }}"
alt=
"{{ entry[0].name }}"
/>
<img
title=
"{{entry.title}}"
src=
"{{ url_for('web.get_cover', book_id=entry[0].id) }}"
alt=
"{{ entry[0].name }}"
/>
<span
class=
"badge"
>
{{entry.count}}
</span>
</span>
</a>
</div>
<div
class=
"meta"
>
<a
href=
"{{url_for('web.books_list', data=data, sort_param='stored', book_id=entry[0].series[0].id )}}"
>
<p
class=
"title"
>
{{entry[0].series[0].name|shortentitle}}
</p>
<p
title=
"{{entry[0].series[0].name|shortentitle}}"
class=
"title"
>
{{entry[0].series[0].name|shortentitle}}
</p>
</a>
</div>
</div>
...
...
cps/templates/index.html
View file @
e69b1adc
...
...
@@ -9,14 +9,14 @@
<div
class=
"cover"
>
<a
href=
"{{ url_for('web.show_book', book_id=entry.id) }}"
data-toggle=
"modal"
data-target=
"#bookDetailsModal"
data-remote=
"false"
>
<span
class=
"img"
>
<img
src=
"{{ url_for('web.get_cover', book_id=entry.id) }}"
alt=
"{{ entry.title }}"
/>
<img
title=
"{{ entry.title }}"
src=
"{{ url_for('web.get_cover', book_id=entry.id) }}"
alt=
"{{ entry.title }}"
/>
{% if entry.id in read_book_ids %}
<span
class=
"badge read glyphicon glyphicon-ok"
></span>
{% endif %}
</span>
</a>
</div>
<div
class=
"meta"
>
<a
href=
"{{ url_for('web.show_book', book_id=entry.id) }}"
data-toggle=
"modal"
data-target=
"#bookDetailsModal"
data-remote=
"false"
>
<p
class=
"title"
>
{{entry.title|shortentitle}}
</p>
<p
title=
"{{entry.title}}"
class=
"title"
>
{{entry.title|shortentitle}}
</p>
</a>
<p
class=
"author"
>
{% for author in entry.authors %}
...
...
@@ -86,14 +86,14 @@
<div
class=
"cover"
>
<a
href=
"{{ url_for('web.show_book', book_id=entry.id) }}"
data-toggle=
"modal"
data-target=
"#bookDetailsModal"
data-remote=
"false"
>
<span
class=
"img"
>
<img
src=
"{{ url_for('web.get_cover', book_id=entry.id) }}"
alt=
"{{ entry.title }}"
/>
<img
title=
"{{ entry.title }}"
src=
"{{ url_for('web.get_cover', book_id=entry.id) }}"
alt=
"{{ entry.title }}"
/>
{% if entry.id in read_book_ids %}
<span
class=
"badge read glyphicon glyphicon-ok"
></span>
{% endif %}
</span>
</a>
</div>
<div
class=
"meta"
>
<a
href=
"{{ url_for('web.show_book', book_id=entry.id) }}"
data-toggle=
"modal"
data-target=
"#bookDetailsModal"
data-remote=
"false"
>
<p
class=
"title"
>
{{entry.title|shortentitle}}
</p>
<p
title=
"{{ entry.title }}"
class=
"title"
>
{{entry.title|shortentitle}}
</p>
</a>
<p
class=
"author"
>
{% for author in entry.authors %}
...
...
cps/templates/search.html
View file @
e69b1adc
...
...
@@ -44,7 +44,7 @@
{% if entry.has_cover is defined %}
<a
href=
"{{ url_for('web.show_book', book_id=entry.id) }}"
data-toggle=
"modal"
data-target=
"#bookDetailsModal"
data-remote=
"false"
>
<span
class=
"img"
>
<img
src=
"{{ url_for('web.get_cover', book_id=entry.id) }}"
alt=
"{{ entry.title }}"
/>
<img
title=
"{{entry.title}}"
src=
"{{ url_for('web.get_cover', book_id=entry.id) }}"
alt=
"{{ entry.title }}"
/>
{% if entry.id in read_book_ids %}
<span
class=
"badge read glyphicon glyphicon-ok"
></span>
{% endif %}
</span>
</a>
...
...
@@ -52,7 +52,7 @@
</div>
<div
class=
"meta"
>
<a
href=
"{{ url_for('web.show_book', book_id=entry.id) }}"
data-toggle=
"modal"
data-target=
"#bookDetailsModal"
data-remote=
"false"
>
<p
class=
"title"
>
{{entry.title|shortentitle}}
</p>
<p
title=
"{{entry.title}}"
class=
"title"
>
{{entry.title|shortentitle}}
</p>
</a>
<p
class=
"author"
>
{% for author in entry.authors %}
...
...
cps/templates/shelf.html
View file @
e69b1adc
...
...
@@ -31,14 +31,14 @@
<div
class=
"cover"
>
<a
href=
"{{ url_for('web.show_book', book_id=entry.id) }}"
data-toggle=
"modal"
data-target=
"#bookDetailsModal"
data-remote=
"false"
>
<span
class=
"img"
>
<img
src=
"{{ url_for('web.get_cover', book_id=entry.id) }}"
alt=
"{{ entry.title }}"
/>
<img
title=
"{{entry.title}}"
src=
"{{ url_for('web.get_cover', book_id=entry.id) }}"
alt=
"{{ entry.title }}"
/>
{% if entry.id in read_book_ids %}
<span
class=
"badge read glyphicon glyphicon-ok"
></span>
{% endif %}
</span>
</a>
</div>
<div
class=
"meta"
>
<a
href=
"{{ url_for('web.show_book', book_id=entry.id) }}"
data-toggle=
"modal"
data-target=
"#bookDetailsModal"
data-remote=
"false"
>
<p
class=
"title"
>
{{entry.title|shortentitle}}
</p>
<p
title=
"{{entry.title}}"
class=
"title"
>
{{entry.title|shortentitle}}
</p>
</a>
<p
class=
"author"
>
{% for author in entry.authors %}
...
...
cps/templates/shelf_order.html
View file @
e69b1adc
...
...
@@ -9,9 +9,9 @@
<div
class=
"row"
>
<div
class=
"col-lg-2 col-sm-4 hidden-xs"
>
{% if entry['visible'] %}
<img
class=
"cover-height"
src=
"{{ url_for('web.get_cover', book_id=entry['Books']['id']) }}"
>
<img
title=
"{{entry.title}}"
class=
"cover-height"
src=
"{{ url_for('web.get_cover', book_id=entry['Books']['id']) }}"
>
{% else %}
<img
class=
"cover-height"
src=
"{{ url_for('static', filename='generic_cover.jpg') }}"
>
<img
title=
"{{entry.title}}"
class=
"cover-height"
src=
"{{ url_for('static', filename='generic_cover.jpg') }}"
>
{% endif %}
</div>
<div
class=
"col-lg-10 col-sm-8 col-xs-12"
>
...
...
cps/templates/shelfdown.html
View file @
e69b1adc
...
...
@@ -35,7 +35,7 @@
<div
class=
"col-sm-3 col-lg-2 col-xs-6 book"
>
<div
class=
"meta"
>
<p
class=
"title"
>
{{entry.title|shortentitle}}
</p>
<p
title=
"{{entry.title}}"
class=
"title"
>
{{entry.title|shortentitle}}
</p>
<p
class=
"author"
>
{% for author in entry.authors %}
<a
href=
"{{url_for('web.books_list', data='author', sort_param='new', book_id=author.id) }}"
>
{{author.name.replace('|',',')}}
</a>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment