now ungluer avatar and book cover in who's ungluing list on landing page are clickable

pull/1/head
Andromeda Yelton 2011-12-13 10:50:21 -05:00
parent 0cfb08ad18
commit 8848ce9a0b
3 changed files with 14 additions and 7 deletions

View File

@ -155,7 +155,7 @@ var $j = jQuery.noConflict();
<input type="submit" value="sign up" />
</div>
<div>
<p><a href="/socialauth/login/google?next=http://{{ request.get_host }}{{ next }}"><img src="{{ STATIC_URL }}/images/auth/google_64.png">Sign In With Google</a></p>
<p><a href="/socialauth/login/google?next=http://{{ request.get_host }}{{ next }}"><img src="{{ STATIC_URL }}/images/auth/google_64.png">Sign Up With Google</a></p>
</div>
</div>
</div>
@ -165,12 +165,12 @@ var $j = jQuery.noConflict();
<ul class="ungluingwhat">
{% for event in events %}
<li>
<div class="user-avatar"><img src="{% if event.wishlist.user.picurl %}{{ event.wishlist.user.picurl}}{% else %}/static/images/landingpage/user-avatar.png{% endif %}" width="43" height="43" title="{{event.wishlist.user.username}}" alt="{{event.wishlist.user.username}} avatar" /></div>
<div class="user-avatar"><a href="{% url supporter event.wishlist.user.username %}"><img src="{% if event.wishlist.user.picurl %}{{ event.wishlist.user.picurl}}{% else %}/static/images/landingpage/user-avatar.png{% endif %}" width="43" height="43" title="{{event.wishlist.user.username}}" alt="{{event.wishlist.user.username}} avatar" /></a></div>
<div class="user-book-info">
<p class="user-book-info"><a href="{% url supporter event.wishlist.user.username %}">{{event.wishlist.user.username}}</a> is Wishing For </p>
<p class="user-book-info"><a href="{% url supporter event.wishlist.user.username %}">{{event.wishlist.user.username}}</a> is Wishing For</p>
<a class="user-book-name" href="{% url work event.work.id %}">{{ event.work.title }}</a>
</div>
<div class="user-book-thumb"><img src="{{ event.work.cover_image_thumbnail }}" width="29" height="43" title="{{ event.work.title }}" alt="Very Long Book Title" /></div>
<div class="user-book-thumb"><a class="user-book-name" href="{% url work event.work.id %}"><img src="{{ event.work.cover_image_thumbnail }}" width="29" height="43" title="{{ event.work.title }}" alt="Very Long Book Title" /></a></div>
</li>
{% endfor %}
</ul>

View File

@ -158,11 +158,14 @@ ul.ungluingwhat .user-book-info p {
}
ul.ungluingwhat .user-book-info a {
display: block;
padding: 0 5px;
padding: 0;
color: #3d4e53;
font-size: 11px;
text-decoration: underline;
}
ul.ungluingwhat .user-book-info a.user-book-name {
padding: 0 5px;
}
div.typo2 {
background: #edf3f4;
-moz-border-radius: 12px 12px 12px 12px;

View File

@ -165,7 +165,7 @@ ul.ungluingwhat {
.user-book-thumb {
width:29px;
}
.user-book-info {
width:135px;
color:@text-blue;
@ -178,11 +178,15 @@ ul.ungluingwhat {
a {
display:block;
padding:0 5px;
padding:0;
color:@text-blue;
font-size:11px;
text-decoration:underline;
}
a.user-book-name {
padding: 0 5px;
}
}
}