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
21c2ee4d
Commit
21c2ee4d
authored
Feb 04, 2018
by
OzzieIsaacs
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix for #443
parent
73718031
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
31 additions
and
28 deletions
+31
-28
detail.html
cps/templates/detail.html
+31
-28
No files found.
cps/templates/detail.html
View file @
21c2ee4d
...
@@ -15,6 +15,7 @@
...
@@ -15,6 +15,7 @@
<div
class=
"btn-toolbar"
role=
"toolbar"
>
<div
class=
"btn-toolbar"
role=
"toolbar"
>
<div
class=
"btn-group"
role=
"group"
aria-label=
"Download, send to Kindle, reading"
>
<div
class=
"btn-group"
role=
"group"
aria-label=
"Download, send to Kindle, reading"
>
{% if g.user.role_download() %}
{% if g.user.role_download() %}
{% if entry.data|length %}
<div
class=
"btn-group"
role=
"group"
>
<div
class=
"btn-group"
role=
"group"
>
{% if entry.data|length
<
3
%}
{% if entry.data|length
<
3
%}
<
button
type=
"button"
class=
"btn btn-primary"
>
<
button
type=
"button"
class=
"btn btn-primary"
>
...
@@ -38,10 +39,11 @@
...
@@ -38,10 +39,11 @@
{% endif %}
{% endif %}
</div>
</div>
{% endif %}
{% endif %}
{% endif %}
{% if g.user.kindle_mail and g.user.is_authenticated %}
{% if g.user.kindle_mail and g.user.is_authenticated %}
<a
href=
"{{url_for('send_to_kindle', book_id=entry.id)}}"
id=
"sendbtn"
class=
"btn btn-primary"
role=
"button"
><span
class=
"glyphicon glyphicon-send"
></span>
{{_('Send to Kindle')}}
</a>
<a
href=
"{{url_for('send_to_kindle', book_id=entry.id)}}"
id=
"sendbtn"
class=
"btn btn-primary"
role=
"button"
><span
class=
"glyphicon glyphicon-send"
></span>
{{_('Send to Kindle')}}
</a>
{% endif %}
{% endif %}
{% if entry.data|length %}
<div
class=
"btn-group"
role=
"group"
>
<div
class=
"btn-group"
role=
"group"
>
<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"
data-toggle=
"dropdown"
aria-haspopup=
"true"
aria-expanded=
"false"
>
<span
class=
"glyphicon glyphicon-eye-open"
></span>
{{_('Read in browser')}}
<span
class=
"glyphicon glyphicon-eye-open"
></span>
{{_('Read in browser')}}
...
@@ -55,6 +57,7 @@
...
@@ -55,6 +57,7 @@
{%endfor%}
{%endfor%}
</ul>
</ul>
</div>
</div>
{% endif %}
</div>
</div>
</div>
</div>
<h2>
{{entry.title}}
</h2>
<h2>
{{entry.title}}
</h2>
...
...
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