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
45eeb658
Commit
45eeb658
authored
Apr 12, 2017
by
林檎
Committed by
林檎
Apr 26, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Change Download Style.
parent
b8fa748c
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
80 additions
and
17 deletions
+80
-17
style.css
cps/static/css/style.css
+51
-0
detail.html
cps/templates/detail.html
+15
-14
stats.html
cps/templates/stats.html
+14
-3
No files found.
cps/static/css/style.css
View file @
45eeb658
This diff is collapsed.
Click to expand it.
cps/templates/detail.html
View file @
45eeb658
...
@@ -130,15 +130,18 @@
...
@@ -130,15 +130,18 @@
<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() %}
<div
class=
"btn-group"
role=
"group"
>
<div
class=
"btn-group"
role=
"group"
>
<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"
>
<span
class=
"glyphicon glyphicon-download"
></span>
{{_('Download')}}
{{_('Download')}} :
<span
class=
"caret"
></span>
</button>
</button>
<ul
class=
"dropdown-menu"
aria-labelledby=
"btnGroupDrop1"
>
{% for format in entry.data %}
{% for format in entry.data %}
<li><a
href=
"{{ url_for('get_download_link_ext', book_id=entry.id, book_format=format.format|lower, anyname=entry.id|string+'.'+format.format) }}"
>
{{format.format}}
</a></li>
<button
id=
"btnGroupDrop1{{format.format|lower}}"
type=
"button"
class=
"btn btn-primary"
>
<a
href=
"{{ url_for('get_download_link_ext', book_id=entry.id, book_format=format.format|lower, anyname=entry.id|string+'.'+format.format) }}"
>
<span
class=
"glyphicon glyphicon-download"
></span>
{{format.format}}
<span
class=
"ebook-icon ebook-{{format.format|lower}}"
></span>
</a>
</button>
{%endfor%}
{%endfor%}
</ul>
</div>
</div>
{% endif %}
{% endif %}
...
@@ -247,5 +250,3 @@
...
@@ -247,5 +250,3 @@
});
});
</script>
</script>
{% endblock %}
{% endblock %}
cps/templates/stats.html
View file @
45eeb658
...
@@ -88,7 +88,18 @@
...
@@ -88,7 +88,18 @@
</tr>
</tr>
</tbody>
</tbody>
</table>
</table>
<table
id=
"libs"
class=
"table"
>
<thead>
<tr>
<th>
{{_('File License')}}
</th>
<th>
{{_('License Type')}}
</th>
</tr>
</thead>
<tbody>
<tr>
<th><a
href=
"//www.iconfinder.com/iconsets/document-file"
>
File Document Icon
</a>
By
<a
href=
"//www.iconfinder.com/Zerg"
>
Sergei Kokota
</a></th>
<td><a
href=
"//creativecommons.org/licenses/by/3.0/"
>
Creative Commons (Attribution 3.0 Unported)
</a></td>
</tr>
</tbody>
</table>
{% endblock %}
{% endblock %}
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