reorganize form a bit; group like things
This commit is contained in:
parent
bf009faaa8
commit
bda9f69ce9
2 changed files with 19 additions and 21 deletions
|
@ -279,19 +279,16 @@ body.outfits-edit
|
||||||
label
|
label
|
||||||
+inline-block
|
+inline-block
|
||||||
|
|
||||||
|
li.text label
|
||||||
|
width: 12em
|
||||||
|
|
||||||
|
li.select label
|
||||||
|
width: 8em
|
||||||
|
|
||||||
li.checkbox
|
li.checkbox
|
||||||
list-style: none
|
list-style: none
|
||||||
margin-left: -24px
|
margin-left: -24px
|
||||||
|
|
||||||
&:nth-of-type(1)
|
|
||||||
li.text, li.select
|
|
||||||
label
|
|
||||||
width: 12em
|
|
||||||
|
|
||||||
&:nth-of-type(2)
|
|
||||||
li.text, li.select
|
|
||||||
label
|
|
||||||
width: 5em
|
|
||||||
#preview-search-advanced-link
|
#preview-search-advanced-link
|
||||||
font-size: 85%
|
font-size: 85%
|
||||||
margin-right: 1em
|
margin-right: 1em
|
||||||
|
|
|
@ -123,20 +123,14 @@
|
||||||
%li.text
|
%li.text
|
||||||
%label{for: 'advanced-search-name-exclude'} Name doesn't contain
|
%label{for: 'advanced-search-name-exclude'} Name doesn't contain
|
||||||
%input{type: 'text', id: 'advanced-search-name-exclude'}
|
%input{type: 'text', id: 'advanced-search-name-exclude'}
|
||||||
|
%div
|
||||||
|
%ul
|
||||||
%li.select
|
%li.select
|
||||||
%label{for: 'advanced-search-nc'} Only include
|
%label{for: 'advanced-search-nc'} Only include
|
||||||
%select{id: 'advanced-search-nc'}
|
%select{id: 'advanced-search-nc'}
|
||||||
%option{value: ''} NC and NP items
|
%option{value: ''} NC and NP items
|
||||||
%option{value: 'nc'} Neocash items
|
%option{value: 'nc'} Neocash items
|
||||||
%option{value: 'np'} Neopoint items
|
%option{value: 'np'} Neopoint items
|
||||||
%div
|
|
||||||
%ul
|
|
||||||
%li.checkbox
|
|
||||||
%input{type: 'checkbox', id: 'advanced-search-species'}
|
|
||||||
%label{for: 'advanced-search-species'}
|
|
||||||
Fits the
|
|
||||||
-# TODO: update to current species
|
|
||||||
%span Acara
|
|
||||||
%li.select
|
%li.select
|
||||||
%label{for: 'advanced-search-occupies'} Occupies
|
%label{for: 'advanced-search-occupies'} Occupies
|
||||||
-# TODO: populate
|
-# TODO: populate
|
||||||
|
@ -149,16 +143,23 @@
|
||||||
%option any or no zones
|
%option any or no zones
|
||||||
%div
|
%div
|
||||||
%ul
|
%ul
|
||||||
|
%li.checkbox
|
||||||
|
%input{type: 'checkbox', id: 'advanced-search-species'}
|
||||||
|
%label{for: 'advanced-search-species'}
|
||||||
|
Fits the
|
||||||
|
-# TODO: update to current species
|
||||||
|
%span Acara
|
||||||
|
(the current species)
|
||||||
-# TODO: hide link if logged in
|
-# TODO: hide link if logged in
|
||||||
-# TODO: enable if logged in
|
-# TODO: enable if logged in
|
||||||
-# TODO: update return_to
|
|
||||||
= link_to 'Log in to use these filters.', login_path_with_return_to
|
|
||||||
%li.checkbox.must-log-in
|
%li.checkbox.must-log-in
|
||||||
%input{type: 'checkbox', id: 'advanced-search-owns', disabled: true}
|
%input{type: 'checkbox', id: 'advanced-search-owns', disabled: true}
|
||||||
%label{for: 'advanced-search-owns'} Only include items I own
|
%label{for: 'advanced-search-owns'} Only include items you own
|
||||||
%li.checkbox.must-log-in
|
%li.checkbox.must-log-in
|
||||||
%input{type: 'checkbox', id: 'advanced-search-wants', disabled: true}
|
%input{type: 'checkbox', id: 'advanced-search-wants', disabled: true}
|
||||||
%label{for: 'advanced-search-wants'} Only include items I want
|
%label{for: 'advanced-search-wants'} Only include items you want
|
||||||
|
-# TODO: update return_to
|
||||||
|
= link_to 'Log in to use these filters.', login_path_with_return_to
|
||||||
|
|
||||||
#no-assets-full-message= t '.sidebar.closet.no_data.description'
|
#no-assets-full-message= t '.sidebar.closet.no_data.description'
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue