~mrooney/etherpad/ubuntu

« back to all changes in this revision

Viewing changes to trunk/trunk/etherpad/src/templates/pro-account/sign-in.ejs

  • Committer: Aaron Iba
  • Date: 2009-12-18 07:40:23 UTC
  • Revision ID: hg-v1:a9f8774a2e00cc15b35857471fecea17f649e3c9
initial code push

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<% /* Copyright 2009 Google Inc.
 
2
 
 
3
Licensed under the Apache License, Version 2.0 (the "License");
 
4
you may not use this file except in compliance with the License.
 
5
You may obtain a copy of the License at
 
6
 
 
7
     http://www.apache.org/licenses/LICENSE-2.0
 
8
 
 
9
Unless required by applicable law or agreed to in writing, software
 
10
distributed under the License is distributed on an "AS-IS" BASIS,
 
11
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 
12
See the License for the specific language governing permissions and
 
13
limitations under the License. */ %><% helpers.includeCss("global-pro-account.css") %>
 
14
 
 
15
<div class="fpcontent">
 
16
  <div class="global-pro-account">
 
17
 
 
18
  <h1>EtherPad Professional Sign In</h1>
 
19
 
 
20
  <%= errorDiv() %>
 
21
 
 
22
  <form id="global-sign-in" 
 
23
        action="<%= request.path %>" method="post">
 
24
    <label for="email">Email Address:</label>
 
25
    <input type="text" name="email" id="email" size="30" 
 
26
      <% if (oldData.email) { %>value="<%= oldData.email %>"<% } %>
 
27
    />
 
28
 
 
29
    <label for="password">Password:</label>
 
30
    <input type="password" name="password" id="password" size="30" />
 
31
 
 
32
    <label for="subDomain">Site Address:</label>
 
33
    <input type="text" name="subDomain" id="subDomain" size="30"
 
34
      <% if (oldData.subDomain) { %>value="<%= oldData.subDomain %>"<% } %>
 
35
        />.<%= request.host %>/
 
36
    <br/>
 
37
    <button type="submit">Sign In</button>
 
38
 
 
39
    <div class="tip">
 
40
      <b>Tip:</b> you can also sign in by going directly to your site
 
41
      address.
 
42
    </div>
 
43
 
 
44
  </form>
 
45
 
 
46
  <p><a href="/ep/pro-account/recover">Recover lost password or
 
47
  site address</a></p>
 
48
 
 
49
  <hr/>
 
50
 
 
51
  <p>New users: <a href="/ep/pro-signup/">create an account
 
52
  instantly</a>.</p>
 
53
 
 
54
  </div>
 
55
</div>
 
56
 
 
57