~ubuntu-branches/ubuntu/karmic/chef/karmic

« back to all changes in this revision

Viewing changes to chef-server-slice/app/views/openid_consumer/index.html.haml

  • Committer: Bazaar Package Importer
  • Author(s): Joshua Timberman
  • Date: 2009-08-12 12:18:48 UTC
  • Revision ID: james.westby@ubuntu.com-20090812121848-yl38hpd7nfsl51xz
Tags: upstream-0.7.8
ImportĀ upstreamĀ versionĀ 0.7.8

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
- unless Chef::Config[:authorized_openid_providers]
 
2
  - throw_content(:sidebar_block_notice) do
 
3
    %h4 Where do I get a Login?
 
4
    %p Chef uses OpenID for user logins. By default, Chef allows you to use any OpenID provider you like.  You should configure the server to utilize only trusted OpenID servers and URIs.  This box will disappear when you have altered the default security configuration.
 
5
    %p= link_to("How to secure your Chef Server on the Chef Wiki.", "http://wiki.opscode.com/display/chef/Securing+Chef+Server")
 
6
 
 
7
.block#block-forms
 
8
  .content
 
9
    %h2.title Login
 
10
    .inner
 
11
      %form.form{ :method => "get", "accept-charset" => "UTF-8", :action => slice_url(:openid_consumer_login) }
 
12
        .group
 
13
          .text_field= text_field :openid_identifier
 
14
        .group
 
15
          .check_box= check_box :name => "immediate", :label => "Use immediate mode", :value => "0"
 
16
        .group
 
17
          .check_box= check_box :name => "use_sreg", :label => "Request registration data", :value => "0"
 
18
        .group
 
19
          .check_box= check_box :name => "use_pape", :label => "Request phishing-resistent auth policy", :value => "0"
 
20
        .group
 
21
          .check_box= check_box :name => "force_post", :label => "Force the transaction to POST", :value => "0"
 
22
        .group.navform
 
23
          .button= submit "Login →"