Scrollable tables in settings pages (#4857)
* Scrollable tables in settings pages * Add space before curly brace
This commit is contained in:
parent
baa8b82179
commit
3c45d3963a
15 changed files with 262 additions and 249 deletions
|
@ -3,22 +3,23 @@
|
|||
|
||||
%p.hint= t('applications.warning')
|
||||
|
||||
%table.table
|
||||
%tbody
|
||||
%tr
|
||||
%th= t('doorkeeper.applications.show.application_id')
|
||||
%td
|
||||
%code= @application.uid
|
||||
%tr
|
||||
%th= t('doorkeeper.applications.show.secret')
|
||||
%td
|
||||
%code= @application.secret
|
||||
%tr
|
||||
%th{ rowspan: 2}= t('applications.your_token')
|
||||
%td
|
||||
%code= current_user.token_for_app(@application).token
|
||||
%tr
|
||||
%td= table_link_to 'refresh', t('applications.regenerate_token'), regenerate_settings_application_path(@application), method: :post
|
||||
.table-wrapper
|
||||
%table.table
|
||||
%tbody
|
||||
%tr
|
||||
%th= t('doorkeeper.applications.show.application_id')
|
||||
%td
|
||||
%code= @application.uid
|
||||
%tr
|
||||
%th= t('doorkeeper.applications.show.secret')
|
||||
%td
|
||||
%code= @application.secret
|
||||
%tr
|
||||
%th{ rowspan: 2}= t('applications.your_token')
|
||||
%td
|
||||
%code= current_user.token_for_app(@application).token
|
||||
%tr
|
||||
%td= table_link_to 'refresh', t('applications.regenerate_token'), regenerate_settings_application_path(@application), method: :post
|
||||
|
||||
%hr/
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue