r104471 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r104470‎ | r104471 | r104472 >
Date:19:19, 28 November 2011
Author:pgehres
Status:ok
Tags:
Comment:
Adding CSS and RapidHTML tokens for direct debit
Modified paths:
  • /trunk/extensions/DonationInterface/gateway_forms/RapidHtml.php (modified) (history)
  • /trunk/extensions/DonationInterface/gateway_forms/rapidhtml/css/webitects.css (modified) (history)

Diff [purge]

Index: trunk/extensions/DonationInterface/gateway_forms/RapidHtml.php
@@ -56,6 +56,8 @@
5757 '@authorization_id',
5858 '@account_name',
5959 '@bank_code',
 60+ '@bank_name',
 61+ '@bank_check_digit',
6062 // Not actually data tokens, but available to you in html form:
6163 // @captcha -> the captcha form
6264 // @script_path -> maps to $wgScriptPath
Index: trunk/extensions/DonationInterface/gateway_forms/rapidhtml/css/webitects.css
@@ -74,14 +74,6 @@
7575 .loc-fields .loc-street { margin-bottom: 5px; width: 100%; }
7676 .loc-fields .loc-country { margin-bottom: 5px; width: 103%; }
7777
78 -/* Direct Debit setups*/
79 -.dd-fields { float: left; margin-bottom: 5px; margin-top: 5px;}
80 -.dd-be-an { float: left; width: 45%; }
81 -.dd-be-ai { float: left; width: 45%; margin-left: 5%; }
82 -.dd-at-accountname { float: left; width: 97%; margin-bottom: 10px;}
83 -.dd-at-an { float: left; width: 45%; }
84 -.dd-at-bc { float: left; width: 45%; margin-left: 5%; }
85 -
8678 /* Location where we are not including a state select */
8779 .loc-fields.nostate .loc-city { float: left; margin: 0 1% 5px 0; width: 48%; }
8880 .loc-fields.nostate .loc-postal { float: left; margin: 0 1% 5px 0; width: 49%; }
@@ -94,7 +86,16 @@
9587 .loc-postal.ja { width: 300px; }
9688
9789 /* Direct debit fields */
 90+.dd-fields { float: left; margin-bottom: 5px; margin-top: 5px;}
9891
 92+.dd-be-acctname, .dd-be-bankname { float: left; width:100%; margin-bottom: 5px;}
 93+.dd-be-acctnum, .dd-be-bankcode { float: left; margin: 0 1% 5px 0; width: 48%; }
 94+.dd-be-authid, .dd-be-checkdigit { float: left; width: 49%; margin: 0; }
 95+
 96+.dd-at-accountname { float: left; width: 97%; margin-bottom: 10px;}
 97+.dd-at-an { float: left; width: 45%; }
 98+
 99+.dd-at-bc { float: left; width: 45%; margin-left: 5%; }
99100 .dd-acctnumber { float: left; margin: 5px 2% 5px 0; width: 48%; }
100101 .dd-acctname { float: left; margin: 5px 2% 5px 0; width: 48%; }
101102 .dd-bankcode { margin-bottom: 5px; width: 100%; }

Follow-up revisions

RevisionCommit summaryAuthorDate
r104802followup r104471, spaces -> tabsawjrichards00:14, 1 December 2011
r105350MFT r104225, r104471, r104503, r104539, r104588, r104600, r104607, r104648, ...khorn21:12, 6 December 2011
r105351MFT r104225, r104471, r104503, r104539, r104588, r104600, r104607, r104648, ...khorn21:12, 6 December 2011

Status & tagging log