Sha256: bda2b77369428687c6bb65f5f9d2405ef8ab220412869b0571d18873330ef84e

Contents?: true

Size: 1.67 KB

Versions: 1

Compression:

Stored size: 1.67 KB

Contents

<%#
  # WebROaR - Ruby Application Server - http://webroar.in/
  # Copyright (C) 2009  Goonj LLC
  #
  # This file is part of WebROaR.
  #
  # WebROaR is free software: you can redistribute it and/or modify
  # it under the terms of the GNU General Public License as published by
  # the Free Software Foundation, either version 3 of the License, or
  # (at your option) any later version.
  #
  # WebROaR is distributed in the hope that it will be useful,
  # but WITHOUT ANY WARRANTY; without even the implied warranty of
  # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  # GNU General Public License for more details.
  #
  # You should have received a copy of the GNU General Public License
  # along with WebROaR.  If not, see <http://www.gnu.org/licenses/>.
  #%>

<div id = 'login_window'>
  <div id = 'login_header'>Admin Panel</div>
  <div id = 'login_logo'></div>	
  <div id = 'login_form'>
    <table align='center'>
      <%= form_for(:user, :url => {:action => 'login'},:html => { :onsubmit => 'return validate_user(this)'}) do%>
        <tr>
          <th colspan = 2 id = 'error_div' style="padding:0px;"><%if(flash[:notice])%><%=flash[:notice]%><%end%></th>
        </tr>
        <tr>
          <td><b>User Name</b></td>
          <td><%=text_field :user, :name, :size => 15, :tabindex => "1" ,:class =>"login_text"%></td>
        </tr>
        <tr>
          <td><b>Password</b></td>
          <td><%=password_field :user, :password, :size => 15, :tabindex => "2",:class =>"login_text"%></td>
        </tr>
        <tr>
          <th  colspan = 2 align='center'><b><%=submit_tag 'Login', :tabindex => "3"%></b></th>
        </tr>
      <%end%>
    </table>
  </div>
</div>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
webroar-0.7.0 src/admin_panel/app/views/admin/index.html.erb