592e396869
* improve UI * add authorization * add separate page for oauth applications Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
26 lines
589 B
Text
26 lines
589 B
Text
%h3.page-title
|
|
Application: #{@application.name}
|
|
|
|
|
|
%table.table
|
|
%tr
|
|
%td
|
|
Application Id
|
|
%td
|
|
%code#application_id= @application.uid
|
|
%tr
|
|
%td
|
|
Secret:
|
|
%td
|
|
%code#secret= @application.secret
|
|
|
|
%tr
|
|
%td
|
|
Callback url
|
|
%td
|
|
- @application.redirect_uri.split.each do |uri|
|
|
%div
|
|
%span.monospace= uri
|
|
.form-actions
|
|
= link_to 'Edit', edit_oauth_application_path(@application), class: 'btn btn-primary wide pull-left'
|
|
= render 'delete_form', application: @application, submit_btn_css: 'btn btn-danger prepend-left-10'
|