diff --git a/app/views/provider/admin/applications/show.html.slim b/app/views/provider/admin/applications/show.html.slim index 8f83f8e115..4cda9aab40 100644 --- a/app/views/provider/admin/applications/show.html.slim +++ b/app/views/provider/admin/applications/show.html.slim @@ -1,6 +1,9 @@ - content_for :menu do = render 'menu' +- content_for :javascripts do + = stylesheet_packs_chunks_tag 'pf_form' + - content_for :custom_page_header do section class="pf-c-page__main-section pf-m-light" div class="pf-c-content" diff --git a/app/views/provider/admin/keys/_widget.html.erb b/app/views/provider/admin/keys/_widget.html.erb index e20d6e9338..55b048965a 100644 --- a/app/views/provider/admin/keys/_widget.html.erb +++ b/app/views/provider/admin/keys/_widget.html.erb @@ -12,26 +12,24 @@ <% if cinstance.backend_version.app_keys_allowed? %> <%- can_add_keys = cinstance.application_keys.can_add? %> - - - +
+
> + <% if cinstance.custom_keys_enabled? %> + <%= link_to 'Add Custom key', new_provider_admin_application_key_path(cinstance), + class: 'fancybox action add', + 'data-autodimensions' => 'true', + title: 'Add Custom key' %> + <% end %> + <%= link_to 'Add Random key', provider_admin_application_keys_path(cinstance), + method: :post, + remote: true, + class: 'create_key add action pull-right' %> +
-
- -
> - <% if cinstance.custom_keys_enabled? %> - <%= link_to 'Add Custom key', new_provider_admin_application_key_path(cinstance), - class: 'fancybox action add', - 'data-autodimensions' => 'true', - title: 'Add Custom key' %> - <% end %> - <%= link_to 'Add Random key', provider_admin_application_keys_path(cinstance), - method: :post, - remote: true, - class: 'create_key add action' %> - > - Keys limit reached. -
+
> + Keys limit reached. +
+ <% end %> <% elsif cinstance.backend_version.oauth? %>