|
|
|
@ -114,7 +114,6 @@
|
|
|
|
|
httpclient.setHeader("Content-Type","application/json")
|
|
|
|
|
httpclient.setData(JSON.stringify(info) )
|
|
|
|
|
httpclient.post('{{context|safe}}/store',function(x){})
|
|
|
|
|
|
|
|
|
|
if (data.unit_amount == 0|| data.amount == 0){
|
|
|
|
|
//
|
|
|
|
|
// We should not be prompting the user but automatically logging her into her session
|
|
|
|
@ -283,25 +282,30 @@ $(document).ready(function(){
|
|
|
|
|
{% else %}
|
|
|
|
|
<div></div>
|
|
|
|
|
{% endif %}
|
|
|
|
|
{% if item.unit_amount == 0%}
|
|
|
|
|
<div class="default">
|
|
|
|
|
<span class="bold">Free</span>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
{%else%}
|
|
|
|
|
<div class="default" >
|
|
|
|
|
|
|
|
|
|
<span class="bold">$ {{ item.unit_amount/100 }}</span>
|
|
|
|
|
/ <span class="small">{{item.recurring.interval[:]}}</span>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
{% endif %}
|
|
|
|
|
{% if 'unit_amount' in item %}
|
|
|
|
|
{% if item.unit_amount == 0%}
|
|
|
|
|
<div class="default">
|
|
|
|
|
<span class="bold"></span>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
{%else%}
|
|
|
|
|
<div class="default" >
|
|
|
|
|
|
|
|
|
|
<span class="bold">$ {{ item.unit_amount/100 }}</span>
|
|
|
|
|
/ <span class="small">{{item.recurring.interval[:]}}</span>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
{% endif %}
|
|
|
|
|
{% else %}
|
|
|
|
|
<div>
|
|
|
|
|
</div>
|
|
|
|
|
{% endif %}
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div class="">
|
|
|
|
|
{% for key,value in item.metadata['features'].items() %}
|
|
|
|
|
<div class="feature">
|
|
|
|
|
<div class="label">{{ key }}</div>
|
|
|
|
|
<div class="label">{{ key.replace('_',' ') }}</div>
|
|
|
|
|
{% if value == True %}
|
|
|
|
|
<div class="status"><i class="fas fa-check"></i></div>
|
|
|
|
|
{% elif value == False %}
|
|
|
|
@ -316,22 +320,30 @@ $(document).ready(function(){
|
|
|
|
|
|
|
|
|
|
<div align="right" class="border-top">
|
|
|
|
|
<p>
|
|
|
|
|
<div align="center" style="width:50%; margin-right:25%;" class="button action" data='{{item|tojson|safe}}' onclick="signup_form( {{loop.index-1}} , this )">
|
|
|
|
|
<div>Signup Now</div>
|
|
|
|
|
|
|
|
|
|
{% if item.unit_amount == 0 %}
|
|
|
|
|
<div class="small text">
|
|
|
|
|
<span class="bold">Free</span>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
{%else%}
|
|
|
|
|
<div class="small text" >
|
|
|
|
|
<span class="bold">$ {{ item.unit_amount/100 }}</span>
|
|
|
|
|
/ <span >{{item.recurring.interval[:]}}</span>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
{% endif %}
|
|
|
|
|
</div>
|
|
|
|
|
{% if 'unit_amount' in item %}
|
|
|
|
|
|
|
|
|
|
<div align="center" style="width:50%; margin-right:25%;" class="button action" data='{{item|tojson|safe}}' onclick="signup_form( {{loop.index-1}} , this )">
|
|
|
|
|
<div>Signup Now</div>
|
|
|
|
|
|
|
|
|
|
{% if item.unit_amount == 0 %}
|
|
|
|
|
<div class="small text">
|
|
|
|
|
<span class="bold">Free</span>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
{%else%}
|
|
|
|
|
<div class="small text" >
|
|
|
|
|
<span class="bold">$ {{ item.unit_amount/100 }}</span>
|
|
|
|
|
/ <span >{{item.recurring.interval[:]}}</span>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
{% endif %}
|
|
|
|
|
</div>
|
|
|
|
|
{% else %}
|
|
|
|
|
|
|
|
|
|
<div align="center" style="display:grid; height:32px; align-items:center; width:50%; margin-right:25%;" class="button action" data='{{item|tojson|safe}}' onclick="window.location.href='mailto:info@the-phi.com?subject=Inquiery about {{product.name}}::Parser {{item.nickname|safe}}'">
|
|
|
|
|
<div>Contact Us</div>
|
|
|
|
|
</div>
|
|
|
|
|
{% endif %}
|
|
|
|
|
</p>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|