Move the customers table into a more narrow row
This commit is contained in:
parent
ad4362f471
commit
43b9c1336f
10
stoptime.rb
10
stoptime.rb
|
@ -2029,12 +2029,14 @@ module StopTime::Views
|
|||
"#{a "here", href: R(CustomersNew)}."
|
||||
end
|
||||
else
|
||||
div.row do
|
||||
div.col_md_9.col_xs_12 do
|
||||
table.table.table_striped.table_condensed do
|
||||
thead do
|
||||
tr do
|
||||
th.col_md_2.col_xs_5 "Name"
|
||||
th.col_md_1.hidden_xs "Short name"
|
||||
th.col_md_4.col_xs_5 "Address"
|
||||
th.col_md_2.hidden_xs "Short name"
|
||||
th.col_md_3.col_xs_5 "Address"
|
||||
th.col_md_2.hidden_xs "Email"
|
||||
th.col_md_2.hidden_xs "Phone"
|
||||
th.col_md_1.col_xs_2 {}
|
||||
|
@ -2090,6 +2092,8 @@ module StopTime::Views
|
|||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
# Form for editing the properties of customer ({Models::Customer}) but also
|
||||
# for adding/editing/deleting tasks and showing a list of invoices for
|
||||
|
@ -2776,7 +2780,7 @@ module StopTime::Views
|
|||
text! "Only make changes if you know what you are doing!"
|
||||
end if @history_warn
|
||||
div.row do
|
||||
div.col_md_6.col_xs_12 do
|
||||
div.col_md_8.col_xs_12 do
|
||||
form.form_horizontal.form_condensed \
|
||||
action: R(Company, revision: @company.revision),
|
||||
method: :post do
|
||||
|
|
Loading…
Reference in New Issue