Sha256: 45da3df69fafc50baf34f1ef1da6d357882c439f6826f803ccf031f26f183f24
Contents?: true
Size: 1.21 KB
Versions: 8
Compression:
Stored size: 1.21 KB
Contents
<html> <head><title>OpenID Server Example</title></head> <style type="text/css"> * { font-family: verdana,sans-serif; } body { width: 50em; margin: 1em; } div { padding: .5em; } table { margin: none; padding: none; } .notice { border: 1px solid #60964f; background: #b3dca7; } .error { border: 1px solid #ff0000; background: #ffaaaa; } #login-form { border: 1px solid #777777; background: #dddddd; margin-top: 1em; padding-bottom: 0em; } table { padding: 1em; } li {margin-bottom: .5em;} </style> <body> <% if session[:username] %> <div style="float:right;"> Welcome, <%= session[:username] %> | <%= link_to('Log out', :controller => 'login', :action => 'logout') %> </div> <% end %> <h3>Ruby OpenID Server Example</h3> <hr/> <% if flash[:notice] or flash[:error] %> <div class="<%= flash[:notice].nil? ? 'error' : 'notice' %>"> <%= flash[:error] or flash[:notice] %> </div> <% end %> <%= @content_for_layout %> </body> </html>
Version data entries
8 entries across 8 versions & 1 rubygems