summaryrefslogtreecommitdiffstats
path: root/etherpad/src/themes/default/templates/pro
diff options
context:
space:
mode:
Diffstat (limited to 'etherpad/src/themes/default/templates/pro')
-rw-r--r--etherpad/src/themes/default/templates/pro/account/account-welcome-email.ejs32
-rw-r--r--etherpad/src/themes/default/templates/pro/account/forgot-password-email.ejs22
-rw-r--r--etherpad/src/themes/default/templates/pro/account/forgot-password.ejs66
-rw-r--r--etherpad/src/themes/default/templates/pro/account/my-account.ejs67
-rw-r--r--etherpad/src/themes/default/templates/pro/account/signin.ejs81
-rw-r--r--etherpad/src/themes/default/templates/pro/admin/account-manager.ejs59
-rw-r--r--etherpad/src/themes/default/templates/pro/admin/admin-template.ejs33
-rw-r--r--etherpad/src/themes/default/templates/pro/admin/delete-account.ejs35
-rw-r--r--etherpad/src/themes/default/templates/pro/admin/manage-account.ejs64
-rw-r--r--etherpad/src/themes/default/templates/pro/admin/new-account.ejs86
-rw-r--r--etherpad/src/themes/default/templates/pro/padlist/pro-padlist.ejs49
-rw-r--r--etherpad/src/themes/default/templates/pro/pro_home.ejs110
12 files changed, 704 insertions, 0 deletions
diff --git a/etherpad/src/themes/default/templates/pro/account/account-welcome-email.ejs b/etherpad/src/themes/default/templates/pro/account/account-welcome-email.ejs
new file mode 100644
index 0000000..25af6f8
--- /dev/null
+++ b/etherpad/src/themes/default/templates/pro/account/account-welcome-email.ejs
@@ -0,0 +1,32 @@
+<% /* 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 <%= account.fullName %>,
+
+<% if (adminAccount) { %>
+<%= adminAccount.fullName %> has created an EtherPad account for you on <%=
+request.host %> (<%= siteName %>). You can sign in by clicking on the following link:
+<% } else { %>
+Thank you for signing up for EtherPad Professional Edition. You can sign in by clicking on the following link:
+<% } %>
+
+<%= signinLink %>
+
+For help signing in, or general support issues, please email support@etherpad.com.
+
+--
+This email was sent to <%= toEmail %> from an EtherPad user.
+If you received it in error, you may safely ignore it.
+<%/* EtherPad's offices are located at Pier 38, The Embarcadero,
+San Francisco, CA 94107 */%>
+
diff --git a/etherpad/src/themes/default/templates/pro/account/forgot-password-email.ejs b/etherpad/src/themes/default/templates/pro/account/forgot-password-email.ejs
new file mode 100644
index 0000000..4595cee
--- /dev/null
+++ b/etherpad/src/themes/default/templates/pro/account/forgot-password-email.ejs
@@ -0,0 +1,22 @@
+<% /* 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 <%= account.fullName %>,
+
+We received a request to reset your EtherPad password. To proceed, click the following link:
+
+<%= recoverUrl %>
+
+If you did not request a password reset, simply ignore this email.
+
+
diff --git a/etherpad/src/themes/default/templates/pro/account/forgot-password.ejs b/etherpad/src/themes/default/templates/pro/account/forgot-password.ejs
new file mode 100644
index 0000000..bbc78dd
--- /dev/null
+++ b/etherpad/src/themes/default/templates/pro/account/forgot-password.ejs
@@ -0,0 +1,66 @@
+<% /* 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.setHtmlTitle("EtherPad: Forgot Password") %>
+
+<div class="fpcontent">
+ <div class="account-container forgotpass-container">
+
+ <% var md = messageDiv(); %>
+ <% if (md) { %>
+ <%= md %>
+ <% } else { %>
+
+ <form action="<%= request.path + '?' + request.query %>"
+ method="post">
+
+ <div class="bb bb-forgotpass">
+ <div class="bb-top">
+ <div class="bb-topleft"><!-- --></div>
+ <div class="bb-topright"><!-- --></div>
+ <div class="bb-title">Recover Lost Password</div>
+ </div>
+ <div class="bb-in">
+
+ <%= errorDiv() %>
+
+ <div id="instructions">
+ Enter your email address and we will send you a link
+ to reset your password.
+ </div>
+
+ <div>
+ <label for="email" id="email-label">Email</label>
+ <input class="textin" type="text" name="email" id="email" value="<%= email
+ %>" />
+ <%= helpers.clearFloats() %>
+ </div>
+
+ <div>
+ <button type="submit" class="bluebutton
+ bluebutton120">
+ Send Email
+ </button>
+ <%= helpers.clearFloats() %>
+ </div>
+
+ </div>
+ </div>
+ </form>
+ <% } %>
+
+ <p><a href="/ep/account/sign-in">&laquo; Back to sign-in</a></p>
+
+ </div>
+</div>
+
diff --git a/etherpad/src/themes/default/templates/pro/account/my-account.ejs b/etherpad/src/themes/default/templates/pro/account/my-account.ejs
new file mode 100644
index 0000000..9634285
--- /dev/null
+++ b/etherpad/src/themes/default/templates/pro/account/my-account.ejs
@@ -0,0 +1,67 @@
+<% /* 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.setHtmlTitle("EtherPad: My Account") %>
+
+<div class="fpcontent">
+<div class="my-account">
+ <%= messageDiv() %>
+ <%= errorDiv() %>
+
+<% if (!changePass) { %>
+ <h2>My Info</h2>
+
+ <form method="post" action="/ep/account/update-info">
+ <table>
+ <tr>
+ <th>Full Name:</th>
+ <td class="ti"><%= INPUT({type: 'text', name: 'fullName',
+ value: account.fullName}) %></td>
+ </tr>
+ <tr>
+ <th>Email:</th>
+ <td class="ti"><%= INPUT({type: 'text', name: 'email', value:
+ account.email}) %></td>
+ </tr>
+ <tr>
+ <td colspan="2" style="text-align: right;">
+ <input type="submit" value="Update Info" />
+ </td>
+ </tr>
+ </table>
+ </form>
+<% } %>
+
+<h2>Password</h2>
+
+<form method="post" action="/ep/account/update-password">
+<table>
+ <tr>
+ <th>New Password:</th>
+ <td class="ti"><%= INPUT({type: 'password', name: 'password', value: ''}) %></td>
+ </tr>
+ <tr>
+ <th>Confirm Password:</th>
+ <td class="ti"><%= INPUT({type: 'password', name: 'passwordConfirm', value: ''}) %></td>
+ </tr>
+ <tr>
+ <td colspan="2" style="text-align: right;">
+ <input type="submit" id="passwordSubmit" value="Update Password" />
+ </td>
+ </tr>
+</table>
+</form>
+
+</div>
+</div>
+
diff --git a/etherpad/src/themes/default/templates/pro/account/signin.ejs b/etherpad/src/themes/default/templates/pro/account/signin.ejs
new file mode 100644
index 0000000..c67bea6
--- /dev/null
+++ b/etherpad/src/themes/default/templates/pro/account/signin.ejs
@@ -0,0 +1,81 @@
+<% /* 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/signin-client.js") %>
+<% helpers.includeCss("pro/account.css") %>
+<% helpers.setHtmlTitle("EtherPad: Sign In") %>
+
+<div class="fpcontent">
+ <div class="account-container">
+
+ <%= signinNotice() %>
+
+ <form id="signin-form" action="<%= request.path + '?' + request.query %>" method="post">
+ <div class="bb bb-signin">
+ <div class="bb-top">
+ <div class="bb-topleft"><!-- --></div>
+ <div class="bb-topright"><!-- --></div>
+ <div class="bb-title">Sign In to <%= siteName %> EtherPad</div>
+ </div>
+ <div class="bb-in">
+ <%= errorDiv() %>
+ <div>
+ <label for="email" id="email-label">Email</label>
+ <input class="textin" type="text" name="email" id="email" value="<%= email
+ %>" />
+ <%= helpers.clearFloats() %>
+ </div>
+
+ <div>
+ <label for="password" id="password-label">Password</label>
+ <input class="passin" type="password" name="password"
+ id="password"
+ value="<%= password
+ %>" />
+ <%= helpers.clearFloats() %>
+ </div>
+
+ <div>
+ <input type="checkbox" id="rememberMe" name="rememberMe"
+ <%= (rememberMe ? 'checked="on"' : '') %> />
+ <label for="rememberMe" id="rememberMe-label">Remember me on this
+ computer</label>
+
+ <button type="submit" class="bluebutton bluebutton120" id="signInButton">
+ Sign In
+ </button>
+ <%= helpers.clearFloats() %>
+ </div>
+
+ </div>
+ </div>
+ </form>
+
+ <% if (showGuestBox) { %>
+ <form action="/ep/account/guest-sign-in"
+ id="guest-signin-choice"
+ method="get">
+ <input type="hidden" name="padId" value="<%= toHTML(localPadId) %>" />
+ Guests: <button type="submit">Request Guest Access</button>
+ </form>
+ <% } %>
+
+ <div id="bottom-text">
+ <a
+ href="/ep/account/forgot-password">Recover lost
+ password</a>
+ </div>
+
+ </div>
+</div>
+
diff --git a/etherpad/src/themes/default/templates/pro/admin/account-manager.ejs b/etherpad/src/themes/default/templates/pro/admin/account-manager.ejs
new file mode 100644
index 0000000..f1b443f
--- /dev/null
+++ b/etherpad/src/themes/default/templates/pro/admin/account-manager.ejs
@@ -0,0 +1,59 @@
+<% /* 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 fmtdate(d) {
+ if (!d) {
+ return "Never";
+ } else {
+ return d.toString().split(' ').slice(0,5).join(' ');
+ }
+} %>
+
+<h3 class="top">Accounts</h3>
+
+<div class="manage-accounts">
+
+ <%= messageDiv() %>
+ <%= warningDiv() %>
+
+ <p><a href="<%= request.path %>new">Create new account</a></p>
+
+ <% function renderAccountRow(u) {
+ var name = u.fullName;
+ return TR(TD(name),
+ TD(u.email),
+ TD(u.isAdmin ? 'Admin' : ''),
+ TD(fmtdate(u.lastLoginDate)),
+ TD(A({href: request.path + "account/"+u.id}, "Manage")))
+ }
+ %>
+
+ <table id="accountlist">
+ <tr>
+ <th width="99%">Name</th>
+ <th>Email</th>
+ <th>Role</th>
+ <th>Last Signed In</th>
+ <th>&nbsp;</th>
+ </tr>
+
+ <% accountList.forEach(function(u) { %>
+ <%= renderAccountRow(u) %>
+ <% }); %>
+
+ </table>
+
+ <p class="account-tally"><%= accountList.length %> account<%= accountList.length == 1 ? "" : "s" %>.</p>
+
+</div>
+
diff --git a/etherpad/src/themes/default/templates/pro/admin/admin-template.ejs b/etherpad/src/themes/default/templates/pro/admin/admin-template.ejs
new file mode 100644
index 0000000..e1a7736
--- /dev/null
+++ b/etherpad/src/themes/default/templates/pro/admin/admin-template.ejs
@@ -0,0 +1,33 @@
+<% /* 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 Administration") %>
+<% helpers.includeCss("pro/pro-admin.css") %>
+
+<div class="fpcontent">
+ <table id="admin-layout-table">
+ <tr>
+ <% if (validLicense) { %>
+ <td width="1%" id="admin-leftnav">
+ <%= renderAdminLeftNav() %>
+ </td>
+ <% } %>
+ <td width="99%" id="admin-right">
+ <%= getAdminContent() %>
+ </td>
+ </tr>
+ </table>
+
+</div>
+
+
+
diff --git a/etherpad/src/themes/default/templates/pro/admin/delete-account.ejs b/etherpad/src/themes/default/templates/pro/admin/delete-account.ejs
new file mode 100644
index 0000000..3de2122
--- /dev/null
+++ b/etherpad/src/themes/default/templates/pro/admin/delete-account.ejs
@@ -0,0 +1,35 @@
+<% /* 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="delete-account-page">
+
+ <h3 class="top">Delete Account</h3>
+
+ <%= errorDiv() %>
+
+ <div class="confirm">Do you really want to delete this account?</div>
+
+ <div class="account-info"><%= account.fullName %> (<%= account.email %>)</div>
+
+ <form method="post" action="<%= request.path %>">
+ <input type="submit" name="delete" value="Delete" />
+ &nbsp;&nbsp;&nbsp;&nbsp;
+ <input type="submit" name="cancel" value="Cancel" />
+ </form>
+
+ <div class="note">When an account is deleted, some references to it may remain on the
+ site. For example, edits to pads by the deleted account will remain in the
+ pad's history. However, the deleted account will no longer be able to
+ sign in, and will not be counted toward your monthly quota.</div>
+
+</div>
+
diff --git a/etherpad/src/themes/default/templates/pro/admin/manage-account.ejs b/etherpad/src/themes/default/templates/pro/admin/manage-account.ejs
new file mode 100644
index 0000000..72529b4
--- /dev/null
+++ b/etherpad/src/themes/default/templates/pro/admin/manage-account.ejs
@@ -0,0 +1,64 @@
+<% /* 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">Manage Account</h3>
+
+<div class="manage-accounts">
+
+ <%= errorDiv() %>
+
+ <form method="post" action="<%= request.path %>">
+
+
+ <table id="manage-account">
+ <tr>
+ <th>Email:</th>
+ <td><input type="text" name="newEmail" id="newEmail" value="<%=
+ account.email %>" /></td>
+ </tr>
+
+ <tr>
+ <th>Full Name:</th>
+ <td><input type="text" name="newFullName" id="newFullName" value="<%=
+ account.fullName %>" /></td>
+ </tr>
+
+ <tr>
+ <th><label for="newIsAdmin">Administrator?</label></th>
+ <td>
+ <input type="checkbox" name="newIsAdmin" id="newIsAdmin"
+ <%= (account.isAdmin ? "checked='true'" : '') %>
+ />
+ </td>
+ </tr>
+
+ <tr>
+ <td colspan="2" style="text-align: right;">
+ <a href="/ep/admin/account-manager/delete-account/<%=
+ account.id %>">Delete Account</a>
+ </td>
+ </tr>
+
+ </table>
+
+ <div style="padding: 1em;">
+ <input class="submit" type="submit" name="btn" value="Save" />
+ <input class="submit" type="submit" name="cancel" value="Cancel" />
+ </div>
+
+ </form>
+
+</div>
+
+
+
diff --git a/etherpad/src/themes/default/templates/pro/admin/new-account.ejs b/etherpad/src/themes/default/templates/pro/admin/new-account.ejs
new file mode 100644
index 0000000..2f2cccf
--- /dev/null
+++ b/etherpad/src/themes/default/templates/pro/admin/new-account.ejs
@@ -0,0 +1,86 @@
+<% /* 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 formField(id, label, type) {
+ if (!type) { type = "text"; }
+ var val = (oldData[id] || "");
+
+ var d = DIV({className: "formfield"});
+
+ if (type == "checkbox") {
+ d.push(INPUT({type: type,
+ id: id,
+ name: id,
+ className: type+"input",
+ checked: (oldData[id] ? true : undefined)}),
+ LABEL({htmlFor: id, className: type+"label"}, label));
+ d.push(html('<div style="clear: both;"><!-- --></div>'));
+ } else if (type == "text") {
+ d.push(LABEL({className: type+"label", htmlFor: id}, label),
+ INPUT({className: type+"input",
+ type: type,
+ id: id,
+ name: id,
+ maxlength: 80,
+ value: val}));
+ } else if (type == "temppass") {
+ if (!val) {
+ val = stringutils.randomString(6).toUpperCase();
+ }
+ d.push(LABEL({className: type+"label", htmlFor: id}, label),
+ INPUT({className: type+"input",
+ type: "text",
+ id: id,
+ name: id,
+ maxlength: 80,
+ value: val
+ }));
+ }
+
+ return d;
+} %>
+
+<h3 class="top">Add new account</h3>
+
+<div class="manage-accounts newaccount">
+
+ <%= errorDiv() %>
+
+ <form method="post" action="<%= request.path %>">
+
+ <div class="new-account-form">
+
+ <div class="forminner">
+ <%= formField('email', 'Email:', 'text') %>
+ <%= formField('fullName', 'Full Name:', 'text') %>
+ <%= formField('tempPass', 'Temporary Password:', 'temppass') %>
+ <%= formField('makeAdmin', 'Make this account an administrator?', 'checkbox') %>
+ </div>
+
+ </div>
+ <br/><br/>
+ <div class="buttons-wrap">
+ <input class="submit" type="submit" name="btn" value="Create Account" />
+ <input class="submit" type="submit" name="cancel" value="Cancel" />
+ </div>
+
+ </form>
+
+ <p id="bottom-note">An email will be sent to this account with a link to sign in.
+ They will be prompted to change their password the first time they sign in.</p>
+ </p>
+
+</div>
+
+<script>document.getElementById('email').focus()</script>
+
+
diff --git a/etherpad/src/themes/default/templates/pro/padlist/pro-padlist.ejs b/etherpad/src/themes/default/templates/pro/padlist/pro-padlist.ejs
new file mode 100644
index 0000000..b762679
--- /dev/null
+++ b/etherpad/src/themes/default/templates/pro/padlist/pro-padlist.ejs
@@ -0,0 +1,49 @@
+<% /* 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("lib/jquery.contextmenu.css") %>
+<% helpers.includeCss("pro/padlist.css") %>
+
+<% helpers.includeJQuery() %>
+<% helpers.includeJs("lib/jquery.contextmenu.js") %>
+<% helpers.includeJs("pro/pro-padlist-client.js") %>
+
+<% helpers.setHtmlTitle("Pad List - " + orgName + " - EtherPad") %>
+
+<div class="fpcontent">
+
+ <%= renderPadNav() %>
+ <%= renderNotice() %>
+ <%= renderShowingDesc(padList.length) %>
+
+ <% if (padList.length > 0) { %>
+ <%= renderPadList() %>
+ <p style="font-size: .8em;"><i><%= padList.length %> pad<% if (padList.length > 1) { %>s<% } %></i> <% if (isAdmin) { %>(<a href="/ep/padlist/all-pads.zip">Download all pads as a ZIP archive</a>.) <% } %>
+</p>
+
+ <% } else { %>
+ <p>No pads in this list.</p>
+ <% } %>
+
+</div>
+
+<form action="/ep/padlist/delete" method="post" id="delete-pad" style="display: none;">
+ <input type="hidden" name="returnPath" value="<%= request.url %>" />
+ <input id="padIdToDelete" name="padIdToDelete" type="hidden" value="-" />
+</form>
+
+<form action="/ep/padlist/toggle-archive" method="post" id="toggle-archive-pad" style="display: none;">
+ <input type="hidden" name="returnPath" value="<%= request.url %>" />
+ <input id="padIdToToggleArchive" name="padIdToToggleArchive" type="hidden" value="-" />
+</form>
+
+
diff --git a/etherpad/src/themes/default/templates/pro/pro_home.ejs b/etherpad/src/themes/default/templates/pro/pro_home.ejs
new file mode 100644
index 0000000..8d92139
--- /dev/null
+++ b/etherpad/src/themes/default/templates/pro/pro_home.ejs
@@ -0,0 +1,110 @@
+<% /* 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(orgName + " - EtherPad"); %>
+<% helpers.includeJQuery() %>
+<% helpers.includeJs("etherpad.js") %>
+<% helpers.includeCss("pro/pro-home.css"); %>
+<% helpers.includeCss("pro/padlist.css"); %>
+
+<div class="fpcontent">
+
+ <div id="welcome-msg">
+ Welcome <%= account.fullName %>
+ <% if (account.isAdmin) { %>(Administrator)<% } %>
+ <br/>
+ <br/>
+ </div>
+
+
+ <div id="homeright">
+ <a href="/ep/pad/newpad">
+ <img src="/static/img/davy/btn/createpad-small.gif" alt="Create new pad" />
+ </a>
+
+ <% if (livePads.length > 0) { %>
+ <div id="live-pads">
+ <h3>Live Pads (currently being edited)</h3>
+ <div id="listwrap">
+ <%= renderLivePads() %>
+ </div>
+ </div>
+ <% } %>
+
+ <% if (recentPads.length > 0) { %>
+ <div id="recent-pads">
+ <h3>Your Recent Pads:</h3>
+ <div id="listwrap">
+ <%= renderRecentPads() %>
+ </div>
+ <a id="viewall" href="/ep/padlist/">View all pads...</a>
+ <div style="clear:both"><!-- --></div>
+ </div>
+ <% } %>
+
+ </div>
+
+ <div id="homeleft">
+ <div id="homeleft-title">
+ Latest News
+ </div>
+
+ <div class="news-time-sep">
+ <div class="date">
+ June 17th, 2009
+ </div>
+ <div class="line"><!-- --></div>
+ </div>
+
+ <div class="news-item">
+ <p>Welcome to your EtherPad Beta Account! Please report bugs by
+ sending email to <%= helpers.oemail("bugs") %>. You can also give us
+ feedback and feature suggestions via <a target="_blank"
+ href="http://uservoice.etherpad.com/">UserVoice</a>.</p>
+
+ <p>If you have any questions, just email <%=
+ helpers.oemail("support") %> and
+ we will respond to your inquiries.</p>
+
+ <p>We hope you enjoy EtherPad!</p>
+
+ <p>Sincerely,</p>
+
+ <p>Aaron Iba<br/>
+ CEO, AppJet Inc.
+ </p>
+ </div>
+
+ </div>
+
+
+ </div><!-- /homeleft -->
+
+ <%= helpers.clearFloats() %>
+
+ <% if (isPNE) { %>
+ <div id="version-info"
+ style="margin-top: 2em; font-size: 76%; color: #444; text-align: right;">
+ <br/>
+ EtherPad Private Network Edition (PNE)
+ Version <%= pneVersion %><br/>
+
+ <% if (isEvaluation && evalExpDate) { %>
+ <br/>
+ <span style="color: #c22;">EVALUATION EDITION: Expires <%= evalExpDate.toString()
+ %>.<br/>
+ <% } %>
+ </div>
+ <% } %>
+
+</div>
+