diff --git a/cps/static/css/style.css b/cps/static/css/style.css index e136fedf..214172c1 100644 --- a/cps/static/css/style.css +++ b/cps/static/css/style.css @@ -52,3 +52,54 @@ span.glyphicon.glyphicon-tags {padding-right: 5px;color: #999;vertical-align: te .spinner {margin:0 41%;} .spinner2 {margin:0 41%;} +* .ebook-icon{ + padding: 1em; + background-image: ; + background-size: contain; + background-repeat: no-repeat; + background-position: center; +} + +.ebook-icon.ebook-epub{ + background-image: + url( + data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/PjwhRE9DVFlQRSBzdmcgIFBVQkxJQyAnLS8vVzNDLy9EVEQgU1ZHIDEuMS8vRU4nICAnaHR0cDovL3d3dy53My5vcmcvR3JhcGhpY3MvU1ZHLzEuMS9EVEQvc3ZnMTEuZHRkJz48c3ZnIGVuYWJsZS1iYWNrZ3JvdW5kPSJuZXcgMCAwIDEyOCAxMjgiIGlkPSLQodC70L7QuV8xIiB2ZXJzaW9uPSIxLjEiIHZpZXdCb3g9IjAgMCAxMjggMTI4IiB4bWw6c3BhY2U9InByZXNlcnZlIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIj48Zz48Zz48cGF0aCBkPSJNMTA5LDM0djc1YzAsOC4zLTYuNywxNS0xNSwxNUgzNGMtOC4zLDAtMTUtNi43LTE1LTE1VjE5YzAtOC4zLDYuNy0xNSwxNS0xNWg0NUwxMDksMzR6IiBmaWxsPSIjRjZGM0UwIi8+PC9nPjxnPjxwYXRoIGQ9Ik05NCwxMjUuMkgzNGMtOSwwLTE2LjItNy4zLTE2LjItMTYuMlYxOUMxNy44LDEwLDI1LDIuOCwzNCwyLjhoNDVjMC4zLDAsMC42LDAuMSwwLjksMC40bDMwLDMwICAgIGMwLjIsMC4yLDAuNCwwLjYsMC40LDAuOXY3NUMxMTAuMiwxMTgsMTAzLDEyNS4yLDk0LDEy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4yLDFjLTAuOCwwLTEuMy0wLjQtMS4zLTEuMVY1MC40YzAtMC44LDAuNS0xLjEsMS4zLTEuMWMwLjcsMCwxLjIsMC40LDEuMiwxLjF2Ni4yYzAsMC42LTAuMSwxLjQtMC4xLDIuMSAgICBjMS0yLDIuNy0zLjIsNS4zLTMuMmM0LjIsMCw2LjcsMy4xLDYuNyw4LjFjMCw1LTIuNiw4LjMtNi44LDguM2MtMi42LDAtNC4zLTEuMy01LjItMy4yYzAuMSwwLjQsMC4xLDEsMC4xLDEuNFY3MC41eiBNOTAuMyw2My42ICAgIGMwLDMuNSwxLjgsNiw0LjgsNmMyLjksMCw0LjUtMi40LDQuNS02LjFjMC0zLjctMS42LTYtNC40LTZDOTIuMSw1Ny42LDkwLjMsNjAuMSw5MC4zLDYzLjZ6IiBmaWxsPSIjMkQyRTJEIiBzdHJva2U9IiMyRDJFMkQiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIgc3Ryb2tlLW1pdGVybGltaXQ9IjEwIi8+PC9nPjwvZz48L3N2Zz4= + ) + ; + background-size: contain; + background-repeat: no-repeat; + background-position: center; +} + +.ebook-icon.ebook-pdf{ + background-image: + url( + data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/PjwhRE9DVFlQRSBzdmcgIFBVQkxJQyAnLS8vVzNDLy9EVEQgU1ZHIDEuMS8vRU4nICAnaHR0cDovL3d3dy53My5vcmcvR3JhcGhpY3MvU1ZHLzEuMS9EVEQvc3ZnMTEuZHRkJz48c3ZnIGVuYWJsZS1iYWNrZ3JvdW5kPSJuZXcgMCAwIDEyOCAxMjgiIGlkPSLQodC70L7QuV8xIiB2ZXJzaW9uPSIxLjEiIHZpZXdCb3g9IjAgMCAxMjggMTI4IiB4bWw6c3BhY2U9InByZXNlcnZlIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8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uNiwwLjEsMi40LDAuM2MwLjUsMC4yLDAuOCwwLjYsMC44LDFjMCwwLjIsMCwwLjQtMC4xLDAuNWMtMC4yLDAuNS0wLjYsMC44LTEuMSwwLjggICAgYy0wLjEsMC0wLjMsMC0wLjUtMC4xYy0wLjUtMC4yLTEtMC4zLTEuNi0wLjNjLTEsMC0xLjgsMC42LTEuOCwyLjZ2MS43aDMuNGMwLjcsMCwxLDAuNSwxLDEuMmMwLDAuNi0wLjQsMS4xLTEsMS4xaC0zLjR2MTIuNSAgICBjMCwwLjgtMC41LDEuMS0xLjMsMS4xYy0wLjgsMC0xLjMtMC40LTEuMy0xLjFWNThoLTIuNGMtMC43LDAtMS0wLjQtMS0xLjFzMC4zLTEuMiwxLTEuMmgyLjRWNTMuN3oiIGZpbGw9IiMyRDJFMkQiIHN0cm9rZT0iIzJEMkUyRCIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIiBzdHJva2UtbWl0ZXJsaW1pdD0iMTAiLz48L2c+PC9nPjwvc3ZnPg== + ) + ; + background-size: contain; + background-repeat: no-repeat; + background-position: center; +} + +.ebook-icon.ebook-fb2{ + background-image: + url( + data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/PjwhRE9DVFlQRSBzdmcgIFBVQkxJQyAnLS8vVzNDLy9EVEQgU1ZHIDEuMS8vRU4nICAnaHR0cDovL3d3dy53My5vcmcvR3JhcGhpY3MvU1ZHLzEuMS9EVEQvc3ZnMTEuZHRkJz48c3ZnIGVuYWJsZS1iYWNrZ3JvdW5kPSJuZXcgMCAwIDEyOCAxMjgiIGlkPSLQodC70L7QuV8xIiB2ZXJzaW9uPSIxLjEiIHZpZXdCb3g9IjAgMCAxMjggMTI4IiB4bWw6c3BhY2U9InByZXNlcnZlIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOT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uNGMtMy4zLDAtNC40LDEuOS00LjksMy45Yy0wLjIsMC42LTAuNywwLjktMS4yLDAuOWMtMC4xLDAtMC4zLDAtMC40LDAgICAgYy0wLjYtMC4xLTEuMS0wLjUtMS4xLTEuMmMwLTAuMSwwLTAuMywwLjEtMC40YzAuMy0xLjIsMC45LTIuNSwxLjktMy40YzEuMy0xLjIsMy4xLTIsNS44LTJjNC4zLDAsNywyLjIsNyw1LjggICAgYzAsMy40LTIuMiw1LTQuNyw2LjZsLTEuOSwxLjFjLTMuMSwyLTQuOSwzLjgtNS42LDYuNEg5My4xeiIgZmlsbD0iIzJEMkUyRCIgc3Ryb2tlPSIjMkQyRTJEIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiIHN0cm9rZS1taXRlcmxpbWl0PSIxMCIvPjwvZz48L2c+PC9zdmc+ + ) + ; + background-size: contain; + background-repeat: no-repeat; + background-position: center; +} + +.ebook-icon.ebook-mobi{ + background-image: + url( + data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/PjwhRE9DVFlQRSBzdmcgIFBVQkxJQyAnLS8vVzNDLy9EVEQgU1ZHIDEuMS8vRU4nICAnaHR0cDovL3d3dy53My5vcmcvR3JhcGhpY3MvU1ZHLzEuMS9EVEQvc3ZnMTEuZHRkJz48c3ZnIGVuYWJsZS1iYWNrZ3JvdW5kPSJuZXcgMCAwIDEyOCAxMjgiIGlkPSLQodC70L7QuV8xIiB2ZXJzaW9uPSIxLjEiIHZpZXdCb3g9IjAgMCAxMjggMTI4IiB4bWw6c3BhY2U9InByZXNlcnZlIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIj48Zz48Zz48cGF0aCBkPSJNMTA5LDM0djc1YzAsOC4zLTYuNywxNS0xNSwxNUgzNGMtOC4zLDAtMTUtNi43LTE1LTE1Vj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DYuNyw4LjFjMCw1LTIuNiw4LjMtNi44LDguM2MtMi42LDAtNC4zLTEuMy01LjItMy4yYzAuMSwwLjQsMC4xLDEsMC4xLDEuNFY3MC41eiBNODIuNiw2My42ICAgIGMwLDMuNSwxLjgsNiw0LjgsNmMyLjksMCw0LjUtMi40LDQuNS02LjFjMC0zLjctMS42LTYtNC40LTZDODQuNCw1Ny42LDgyLjYsNjAuMSw4Mi42LDYzLjZ6IiBmaWxsPSIjMkQyRTJEIiBzdHJva2U9IiMyRDJFMkQiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIgc3Ryb2tlLW1pdGVybGltaXQ9IjEwIi8+PHBhdGggZD0iTTEwMSw1MS4xICAgIGMwLDEuMS0wLjgsMS45LTEuOSwxLjljLTEuMSwwLTEuOS0wLjgtMS45LTEuOWMwLTEuMSwwLjgtMS45LDEuOS0xLjlDMTAwLjEsNDkuMiwxMDEsNTAsMTAxLDUxLjF6IE05Ny44LDU2LjcgICAgYzAtMC43LDAuNS0xLjEsMS4zLTEuMWMwLjgsMCwxLjMsMC40LDEuMywxLjF2MTMuOGMwLDAuOC0wLjUsMS4xLTEuMywxLjFjLTAuOCwwLTEuMy0wLjQtMS4zLTEuMVY1Ni43eiIgZmlsbD0iIzJEMkUyRCIgc3Ryb2tlPSIjMkQyRTJEIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiIHN0cm9rZS1taXRlcmxpbWl0PSIxMCIvPjwvZz48L2c+PC9zdmc+ + ) + ; + background-size: contain; + background-repeat: no-repeat; + background-position: center; +} diff --git a/cps/templates/detail.html b/cps/templates/detail.html index 44fc8f55..c53c5fd3 100644 --- a/cps/templates/detail.html +++ b/cps/templates/detail.html @@ -63,7 +63,7 @@

- + {% for tag in entry.tags %} {{tag.name}} {%endfor%} @@ -85,7 +85,7 @@
{% for c in cc %} {% if entry['custom_column_' ~ c.id]|length > 0 %} - {{ c.name }}: + {{ c.name }}: {% for column in entry['custom_column_' ~ c.id] %} {% if c.datatype == 'rating' %} {{ '%d' % (column.value / 2) }} @@ -106,7 +106,7 @@ {% endfor %}

- {% endif %} + {% endif %} {% if not g.user.is_anonymous() %}

@@ -117,7 +117,7 @@

{% endif %} - + {% if entry.comments|length > 0 and entry.comments[0].text|length > 0%}

{{_('Description:')}}

@@ -130,15 +130,18 @@
{% if g.user.role_download() %}
- -
{% endif %} @@ -160,7 +163,7 @@
{% endif %} -
+
{% if g.user.is_authenticated %} @@ -183,7 +186,7 @@ {% endif %} {%endfor%} - + {% if books_shelfs %}
{% for shelf in g.user.shelf %} @@ -247,5 +250,3 @@ }); {% endblock %} - - diff --git a/cps/templates/stats.html b/cps/templates/stats.html index 4b08afda..6745e908 100644 --- a/cps/templates/stats.html +++ b/cps/templates/stats.html @@ -88,7 +88,18 @@ - + + + + + + + + + + + + + +
{{_('File License')}}{{_('License Type')}}
File Document Icon By Sergei KokotaCreative Commons (Attribution 3.0 Unported)
{% endblock %} - -