Tables refactored

This commit is contained in:
randx 2012-09-03 21:53:16 +03:00
parent c7cfe3d83b
commit 8ca0b75d05
22 changed files with 99 additions and 95 deletions

View file

@ -23,7 +23,7 @@
Hooks
%small (#{@hooks.count})
%br
%table.admin-table
%table
%tr
%th URL
%th Method

View file

@ -6,7 +6,7 @@
= text_field_tag :name, params[:name], class: "xlarge"
= submit_tag "Search", class: "btn submit primary"
%table.admin-table
%table
%thead
%th Name
%th Path

View file

@ -3,7 +3,11 @@
= link_to 'Edit', edit_admin_project_path(@admin_project), class: "btn right small"
%br
%table.zebra-striped.table-bordered
%table.zebra-striped
%thead
%tr
%th Project
%th
%tr
%td
%b
@ -40,7 +44,7 @@
%small
(#{@admin_project.users_projects.count})
%br
%table.zebra-striped.table-bordered
%table.zebra-striped
%thead
%tr
%th Name
@ -60,7 +64,7 @@
%h3 Add new team member
%br
= form_tag team_update_admin_project_path(@admin_project), class: "bulk_import", method: :put do
%table.zebra-striped.table-bordered
%table.zebra-striped
%thead
%tr
%th Users

View file

@ -19,7 +19,7 @@
= link_to admin_users_path(filter: "wop") do
Without projects
%table.admin-table
%table
%thead
%th Admin
%th Name

View file

@ -8,7 +8,11 @@
%br
%table.zebra-striped.table-bordered
%table.zebra-striped
%thead
%tr
%th Profile
%th
%tr
%td
%b
@ -57,7 +61,7 @@
%h3 Add User to Projects
%br
= form_tag team_update_admin_user_path(@admin_user), class: "bulk_import", method: :put do
%table.table-bordered
%table
%thead
%tr
%th Projects
@ -78,9 +82,9 @@
%h3 Projects
%br
%table.zebra-striped.table-bordered
%tr
%thead
%table.zebra-striped
%thead
%tr
%th Name
%th Project Access
%th