Sha256: 81b89b617bf2006a8d916df3280589d5a2caceaa8e5931a9ec5884eab889fbfe

Contents?: true

Size: 1.26 KB

Versions: 26

Compression:

Stored size: 1.26 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

26 entries across 19 versions & 6 rubygems

Version Path
houston-oauth-plugin-0.5.1 lib/generators/haml/oauth_provider_templates/index.html.haml
houston-oauth-plugin-0.5.1 generators/oauth_provider/templates/index.html.haml
panjiva-oauth-plugin-0.4.1 lib/generators/haml/oauth_provider_templates/index.html.haml
panjiva-oauth-plugin-0.4.1 generators/oauth_provider/templates/index.html.haml
oauth-plugin-0.5.1 generators/oauth_provider/templates/index.html.haml
oauth-plugin-0.5.1 lib/generators/haml/oauth_provider_templates/index.html.haml
oauth-plugin-0.5.0 generators/oauth_provider/templates/index.html.haml
oauth-plugin-0.5.0 lib/generators/haml/oauth_provider_templates/index.html.haml
oauth-provider-0.5.0rc1 generators/oauth_provider/templates/index.html.haml
oauth-provider-0.5.0rc1 lib/generators/haml/oauth_provider_templates/index.html.haml
oauth-plugin-0.4.1 lib/generators/haml/oauth_provider_templates/index.html.haml
oauth-plugin-0.4.1 generators/oauth_provider/templates/index.html.haml
oauth-plugin-0.4.0 generators/oauth_provider/templates/index.html.haml
oauth-plugin-0.4.0 lib/generators/haml/oauth_provider_templates/index.html.haml
oauth-plugin-0.4.0.rc2 lib/generators/haml/oauth_provider_templates/index.html.haml
oauth-plugin-0.4.0.rc1 lib/generators/haml/oauth_provider_templates/index.html.haml
oauth-plugin-0.4.0.pre7 lib/generators/haml/oauth_provider_templates/index.html.haml
oauth-plugin-0.4.0.pre6 lib/generators/haml/oauth_provider_templates/index.html.haml
oauth-plugin-0.4.0.pre5 lib/generators/haml/oauth_provider_templates/index.html.haml
insrc-oauth-plugin-0.4.0.pre6 lib/generators/haml/oauth_provider_templates/index.html.haml