r108783 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r108782‎ | r108783 | r108784 >
Date:00:26, 13 January 2012
Author:jamesur
Status:ok
Tags:fundraising 
Comment:
tweak enets forms to be closer to others
Modified paths:
  • /trunk/extensions/DonationInterface/globalcollect_gateway/forms/html/rtbt/rtbt-enets.html (modified) (history)

Diff [purge]

Index: trunk/extensions/DonationInterface/globalcollect_gateway/forms/html/rtbt/rtbt-enets.html
@@ -41,37 +41,21 @@
4242 <div id="donate-content">
4343 <div id="donate-body" style="padding: 0 1em;">
4444 <form method="post" name="paypalcontribution">
45 - <div id="step1header"><h3>%donate_interface-amount-legend% <span id="selected-amount"></span> <span class="mute" id="change-amount" style="display: none;">(<a href="#">%donate_interface-change%</a>)</span></h3></div>
46 - <div id="step1wrapper" style="display: none;">
47 - <div id="amtErrorMessages" class="small"></div>
48 - <table id="amount-table-white">
49 - <tr>
50 - <td><label><input id="amountRadio0" type="radio" name="amountRadio" value="5" /> <span id="amountSpan0">5</span></label></td>
51 - <td><label><input id="amountRadio1" type="radio" name="amountRadio" value="10" /> <span id="amountSpan1">10</span></label></td>
52 - <td><label><input id="amountRadio2" type="radio" name="amountRadio" value="20" /> <span id="amountSpan2">20</span></label></td>
53 - <td><label><input id="amountRadio3" type="radio" name="amountRadio" value="50" /> <span id="amountSpan3">50</span></label></td>
54 - </tr>
55 - <tr>
56 - <td><label><input id="amountRadio4" type="radio" name="amountRadio" value="75" /> <span id="amountSpan4">75</span></label></td>
57 - <td><label><input id="amountRadio5" type="radio" name="amountRadio" value="100" /> <span id="amountSpan5">100</span></label></td>
58 - <td><label><input id="amountRadio6" type="radio" name="amountRadio" value="250" /> <span id="amountSpan6">250</span></label></td>
59 - <td><input type="radio" name="amountRadio" id="input_amount_other" value="other" /> <label><span id="amountSpanOther"></span><input type="text" class="txt-sm hint" name="amountGiven" size="4" id="other-amount" title="%donate_interface-other%" placeholder="%donate_interface-other%" onfocus="this.form.input_amount_other.checked=true;"/></label></td>
60 - </tr>
61 - </table>
62 - </div>
 45+ <div id="step1header"><h3>%donate_interface-amount-legend% <span id="selected-amount"></span></h3></div>
 46+
6347 <div id="step2header"><h3>%donate_interface-billing-address% <span class="mute" id="change-billing" style="display: none;">(<a href="#">%donate_interface-change%</a>)</span></h3></div>
6448 <div id="step2wrapper">
6549 <div id="billing-content" class="gainlayout">
6650 <div id="billingErrorMessages" class="small"></div>
6751 <div id="paymentErrorMessages" class="small"></div>
68 - <div class="name-fields">
69 - <span class="name-first"><input class="txt" id="fname" name="fname" title="%donate_interface-donor-fname%" value="@fname" placeholder="%donate_interface-donor-fname%"/></span>
70 - <span class="name-last"><input class="txt" id="lname" name="lname" title="%donate_interface-donor-lname%" value="@lname" placeholder="%donate_interface-donor-lname%"/></span>
71 - </div>
72 - <div class="loc-fields nostate">
73 - <span class="loc-street"><input class="txt" id="street" name="street" title="%donate_interface-donor-street%" value="@street" placeholder="%donate_interface-donor-street%"/></span>
74 - <span class="loc-city"><input class="txt" id="city" name="city" title="%donate_interface-donor-city%" value="@city" placeholder="%donate_interface-donor-city%"/></span>
75 - <span class="loc-postal"><input class="txt" id="zip" name="zip" title="%donate_interface-donor-postal%" value="@zip" placeholder="%donate_interface-donor-postal%"/></span>
 52+ <!--<div class="name-fields">-->
 53+ <!--<span class="name-first"><input class="txt" id="fname" name="fname" title="%donate_interface-donor-fname%" value="@fname" placeholder="%donate_interface-donor-fname%"/></span>-->
 54+ <!--<span class="name-last"><input class="txt" id="lname" name="lname" title="%donate_interface-donor-lname%" value="@lname" placeholder="%donate_interface-donor-lname%"/></span>-->
 55+ <!--</div>-->
 56+ <div class="nostate">
 57+ <!--<span class="loc-street"><input class="txt" id="street" name="street" title="%donate_interface-donor-street%" value="@street" placeholder="%donate_interface-donor-street%"/></span>-->
 58+ <!--<span class="loc-postal"><input class="txt" id="zip" name="zip" title="%donate_interface-donor-postal%" value="@zip" placeholder="%donate_interface-donor-postal%"/></span>-->
 59+ <!--<span class="loc-city"><input class="txt" id="city" name="city" title="%donate_interface-donor-city%" value="@city" placeholder="%donate_interface-donor-city%"/></span>-->
7660 <span class="loc-country">
7761 <select class="txt" id="country" name="country" value="@country" placeholder="%donate_interface-country%">
7862 <option value="">%donate_interface-select-country%</option>
@@ -79,8 +63,14 @@
8064 </select>
8165 </span>
8266 </div>
83 - <p><input class="txt" title="%donate_interface-donor-email%" id="emailAdd" name="emailAdd" value="@emailAdd" placeholder="%donate_interface-donor-email%"/> </p>
84 - <div id="bt-continue" style="margin-top: 10px;"> <input class="btn" id="bt-continueBtn" type="button" value="%donate_interface-continue%" /></div>
 67+ <!--<p><input class="txt" title="%donate_interface-donor-email%" id="emailAdd" name="emailAdd" value="@emailAdd" placeholder="%donate_interface-donor-email%"/> </p>-->
 68+ <table style="margin-top: 10px;" >
 69+ <tr><td>
 70+ <div id="bt-continue" style="margin-top: 7px;"> <input class="btn" id="bt-continueBtn" type="button" value="%donate_interface-continue%" /></div>
 71+ </td><td>
 72+ <img style="margin-left: 20px;" src="@script_path/extensions/DonationInterface/gateway_forms/includes/enets_logo2" width="50" alt="eNets">
 73+ </td></tr>
 74+ </table>
8575 </div>
8676 </div>
8777
@@ -113,7 +103,13 @@
114104 <input type="hidden" value="rtbt" name="payment_method"/>
115105 <input type="hidden" value="rtbt_enets" name="payment_submethod"/>
116106 <!-- required fields omitted above -->
117 - <input type="hidden" value="XX" name="state"/>
 107+ <input type="hidden" value="John" name="fname" id="fname" />
 108+ <input type="hidden" value="Doe" name="lname" id="lname" />
 109+ <input type="hidden" value="n/a" name="street" id="street" />
 110+ <input type="hidden" value="n/a" name="city" id="city" />
 111+ <input type="hidden" value="XX" name="state" id="state" />
 112+ <input type="hidden" value="00000" name="zip" id="zip" />
 113+ <input type="hidden" value="nobody@wikimedia.org" name="emailAdd" id="emailAdd" />
118114 </form>
119115 <div id="where-content">
120116 {{LanguageSwitch|2011FR/core-appeal-whitebox-nodiv|@language}}

Follow-up revisions

RevisionCommit summaryAuthorDate
r108833MFT r108780, r108783khorn19:56, 13 January 2012

Status & tagging log