Sha256: e0383df9f10d27687080efff006cdbbe970039caf690590dc781caf31271e704

Contents?: true

Size: 1.27 KB

Versions: 32

Compression:

Stored size: 1.27 KB

Contents

.flash= flash[:notice]
%h1 OAuth Client Applications
- unless @tokens.empty?

  %p 
    The following tokens have been issued to applications in your name
    
  %table
    %tr
      %th Application
      %th Issued
      %th  
    - @tokens.each do |token|
      - content_tag_for :tr, token do
        %td= link_to token.client_application.name, token.client_application.url
        %td= token.authorized_at
        %td
          - form_tag :controller => 'oauth', :action => 'revoke' do
            = hidden_field_tag 'token', token.token
            = submit_tag "Revoke!"

%h3 Application Developers

- if @client_applications.empty?
  %p
    Do you have an application you would like to register for use with us using the <a href="http://oauth.net">OAuth</a> standard?
    You must register your web application before it can make OAuth requests to this service
- else
  %p
    You have the following client applications registered:

  - @client_applications.each do |client|
    - div_for client do
      = link_to client.name, :action => :show, :id => client.id
      = link_to 'Edit', edit_oauth_client_path(client)
      = link_to 'Delete', oauth_client_path(client), :confirm => "Are you sure?", :method => :delete
%br
%h3
  = link_to "Register your application", :action => :new

Version data entries

32 entries across 32 versions & 5 rubygems

Version Path
filiptepper-oauth-plugin-0.3.11 generators/oauth_provider/templates/index.html.haml
pelle-oauth-plugin-0.3.10 generators/oauth_provider/templates/index.html.haml
pelle-oauth-plugin-0.3.11 generators/oauth_provider/templates/index.html.haml
pelle-oauth-plugin-0.3.5 generators/oauth_provider/templates/index.html.haml
pelle-oauth-plugin-0.3.6 generators/oauth_provider/templates/index.html.haml
pelle-oauth-plugin-0.3.7 generators/oauth_provider/templates/index.html.haml
pelle-oauth-plugin-0.3.8 generators/oauth_provider/templates/index.html.haml
pelle-oauth-plugin-0.3.9 generators/oauth_provider/templates/index.html.haml
oauth-plugin-0.4.0.rc2 generators/oauth_provider/templates/index.html.haml
oauth-plugin-0.4.0.rc1 generators/oauth_provider/templates/index.html.haml
oauth-plugin-0.4.0.pre7 generators/oauth_provider/templates/index.html.haml
oauth-plugin-0.4.0.pre6 generators/oauth_provider/templates/index.html.haml
oauth-plugin-0.4.0.pre5 generators/oauth_provider/templates/index.html.haml
insrc-oauth-plugin-0.4.0.pre6 generators/oauth_provider/templates/index.html.haml
insrc-oauth-plugin-0.4.0.pre5 generators/oauth_provider/templates/index.html.haml
le1t0-oauth-plugin-0.3.14.001 generators/oauth_provider/templates/index.html.haml
le1t0-oauth-plugin-0.4.0.pre4.001 generators/oauth_provider/templates/index.html.haml
oauth-plugin-0.4.0.pre4 generators/oauth_provider/templates/index.html.haml
oauth-plugin-0.4.0.pre3 generators/oauth_provider/templates/index.html.haml
oauth-plugin-0.4.0.pre2 generators/oauth_provider/templates/index.html.haml