diff --git a/server-ca/index.html b/server-ca/index.html new file mode 100644 index 000000000..998f0971e --- /dev/null +++ b/server-ca/index.html @@ -0,0 +1,79 @@ + + + + + + Project Chocolate + + + + + + + + + + +
+
+

Payment Required

+ +
+
+ +
+
+ +
+
+
+
+

Payment Form

+
+

:

+

+
+

+
+
+
+
+ + + +
+
+ + + + + + diff --git a/server-ca/payment.py b/server-ca/payment.py index b5a888822..6caa44aeb 100755 --- a/server-ca/payment.py +++ b/server-ca/payment.py @@ -21,27 +21,8 @@ class shortform(object): expanded = r.get("shorturl-%s" % what) if not expanded: return "

Unknown session ID

" - return """ - -

Payment required

- Due to certificate authority policy, issuing this certificate requires a payment. -

-


-

- A payment of 17.00 simoleons is due now. -

- In order to process this payment, please pretend to enter a 16-digit credit-card - number below, and then click the Submit Payment button. -

-

- Credit Card Type
- Credit Card Number
- -
- This payment will appear on your - credit card statement as TRUSTIFIABLE CERTIFICATE SERVICES. - - """ % expanded + with open("index.html","r") as f: + return f.read() % expanded class form(object): def GET(self, what):