remove hard tabs
parent
55656e2d3d
commit
3282a24f7c
|
@ -14,9 +14,9 @@
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
jQuery(document).ready(function(){
|
jQuery(document).ready(function(){
|
||||||
jQuery('#embed').click(function(){
|
jQuery('#embed').click(function(){
|
||||||
jQuery('div#widgetcode').toggle();
|
jQuery('div#widgetcode').toggle();
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
@ -95,19 +95,19 @@ jQuery(document).ready(function(){
|
||||||
{{ wishers }} Ungluers have
|
{{ wishers }} Ungluers have
|
||||||
{% endif %}wished for this Work</div><div class="status"><img src="/static/images/images/icon-book-37by25-{{ work.percent_unglued }}.png" /></div></div>
|
{% endif %}wished for this Work</div><div class="status"><img src="/static/images/images/icon-book-37by25-{{ work.percent_unglued }}.png" /></div></div>
|
||||||
<div class="btn_support">
|
<div class="btn_support">
|
||||||
{% if request.user.is_anonymous %}
|
{% if request.user.is_anonymous %}
|
||||||
<div class="create-account">
|
<div class="create-account">
|
||||||
<span title="{% url work work.id %}">Login to Add</span>
|
<span title="{% url work work.id %}">Login to Add</span>
|
||||||
</div>
|
</div>
|
||||||
{% else %}{% if work in request.user.wishlist.works.all %}
|
{% else %}{% if work in request.user.wishlist.works.all %}
|
||||||
<div class="remove-wishlist">
|
<div class="remove-wishlist">
|
||||||
<span id="{{ work.id }}">Remove This</span>
|
<span id="{{ work.id }}">Remove This</span>
|
||||||
</div>
|
</div>
|
||||||
{% else %}
|
{% else %}
|
||||||
<div class="add-wishlist">
|
<div class="add-wishlist">
|
||||||
<span id="{{ work.googlebooks_id }}">Add to Wishlist</span>
|
<span id="{{ work.googlebooks_id }}">Add to Wishlist</span>
|
||||||
</div>
|
</div>
|
||||||
{% endif %}{% endif %}
|
{% endif %}{% endif %}
|
||||||
</div>
|
</div>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</div>
|
</div>
|
||||||
|
@ -153,17 +153,17 @@ jQuery(document).ready(function(){
|
||||||
<div class="tabs-content">
|
<div class="tabs-content">
|
||||||
{% for supporter in work.wished_by %}
|
{% for supporter in work.wished_by %}
|
||||||
<div class="work_supporter">
|
<div class="work_supporter">
|
||||||
<a href="/supporter/{{supporter}}">
|
<a href="/supporter/{{supporter}}">
|
||||||
<div class="work_supporter_avatar">
|
<div class="work_supporter_avatar">
|
||||||
{% if supporter.profile.pic_url %}
|
{% if supporter.profile.pic_url %}
|
||||||
<img class="user-avatar" src="{{ supporter.profile.pic_url }}" height="50" width="50" alt="Picture of {{ supporter }}" title="{{ supporter }}" />
|
<img class="user-avatar" src="{{ supporter.profile.pic_url }}" height="50" width="50" alt="Picture of {{ supporter }}" title="{{ supporter }}" />
|
||||||
{% else %}
|
{% else %}
|
||||||
<img class="user-avatar" src="/static/images/header/avatar.png" height="50" width="50" alt="Generic Ungluer Avatar" title="Ungluer" />
|
<img class="user-avatar" src="/static/images/header/avatar.png" height="50" width="50" alt="Generic Ungluer Avatar" title="Ungluer" />
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</div>
|
</div>
|
||||||
<div class="work_supporter_name">{{supporter }}</div>
|
<div class="work_supporter_name">{{supporter }}</div>
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -198,8 +198,8 @@ jQuery(document).ready(function(){
|
||||||
|
|
||||||
<h4>Editions</h4>
|
<h4>Editions</h4>
|
||||||
{% for edition in editions %}
|
{% for edition in editions %}
|
||||||
<div class="editions"><div><img src="http://bks{% cycle '1' '2' '3' '4' '5' '6' '7' '8' '9' %}.books.google.com/books?id={{ edition.googlebooks_id }}&printsec=frontcover&img=1&zoom=5" /></div><div class="metadata">{{edition.publisher}}<br />{{edition.publication_date}}<br /><a href="http://bks{% cycle '1' '2' '3' '4' '5' '6' '7' '8' '9' %}.books.google.com/books?id={{ edition.googlebooks_id }}">This edition on Google Books</a></div></div>
|
<div class="editions"><div><img src="http://bks{% cycle '1' '2' '3' '4' '5' '6' '7' '8' '9' %}.books.google.com/books?id={{ edition.googlebooks_id }}&printsec=frontcover&img=1&zoom=5" /></div><div class="metadata">{{edition.publisher}}<br />{{edition.publication_date}}<br /><a href="http://bks{% cycle '1' '2' '3' '4' '5' '6' '7' '8' '9' %}.books.google.com/books?id={{ edition.googlebooks_id }}">This edition on Google Books</a></div></div>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in New Issue