OSDN Git Service

- Fix plugin bug (add param "mode")
[feedblog/feedgenerator.git] / erbtemp / login.html.erb
1 <html>
2     <head>
3         <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
4         <title><%= APPTITLE %></title>
5         <link rel="stylesheet" href="./erbtemp/stylesheet.css" type="text/css"/>
6     </head>
7     <body>
8         <br>
9         <br>
10         <div class="divstyle" style="width: 400px; padding: 15px;">
11             <form action="<%= cgi.script_name %>" method="POST">
12                 FeedGenerator for Ruby
13                 <br>
14                 <br>
15                 <table align="center">
16                     <tbody>
17                         <tr>
18                             <td>
19                                 USERNAME : 
20                             </td>
21                             <td>
22                                 <input type="text" name="loginid" value="<%= params["loginid"] %>" style="width: 250px;">
23                             </td>
24                         </tr>
25                         <tr>
26                             <td>
27                                 PASSWORD : 
28                             </td>
29                             <td>
30                                 <input type="password" name="password" value="<%= params["password"] %>" style="width: 250px;">
31                             </td>
32                         </tr>
33                     </tbody>
34                 </table><% if (cgi["loginid"] != LOGINID || cgi["password"] != PASSWORD) && (cgi["loginid"] != "" || cgi["password"] != "") %>
35                 <br>
36                 <span style="color: #ff0000">ID/PASSWORDが違います!</span>
37                 <% end %>
38                 <br>
39                 <input type="submit" value="submit">
40                 <br>
41             </form>
42         </div>
43         <br>
44         <div class="divstyle" style="border: none;">
45             <%= APPVERSION %>
46         </div>
47     </body>
48 </html>