31 lines
1.2 KiB
Plaintext
31 lines
1.2 KiB
Plaintext
|
<div style="padding: 10px 0; margin: 20px auto; width: 90%; text-align: center;">
|
||
|
<div>{{ theme.reward_comment }}</div>
|
||
|
<button id="rewardButton" disable="enable" onclick="var qr = document.getElementById('QR'); if (qr.style.display === 'none') {qr.style.display='block';} else {qr.style.display='none'}">
|
||
|
<span>{{ __('reward.donate') }}</span>
|
||
|
</button>
|
||
|
<div id="QR" style="display: none;">
|
||
|
|
||
|
{% if theme.wechatpay %}
|
||
|
<div id="wechat" style="display: inline-block">
|
||
|
<img id="wechat_qr" src="{{ theme.wechatpay }}" alt="{{ theme.author }} {{ __('reward.wechatpay') }}"/>
|
||
|
<p>{{ __('reward.wechatpay') }}</p>
|
||
|
</div>
|
||
|
{% endif %}
|
||
|
|
||
|
{% if theme.alipay %}
|
||
|
<div id="alipay" style="display: inline-block">
|
||
|
<img id="alipay_qr" src="{{ theme.alipay }}" alt="{{ theme.author }} {{ __('reward.alipay') }}"/>
|
||
|
<p>{{ __('reward.alipay') }}</p>
|
||
|
</div>
|
||
|
{% endif %}
|
||
|
|
||
|
{% if theme.bitcoin %}
|
||
|
<div id="bitcoin" style="display: inline-block">
|
||
|
<img id="bitcoin_qr" src="{{ theme.bitcoin }}" alt="{{ theme.author }} {{ __('reward.bitcoin') }}"/>
|
||
|
<p>{{ __('reward.bitcoin') }}</p>
|
||
|
</div>
|
||
|
{% endif %}
|
||
|
|
||
|
</div>
|
||
|
</div>
|