Commit ba4bf27f authored by Douwe Maan's avatar Douwe Maan

Use table-holder where appropriate

parent 9ea72430
...@@ -15,6 +15,7 @@ ...@@ -15,6 +15,7 @@
.pull-right .pull-right
= link_to 'New Application', new_oauth_application_path, class: 'btn btn-success' = link_to 'New Application', new_oauth_application_path, class: 'btn btn-success'
- if @applications.any? - if @applications.any?
.table-holder
%table.table.table-striped %table.table.table-striped
%thead %thead
%tr %tr
...@@ -40,6 +41,7 @@ ...@@ -40,6 +41,7 @@
Authorized applications Authorized applications
- if @authorized_tokens.any? - if @authorized_tokens.any?
.table-holder
%table.table.table-striped %table.table.table-striped
%thead %thead
%tr %tr
......
- is_admin = defined?(admin) ? true : false - is_admin = defined?(admin) ? true : false
.panel.panel-default - if @keys.any?
- if @keys.any? .table-holder
%table.table %table.table
%thead.panel-heading %thead.panel-heading
%tr %tr
...@@ -11,7 +11,7 @@ ...@@ -11,7 +11,7 @@
%tbody %tbody
- @keys.each do |key| - @keys.each do |key|
= render 'profiles/keys/key', key: key, is_admin: is_admin = render 'profiles/keys/key', key: key, is_admin: is_admin
- else - else
.nothing-here-block .nothing-here-block
- if is_admin - if is_admin
User has no ssh keys User has no ssh keys
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment