diff options
author | Peter Martischka <petermartischka@googlemail.com> | 2010-04-04 03:48:54 +0200 |
---|---|---|
committer | Peter Martischka <pita@pitapoison.de> | 2010-04-04 03:48:54 +0200 |
commit | 4cd3e9e35e775d6103932ebdbbd5d708732c01da (patch) | |
tree | ca5502ecb83511adf8cf5db2f2b7e2908166e9bf | |
parent | f5f400aa103ce7c0436fc6352bf540ed4c6274ef (diff) | |
download | etherpad-4cd3e9e35e775d6103932ebdbbd5d708732c01da.tar.gz etherpad-4cd3e9e35e775d6103932ebdbbd5d708732c01da.tar.xz etherpad-4cd3e9e35e775d6103932ebdbbd5d708732c01da.zip |
Removed some unused templates
45 files changed, 0 insertions, 2513 deletions
diff --git a/etherpad/src/static/swf/vidplayer.swf b/etherpad/src/static/swf/vidplayer.swf Binary files differdeleted file mode 100755 index a38a94e..0000000 --- a/etherpad/src/static/swf/vidplayer.swf +++ /dev/null diff --git a/etherpad/src/templates/beta/signup.ejs b/etherpad/src/templates/beta/signup.ejs deleted file mode 100644 index 5268a29..0000000 --- a/etherpad/src/templates/beta/signup.ejs +++ /dev/null @@ -1,63 +0,0 @@ -<% /* Copyright 2009 Google Inc. - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS-IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. */ %><% helpers.includeJQuery() %> -<% helpers.includeJs("etherpad.js") %> -<% helpers.includeCss("beta.css") %> - -<div class="fpcontent"> - <div class="beta-signup"> - - <h1 style="border: 0;">EtherPad Professional Edition</h1> - - <div class="right"> - <br/> - - <p>Want an account to keep track of all your team's pads? - EtherPad Professional Edition - gives you your own site to keep track - of pads and control who gets to access what.</p> - - - <form id="beta-signup-form" action="/ep/beta-account/signup" - method="post"> - - <% if (errorMsg) { %> - <div id="error-msg"> - <%= errorMsg %> - </div> - <% } %> - - <p>Your Email:</p> - <input type="text" name="email" id="email" /> - <br/> - <button type="submit">Submit</button> - - </form> - - <p>Email <%= helpers.oemail("support") %> with questions or - concerns.</p> - </div> - - <div class="left"> - - <img src="/static/img/account/betawarn.jpg" - /> - - </div> - - <%= helpers.clearFloats() %> - - </div> -</div> - - diff --git a/etherpad/src/templates/email/eepnet_license_info.ejs b/etherpad/src/templates/email/eepnet_license_info.ejs deleted file mode 100644 index ea431de..0000000 --- a/etherpad/src/templates/email/eepnet_license_info.ejs +++ /dev/null @@ -1,72 +0,0 @@ -<% /* Copyright 2009 Google Inc. - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS-IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. */ %><% - var parts = licenseKey.split(":"); - var name = parts[0]; - var org = parts[1]; - var key = parts[2]; - - if ((key.length % 2) != 0) { - key = key + "+"; - } - var keyLine1 = key.substr(0, key.length/2); - var keyLine2 = key.substr(key.length/2, key.length); -%> -Dear <%= userName %>, - -Thank you for downloading EtherPad Private Network Edition. -This is an automated email containing your license information. - -<% if (isEvaluation) { %> -NOTE: This is an EVALUATION license, which will expire on -<%= expiresDate.toString() %>. -<% } %> - -**************************************** -NAME: - - <%= name %> - -**************************************** -ORGANIZATION: - - <%= org %> - -**************************************** -LICENSE KEY: - - <%= keyLine1 %> - <%= keyLine2 %> - -**************************************** -INSTRUCTIONS: - - http://<%= request.host %>/ep/pne-manual - -**************************************** -DOWNLOAD LINK: - - http://<%= request.host %><%= isEvaluation ? "/ep/store/eepnet-download" : "/ep/store/eepnet-download-nextsteps" %> - -<% if (isEvaluation) { %> --- - -This email was sent automatically from etherpad.com because you signed -up for EtherPad PNE. If you did not sign up for -this, then you can safely just ignore this email. - -<% } else { %> --- - -Thanks for buying EtherPad! -<% } %>
\ No newline at end of file diff --git a/etherpad/src/templates/email/eepnet_purchase_receipt.ejs b/etherpad/src/templates/email/eepnet_purchase_receipt.ejs deleted file mode 100644 index a83cd58..0000000 --- a/etherpad/src/templates/email/eepnet_purchase_receipt.ejs +++ /dev/null @@ -1,93 +0,0 @@ -<% /* Copyright 2009 Google Inc. - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS-IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. */ %>Dear <%= cart.ownerName %>, - -Thank you for your purchase of EtherPad Private Network Edition. This is your receipt. Please keep this email for your records. - --- The EtherPad Staff - -<% -function row(key, value) { -%><%= key %>: - <%= String(value).split("\n").join("\n ") %> -<% -} - -function $(cost) { - return "US $"+dollars(cost); -} -%> - -License Information: - -<% -row("Administrator Name", cart.ownerName) -row("Organization Name", cart.orgName) -row("Total Users", cart.userCount) -%> - -Billing Information: - -<% -var isUs = cart.billingCountry == "US"; -switch(cart.billingPurchaseType) { - case "creditcard": - row("Credit Card Number", obfuscateCC(cart.billingCCNumber)); - row("Expiration Date", cart.billingExpirationMonth+" / 20"+cart.billingExpirationYear); - // falling through here intentional. - case "invoice": - row("Purchaser Name", cart.billingFirstName + " " + cart.billingLastName); - row("Purchaser Address", cart.billingAddressLine1 + "\n" + - (cart.billingAddressLine2 ? cart.billingAddressLine2 + "\n" : "") + - cart.billingCity + ", " + - (isUs?cart.billingState:cart.billingProvince) + "\n" + - (isUs?cart.billingZipCode:cart.billingPostalCode)+ - (isUs?'':', '+cart.billingCountry)); - row("Invoice Number", cart.invoiceId); - break; - case "paypal": - row("Paid Using", "PayPal"); - row("Invoice Number", cart.invoiceId); -} -%> - -Summary of Charges: - -<% -row("Etherpad Private Network, "+cart.numUsers+" users", $(cart.baseCost)); -if (cart.couponProductPctDiscount) { - row("Referral - "+cart.couponProductPctDiscount+"% savings", - "-"+$(cart.productReferralDiscount)); -} -if (cart.supportCost) { - row("Support Contract, 1 year", $(cart.supportCost)); - if (cart.couponSupportPctDiscount) { - row("Referral - "+cart.couponSupportPctDiscount+"% savings", - "-"+$(cart.supportReferralDiscount)); - } -} -if (cart.freeUserCount) { - row("Referral Bonus - "+cart.freeUserCount+" free user"+(cart.freeUserCount == 1 ? '' : "s"), - "US$0.00"); -} -%>------------------------------------------------------------------------------- -<% -var pctDiscount = cart.couponTotalPctDiscount; -var hasSubtotal = pctDiscount > 0; - -if (hasSubtotal) { - row("Subtotal", $(cart.subTotal)); - row("Referral - "+pctDiscount+"% savings", "-"+$(cart.totalReferralDiscount)); -} -row("Total", $(cart.total)); -%>
\ No newline at end of file diff --git a/etherpad/src/templates/email/pro_beta_invite.ejs b/etherpad/src/templates/email/pro_beta_invite.ejs deleted file mode 100644 index 162b443..0000000 --- a/etherpad/src/templates/email/pro_beta_invite.ejs +++ /dev/null @@ -1,23 +0,0 @@ -<% /* Copyright 2009 Google Inc. - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS-IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. */ %>Dear <%= toAddr.split('@')[0] %>, - -<%= signupAgo %> you signed up for the EtherPad Beta. Now here's a link to activate your account immediately: - -<%= activationUrl %> - -Any problems or questions? Just respond to this email for help. - -Happy Collaborating! - -The EtherPad Team diff --git a/etherpad/src/templates/email/pro_payment_failure.ejs b/etherpad/src/templates/email/pro_payment_failure.ejs deleted file mode 100644 index 248a3dd..0000000 --- a/etherpad/src/templates/email/pro_payment_failure.ejs +++ /dev/null @@ -1,26 +0,0 @@ -<% /* Copyright 2009 Google Inc. - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS-IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. */ %>Dear <%= fullName %>, - -Thank you for using EtherPad Professional. Your monthly billing cycle has ended, but we were unsuccessful in charging your account on file. - -<% if (billingError && billingError.length > 0) { %> - The following error occurred: - - <%= billingError %> - -<% } %>If you do not update your payment information and pay the remaining balance of <%= balance %>, your account will be suspended on <%= suspensionDate %>. - -You may update your payment information here: <%= billingAdminLink %> - --- The EtherPad Staff diff --git a/etherpad/src/templates/email/pro_payment_receipt.ejs b/etherpad/src/templates/email/pro_payment_receipt.ejs deleted file mode 100644 index 175b06a..0000000 --- a/etherpad/src/templates/email/pro_payment_receipt.ejs +++ /dev/null @@ -1,55 +0,0 @@ -<% /* Copyright 2009 Google Inc. - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS-IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. */ %>Dear <%= fullName %>, - -Thank you for using EtherPad Professional. Your monthly billing cycle has ended, and your account has been charged; this is your receipt. Please keep this email for your records. - --- The EtherPad Staff - -<% -function row(key, value) { -%><%= key %>: - <%= String(value).split("\n").join("\n ") %> -<% -} - -function $(cost) { - return "US $"+dollars(cost); -} -%> - -Billing Information: - -<% -row("Name", fullName); -row("Paid Using", paymentSummary); -row("Expiration", expiration); -row("Invoice Number", invoiceNumber); -%> - -Summary of Charges: - -<% -row("EtherPad Professional, "+numUsers+" users", $(cost)); -if (coupon) { - var discount = []; - if (coupon.pctDiscount) { - discount.push(coupon.pctDiscount+"% savings"); - } - if (coupon.freeUsers) { - discount.push((coupon.freeUsers)+" free users"); - } - discount = discount.join(" and "); - %> -This charge reflects your referral bonus of <%= discount %>. -<% } %>
\ No newline at end of file diff --git a/etherpad/src/templates/pad/create_body_rafter.ejs b/etherpad/src/templates/pad/create_body_rafter.ejs deleted file mode 100644 index 28252c7..0000000 --- a/etherpad/src/templates/pad/create_body_rafter.ejs +++ /dev/null @@ -1,23 +0,0 @@ -<% /* Copyright 2009 Google Inc. - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS-IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. */ %><% helpers.setHtmlTitle("EtherPad: Create a new pad?"); %> - -<div id="createpadpage" class="fpcontent"> - - <p><tt>http://<%= request.host %>/<%= toHTML(padId) %></tt></p> - - <p><strong>There is no EtherPad document here.</strong></p> - - <p style="color:red">Creation of new free pads is permanently disabled as part of EtherPad's acquisition by Google. <a href="http://<%= fullSuperdomain %>/ep/blog/posts/google-acquires-appjet">Read more.</a></p> - -</div> diff --git a/etherpad/src/templates/pad/exporthtml.ejs b/etherpad/src/templates/pad/exporthtml.ejs deleted file mode 100644 index 288a595..0000000 --- a/etherpad/src/templates/pad/exporthtml.ejs +++ /dev/null @@ -1,28 +0,0 @@ -<% /* Copyright 2009 Google Inc. - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS-IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. */ %><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> -<HTML> -<HEAD> - <META HTTP-EQUIV="CONTENT-TYPE" CONTENT="text/html; charset=utf-8"> - <TITLE></TITLE> - <STYLE TYPE="text/css"> - <!-- - @page { margin: 0.79in } - P { margin-bottom: 0.08in } - --> - </STYLE> -</HEAD> -<BODY LANG="en-US" DIR="LTR"> -<%= pre ? '<PRE>' : '' %><%= content %><%= pre ? '</PRE>' : '' %> -</BODY> -</HTML>
\ No newline at end of file diff --git a/etherpad/src/templates/pad/pad_body.ejs b/etherpad/src/templates/pad/pad_body.ejs deleted file mode 100644 index d932cd6..0000000 --- a/etherpad/src/templates/pad/pad_body.ejs +++ /dev/null @@ -1,69 +0,0 @@ -<% /* Copyright 2009 Google Inc. - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS-IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. */ %><% - var padIdHtml = toHTML(request.url.split("?", 1)[0]); -%> - -<% helpers.setHtmlTitle("EtherPad: "+toHTML(proTitle || request.path.substr(1))); %> -<% helpers.setBodyId("padbody") %> -<% helpers.addBodyClass(bodyClass) %> -<% helpers.includeCss("pad.css") %> -<% helpers.includeJs("undo-xpopup.js") %> -<% helpers.includeCometJs() %> -<% helpers.includeJQuery(); %> -<% helpers.includeJs("json2.js") %> -<% helpers.includeJs("ace.js") %> -<% helpers.includeJs("collab_client.js") %> -<% helpers.includeJs("pad.js") %> -<% helpers.suppressGA() %> -<% helpers.setRobotsPolicy({index: false, follow: false}) %> - -<div id="padpage"> - -<div id="modaloverlay"> - <div id="modaldialog"> - <div id="dialogtopbar">Foo.</div> - <table id="dialogcontenttable" cellpadding="0" cellspacing="0" border="0"><tr> - <td id="dialogcontent">This is a modal dialog!</td> - </tr></table> - </div> -</div> -<table id="padoutertable" cellpadding="0" cellspacing="0" border="0"> -<tr id="pot_toptr"> - <td id="pot_shadlefttopseg" class="potshad"> </td> - <td id="pot_top"> - <a id="headhomelink" href="/">EtherPad</a> - <div id="headurl"> - <label for="shareurl">Share this URL:</label> - <span id="shareurl"><%= padIdHtml %></span> - </div> - <a id="widthlink" href="javascript: void pad.toggleFullWidth()">M</a> - <a id="newpadlink" href="javascript:void pad.newPad()" - title="Create and open a new pad in a new window">New Pad</a> - </td> - <td id="pot_shadrighttopseg" class="potshad"> </td> -</tr> - -<tr> - <td id="pot_shadleft" class="potshad"><div><!-- --></div></td> - <td id="pot_main"> - <div id="padcontent"> - <%= contentHtml %> - </div><!-- /padcontent --> - </td> - <td id="pot_shadright" class="potshad"><div><!-- --></div></td> -</tr> - -</table><!-- /padoutertable --> - -</div><!-- /padpage --> diff --git a/etherpad/src/templates/pad/pad_content.ejs b/etherpad/src/templates/pad/pad_content.ejs deleted file mode 100644 index dbbd9bd..0000000 --- a/etherpad/src/templates/pad/pad_content.ejs +++ /dev/null @@ -1,300 +0,0 @@ -<% /* Copyright 2009 Google Inc. - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS-IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. */ %><% - function checkboxPref(name, label) { - var r = ['<div class="prefcheckbox" id="checkpref', name, '">']; - r.push('<table cellspacing="0" cellpadding="0" border="0">'); - r.push('<tr>'); - r.push('<td class="checkboxcell" valign="middle"><input type="checkbox" /></td>'); - r.push('<td class="labelcell" valign="middle">', label, '</td>'); - r.push('</tr>'); - r.push('</table>'); - r.push('</div>'); - return r.join(''); - } - - function exportOption(type, label, requiresOffice, url, title) { - url = url || '/ep/pad/export/'+padId+'/latest?format='+type; - var classes = [ "exportlink", "exporthref"+type ]; - if (requiresOffice && !hasOffice) { - classes.push("disabledexport"); - } else if (requiresOffice) { - classes.push("requiresoffice"); - } - var aStartArr = ['<a ']; - if (classes.length > 0) { - aStartArr.push(' class="'+classes.join(' ')+'"'); - } - aStartArr.push(' target="_blank" href="', url, '">'); - var aStart = aStartArr.join(''); - var r = ['<div class="exportlink" id="export', type, '"']; - if (title) { - r.push(' title="'+title+'"'); - } - r.push('>'); - r.push('<table cellspacing="0" cellpadding="0" border="0">'); - r.push('<tr>'); - r.push('<td class="exportpic" valign="middle">'); - r.push(aStart, '<img alt="" src="/static/img/may09/'+type+'.gif" />', '</a>'); - r.push('</td>'); - r.push('<td class="labelcell" valign="middle">'); - r.push(aStart, label, '</a>'); - if (title) { - r.push('<sup>?</sup>') - } - r.push('</td>'); - if (requiresOffice) { - r.push('<td class="exportspinner" '); - r.push('id="exportspinner', type, '"'); - r.push(' valign="middle"><img alt="" src="/static/img/misc/status-ball.gif" /></td>'); - } - r.push('</tr>'); - r.push('</table>'); - r.push('</div>'); - return r.join(''); - } -%> - -<div id="servermsg" class="topmsg hidden"> - <p><b>Server Notice (<span id="servermsgdate"></span>)</b></p> - <br/> - <a id="hidetopmsg" href="javascript: void pad.hideTopMsg('server')">hide</a> - <p id="servermsgtext"></p> -</div> - -<div id="bigtoperror_wrap" class="topmsg hidden"> - - <div class="bigtoperror" id="disconnected_looping"> - <p><b>We're having trouble establishing a connection with an - EtherPad synchronization server.</b> You may be connecting through an incompatible firewall or - proxy server.</p> - </div> - - <div class="bigtoperror" id="disconnected_userdup"> - <p><b>You seem to have opened this pad in another browser - window.</b> If you'd like to use this window - instead, you can reconnect.</p> - </div> - - <div class="bigtoperror" id="disconnected_slowcommit"> - <p><b>We're having difficulties talking to the EtherPad - synchronization server.</b> This may be due to network connectivity issues or high load on the server.</p> - </div> - - <div class="bigtoperror" id="disconnected_initsocketfail"> - <p><b>We were unable to establish the initial connection with - the EtherPad synchronization server.</b> This may be due to an incompatibility with your web - browser or internet connection.</p> - </div> - - <div class="bigtoperror" id="disconnected_unknown"> - <p><b>Lost connection with the EtherPad synchronization - server.</b> This may be due to a loss of network connectivity.</p> - </div> - - <div class="bigtoperror" id="reconnect_advise"> - <p>If this continues to happen, please <a target="_blank" href="/ep/support">let us know</a> - (opens in new window).</p> - </div> - - <div id="reconnect_form"> - <p><button class="forcereconnect">Reconnect - Now</button></p> - </div> - -</div> - -<div id="padtablediv"> -<table id="padtable" - border="0" cellspacing="0" cellpadding="0"> - <tr> - <td id="topbar"> - <div id="connectionstatus" - class="connecting">Connecting...</div> - <div id="topbarmsg"> </div> - <a class="showhide" id="showsidebar" href="javascript:void pad.showSideBar();"> - « show side bar - </a> - </td> - <td id="sidebartop"> - <a class="showhide" id="hidesidebar" href="javascript:void pad.hideSideBar();"> - hide » - </a> - </td> - </tr> - - <tr id="sizedcontent"> - <td id="editorcell" class="editorcell_loading" width="100%" valign="top"> - <div id="editorcellinner"> - <div id="loadingbox"> - Loading... - </div> - <div id="toptoolbar" class="disabledtoolbar"> - <a href="javascript:void pad.toolbarClick('bold');" class="toptoolbarbutton bold" title="Bold (ctrl-B)"> </a> - <a href="javascript:void pad.toolbarClick('italic');" class="toptoolbarbutton italic" title="Italics (ctrl-I)"> </a> - <a href="javascript:void pad.toolbarClick('underline');" class="toptoolbarbutton underline" title="Underline (ctrl-U)"> </a> - <a href="javascript:void pad.toolbarClick('undo');" class="toptoolbarbutton undo" title="Undo (ctrl-Z)"> </a> - <a href="javascript:void pad.toolbarClick('redo');" class="toptoolbarbutton redo" title="Redo (ctrl-Y)"> </a> - <form id="padtitle" action="/"><input type="text" id="padtitleedit"/><span class="padtitlepad">Pad:</span> <span id="padtitletitle"> </span> <span class="editlink">(<a href="javascript:void pad.editTitle();">rename</a>)</span><span class="oklink"><a href="javascript:void pad.submitTitle(true);">OK</a></span></form> - <a href="javascript:void pad.passwordClick();" id="passwordlock" title="" class="passwordhidden"> </a> - </div> - <div id="editorcontainer"><!-- --></div> - <div id="bottoolbar" class="disabledtoolbar"> - <div id="viewzoom">View Zoom: <select id="viewzoommenu"><option value="z85">85%</option><option value="z100">100%</option><option value="z115">115%</option><option value="z150">150%</option><option value="z200">200%</option><option value="z300">300%</option></select></div> - <div id="viewfont">View Font: <select id="viewfontmenu"><option value="normal">Normal</option><option value="code">Code</option></select></div> - </div> - </div> - </td> - <td id="sidebarcell" valign="top"> - <div id="sidebar" class="sidebar_loading"> - <div id="headuserlistwrap" class="sideheadwrap sh_uncollapsed"><p class="sidehead">Connected Users</p></div> - <div id="userlistwrap" class="sidebox"> - <div id="userlist"><!-- setbyjs --></div> - <div id="invitemore"> - <a class="small_link" id="invitemorelink" href="javascript:void pad.invitemoreShow();">invite more people...</a> - <div id="inviteinstructions" style="display:none;"> - <p>To invite someone to this pad, just copy and paste them the URL to this page.</p> - <p id="emailinviteleadin">Or we can send them an invitation for you:</p> - <p> - Email: <input id="invite_email" type="text" name="email" value="" /> - <input type="submit" id="invite_email_submit" value="Send" /> - </p> - <p id="invite_email_status"><!-- --></p> - <p id="hideinstructions"><a class="small_link" href="javascript:void pad.invitemoreHide();">hide</a></p> - </div> - </div> - </div> - <div id="headchatbox" class="sideheadwrap sh_collapsed"><p id="chatheadname" class="sidehead">Chat</p></div> - <div class="sidebox hidden" id="chatbox"> - <div id="chatmessages"><!-- --></div> - <div> - <table id="chatsaytable" border="0" cellspacing="0" cellpadding="0"> - <tr> - <td width="5" valign="middle">Say:</td> - <td><input type="text" id="chatinput" /></td> - </tr> - </table> - </div> - </div> - <div id="headimportexport" class="sideheadwrap sh_collapsed"><p class="sidehead">Import/Export</p></div> - <div class="sidebox hidden" id="importexport"> - <div id="exportsection"> - <p id="headexport"><strong>Download</strong> as:</p> - <table> - <tr> - <td class="firsttd"><%= exportOption('html', 'HTML', false) %></td> - <td class="secondtd"><%= exportOption('doc', 'Microsoft Word', true) %></td> - </tr> - <tr> - <td class="firsttd"><%= exportOption('txt', 'Plain text', false) %></td> - <td class="secondtd"><%= exportOption('pdf', 'PDF', true) %></td> - </tr> - <tr> - <td class="firsttd"><%= exportOption('link', 'Bookmark file', false, - '/ep/pad/linkfile?padId='+padId, - 'This will save a file that, when opened, takes you to this pad.') %></td> - <td class="secondtd"><%= exportOption('odt', 'OpenDocument', true) %></td> - </tr> - </table> - <div id="exportmessage"></div> - </div> - <div id="importsection"> - <p id="headimport"><strong>Import</strong> text from file:</p> - <form id="importform" method="post" action="/ep/pad/impexp/import" target="importiframe" enctype="multipart/form-data"> - <div class="importformdiv" id="importformfilediv"> - <input type="file" name="file" size="20" id="importfileinput" /> - <div class="importmessage" id="importmessagefail"></div> - </div> - <div class="importmessage" id="importmessagesuccess"></div> - <div class="importformdiv" id="importformsubmitdiv"> - <input type="hidden" name="padId" value="<%= encodeURIComponent(padId) %>" /> - <span class="nowrap"> - <input type="submit" name="submit" value="Import Now" disabled="disabled" id="importsubmitinput" /> - <img alt="" id="importstatusball" src="/static/img/misc/status-ball.gif" align="bottom" /> - <img alt="" id="importarrow" src="/static/img/may09/leftarrow.gif" align="bottom" /> - </span> - </div> - </form> - </div> - </div> - <div id="headrevisions" class="sideheadwrap sh_collapsed"><p class="sidehead">Saved Revisions</p></div> - <div class="sidebox hidden" id="revisions"> - <div id="nosaveprivs"> - Sorry, you have exceeded the maximum allowable - number of saved revisions. - </div> - <input id="savenow" type="submit" value="Save Now" /> - <div id="revisionlist"> - </div> - </div> - <div id="headprefs" class="sideheadwrap sh_collapsed"><p class="sidehead">Options</p></div> - <div class="sidebox hidden" id="prefs"> - <%= checkboxPref("showcolors", "Highlight who typed what.") %> - <%= checkboxPref("wrap", "Wrap long lines.") %> - <%= checkboxPref("linenums", "Show line numbers.") %> - <%= checkboxPref("fullwidth", "Use full window width.") %> - <%= checkboxPref("jshighlight", "Highlight JavaScript syntax.") %> - </div> - <div id="headfeedback" class="sideheadwrap sh_collapsed"><p class="sidehead">Feedback</p></div> - <div class="sidebox hidden sidebox_last" id="feedback"> - <div id="feedbackbox"> - <p style="text-align: center;">Tell us what you - think of EtherPad!<br/>(Include your email if you want a response)</p> - <div id="formbox"> - <textarea rows="5" cols="10" id="feedbackarea" name="feedbackarea"></textarea> - <input id="feedbacksubmit" type="submit" - value="Send to EtherPad Team" /> - </div> - </div> - <div id="feedbackresult"> - <p>Thanks for the feedback! Keep it coming.</p> - <p>You can also send feedback by email to - <span id="feedbackemail" - style="white-space: nowrap;">feedback@e***rp**d.com</span> to receive a personal - response.</p> - </div> - </div> - </div> - </td> - </tr> -</table> -</div><!-- #padtablediv --> - -<div style="clear: both;"><!-- --></div> - -<% if (request.params.djs) { %> - <div id="djs"> </div> -<% } %> - -<div id="appjetfooter"> - Powered by <a target="_blank" href="/ep/about/appjet">AppJet</a> - <img id="plane" src="/static/img/tinyplane.gif" alt="AppJet" /> -</div><!-- /appjetfooter --> - -<form id="reconnect" - method="post" - action="/ep/pad/reconnect" - accept-charset="UTF-8" - style="display: none;"> - <input type="hidden" id="padId" name="padId" /> - <input type="hidden" id="diagnosticInfo" - name="diagnosticInfo" /> - <input type="hidden" id="missedChanges" name="missedChanges" /> -</form> - -<form id="newpad" - name="newpad" - action="/ep/pad/newpad" - target="_blank" - style="display: none;"> -</form> diff --git a/etherpad/src/templates/pad/pad_download_link.ejs b/etherpad/src/templates/pad/pad_download_link.ejs deleted file mode 100644 index e05d7d0..0000000 --- a/etherpad/src/templates/pad/pad_download_link.ejs +++ /dev/null @@ -1,27 +0,0 @@ -<% /* Copyright 2009 Google Inc. - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS-IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. */ %><% - -var host = request.host; -helpers.addToHead('<meta http-equiv="refresh" content="0;url=http://'+host+'/'+padId+'" />'); - -%> - -<div id="refreshpage"> - <h1>Etherpad</h1> - - <p>This pad document, <a href="http://<%= host %>/<%= padId %>"><%= padId %></a>, is stored on <a href="http://<%= host %>"><%= host %></a>. Please click the link below to access this pad.</p> - - <a style="size: 200%; text-align: center;" href="http://<%= host %>/<%= padId %>">http://<%= host %>/<%= padId %></a> - -</div>
\ No newline at end of file diff --git a/etherpad/src/templates/pad/padfull_body.ejs b/etherpad/src/templates/pad/padfull_body.ejs deleted file mode 100644 index 41a100c..0000000 --- a/etherpad/src/templates/pad/padfull_body.ejs +++ /dev/null @@ -1,32 +0,0 @@ -<% /* Copyright 2009 Google Inc. - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS-IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. */ %><div id="padfullpage" class="fpcontent"> - -<h1>Pad is Full!</h1> - -<div id="msg"> - -<div id="padurlwrap"> -<p><tt id="padurl">http://<%= request.host %>/<%= padId %></tt></p> -</div> - -<p>Sorry, only <%= maxUsersPerPad %> people are allowed to edit a -single pad at the same time in the free version of EtherPad.</p> - -<p>Please see our <a href="http://etherpad.com/ep/about/pricing">pricing plans</a> for -information about having more than <%= maxUsersPerPad %> -collaborators.</p> - -</div> - -</div> diff --git a/etherpad/src/templates/pad/padslider_body.ejs b/etherpad/src/templates/pad/padslider_body.ejs deleted file mode 100644 index 51a9e84..0000000 --- a/etherpad/src/templates/pad/padslider_body.ejs +++ /dev/null @@ -1,41 +0,0 @@ -<% /* Copyright 2009 Google Inc. - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS-IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. */ %><% - helpers.setHtmlTitle(toHTML("Time Slider")); - helpers.setBodyId("padsliderbody"); - helpers.includeCss("etherpad.css"); - //helpers.includeCss("jqueryui/theme/ui.all.css"); - helpers.setRobotsPolicy({index: false, follow: false}); - helpers.includeJQuery(); - //helpers.includeJs("jquery-ui-slider-1.5.3.js"); - helpers.includeJs("json2.js"); - helpers.includeJs("timeslider.js"); - - function dfmt(t) { - var d = new Date(t); - return d.toString(); - } -%> - -<!-- <div id="sliderui"></div> --> -<p>Powered by <a href="/">EtherPad</a>.</p><br /> -<div id="controls"> -<a href="<%= request.url %>#" class="prev">prev</a> / -<a href="<%= request.url %>#" class="next">next</a> -<a href="<%= request.url %>#" class="play">play</a> / -<a href="<%= request.url %>#" class="stop">stop</a> -seek to #<input class="entry" type="text" size="6"/> -<div id="currevdisplay"><span class="min">0</span> --- <span class="cur">0</span> --- <span class="max">0</span></div> -</div> - -<div id="stuff">Loading...</div> diff --git a/etherpad/src/templates/pad/total_users_exceeded.ejs b/etherpad/src/templates/pad/total_users_exceeded.ejs deleted file mode 100644 index 7ac7e1b..0000000 --- a/etherpad/src/templates/pad/total_users_exceeded.ejs +++ /dev/null @@ -1,29 +0,0 @@ -<% /* Copyright 2009 Google Inc. - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS-IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. */ %><div class="fpcontent" - style="font-family: Verdana, sans-serif; margin-top: 2em; border: 1px solid #ccc; padding: 1em; background: #eee;"> - - <h1>EtherPad Server Is Full</h1> - - <p>Sorry, this EtherPad server is only licensed to service - <%= userQuota %> active users - within a <%= activeUserWindowHours %>-hour period, - and that quota is currently full.</p> - - <p>Please contact your server administrator and ask him or her to - purchase a license with additional users.</p> - - <a href="/">« Home</a> - -</div> - diff --git a/etherpad/src/templates/pro-help/billing.ejs b/etherpad/src/templates/pro-help/billing.ejs deleted file mode 100644 index 269d37b..0000000 --- a/etherpad/src/templates/pro-help/billing.ejs +++ /dev/null @@ -1,45 +0,0 @@ -<% /* Copyright 2009 Google Inc. - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS-IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. */ %> -<h1>Account Quotas and Billing</h1> - -<p> -EtherPad Professional Edition allows you to create accounts for members -of your team. Account-holders may sign in at -<tt>your-domain.etherpad.com</tt>. -</p> - -<p>You may have up to <%= numFreeAccounts %> accounts for free. Once you -try to add more accounts, you will be prompted to enter payment -information. Above <%= numFreeAccounts %> accounts, you will be charged -$<%= pricePerAccount %> per account per month. For example, to have <%= -numFreeAccounts+1 %> accounts will cost a total of $<%= pricePerAccount * -(numFreeAccounts+1) %> per month.</p> - -<p>You are billed at the end of your monthly billing cycle, so if you -start on January 1st, you will not be billed until February 1st. To -compute the total amount charged at the end of the month, we use the -<b>maximum number of accounts that existed throughout the month</b>. So -if you create 10 accounts, but then delete 3 before the end of the month, - you will still be charged for 10 at the end of the month. Likewise, if - you create 10 accounts, delete them all, and create 10 new accounts, - you will be charged for 10 accounts.</p> - -<p>EtherPad lets you to collaborate with <b>guests</b> in -addition to account-holders. Guests are users who do not have accounts -but join you in public pads on your site. You can always have unlimited -guest collaborators, and you are not ever charged for guests. You are -only charged for account-holders.</p> - - - diff --git a/etherpad/src/templates/pro-help/essentials.ejs b/etherpad/src/templates/pro-help/essentials.ejs deleted file mode 100644 index a1bcc87..0000000 --- a/etherpad/src/templates/pro-help/essentials.ejs +++ /dev/null @@ -1,18 +0,0 @@ -<% /* Copyright 2009 Google Inc. - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS-IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. */ %> -<h1>EtherPad Professional Essentials</h1> - - - - diff --git a/etherpad/src/templates/pro/account/create-admin-account.ejs b/etherpad/src/templates/pro/account/create-admin-account.ejs deleted file mode 100644 index 2a6c9f8..0000000 --- a/etherpad/src/templates/pro/account/create-admin-account.ejs +++ /dev/null @@ -1,37 +0,0 @@ -<% /* Copyright 2009 Google Inc. - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS-IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. */ %><% helpers.includeCss("pro/account.css") %> - -<div class="fpcontent"> - <div class="account-container"> - - <h3>Welcome to your own EtherPad server!</h3> - - <p>To get started, please create an administrator account. This - account will also be the primary admin contact for this - system.</p> - - <%= errorDiv() %> - - <%= renderAccountForm('create-admin-account', [ - {title: "Create Admin Account"}, - {text: "fullName", label: "Full Name:"}, - {text: "email", label: "Email:"}, - {password: "password", label: "Password:"}, - {password: "passwordConfirm", label: "Confirm Password:"}, - {submit: "Create Account"} - ]) %> - - </div> -</div> - diff --git a/etherpad/src/templates/pro/account/global-multi-domain-recover-email.ejs b/etherpad/src/templates/pro/account/global-multi-domain-recover-email.ejs deleted file mode 100644 index d2eb4de..0000000 --- a/etherpad/src/templates/pro/account/global-multi-domain-recover-email.ejs +++ /dev/null @@ -1,27 +0,0 @@ -<% /* Copyright 2009 Google Inc. - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS-IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. */ %> -Dear <%= accountList[0].fullName %>, - -We received a request to recover the EtherPad password for "<%= -email %>. We found multiple accounts linked to this email address. -Please choose one of the following URLs to proceed with recovering the -password for that EtherPad site: - -<% for (var i = 0; i < accountList.length; i++) { %> -<%= recoverLink(accountList[i], domainList[i]) %> -<% } %> - --- -If you did not request a password reset, simply ignore this email. - diff --git a/etherpad/src/templates/pro/account/guest-knock.ejs b/etherpad/src/templates/pro/account/guest-knock.ejs deleted file mode 100644 index 44c69c0..0000000 --- a/etherpad/src/templates/pro/account/guest-knock.ejs +++ /dev/null @@ -1,27 +0,0 @@ -<% /* Copyright 2009 Google Inc. - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS-IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. */ %><% helpers.includeJQuery() %> -<% helpers.includeJs("pro/guest-knock-client.js") %> -<% helpers.includeCss("pro/account.css") %> - -<div id="guest-knock-box"> - <p> - <img src="/static/img/misc/status-ball.gif"> - Waiting for approval... - </p> -</div> - -<div id="guest-knock-denied"> - Access Denied. -</div> - diff --git a/etherpad/src/templates/pro/account/signin-guest.ejs b/etherpad/src/templates/pro/account/signin-guest.ejs deleted file mode 100644 index 621c381..0000000 --- a/etherpad/src/templates/pro/account/signin-guest.ejs +++ /dev/null @@ -1,51 +0,0 @@ -<% /* Copyright 2009 Google Inc. - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS-IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. */ %><% helpers.includeCss("pro/account.css") %> -<% helpers.includeJQuery() %> -<% helpers.includeJs("pro/signin-client.js") %> -<% helpers.setHtmlTitle("EtherPad: Sign In") %> - -<div class="fpcontent"> - <div class="account-container"> - - <form id="guest-signin-form" - action="<%= request.path + '?' + request.query %>" method="post" - style="border: 1px solid #5a5; background: #efe; padding: 1em;"> - - <div style="font-weight: bold;">Guest Sign In:</div> - - <% if (errorMessage) { %> - <div style="margin: 1em 0; padding: 1em; border: 1px solid red; background: #fee;"> - <%= errorMessage %> - </div> - <% } %> - - <p>Enter your name to be displayed to other users:</p> - <input id="guestDisplayName" type="text" name="guestDisplayName" value="<%= guestName - %>" /> - <input type="hidden" name="localPadId" value="<%= localPadId %>" /> - - <input type="submit" value="Request Access" /> - - </form> - - <form id="account-signin-choice" - method="get" - action="/ep/account/sign-in"> - <input type="hidden" name="guest" value="1" /> - <input type="hidden" name="padId" value="<%= toHTML(localPadId) %>" /> - Account holders: <button>Sign in</button> - </form> - </div> -</div> - diff --git a/etherpad/src/templates/pro/admin/admin.ejs b/etherpad/src/templates/pro/admin/admin.ejs deleted file mode 100644 index f8e1562..0000000 --- a/etherpad/src/templates/pro/admin/admin.ejs +++ /dev/null @@ -1,15 +0,0 @@ -<% /* Copyright 2009 Google Inc. - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS-IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. */ %> -Please select an option from the left. - diff --git a/etherpad/src/templates/pro/admin/billing-invoices.ejs b/etherpad/src/templates/pro/admin/billing-invoices.ejs deleted file mode 100644 index a3a17d8..0000000 --- a/etherpad/src/templates/pro/admin/billing-invoices.ejs +++ /dev/null @@ -1,45 +0,0 @@ -<% /* Copyright 2009 Google Inc. - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS-IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. */ %><% - helpers.includeCss('store/ondemand-billing.css'); -%> - -<% -function displayInvoice(invoice) { %> - <tr> - <td><%= formatDate(invoice.time) %></td> - <td><%= invoice.id %></td> - <td><%= invoice.status == 'paid' ? "Paid" : (invoice.status == 'pending' ? "<strong>Pending</strong>" : (invoice.status == 'refunded' ? "<em>Refunded</em>" : invoice.status)) %></td> - <td><%= invoice.users %></td> - <td>US $<%= dollars(centsToDollars(invoice.amt)) %></td> - <td><a href="<%= request.path %>?id=<%= invoice.id %>">View</a></td> - </tr> -<% } %> - -<h3 class="top">Past Invoices</h3> - -<% if (invoices.length == 0) { %> - <p class="informational">No old invoices.</p> -<% } else { %> - <table class="invoicelist"> - <tr> - <th>Date</th> - <th>Invoice Number</th> - <th>Status</th> - <th>Number of users</th> - <th>Cost</th> - <th> </th> - </tr> - <% invoices.forEach(displayInvoice); %> - </table> -<% } %>
\ No newline at end of file diff --git a/etherpad/src/templates/pro/admin/manage-billing.ejs b/etherpad/src/templates/pro/admin/manage-billing.ejs deleted file mode 100644 index 8a7bd51..0000000 --- a/etherpad/src/templates/pro/admin/manage-billing.ejs +++ /dev/null @@ -1,35 +0,0 @@ -<% /* Copyright 2009 Google Inc. - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS-IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. */ %> -<% - helpers.includeCss('store/ondemand-billing.css'); -%> - -<% function fmtdate(d) { - if (!d) { - return "Never"; - } else { - return d.toString().split(' ').slice(0,5).join(' '); - } -} - -function plural(amt) { - return (amt == 1 ? "" : "s"); -} - -%> - -<h3 class="top">Payment Information</h3> - -<p>EtherPad Professional will be discontinued on <%= helpers.rafterTerminationDate() %>. No further payments will be collected.</p> -<p><a href="http://etherpad.com<%= helpers.rafterBlogUrl() %>">Read more</a>.</p> diff --git a/etherpad/src/templates/pro/admin/pne-config.ejs b/etherpad/src/templates/pro/admin/pne-config.ejs deleted file mode 100644 index 56fe68d..0000000 --- a/etherpad/src/templates/pro/admin/pne-config.ejs +++ /dev/null @@ -1,33 +0,0 @@ -<% /* Copyright 2009 Google Inc. - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS-IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. */ %><h3 class="top">Private Server Configuration</h3> - -<p>Your private EtherPad server can be configured using either command-line arguments (of the -form --<i>argName</i>=<i>value</i>), or by adding the options to the file -<tt>data/etherpad.properties</tt>.</p> - -<p>Learn more about server options in the <a href="/ep/pne-server-manual/">PNE Server Manual</a>.</p> - -<h3>Current Config Values</h3> - -<table id="pne-config"> -<tr><th with="1%">Option Name</th><th width="99%">Current Value</th></tr> -<% propKeys.forEach(function(k) { %> -<tr><td class="key"><%= k %></td><td class="val"><%= appjetConfig[k] %></td></tr> -<% }) %> -</table> - - - - - diff --git a/etherpad/src/templates/pro/admin/pne-dashboard.ejs b/etherpad/src/templates/pro/admin/pne-dashboard.ejs deleted file mode 100644 index 6b9b456..0000000 --- a/etherpad/src/templates/pro/admin/pne-dashboard.ejs +++ /dev/null @@ -1,40 +0,0 @@ -<% /* Copyright 2009 Google Inc. - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS-IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. */ %><% helpers.setHtmlTitle("EtherPad Private Server Dashboard") %> - -<h3 class="top">User Quota</h3> - -<p>Your maximum daily unique user quota is: <b><%= userQuota %></b></p> -<p>So far today, there have been <b><%= todayActiveUsers %></b> applied against this quota.</p> - -<h3>Uptime</h3> - -This server has been running for <b><%= renderUptime() %></b>. - -<h3>HTTP Response Codes</h3> - -<%= renderResponseCodes() %> - -<h3>Current Realtime Pad Connections</h3> - -<%= renderPadConnections() %> - -<h3>Realtime Transport Performance</h3> - -<%= renderTransportStats() %> - -<div style="font-size: 12px; text-align: right;"> - <a style="color: #ccc;" href="/ep/admin/pne-advanced">*</a> -</div> - - diff --git a/etherpad/src/templates/pro/admin/pne-license-manager.ejs b/etherpad/src/templates/pro/admin/pne-license-manager.ejs deleted file mode 100644 index f160be0..0000000 --- a/etherpad/src/templates/pro/admin/pne-license-manager.ejs +++ /dev/null @@ -1,132 +0,0 @@ -<% /* Copyright 2009 Google Inc. - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS-IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. */ %><% helpers.setHtmlTitle("EtherPad PNE License Manager"); %> -<% helpers.includeJQuery() %> -<% helpers.includeJs("etherpad.js") %> - -<div id="lm"> - - <% if (isExpired) { %> - - <div class="lm-error-msg"> - <p>Your evaluation license has expired!</p> - <p>Please contact <%= helpers.oemail("sales") %> or visit the <a - href="http://etherpad.com/ep/about/pricing-eepnet">pricing page on etherpad.com</a> - to purchase a license key.</p> - </div> - - <% } %> - - <% if (isTooOld) { %> - - <div class="lm-notice-msg"> - <p>The version of EtherPad you are running (<%= runningVersionString %>) is too old. - Please update to version <%= licenseVersionString %> or newer by <a - href="http://etherpad.com/ep/store/eepnet-download">downloading the latest version on - etherpad.com</a>.</p> - </div> - - <% } %> - - <% if (errorMessage) { %> - <div class="lm-error-msg"> - <p><%= errorMessage %></p> - </div> - <% } %> - - <% if (licenseInfo && !edit) { %> - - <h3 class="top">License Info:</h3> - - <div id="lm-status"> - <table> - <tr> - <td width="1%" align="right">Licensed To: </td> - <td width="99%"><b><%= licenseInfo.personName %></b></td> - </tr> - - <tr> - <td align="right">Organization: </td> - <td><b><%= licenseInfo.organizationName %></b></td> - </tr> - - <tr> - <td align="right">Software Edition: </td> - <td><b><%= licenseInfo.editionName %></b></td> - </tr> - - <tr> - <td align="right">Maximum Users: </td> - <td><b><%= licenseInfo.userQuota %></b></td> - </tr> -<!-- - <tr> - <td align="right">Licensed PNE Version: </td> - <td><b><%= licenseVersionString %>+</b></td> - </tr> ---> - <tr> - <td align="right">Expires: </td> - <td><b><%= licenseInfo.expiresDate ? licenseInfo.expiresDate.toString() : "never" %></b></td> - </tr> - </table> - - </div> - - <div id="lm-edit-button-wrap"> - <form action="<%= request.path %>edit" method="get"> - <input type="submit" name="btn" value="Edit License Info" /> - </form> - </div> - - <% } %> - - <% if (isExpired || !licenseInfo || edit) { %> - - <h3 class="top">Enter New License Info:</h3> - - <% if (isUnlicensed) { %> - <p>Before you can use this copy of EtherPad Private Network Edition, you must first - enter a valid license. Free trial licenses can be obtained <a - target="_blank" - href="https://etherpad.com/ep/store/eepnet-eval-signup">obtained here</a>. - </p> - <% } %> - - <form action="<%= request.path %>" method="post"> - <div id="lm-edit"> - - <p><b>Name:</b></p> - <input style="width: 100%;" type="text" name="personName" - value="<%= toHTML(oldData.personName || "") %>" /> - - <p><b>Organization:</b></p> - <input style="width: 100%;" type="text" name="orgName" - value="<%= toHTML(oldData.orgName || "") %>" /> - - <p><b>License Key:</b></p> - <textarea style="width: 100%; height: 60px;" - name="licenseString"><%= toHTML(oldData.licenseString || "") %></textarea> - - </div> - - <div id="lm-edit-submit-wrap"> - <input type="submit" name="submit" value="Submit" /> - <input type="submit" name="cancel" value="Cancel" /> - </div> - </form> - - <% } %> - -</div><!-- /lm --> - diff --git a/etherpad/src/templates/pro/admin/pne-shell.ejs b/etherpad/src/templates/pro/admin/pne-shell.ejs deleted file mode 100644 index f398b15..0000000 --- a/etherpad/src/templates/pro/admin/pne-shell.ejs +++ /dev/null @@ -1,33 +0,0 @@ -<% /* Copyright 2009 Google Inc. - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS-IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. */ %><% helpers.setHtmlTitle("Shell") %> - -<p style="margin-top: 0; color: red;">Warning! Be careful with this page.</p> - -<h3 class="top">Shell</h3> - -<p>Enter command:</p> - -<form action="<%= request.path %>" method="post"> - <textarea name="cmd" style="width: 100%; height: 140px;"><%= oldCmd %></textarea> - <input type="submit" value="Run" /> -</form> - -<% if (result) { %> - <h3>Result</h3> - <div style="font-family: monospace; border: 1px solid #66f; padding: 1em;"> - <%= result %> - </div> - <p style="color: #888; font-family: monospace; font-size: .7em;">Computed in <%= elapsedMs %>ms.</p> -<% } %> - diff --git a/etherpad/src/templates/pro/admin/pro-config.ejs b/etherpad/src/templates/pro/admin/pro-config.ejs deleted file mode 100644 index 32cb610..0000000 --- a/etherpad/src/templates/pro/admin/pro-config.ejs +++ /dev/null @@ -1,55 +0,0 @@ -<% /* Copyright 2009 Google Inc. - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS-IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. */ %> -<h3 class="top">Application Configuration</h3> - -<%= messageDiv() %> - -<form action="<%= request.path %>" method="post"> - -<table id="t-pro-config"> - <tr> - <th width="50%" valign="top">Site Name (appears in - the header of all pages):</th> - <td width="50%" valign="top"> - <input type="text" name="siteName" value="<%= - config.siteName %>" id="siteName" /> - </td> - </tr> - - <tr> - <th valign="top">Always require all users on this domain to use secure - (HTTPS) connections?</th> - <td valign="top"> - <input type="checkbox" id="alwaysHttps" name="alwaysHttps" - <%= config.alwaysHttps ? 'checked="on"' : '' %> /> - </td> - </tr> - - <tr> - <th valign="top">Default pad text:</th> - <td valign="top"> - <textarea name="defaultPadText" id="defaultPadText"><%= - config.defaultPadText %></textarea> - </td> - </tr> - - <tr> - <td colspan="2" style="text-align: right;"> - <input type="submit" name="save" value="Apply" /> - </td> - </tr> -</table> - -</form> - diff --git a/etherpad/src/templates/pro/admin/single-invoice.ejs b/etherpad/src/templates/pro/admin/single-invoice.ejs deleted file mode 100644 index aeab184..0000000 --- a/etherpad/src/templates/pro/admin/single-invoice.ejs +++ /dev/null @@ -1,47 +0,0 @@ -<% /* Copyright 2009 Google Inc. - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS-IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. */ %><% - helpers.includeCss('store/ondemand-billing.css'); -%> - -<h3 class="top">Past Invoices</h3> - -<p>Invoice #<%= invoice.id %>, dated <%= formatDate(invoice.time) %>.</p> - -<table class="billingsummary"> - <tr> - <th>Invoice status</th> - <td><%= invoice.status == 'paid' ? "Paid" : (invoice.status == 'pending' ? "<strong>Pending</strong>" : (invoice.status == 'refunded' ? "<em>Refunded</em>" : invoice.status)) %></td> - </tr> - <tr> - <th>Number of users</th> - <td><%= invoice.users %></td> - </tr> - <tr> - <th>Cost</th> - <td>US $<%= dollars(centsToDollars(invoice.amt)) %></td> - </tr> - <% if (transaction) { %> - <tr> - <th>Paid on</th> - <td><%= formatDate(transaction.time) %></td> - </tr> - <tr> - <th>Paid using</th> - <td><%= transaction.payInfo %></td> - </tr> - <% } %> -</table> - -<p class="returnlink"><a href="<%= request.path %>">« back to invoice list</a></p> - diff --git a/etherpad/src/templates/pro/pro-payment-required.ejs b/etherpad/src/templates/pro/pro-payment-required.ejs deleted file mode 100644 index 3649990..0000000 --- a/etherpad/src/templates/pro/pro-payment-required.ejs +++ /dev/null @@ -1,51 +0,0 @@ -<% /* Copyright 2009 Google Inc. - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS-IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. */ %><% helpers.includeJQuery() %> -<% helpers.includeJs("etherpad.js") %> -<% helpers.includeCss("pro/payment-required.css") %> - -<div class="fpcontent payment-required"> - - -<div id="outside"> -<div id="inside"> - - <h1>Payment Required</h1> - - <div id="message"><%= message %></div> - <br/> - - <% if (isAdmin) { %> - <a class="manage-billing-button" href="/ep/admin/billing/"> - Manage Billing Info - </a> - <% } else { %> - <p>Please contact one of the following site administrator to - set up a billing profile on <%= request.domain %>:</p> - - <ul> - <% adminList.forEach(function(a) { %> - <li><%= a.fullName %> <<%= TT(a.email) - %>></li> - <% }); %> - </ul> - - <% } %> - - <br/><br/> - <p>Questions? Contact <%= helpers.oemail("support") %>.</p> - -</div> -</div> - - diff --git a/etherpad/src/templates/statistics/stat_page.ejs b/etherpad/src/templates/statistics/stat_page.ejs deleted file mode 100644 index 22277b3..0000000 --- a/etherpad/src/templates/statistics/stat_page.ejs +++ /dev/null @@ -1,89 +0,0 @@ -<% /* Copyright 2009 Google Inc. - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS-IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. */ %><% - -helpers.includeCss('admin/admin-stats.css'); -helpers.includeJQuery(); -helpers.includeJs('statpage.js'); - -%> - -<a id="backtoadmin" href="/ep/admin/">« back to admin</a> - -<div id="topnav"> - <ul> - <% statCategoryNames.forEach(function(catName) { - %> <li> - <a class="navlink" id="link<%= catName %>" href="<%= request.path %>#<%= catName %>"><%= catName %></a> - </li> <% - }); %> - </ul> -</div> - -<div> </div> - -<%= helpers.clearFloats() %> - -<%= optionsForm %> - -<% function formatLatest(latest) { - if (typeof(latest) == 'string') { - return latest; - } else { - return '<table class="latesttable" border="0" cellpadding="0" cellspacing="0">'+ - latest.map(function(x) { return "<tr><td>"+x.value+"</td><td>"+x.description+"</td></tr>"; }).join("\n")+ - "</table>"; - } -} -%> - -<% -function displayStat(statObject) { - %> - <div class="statentry <%= statObject.specialState %>" id="<%= statObject.id %>"> - <h2 class="title"><%= statObject.name %></h2> - <div class="statbody"> - <h3><%= statObject.displayName %></h3> - <table> - <tr> - <td class="graph"> - <%= statObject.graph %> - <% if (statObject.dataLinks) { %> - <div class="datalinks">(data for <%= statObject.dataLinks.join(", ") %>)</div> - <% } %> - </td> - <td class="latest"> - <h4>Latest values:</h4> - <%= formatLatest(statObject.latest) %> - </td> - </tr> - </table> - </div> - </div> - <% -} - -function displayCategory(categoryName) { - %> - <div class="categorywrapper" id="box<%= categoryName %>"> - <% - categoriesToStats[categoryName].forEach(displayStat); - %> - </div> - <% -} - -statCategoryNames.forEach(displayCategory); - -%> - diff --git a/etherpad/src/templates/store/csc-help.ejs b/etherpad/src/templates/store/csc-help.ejs deleted file mode 100644 index 3623fac..0000000 --- a/etherpad/src/templates/store/csc-help.ejs +++ /dev/null @@ -1,23 +0,0 @@ -<% /* Copyright 2009 Google Inc. - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS-IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. */ %><html> -<body> - -<p>The CSC (or CVC) is the 3-digit number printed on the back of your card. -For American Express, it's the 4-digit number on the front.</p> - -<img src="/static/img/billing/csc-help.gif" alt="cc back" /> - -</body> -</html> - diff --git a/etherpad/src/templates/store/eepnet-checkout/billing-info.ejs b/etherpad/src/templates/store/eepnet-checkout/billing-info.ejs deleted file mode 100644 index 69e0ead..0000000 --- a/etherpad/src/templates/store/eepnet-checkout/billing-info.ejs +++ /dev/null @@ -1,183 +0,0 @@ -<% /* Copyright 2009 Google Inc. - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS-IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. */ %><% - if (!cart.billingCountry) { - cart.billingCountry = "US"; - } - helpers.includeJQuery(); - helpers.includeJs("billing_shared.js"); - helpers.includeJs("billing.js"); - - function classesPlusError(classes, id) { - return (classes || []).concat(errorIfInvalid(id) || []).join(' '); - } -%> - -<% function textRow(id, label, classes, notBillingField) { - var val = (cart[id] || ""); - var maxlen=60; - var border; - if (id == "billingCCNumber") { - if (billing.validateCcNumber(val)) { - border = "greenborder"; - } else if (billing.validateCcLength(val)) { - border = "redborder"; - } - val = obfuscateCC(val); - maxlen = 16; - } - var classString = classesPlusError((notBillingField?[]:['billingfield']).concat(classes), id); - return TR({className: classString}, - TD({className: 'pcell'}, - LABEL({htmlFor: id}, label+(label.length > 0 ? ":" : ''))), - TD({className: 'tcell'}, - INPUT({type: 'text', name: id, size:35, maxlength:maxlen, - value: val, - className: border}))); - } %> - -<h4>Your name:</h4> -<table class="billingtable"> - <%= textRow("billingFirstName", "First Name", [], true) %> - <%= textRow("billingLastName", "Last Name", [], true) %> -</table> - -<h4>Payment information:</h4> - -<% if (request.scheme == 'https') { %> - <div class='secure'> - <p>Your payment information will be sent securely.</p> - </div> -<% } %> - -<% - function purchaseType(id, title) { - var sel; - if (! cart.billingPurchaseType) { - sel = (id == 'creditcard'); - } else { - sel = (cart.billingPurchaseType == id); - } - %> - <span class="paymentbutton"> - <input type="radio" value="<%= id %>" name="billingPurchaseType" id="purchase<%= id %>" <%= sel ? 'checked="checked"' : "" %> style="display: inline-block; vertical-align: middle;"/> - <label for="purchase<%= id %>"> - <img src="/static/img/billing/<%= id %>.gif" style="display: inline-block; vertical-align: middle;" /> <span style="display: inline-block; vertical-align: middle;"><%= title %></span> - </label> - </span> - <% - } -%> - -<div id="billingselect"> -<p class="<%= errorIfInvalid("billingPurchaseType") %>">Pay using: -<% purchaseType('creditcard', 'Credit Card'); %> -<% purchaseType('invoice', 'Invoice'); %> -<% purchaseType('paypal', 'PayPal'); %> -</p> -</div> - -<table class="billingtable"> - <%= textRow("billingCCNumber", "Credit Card Number", ['creditcardreq']) %> - -<% function cardInput(cctype) { - var classes = []; - if (cart.billingCCNumber) { - if (cctype == billing.getCcType(cart.billingCCNumber)) { - classes.push("ccimageselected"); - } - } - classes.push("ccimage"); - var img = IMG({ - src: "/static/img/billing/"+cctype+".gif", - alt: cctype, - className: classes.join(" "), - style: "vertical-align: middle", - id: "img"+cctype}); - return img; - } %> - - <tr class="billingfield creditcardreq"> - <td class="pcell"> </td> - <td valign="center"> - <div id="ccimages"> - <% ["visa", "mc", "disc", "amex"].forEach(function(t) { %> - <%= cardInput(t) %> - <% }); %> - </div> - </td> - </tr> - - <tr class="billingfield creditcardreq <%= errorIfInvalid("billingMeta") %>"> - <td class="pcell">Expiration (MM/YY):</td> - <td> - <input type="text" name="billingExpirationMonth" size="2" maxlength="2" - value="<%= (cart.billingExpirationMonth || '') %>" /> - / - <input type="text" name="billingExpirationYear" size="2" maxlength="2" - value="<%= (cart.billingExpirationYear || '') %>" /> - CSC/CVC: - <input type="text" name="billingCSC" size="4" maxlength="4" - value="<%= (cart.billingCSC || '') %>"/> - <a target="_blank" href="//<%= getFullSuperdomainHost() %>/ep/store/csc-help" id="cschelp">what's this?</a> - </td> - </tr> - - <tr class="billingfield creditcardreq"> - <td colspan=2 style="text-align: center; font-weight: normal;">(Be sure to enter your <strong>credit card billing address</strong> below.)</td> - </tr> - - <tr class="<%= classesPlusError(['billingfield', 'creditcardreq', 'invoicereq'], 'billingCountry') %>"> - <td class="pcell">Country:</td> - <td> - <select id="billingCountry" name="billingCountry"> - <% countryList.forEach(function(c) { %> - <%= ((c[0] == cart.billingCountry) ? - OPTION({value: c[0], selected: true}, c[1]) : - OPTION({value: c[0]}, c[1])) %> - <% }); %> - </select> - </td> - </tr> - - <%= textRow("billingAddressLine1", "Address", ['creditcardreq', 'invoicereq']) %> - <%= textRow("billingAddressLine2", "", ['creditcardreq', 'invoicereq']) %> - <%= textRow("billingCity", "City", ['creditcardreq', 'invoicereq']) %> - - <tr class="<%= classesPlusError(['billingfield', 'creditcardreq', 'invoicereq', 'usonly'], 'billingState') %>"> - <td class="pcell">State:</td> - <td> - <select id="billingState" name="billingState"> - <% usaStateList.forEach(function(s) { %> - <%= ((s == cart.billingState) ? - OPTION({value: s, selected: true}, s) : - OPTION({value: s}, s)) %> - <% }); %> - </select> - </td> - </tr> - <%= textRow("billingProvince", "Province", ['creditcardreq', 'invoicereq', 'intonly'])%> - <%= textRow("billingZipCode", "Zip Code", ['creditcardreq', 'invoicereq', 'usonly']) %> - <%= textRow("billingPostalCode", "Postal Code", ['creditcardreq', 'invoicereq', 'intonly'])%> - <tr class="billingfield paypalreq"><td colspan=2 class="firstcell">Click "<%= billingButtonName %>" below to continue with PayPal.</td></tr> -</table> - -<% if (showCouponCode) { %> - <h4>Optional information:</h4> - <table class="billingtable"> - <%= textRow("billingReferralCode", "Referral Code", [], true) %> - </table> -<% } %> - - -<%= billingFinalPhrase %>
\ No newline at end of file diff --git a/etherpad/src/templates/store/eepnet-checkout/cart.ejs b/etherpad/src/templates/store/eepnet-checkout/cart.ejs deleted file mode 100644 index 147ff1b..0000000 --- a/etherpad/src/templates/store/eepnet-checkout/cart.ejs +++ /dev/null @@ -1,119 +0,0 @@ -<% /* Copyright 2009 Google Inc. - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS-IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. */ %> -<div id="<%= shoppingcartid %>" class="shoppingcart"> - <table cellspacing="0" cellpadding="0"> - <tr> - <th>Item</th> - <th class="pcell">Cost</th> - </tr> - - <% if (! ('baseCost' in cart) && ! ('supportCost' in cart)) { %> - <tr> - <td colspan="2" class="noitems"> - <em>Nothing selected.</em> - </td> - </tr> - <% } %> - - <% if (cart.baseCost) { %> - <tr class="base"> - <td> - <span class="item">Etherpad Private Network</span><br /> - <span class="desc"><%= cart.numUsers %> users - <% if (editable) { %> - <span class="editlink">(<a href="<%= pathTo("purchase") %>">edit</a>)</span> - <% } %> - </span> - </td> - <td class="pcell">US$<%= dollars(cart.baseCost) %></td> - </tr> - <% if (cart.couponProductPctDiscount) { %> - <tr class="basediscount refer"> - <td> - <span class="desc">Referral - <%= cart.couponProductPctDiscount %>% savings</span> - </td> - <td class="pcell">-US$<%= dollars(cart.productReferralDiscount) %></td> - </tr> - <% } %> - <% } %> - - <% if (cart.supportCost) { %> - <tr class="support"> - <td> - <span class="item">Support Contract - <% if (editable) { %> - <span class="editlink">(<a href="<%= pathTo("support-contract") %>">edit</a>)</span> - <% } %> - </span> - <br /> - <span class="desc">1 year</span> - </td> - <td class="pcell">US$<%= dollars(cart.supportCost) %></td> - </tr> - <% if (cart.couponSupportPctDiscount) { %> - <tr class="supportdiscount refer"> - <td> - <span class="desc">Referral - <%= cart.couponSupportPctDiscount %>% savings</span> - </td> - <td class="pcell">-US$<%= dollars(cart.supportReferralDiscount) %></td> - </tr> - <% } %> - <% } else if (cart.baseCost) { %> - <tr class="support"> - <td> - <span class="item">No Support Contract - <% if (editable) { %> - <span class="editlink">(<a href="<%= pathTo("support-contract") %>">edit</a>)</span> - <% } %> - </span> - </td> - <td class="pcell">US$0.00</td> - </tr> - <% } %> - - <% if (cart.freeUserCount) { %> - <tr class="referralbonus refer"> - <td> - <span class="item">Bonus Users</span><br /> - <span class="desc"> - Referral - <%= cart.freeUserCount %> free - user<%= (cart.freeUserCount == 1 ? '' : "s") %> - </span> - </td> - <td class="pcell">US$0.00</td> - </tr> - <% } %> - - <tr class="spacer"><td> </td></tr> - - <% - var pctDiscount = cart.couponTotalPctDiscount; - var hasSubtotal = pctDiscount > 0; - %> - <% if (hasSubtotal) { %> - <tr class="subtotal"> - <td>Subtotal</td> - <td class="pcell">US$<%= dollars(cart.subTotal) %></td> - </tr> - <tr class="referraldiscount refer"> - <td>Referral - <%= pctDiscount %>% savings</td> - <td class="pcell">-US$<%= dollars(cart.totalReferralDiscount) %></td> - </tr> - <% } %> - <tr class="total<%= (hasSubtotal ? '' : ' withoutsubtotal') %>"> - <td>Total</td> - <td class="pcell">US$<%= dollars(cart.total) %></td> - </tr> - </table> -</div>
\ No newline at end of file diff --git a/etherpad/src/templates/store/eepnet-checkout/checkout-template.ejs b/etherpad/src/templates/store/eepnet-checkout/checkout-template.ejs deleted file mode 100644 index 817f0eb..0000000 --- a/etherpad/src/templates/store/eepnet-checkout/checkout-template.ejs +++ /dev/null @@ -1,38 +0,0 @@ -<% /* Copyright 2009 Google Inc. - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS-IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. */ %><% helpers.includeCss("store/eepnet-checkout.css"); %> -<% helpers.includeJQuery() %> -<% helpers.includeJs("etherpad.js") %> -<% helpers.setHtmlTitle(title); %> - -<% -var selectCount = 0; -function select(id, title) { - var className = 'poslabel'; - if (pageId == id) { - className += ' current'; - } - selectCount++; - return SPAN({className: className}, selectCount+". "+title); -} -%> - -<div class="fpcontent"> -<div id="<%= pageId %>"> - - <h2>Private Network Edition: Purchase Online</h2> - - <%= helpers.rafterNote() %> - -</div><!-- /pageId --> -</div><!-- /fpcontent --> diff --git a/etherpad/src/templates/store/eepnet-checkout/confirmation.ejs b/etherpad/src/templates/store/eepnet-checkout/confirmation.ejs deleted file mode 100644 index 3b38775..0000000 --- a/etherpad/src/templates/store/eepnet-checkout/confirmation.ejs +++ /dev/null @@ -1,33 +0,0 @@ -<% /* Copyright 2009 Google Inc. - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS-IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. */ %><% -helpers.includeJs('confirmation.js'); -%> - -<% if (request.params.frompaypal) { - handlePayPalRedirect(); -} %> - -<%= displaySummary(true) %> - -<% switch(cart.billingPurchaseType) { - case 'creditcard': case 'paypal': %> - <p>If this looks good, click "Purchase" below to complete your purchase.</p> - <% break; - case 'invoice': %> - <p>If this looks good, print this page and mail it along with a check or other - prearranged payment to:</p><p><strong>AppJet, Inc.<br>Pier 38 - Suite 210<br>The Embarcadero<br>San Francisco, CA 94107</strong></p> - <% break; -} - %> - diff --git a/etherpad/src/templates/store/eepnet-checkout/license-info.ejs b/etherpad/src/templates/store/eepnet-checkout/license-info.ejs deleted file mode 100644 index 4d710f2..0000000 --- a/etherpad/src/templates/store/eepnet-checkout/license-info.ejs +++ /dev/null @@ -1,40 +0,0 @@ -<% /* Copyright 2009 Google Inc. - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS-IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. */ %><p>Your license key will be issued to a particular individual at your organization, and will be delivered to the email address you specify below.</p> - -<table border="1"> - <tr class="<%= errorIfInvalid('email') %>"> - <td>Email address to receive license key:</td> - <td><input name="email" type="text" - value="<%= cart.email %>" /></td> - </tr> - - <tr class="<%= errorIfInvalid('ownerName') %>"> - <td>Name of license owner (your name):</td> - <td><input name="ownerName" type="text" - value="<%= cart.ownerName %>" /></td> - </tr> - - <tr class="<%= errorIfInvalid('orgName') %>"> - <td>Organization or company name:</td> - <td><input name="orgName" type="text" - value="<%= cart.orgName %>" /></td> - </tr> - - <tr class="<%= errorIfInvalid('licenseAgreement') %> center"> - <td colspan=2> - <input id="c1" type="checkbox" name="licenseAgreement" <%= (cart.licenseAgreement ? 'checked="checked"' : '') %> /> - <label for="c1">I agree to the <a target="_blank" href="/static/html/eepnet/eepnet-license.html">License</a>.</label> - </td> - </tr> -</table>
\ No newline at end of file diff --git a/etherpad/src/templates/store/eepnet-checkout/purchase.ejs b/etherpad/src/templates/store/eepnet-checkout/purchase.ejs deleted file mode 100644 index 49cb3bb..0000000 --- a/etherpad/src/templates/store/eepnet-checkout/purchase.ejs +++ /dev/null @@ -1,33 +0,0 @@ -<% /* Copyright 2009 Google Inc. - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS-IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. */ %><p>Thank you for choosing to purchase <strong>Enterprise EtherPad Private Network Edition.</strong></p> - -<p>A license allows a certain number of concurrent users, at a one-time cost of US $<%= dollars(costPerUser) %> per user with no recurring costs. <a target="_blank" href="/ep/about/pricing-eepnet-users">Learn more about how we count users</a>.</p> - -<p>How many users should your license support?</p> - -<table> - <tr class="<%= errorIfInvalid('numUsers') %>"> - <td class="pcell">Number of Users at US $<%= dollars(costPerUser) %>/user:</td> - <td class="tcell"><input name="numUsers" type="text" - value="<%= cart.numUsers %>" /></td> - </tr> -</table> - -<table> - <tr class="<%= errorIfInvalid('couponCode') %>"> - <td colspan="2" class="pcell">Referral Code (optional):</td> - <td class="tcell"><input id="couponCode" name="couponCode" type="text" - maxlength="8" value="<%= cart.couponCode %>" /></td> - </tr> -</table> diff --git a/etherpad/src/templates/store/eepnet-checkout/receipt.ejs b/etherpad/src/templates/store/eepnet-checkout/receipt.ejs deleted file mode 100644 index 8d3a2a5..0000000 --- a/etherpad/src/templates/store/eepnet-checkout/receipt.ejs +++ /dev/null @@ -1,43 +0,0 @@ -<% /* Copyright 2009 Google Inc. - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS-IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. */ %><% if (cart.showStartOverMessage) { %> - <div class="innererrormsg"> - Your purchase is complete! To purchase another item, please return to the <a href="<%= pathTo('purchase') %>?clearcart=1">purchase page</a>. - </div> -<% } - -switch(cart.status) { - case 'success': - %><p><strong>Thank you for your purchase!</strong> This page serves as your receipt. Please print it for your records. You will receive a copy of this receipt and license key by email shortly.</p><% - break; - case 'pending': - %><p>Your purchase is pending approval by PayPal. Once it clears, - usually in 2-5 business days, you will receive a copy of this receipt and - your license key by email.</p><% - break; -} %> - -<% - var instructions = "/ep/pne-manual"; - var download = "/ep/store/eepnet-download-nextsteps"; -%> - -<p>To install EtherPad Private Network Edition:</p> -<ul> - <li><a href="<%= download %>">Download Etherpad: Private Network Edition</a>.</li> - <li>Read the <a href="<%= instructions %>">EtherPad: Private Network Edition installation instructions</a>.</li> -</ul> - -<p><strong></strong></p> - -<%= displaySummary() %> diff --git a/etherpad/src/templates/store/eepnet-checkout/summary.ejs b/etherpad/src/templates/store/eepnet-checkout/summary.ejs deleted file mode 100644 index 753873c..0000000 --- a/etherpad/src/templates/store/eepnet-checkout/summary.ejs +++ /dev/null @@ -1,91 +0,0 @@ -<% /* Copyright 2009 Google Inc. - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS-IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. */ %><% -function textRow(tcell, pcell) { - %><tr> - <td class="tcell"><%= tcell %></td> - <td class="pcell"><%= pcell %></td> - </tr> - <% -} -var keyData = { - ownerName: cart.ownerName, - orgName: cart.orgName -} -if (cart.licenseKey) { - var parts = cart.licenseKey.split(":"); - keyData.ownerName = parts[0]; - keyData.orgName = parts[1]; - keyData.key = parts[2]; - - keyData.keyLine1 = keyData.key.substring(0, keyData.key.length/3); - keyData.keyLine2 = keyData.key.substring(keyData.key.length/3, 2*keyData.key.length/3); - keyData.keyLine3 = keyData.key.substring(2*keyData.key.length/3, keyData.key.length); -} - -function makeRows(arr) { - arr.forEach(function(arr) { textRow(arr[0], arr[1]); }); -} -%> - -<h4>License Information <% if (editable) { %><span class="editlink">(<a href="<%= pathTo("license-info") %>">edit</a>)</span><% } %></h4> - -<table> - <% - makeRows([ - [ "Administrator name:", keyData.ownerName ], - [ "Organization/Company:", keyData.orgName ], - [ "Email address for delivery:", cart.email ], - [ "Total users:", cart.userCount ] - ]); - if (keyData.key) { - textRow("License key:", keyData.keyLine1+"<BR>"+keyData.keyLine2+"<BR>"+keyData.keyLine3); - %><!-- key: <%= keyData.key %> --><% - } - %> -</table> - -<h4>Payment Information <% if (editable) { %><span class="editlink">(<a href="<%= pathTo("billing-info") %>">edit</a>)</span><% } %></h4> - -<table> - <% - var isUs = cart.billingCountry == "US"; - switch(cart.billingPurchaseType) { - case 'creditcard': - makeRows([ - [ "Credit card number:", obfuscateCC(cart.billingCCNumber) ], - [ "Expiration date:", cart.billingExpirationMonth+" / 20"+cart.billingExpirationYear ] - ]); - // falling through intentional. - case 'invoice': - makeRows([ - [ "Purchaser name:", cart.billingFirstName + " " + cart.billingLastName ], - [ "Purchaser address: ", cart.billingAddressLine1 + "<br>" + - (cart.billingAddressLine2 ? cart.billingAddressLine2 + "<br>" : "") + - cart.billingCity + ", " + - (isUs?cart.billingState:cart.billingProvince) + "<br>" + - (isUs?cart.billingZipCode:cart.billingPostalCode) + - (isUs?'':', '+cart.billingCountry) ], - [ "Invoice number: ", cart.invoiceId ] - ]); - break; - case 'paypal': - textRow("Paid using:", "PayPal"); - textRow("InvoiceNumber:", cart.invoiceId); - } - %> -</table> - -<h4>Summary of Charges</h4> - -<%= displayCart("shoppingconfirmation", editable) %> diff --git a/etherpad/src/templates/store/eepnet-checkout/support-contract.ejs b/etherpad/src/templates/store/eepnet-checkout/support-contract.ejs deleted file mode 100644 index ff33fda..0000000 --- a/etherpad/src/templates/store/eepnet-checkout/support-contract.ejs +++ /dev/null @@ -1,41 +0,0 @@ -<% /* Copyright 2009 Google Inc. - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS-IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. */ %><p>A support contract gives you free upgrades and help directly from the engineers who developed EtherPad. Support contracts cost US $<%= dollars(costPerUser * supportCostPct/100) %> per user per year, with a US $<%= dollars(supportMinCost) %> per year minimum. <a target="_blank" href="/ep/about/pricing-eepnet-support">Learn more about support contracts</a>.</p> - -<p>For the <%= cart.numUsers %>-user license you've selected, a support contract costs US $<%= discountedSupportCost() !== undefined ? dollars(discountedSupportCost()) : dollars(supportCost()) %>. - -<p>Do you want a support contract?</p> - -<table> - <tr> - <td> - <input id="r1" type="radio" name="supportContract" value="true" - <%= (cart.supportContract == "true") ? "checked" : "" %> /> - </td> - <td> - <label for="r1">Yes, I want to purchase a support contract.</label> - </td> - </tr> - - <tr> - <td> - <input id="r2" type="radio" name="supportContract" value="false" - <%= (cart.supportContract != "true")? "checked" : "" %> /> - </td> - <td> - <label for="r2"> - No thanks, I just want the software license. - </label> - </td> - </tr> -</table>
\ No newline at end of file diff --git a/etherpad/src/templates/store/eepnet_download.ejs b/etherpad/src/templates/store/eepnet_download.ejs deleted file mode 100644 index 42c89ee..0000000 --- a/etherpad/src/templates/store/eepnet_download.ejs +++ /dev/null @@ -1,43 +0,0 @@ -<% /* Copyright 2009 Google Inc. - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS-IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. */ %><% helpers.includeCss("store/store.css") %> -<% helpers.includeJQuery() %> -<% helpers.includeJs("store.js") %> - -<div class="fpcontent storepage" id="downloadpage"> - - <% if (message) { %> - <div id="topmsg"> - <%= message %> - </div> - <% } %> - - <h2>Download EtherPad Private Network Edition:</h2> - - <br/><br/> - <center> - <input id="license_agree" type="checkbox" /> - <label id="license_agree_label" - for="license_agree" style="font-size: 1.2em;"> - Agree to the <a target="_blank" href="/static/html/eepnet/eepnet-eval-license.html">License</a> - </label> - - <a class="downloadbutton_disabled" href="javascript:store.mustAgree();"> - Download Now - </a> - <h3>Version: <%= versionString %></h3><br/> - - </center> - - -</div> diff --git a/etherpad/src/templates/store/eepnet_eval_nextsteps.ejs b/etherpad/src/templates/store/eepnet_eval_nextsteps.ejs deleted file mode 100644 index 4c4cec4..0000000 --- a/etherpad/src/templates/store/eepnet_eval_nextsteps.ejs +++ /dev/null @@ -1,40 +0,0 @@ -<% /* Copyright 2009 Google Inc. - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS-IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. */ %><div class="fpcontent"> - <h2>Downloading...</h2> - - <p>Your download should begin automatically. If it does not, you - can click this link:</p> - - <ul> - <li><a href="/ep/store/eepnet-download-zip">Download Now</a> - </li> - </ul> - - <h2>Next Steps</h2> - - <ul> - <li>Read the - <a href="/ep/pne-manual/">PNE System Administrator's - Manual</a>.</li> - - <li>A license key was sent to you by email, which you will need to - run EtherPad PNE.</li> - - </ul> - -</div> - -<iframe style="display: none;" width="0" height="0" - src="/ep/store/eepnet-download-zip"></iframe> - diff --git a/etherpad/src/templates/store/eepnet_eval_signup.ejs b/etherpad/src/templates/store/eepnet_eval_signup.ejs deleted file mode 100644 index 5a1edf4..0000000 --- a/etherpad/src/templates/store/eepnet_eval_signup.ejs +++ /dev/null @@ -1,125 +0,0 @@ -<% /* Copyright 2009 Google Inc. - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS-IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. */ %><% helpers.setHtmlTitle("Sign up for EtherPad PNE Free Trial"); %> -<% helpers.includeJQuery() %> -<% helpers.includeJs("etherpad.js") %> -<% helpers.includeJs("store.js") %> -<% helpers.includeCss("store/store.css") %> - -<% function renderField(maxlen, id, title) { - var oldValue = (oldData[id] || ""); - return DIV(P(LABEL({htmlFor: id}, title), - INPUT({maxlength: maxlen, - type: "text", - className: "signupData", - name: id, - id: id, - value: oldValue}))); - } - - function renderWebLeadField(name) { - return INPUT({type: 'hidden', name: name, id: "wl_"+name, value: ""}); - } -%> - -<div class="fpcontent storepage" id="eepnet_trial_signup_page"> - - <h2 id="toph2">Private Network Edition: <%= trialDays %>-Day Free Trial</h2> - - <p>Enter your information here to download a free <%= trialDays - %>-day trial of EtherPad Private Network Edition.</p> - - <div style="display: none;" id="errormsg"> </div> - - <div style="display: none;" id="processingmsg"> - <img src="/static/img/misc/status-ball.gif" alt="" /> - Processing, please wait... - </div> - - <div id="dlsignup"> - - <form id="signupForm" method="post" action="<%= request.path %>"> - - <% /* note: these fields should match exactly the eepnet-pricingcontact - form in pricing_eepnet.ejs */ %> - - <%= renderField(40, "firstName", "First Name:") %> - <%= renderField(80, "lastName", "Last Name:") %> - <%= renderField(80, "email", "Your Email (license key will be sent here):") %> - <%= renderField(40, "orgName", "Company/Organization:") %> - - <p> - <label for="industry">Industry</label> - <select id="industry" name="industry"> - <% sfIndustryList.forEach(function(i) { %> - <%= ((i == oldData.industry) ? - OPTION({value: toHTML(i), selected: true}, i) : - OPTION({value: toHTML(i)}, i)) %> - <% }); %> - </select> - </p> - - <%= renderField(40, "jobTitle", "Your Title:") %> - <%= renderField(40, "phone", "Phone Number:") %> - <%= renderField(160, "estUsers", "Estimated number of users:") %> - - </form> - - <p><button id="submit" onclick="javascript: void store.eepnetTrial.submit();">Go To Download --></button></p> - - </div> - - <p>If you already have a license, you - can <a href="/ep/store/eepnet-download">skip directly to download</a>.</p> - - <p>You can also <a href="/ep/store/eepnet-recover-license">recover a - lost license key</a>.</p> - - <p>Questions? Email <%= helpers.oemail("sales") %>.</p> - -</div> - -<form id="wlform" - method="post" - target="wltarget" - action="<%= request.scheme %>://www.salesforce.com/servlet/servlet.WebToLead?encoding=UTF-8" -> - - <input type="hidden" name="retURL" value="<%= request.scheme %>://<%= request.host %>/ep/store/salesforce-web2lead-ok" /> - - <% [ - "oid", - "first_name", - "last_name", - "email", - "company", - "title", - "phone", - "00N80000003FYtG", - "00N80000003FYto", - "00N80000003FYuI", - "lead_source", - "industry" - ].forEach(function(f) { %> - - <%= renderWebLeadField(f) %> - - <% }); %> - -</form> - -<iframe style="width: 1px; height: 1px; border: 0;" - name="wltarget" - id="wltarget" - src="about:blank"></iframe> - |