Sha256: b4b664661c09eab98c9b437c359d6df01e2cf1578e350ea124058f9cb7ec27c8

Contents?: true

Size: 1.2 KB

Versions: 6

Compression:

Stored size: 1.2 KB

Contents

<% content_for 'page_css' do -%>
    #content {
      text-align: center;
    }
    #content #login {
      background-color: #F5F1E2;
      border: 5px solid #EFEAD3;
      text-align: left;
      margin: 2em;
      margin-left: auto;
      margin-right: auto;
      padding-left: 20px;
      width: 23.5em;
    }
    #content #login h1 {
      font-size: 140%;    
      margin: 0;
      margin-top: 18px;
      margin-bottom: 18px;
    }
    #content #login label {
      float: left;
      clear: left;
      margin-top: 4px;
      width: 6em;
    }
    #content #login .textbox {
      font-size: 100%;
      width: 16em;
    }
    #content #login .buttons {
      margin-top: 15px;
      margin-bottom: 20px;
    }
<% end -%>

<div id="login">
  <h1>Please Login</h1>

  <form method="post">
    <p><label for="user_login">Username</label>
      <%= text_field "user", "login", :class => 'textbox', :value => '', :maxlength => 40 %></p>
    <p><label for="user_password">Password</label>
      <%= password_field "user", "password", :class => 'textbox', :value => '', :maxlength => 40 %></p>
    <p class="buttons">
      <%= submit_tag 'Login', :class => 'button' %>
    </p>
  </form>
</div>

<%= focus 'user_login' %>

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
radiant-0.5.1 app/views/admin/welcome/login.rhtml
radiant-0.5.2 app/views/admin/welcome/login.rhtml
radiant-0.6.0 app/views/admin/welcome/login.rhtml
radiant-0.6.1 app/views/admin/welcome/login.rhtml
radiant-0.6.3 app/views/admin/welcome/login.rhtml
radiant-0.6.2 app/views/admin/welcome/login.rhtml