forked from blockcypher/explorer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathwidgets.html
44 lines (35 loc) · 1.61 KB
/
widgets.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
{% extends "base.html" %}
{% load i18n %}
{% load humanize %}
{% load btc_formats %}
{% load static %}
{% block title %}
Embeddable Address Widgets
{% endblock title %}
{% block page_header %}
<h1>
<i class="fa fa-send"></i>
Embeddable Address Widgets
</h1>
{% endblock page_header %}
{% block content %}
<div class="section">
<div class="container">
<h4>Address Balance Widget</h4>
<p>Shows the balance of an address (received minus sent). It will display a warning if the balance is unconfirmed.</p>
<iframe src="{{ BASE_URL }}{% url 'render_balance_widget' coin_symbol b58_address %}" style="overflow:hidden;" frameborder="0"></iframe>
<p>Balance Widget Code<p>
<form class="form form-horizontal">
<textarea onclick="this.focus();this.select()" readonly="readonly" class="form-control "><iframe src="{{ BASE_URL }}{% url 'render_balance_widget' coin_symbol b58_address %}" style="overflow:hidden;" frameborder="0"></iframe></textarea>
</form>
<hr />
<h4>Received Widget</h4>
<p>Shows the amount received by an address. Perfect for projects to show their donation count.</p>
<iframe src="{{ BASE_URL }}{% url 'render_received_widget' coin_symbol b58_address %}" style="overflow:hidden;" frameborder="0"></iframe>
<p>Received Widget Code<p>
<form class="form form-horizontal">
<textarea onclick="this.focus();this.select()" readonly="readonly" class="form-control "><iframe src="{{ BASE_URL }}{% url 'render_received_widget' coin_symbol b58_address %}" style="overflow:hidden;" frameborder="0"></iframe></textarea>
</form>
</div>
</div>
{% endblock content %}