diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2016-03-14 17:41:13 +0100 |
---|---|---|
committer | Eugen Rochko <eugen@zeonfederated.com> | 2016-03-14 17:41:13 +0100 |
commit | 25d7c1b6eaf03ddaec892c82f7d93a128b79a872 (patch) | |
tree | c9991b70e8cfd584c09b502bc39dc0763d017731 /app/views/doorkeeper/applications/show.html.haml | |
parent | 34413615683677e26213263fb98f63b5aab64872 (diff) |
Customizing the last of doorkeeper views, adding CSS for dashboard forms
Diffstat (limited to 'app/views/doorkeeper/applications/show.html.haml')
-rw-r--r-- | app/views/doorkeeper/applications/show.html.haml | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/app/views/doorkeeper/applications/show.html.haml b/app/views/doorkeeper/applications/show.html.haml new file mode 100644 index 000000000..cc7f4be88 --- /dev/null +++ b/app/views/doorkeeper/applications/show.html.haml @@ -0,0 +1,35 @@ +- content_for :page_title do + = @application.name + +.row + .panel + .panel-heading General + .panel-row + %dt Name + %dd= @application.name + .panel-row + %dt Scopes: + %dd= @application.scopes + +.panel.panel-full + .panel-heading Details + .panel-row + %dt Client ID: + %dd + %samp= @application.uid + .panel-row + %dt Secret: + %dd + %samp= @application.secret + +.panel.panel-full + .panel-heading Callback URLs + - @application.redirect_uri.split.each do |uri| + .panel-row.panel-row-wider + %dt + %samp= uri + %dd= link_to 'Authorize', oauth_authorization_path(client_id: @application.uid, redirect_uri: uri, response_type: 'code') + +.page-actions + = link_to fa_icon('edit'), edit_oauth_application_path(@application), class: 'btn btn-iconized' + = link_to fa_icon('trash'), oauth_application_path(@application), method: :delete, class: 'btn btn-iconized', data: { confirm: 'Are you sure?' } |