improving display of active campaign notice

pull/1/head
Andromeda Yelton 2012-04-03 12:30:34 -04:00
parent 86834f5e99
commit 24674d8a2d
4 changed files with 15 additions and 22 deletions

View File

@ -6,7 +6,7 @@
<div class="comments_info">
<div class="comments_graphical">
<span>The rights holder, {{ rightsholder }}, has launched a campaign for <a href="{% url work id %}">{{ campaign.work.title }}</a>!</span>
<div>The rights holder, {{ rightsholder }}, has launched a campaign for <a href="{% url work id %}">{{ campaign.work.title }}</a>!</div>
</div>
<div class="comments_textual">
<div>Congratulations! You wished for a campaign, and here it is. If ungluers like you pledge {{ campaign.target }} by {{ campaign.deadline|date:"M d, Y" }}, {{ campaign.work.title }} will be released under a <a href="http://creativecommons.org">Creative Commons</a> license for all to enjoy.</div>

View File

@ -248,22 +248,10 @@ $j(document).ready(function(){
<p>This work has been claimed by {{ rights_holder_name }}. The claim has been registered and approved by Unglue.It staff.</p>
{% else %}
{% if claimstatus == 'disputed' %}
<p>The rights to this work are disputed.</p>
<p>Rights claims are pending.</p>
{% else %}
{% if claimstatus == 'one_pending' %}
<p>This work has been claimed by {{ rights_holder_name }}. The claim is being verified by Unglue.It staff.</p>
{% if request.user.rights_holder.all.count %}
Should you be authorized to run campaigns for this work instead? Select a rights holder:<br /><br />
<form method="GET" action="{% url claim %}">
{% csrf_token %}
{{ claimform.user }}
{{ claimform.work }}
{{ claimform.rights_holder }}
<input type="submit" name="submit" value="Claim">
</form><br />
{% endif %}
{% else %}
{% if request.user.rights_holder.all.count %}
Is this work yours? Claim it: <br /><br />

View File

@ -150,14 +150,16 @@ input[type="submit"] {
border: solid 3px #d6dde0;
margin: 3px auto;
}
.comments div {
float: left;
}
.comments .comments_book {
padding: 5px;
border: solid 5px #EDF3F4;
float: left;
margin: 5px;
}
.comments .comments_info {
float: left;
max-width: 500px;
}
.comments .comments_info .comments_graphical {
border-bottom: solid 1px #d6dde0;
@ -165,5 +167,5 @@ input[type="submit"] {
padding-bottom: 5px;
}
.comments .comments_info .comments_textual {
margin: auto 5px;
margin: 10px 5px auto;
}

View File

@ -56,14 +56,17 @@ input[type="submit"] {
border: solid 3px @blue-grey;
margin: 3px auto;
div {
float: left;
}
.comments_book {
.mediaborder;
float: left;
margin: 5px;
}
.comments_info {
float: left;
max-width: 500px;
.comments_graphical {
border-bottom: solid 1px @blue-grey;
@ -72,7 +75,7 @@ input[type="submit"] {
}
.comments_textual {
margin: auto 5px;
margin: 10px 5px auto;
}
}
}