mirror of
https://github.com/sudoxnym/habitica-self-host.git
synced 2026-08-01 03:30:25 +00:00
add adsense in for now (monitization test)
This commit is contained in:
parent
63c69bbb6b
commit
5e0ffce9bb
2 changed files with 25 additions and 4 deletions
|
|
@ -85,8 +85,11 @@ li:hover .task-meta-controls .hover-show
|
|||
img
|
||||
height:20px
|
||||
|
||||
.item-buy-link
|
||||
background-color: #ccffcc
|
||||
.item-buy-link
|
||||
background-color: #ccffcc
|
||||
|
||||
.new-task-form
|
||||
margin-bottom:5px;
|
||||
|
||||
#character
|
||||
|
||||
|
|
|
|||
|
|
@ -217,7 +217,8 @@
|
|||
</div>
|
||||
|
||||
<!-- Stripe Modal -->
|
||||
<app:myModal modalId="stripe-modal" header='Buy More Tokens'>
|
||||
<app:myModal modalId="stripe-modal" header='Checkout'>
|
||||
<p class='alert alert-info'>Adds 20 tokens and removes ads.</p>
|
||||
<div class='payment-errors'></div>
|
||||
<!-- Stripe form from https://stripe.com/docs/tutorials/forms -->
|
||||
<form action="/" method="POST" id="payment-form" x-bind=submit:submitPayment>
|
||||
|
|
@ -307,11 +308,28 @@
|
|||
<!--<span class="well pull-right">Tokens: {tokens(_user.balance)}</span>-->
|
||||
|
||||
<newTask: nonvoid>
|
||||
<form class="form-inline" id=new-{{@type}} data-task-type={{@type}} x-bind=submit:addTask>
|
||||
<form class="form-inline new-task-form" id=new-{{@type}} data-task-type={{@type}} x-bind=submit:addTask>
|
||||
{{@content}}
|
||||
<input class="btn" type=submit value=Add>
|
||||
</form>
|
||||
|
||||
{#if _loggedIn}
|
||||
{#unless equal(@type,'reward')}
|
||||
<a class='pull-right' data-target="#stripe-modal" data-toggle="modal" rel='tooltip' title='Remove Ads'><i class='icon-remove'></i></a>
|
||||
<script type="text/javascript" x-no-minify><!--
|
||||
google_ad_client = "ca-pub-3242350243827794";
|
||||
/* Test */
|
||||
google_ad_slot = "5883123375";
|
||||
google_ad_width = 234;
|
||||
google_ad_height = 60;
|
||||
//-->
|
||||
</script>
|
||||
<script type="text/javascript"
|
||||
src="https://pagead2.googlesyndication.com/pagead/show_ads.js" x-no-minify>
|
||||
</script>
|
||||
{/}
|
||||
{/}
|
||||
|
||||
<task:>
|
||||
<li data-id={{:task.id}} class="task {taskClasses(:task.type, :task.completed, :task.value, :task.repeat)}">
|
||||
<pre>
|
||||
|
|
|
|||
Loading…
Reference in a new issue