Skip to content

Commit

Permalink
fix empty action style
Browse files Browse the repository at this point in the history
  • Loading branch information
octavioamu committed Feb 15, 2020
1 parent dd07d3f commit bb74bc3
Show file tree
Hide file tree
Showing 2 changed files with 92 additions and 91 deletions.
7 changes: 5 additions & 2 deletions app/assets/v2/css/town_square.css
Original file line number Diff line number Diff line change
Expand Up @@ -321,7 +321,7 @@ a.offer_container:hover {
text-decoration: none;
background: var(--gc-purple-hover);
}
.offer_container.animate:hover .prize-gift::after {
a.offer_container.animate:hover .prize-gift::after {
animation: pulse-white 4s linear infinite, rotate 10s linear infinite;
}

Expand Down Expand Up @@ -371,10 +371,13 @@ a.offer_container:hover {
}

.empty .prize-gift {
border-color: grey;
color: grey;
text-shadow: 0 2px 0px grey;
}

.empty .prize-gift i {
color: #c1c1c1;
}

.offer_container.random.empty,
.offer_container.secret.empty{
Expand Down
176 changes: 87 additions & 89 deletions app/townsquare/templates/townsquare/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -310,103 +310,101 @@ <h4 class="p-0 offer_container_type">{{type|title}} Action</h4>
</div>
{% endif %}
{% endfor %}
<a href="/action/new" class="font-smaller-2 mb-2">
<i class="fa fa-plus-circle" aria-hidden="true"></i>
Create Action
</a>
<a href="/action/new" class="font-smaller-2 mb-2">
<i class="fa fa-plus-circle" aria-hidden="true"></i>
Create Action
</a>
<hr>

<hr>
{% if current_match_round %}
<div class="clr_container mt-2">
<div class="townsquare_block-header text-leftmb-1">
${{current_match_round.amount|floatformat:0}} Distribution #{{current_match_round.number}}
<a href="https://medium.com/gitcoin/experiments-with-liberal-radicalism-ad68e02efd4" target="blank"><i data-toggle="tooltip" data-html="true" class="fas fa-info-circle mr-3" title="
<strong>Gitcoin is reinvesting in it's community</strong>
<br>
<br>
{% if current_match_round %}
<div class="clr_container mt-2">
<div class="townsquare_block-header text-leftmb-1">
${{current_match_round.amount|floatformat:0}} Distribution #{{current_match_round.number}}
<a href="https://medium.com/gitcoin/experiments-with-liberal-radicalism-ad68e02efd4" target="blank"><i data-toggle="tooltip" data-html="true" class="fas fa-info-circle mr-3" title="
<strong>Gitcoin is reinvesting in it's community</strong>
<br>
<br>
For the next {{current_match_round.valid_to|naturaltime}}, Gitcoin will be matching your newsfeed tips with ${{current_match_round.amount|floatformat:0}} in ETH.
<br>
<br>
The matching algorithm that Gitcoin uses (CLR), weights breadth of contributions (diversity in who you received from) greater than depth of contributions (total $$ received).
For the next {{current_match_round.valid_to|naturaltime}}, Gitcoin will be matching your newsfeed tips with ${{current_match_round.amount|floatformat:0}} in ETH.
<br>
<br>
The matching algorithm that Gitcoin uses (CLR), weights breadth of contributions (diversity in who you received from) greater than depth of contributions (total $$ received).
<br>
<br>
This rewards the most helpful community members.
<br>
<br>
This rewards the most helpful community members.
<br>
<br>
<br>
<br>
<strong>How do you earn this way?</strong> Well the TLDR is
<strong>How do you earn this way?</strong> Well the TLDR is
<br>
1. the more value you add, the more people send you micro-tips
<br>
2. we match contributions most to users who receive micro-tips from the many different people
<br>
3. this incentivizes healthy behaviour on Gitcoin.
<br>
<br>
<strong>How do you get started?</strong>
<br>
1. the more value you add, the more people send you micro-tips
<br>
2. we match contributions most to users who receive micro-tips from the many different people
<br>
3. this incentivizes healthy behaviour on Gitcoin.
<br>
<br>
<strong>How do you get started?</strong>
<br>
1. If someone posts asking for help, do your best to be helpful.
<br>
2. If someone is helpful to you, send them a micro-tip.
<br>
3. The CLR matching algorithm will match 0.001 ETH contributions with up to 0.1 ETH in matching funds.
<br>
<br>
<br>
1. If someone posts asking for help, do your best to be helpful.
<br>
2. If someone is helpful to you, send them a micro-tip.
<br>
3. The CLR matching algorithm will match 0.001 ETH contributions with up to 0.1 ETH in matching funds.
<br>
<br>
<strong>Want to learn more about how it works?</strong> Click here. " ></i>
</a>
</div>
<div class="grey">
</p>
<table>
<tr class="title">
<td>
&nbsp;
</td>
<td data-toggle="tooltip" title="Who dat?!??">
Who
</td>
<td data-toggle="tooltip" title="How much dat user earned via the CLR algorithm.">
Haul
</td>
</tr>
{% for mli in matching_leaderboard %}
<tr>
<td>
{{mli.i}}
</td>
<td>
<a href="/profile/{{mli.handle}}">
<img src='/dynamic/avatar/{{mli.handle}}' data-toggle="tooltip" title="@{{mli.handle}}">
</a>
{% if mli.you %}
<br>
<span class="tag">
it me
</span>
{% endif %}
</td>
<td class="text-right" data-toggle="tooltip" title="@{{mli.handle}} got {{mli.contributions}} contribution{{mli.contributions|pluralize}} worth ${{mli.amount}} since {{current_match_round.valid_from|date:'Y-m-d'}} ({{current_match_round.valid_from|naturaltime}}), and will recieve about ${{mli.match_amount}} in matching on {{current_match_round.valid_to|date:'Y-m-d'}} ({{current_match_round.valid_to|naturaltime}})">
{{mli.contributions}} x
${{mli.amount}} =
${{mli.match_amount}}
<br>
{% if not mli.following %}
<a class="btn btn-gc-blue btn-sm follow_button mt-2" data-jointribe='{{mli.handle}}' href="#">Follow </a>
{% endif %}
</td>
</tr>
{% endfor %}
</table>
</div>
</div>
{% endif %}
<strong>Want to learn more about how it works?</strong> Click here. " ></i>
</a>
</div>
<div class="grey">
<table>
<tr class="title">
<td>
&nbsp;
</td>
<td data-toggle="tooltip" title="Who dat?!??">
Who
</td>
<td data-toggle="tooltip" title="How much dat user earned via the CLR algorithm.">
Haul
</td>
</tr>
{% for mli in matching_leaderboard %}
<tr>
<td>
{{mli.i}}
</td>
<td>
<a href="/profile/{{mli.handle}}">
<img src='/dynamic/avatar/{{mli.handle}}' data-toggle="tooltip" title="@{{mli.handle}}">
</a>
{% if mli.you %}
<br>
<span class="tag">
it me
</span>
{% endif %}
</td>
<td class="text-right" data-toggle="tooltip" title="@{{mli.handle}} got {{mli.contributions}} contribution{{mli.contributions|pluralize}} worth ${{mli.amount}} since {{current_match_round.valid_from|date:'Y-m-d'}} ({{current_match_round.valid_from|naturaltime}}), and will recieve about ${{mli.match_amount}} in matching on {{current_match_round.valid_to|date:'Y-m-d'}} ({{current_match_round.valid_to|naturaltime}})">
{{mli.contributions}} x
${{mli.amount}} =
${{mli.match_amount}}
<br>
{% if not mli.following %}
<a class="btn btn-gc-blue btn-sm follow_button mt-2" data-jointribe='{{mli.handle}}' href="#">Follow </a>
{% endif %}
</td>
</tr>
{% endfor %}
</table>
</div>
</div>
{% endif %}

</div>
</div>
Expand Down

0 comments on commit bb74bc3

Please sign in to comment.