Difference between revisions of "Template:2012FR/Form-section/Radiobuttons/5-buttons"

From Donate
Jump to navigation Jump to search
(update)
 
Line 1: Line 1:
 
<html>
 
<html>
<input type="hidden" name="currency_code" value="</html>{{{currency|{{2012FR/Switch/Currency/Code|{{{country}}}}}}}}<html>"/>
+
<input type="hidden" name="currency_code" value="</html>{{{currency|{{2012FR/Switch/Currency/Code|{{{country}}}}}}}}<html>"/>
 
<div>
 
<div>
 
<div id="radiobuttons-table-header">
 
<div id="radiobuttons-table-header">
Line 6: Line 6:
 
</div>
 
</div>
 
</div>
 
</div>
  +
<fieldset class="amount-options">
<div id="radiobuttons-table-body">
 
  +
<ul>
<table id="radiobuttons-table">
 
  +
<li class="radiobuttons-cell input_amount_0">
<tr>
 
  +
<input type="radio" name="amount" id="input_amount_0" onclick="selectAmount();" value="</html>{{{donate-amount-0}}}<html>" />
<td class="radiobuttons-cell">
 
<input type="radio" name="amount" id="input_amount_0" onclick="selectAmount();" value="</html>{{{donate-amount-0}}}<html>" />
+
<label class="frb-btn" for="input_amount_0"></html>{{2012FR/CurrencyFormat|{{{donate-amount-0}}}|{{{currency}}}|{{{country}}}|{{{language}}}}}<html></label>
  +
</li>
<label for="input_amount_0"></html>{{2012FR/CurrencyFormat|{{{donate-amount-0}}}|{{{currency}}}|{{{country}}}|{{{language}}}}}<html></label>
 
  +
<li class="radiobuttons-cell input_amount_1">
</td>
 
  +
<input type="radio" name="amount" id="input_amount_1" onclick="selectAmount();" value="</html>{{{donate-amount-1}}}<html>" />
<td class="radiobuttons-cell">
 
  +
</li>
<label for="input_amount_1"></html>{{2012FR/CurrencyFormat|{{{donate-amount-1}}}|{{{currency}}}|{{{country}}}|{{{language}}}}}<html></label>
 
  +
<li class="radiobuttons-cell input_amount_2">
</td>
 
  +
<input type="radio" name="amount" id="input_amount_2" onclick="selectAmount();" value="</html>{{{donate-amount-2}}}<html>" />
<td class="radiobuttons-cell">
 
<input type="radio" name="amount" id="input_amount_2" onclick="selectAmount();" value="</html>{{{donate-amount-2}}}<html>" />
+
<label class="frb-btn" for="input_amount_2"></html>{{2012FR/CurrencyFormat|{{{donate-amount-2}}}|{{{currency}}}|{{{country}}}|{{{language}}}}}<html></label>
  +
</li>
<label for="input_amount_2"></html>{{2012FR/CurrencyFormat|{{{donate-amount-2}}}|{{{currency}}}|{{{country}}}|{{{language}}}}}<html></label>
 
+
<ul>
  +
<li class="radiobuttons-cell input_amount_3">
</tr>
 
  +
<input type="radio" name="amount" id="input_amount_3" onclick="selectAmount();" value="</html>{{{donate-amount-3}}}<html>" />
<tr>
 
  +
<label class="frb-btn" for="input_amount_3"></html>{{2012FR/CurrencyFormat|{{{donate-amount-3}}}|{{{currency}}}|{{{country}}}|{{{language}}}}}<html></label>
<td class="radiobuttons-cell">
 
  +
</li>
<input type="radio" name="amount" id="input_amount_3" onclick="selectAmount();" value="</html>{{{donate-amount-3}}}<html>" />
 
  +
<li class="radiobuttons-cell input_amount_4">
<label for="input_amount_3"></html>{{2012FR/CurrencyFormat|{{{donate-amount-3}}}|{{{currency}}}|{{{country}}}|{{{language}}}}}<html></label>
 
  +
<input type="radio" name="amount" id="input_amount_4" onclick="selectAmount();" value="</html>{{{donate-amount-4}}}<html>" />
</td>
 
  +
<label class="frb-btn" for="input_amount_4"></html>{{2012FR/CurrencyFormat|{{{donate-amount-4}}}|{{{currency}}}|{{{country}}}|{{{language}}}}}<html></label>
<td class="radiobuttons-cell">
 
  +
</li>
<input type="radio" name="amount" id="input_amount_4" onclick="selectAmount();" value="</html>{{{donate-amount-4}}}<html>" />
 
  +
<li class="radiobuttons-cell input_amount_other">
<label for="input_amount_4"></html>{{2012FR/CurrencyFormat|{{{donate-amount-4}}}|{{{currency}}}|{{{country}}}|{{{language}}}}}<html></label>
 
  +
<input type="radio" name="amount" id="input_amount_other" value="Other" onclick="document.getElementById('input_amount_other_box').focus();">
</td>
 
  +
<span></html>{{int:donate_interface-other}}<html></span>
<input type="radio" name="amount" id="input_amount_other" value="Other" onclick="document.getElementById('input_amount_other_box').focus();">
 
  +
<input type="number" min="0" id="input_amount_other_box" size="3" autocomplete="off" value="" tabindex="-1" onfocus="selectOther();">
<label for="input_amount_other">
 
  +
</label>
<span></html>{{int:donate_interface-other}}<html></span>
 
  +
</li>
<input type="text" id="input_amount_other_box" size="3" autocomplete="off" value="" onfocus="clearOther(this);">
 
</label>
+
</ul>
  +
</fieldset>
</td>
 
<input type="radio" name="amount" id="input_amount_1" onclick="selectAmount();" value="</html>{{{donate-amount-1}}}<html>" />
+
<label class="frb-btn" for="input_amount_1"></html>{{2012FR/CurrencyFormat|{{{donate-amount-1}}}|{{{currency}}}|{{{country}}}|{{{language}}}}}<html></label>
</td>
+
</ul>
<td class="radiobuttons-cell input_amount_other">
+
<label class="frb-btn" for="input_amount_other">
</tr>
 
</table>
 
</div>
 
 
</html>
 
</html>

Latest revision as of 15:30, 23 August 2017

Donation amount: