Merge pull request #1785 from bendiy/4_6_x
[xtuple] / node-datasource / views / login.ejs
1 <!DOCTYPE html>
2 <html>
3   <head>
4     <title>xTuple Login</title>
5     <link rel="shortcut icon" href="/assets/favicon.ico" />
6     <!-- -->
7     <meta http-equiv="Content-Type" content="text/html; charset=utf8"/>
8     <meta name="apple-mobile-web-app-capable" content="yes"/>
9     <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"/>
10   </head>
11   <body>
12
13   <!--  Why is this here and not in the head? -->
14   <style type="text/css" media="all">
15   <% include login/stylesheets/screen.css %>
16   </style>
17
18   <section id="login">
19     <header id="header">
20       <img draggable="false" id="header_image" src="/assets/logo.png">
21     </header>
22     <section id="main">
23       <div style="transform: translateZ(0px); opacity: 1;" id="form-fields">
24         <form name="loginForm" action="/login" method="post">
25           <div class="login-label" id="form-fields_idLabel">Username</div>
26           <input class="login-input" id="form-fields_id" name="id" placeholder="Username">
27           <div class="login-label" id="form-fields_passwordLabel">Password</div>
28           <input class="login-input" id="form-fields_password" placeholder="Password" name="password" type="password">
29           <div class="login-label" id="form-fields_databaseLabel">Database</div>
30           <select class="login-input" id="form-fields_database" name="database">
31           <% for(var i = 0; i < databases.length; i++) { %>
32             <option value="<%= databases[i] %>"><%= databases[i] %></option>
33           <% } %>
34           </select>
35           <input class="enyo-unselectable login-button" name="submit"
36             id="form-fields_loginButton" type="submit" value="Sign In"/>
37         </form>
38       </div>
39       <a href="forgot-password" class="forgot-password">Forgot password?</a>
40     </section>
41     <% for(var i = 0; i < message.length; i++) { %>
42       <label class="login-message-box error"><%= message[i] %></label>
43     <% } %>
44   </section>
45
46   <!-- <div class="footer">
47     <div class="footer-container">
48       <p>
49         Visit the <a href='http://www.xtuple.org/docs/mobile-web-demo-guide'>Mobile Web Demo Guide</a>,
50         or send email to <a href='mailto:demo@xtuple.com'>demo@xtuple.com</a> for help.
51       </p>
52
53       <p>
54         This MOBILE WEB CLIENT provides access the CRM, Project and Sales modules of xTuple.
55         You must use the DESKTOP CLIENT to access the full application, including CRM, Projects, Sales, Purchasing, Inventory, Manufacturing, Scheduling and Accounting modules.
56       </p>
57
58       <p>
59         Download the xTuple Desktop client here: <a href=''>Windows</a>,
60         <a href=''>Mac</a>, <a href=''>Linux</a>
61       </p>
62
63       <p>v1.4.5</p>
64     </div>
65   </div> -->
66
67   <script>
68     document.loginForm.id.focus();
69   </script>
70   </body>
71 </html>