Sha256: c9a4b051afea6fdf2f6d4dd192a6df7bf5c366df78cc470b5f3448715cc2348c
Contents?: true
Size: 1.44 KB
Versions: 18
Compression:
Stored size: 1.44 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;} span.openid:before { content: url(<%= @base_url %>images/openid_login_bg.gif) ; } span.openid { font-size: smaller; } </style> <body> <% if session[:username] %> <div style="float:right;"> Welcome, <%= session[:username] %> | <%= link_to('Log out', :controller => 'login', :action => 'logout') %><br /> <span class="openid"><%= @base_url %>user/<%= session[:username] %></span> </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
18 entries across 18 versions & 5 rubygems