@@ -24,9 +24,24 @@ <h3>Search</h3>
2424 < div class ="sidebar_left_find ">
2525 < div class ="sidebar_list ">
2626 < h3 > Filter by Price</ h3 >
27- < span id ="price_range_label " style ="margin:50px; "> $0-$100 </ span >
27+ < span id ="price_range_label " style ="margin:50px; "> $0-$500 </ span >
2828 < div id ="price_slider "> </ div >
29- < input type ="hidden " id ="price_filter "/>
29+ < input type ="hidden " id ="price_filter " value ="100-500 "/>
30+ </ div >
31+ </ div >
32+ < div class ="sidebar_left_find ">
33+ < div class ="sidebar_list ">
34+ < h3 > Filter by Status</ h3 >
35+ < ul id ="status ">
36+ < li >
37+ < input id ="active " value ="active " type ="checkbox ">
38+ < span > Active</ span >
39+ </ li >
40+ < li >
41+ < input id ="inactive " value ="inactive " type ="checkbox ">
42+ < span > Inactive</ span >
43+ </ li >
44+ < ul >
3045 </ div >
3146 </ div >
3247 </ div >
@@ -38,150 +53,58 @@ <h1 class="result_count"></h1>
3853 //<![CDATA[
3954 var services = [
4055 {
41- "to_param" : "1-mr-ona-howe" ,
42- "group_number" : null ,
43- "is_schedulelater" : false ,
4456 "permalink" : "1-mr-ona-howe" ,
45- "start_date" : "2011-08-27" ,
46- "total_transactions" : null ,
47- "end_time" : null ,
48- "positive_reviews" : 0 ,
49- "booking_capacity" : 2 ,
50- "is_virtual" : false ,
51- "request_id" : null ,
5257 "title" : "Mr. Ona Howe" ,
53- "total_reviews" : 0 ,
54- "estimated_duration" : 0 ,
55- "thumbnail" : "/images/category/cat_image_thumb.jpg" ,
56- "amount" : 453 ,
57- "donated_amount" : null ,
58- "booked_seats" : 0 ,
59- "id" : 1 ,
60- "user_id" : 3 ,
61- "is_public" : true ,
62- "service_categories" : [
63- {
64- "to_param" : "1" ,
65- "category_id" : 33
66- }
67- ] ,
68- "end_date" : "2011-07-30" ,
69- "nonprofit_id" : 15 ,
58+ "amount" : 100 ,
7059 "status" : "active" ,
71- "start_time" : null ,
72- "nonprofit" : {
73- "name" : "Eldon Zulauf" ,
74- "to_param" : "15-eldon-zulauf" ,
75- "nonprofit_categories" : [
76- {
77- "to_param" : "15" ,
78- "category_id" : 11
79- }
80- ] ,
81- "thumbnail" : "/images/missing/nonprofit_medium.jpg"
82- }
60+ "is_public" : true ,
61+ "id" : 1 ,
62+ "nonprofit" : "Eldon Zulauf"
8363 } ,
8464 {
85- "to_param" : "2-darien-hoeger" ,
86- "group_number" : null ,
87- "is_schedulelater" : true ,
8865 "permalink" : "2-darien-hoeger" ,
89- "start_date" : "2011-08-23" ,
90- "total_transactions" : null ,
91- "end_time" : null ,
92- "positive_reviews" : 0 ,
93- "booking_capacity" : 0 ,
94- "is_virtual" : false ,
95- "request_id" : null ,
9666 "title" : "Darien Hoeger" ,
97- "total_reviews" : 0 ,
98- "estimated_duration" : 0 ,
99- "thumbnail" : "/images/category/cat_image_thumb.jpg" ,
10067 "amount" : 201 ,
101- "donated_amount" : null ,
102- "booked_seats" : 0 ,
10368 "id" : 2 ,
104- "user_id" : 3 ,
105- "is_public" : true ,
106- "service_categories" : [
107- {
108- "to_param" : "2" ,
109- "category_id" : 33
110- }
111- ] ,
112- "end_date" : "2011-09-03" ,
113- "nonprofit_id" : 16 ,
114- "status" : "active" ,
115- "start_time" : null ,
116- "nonprofit" : {
117- "name" : "Beryl McDermott" ,
118- "to_param" : "16-beryl-mcdermott" ,
119- "nonprofit_categories" : [
120- {
121- "to_param" : "16" ,
122- "category_id" : 26
123- }
124- ] ,
125- "thumbnail" : "/images/missing/nonprofit_medium.jpg"
126- }
69+ "status" : "inactive" ,
70+ "nonprofit" : "Beryl McDermott"
12771 } ,
12872 {
129- "to_param" : "3-mrs-frederique-kris" ,
130- "group_number" : null ,
131- "is_schedulelater" : true ,
13273 "permalink" : "3-mrs-frederique-kris" ,
133- "start_date" : "2011-08-08" ,
134- "total_transactions" : null ,
135- "end_time" : null ,
136- "positive_reviews" : 0 ,
137- "booking_capacity" : 0 ,
138- "is_virtual" : false ,
139- "request_id" : null ,
14074 "title" : "Mrs. Frederique Kris" ,
141- "total_reviews" : 0 ,
142- "estimated_duration" : 0 ,
143- "thumbnail" : "/images/category/cat_image_thumb.jpg" ,
14475 "amount" : 500 ,
145- "donated_amount" : null ,
146- "booked_seats" : 0 ,
14776 "id" : 3 ,
148- "user_id" : 3 ,
149- "is_public" : true ,
150- "service_categories" : [
151- {
152- "to_param" : "3" ,
153- "category_id" : 27
154- }
155- ] ,
156- "end_date" : "2011-08-16" ,
157- "nonprofit_id" : 15 ,
15877 "status" : "active" ,
159- "start_time" : null ,
160- "nonprofit" : {
161- "name" : "Eldon Zulauf" ,
162- "to_param" : "15-eldon-zulauf" ,
163- "nonprofit_categories" : [
164- {
165- "to_param" : "15" ,
166- "category_id" : 11
167- }
168- ] ,
169- "thumbnail" : "/images/missing/nonprofit_medium.jpg"
170- }
171- } ] ;
78+ "nonprofit" : "Eldon Zulauf"
79+ } ,
80+ {
81+ "permalink" : "4-jedediah-pouros" ,
82+ "title" : "Jedediah Pouros" ,
83+ "amount" : 300 ,
84+ "id" : 4 ,
85+ "status" : "inactive" ,
86+ "nonprofit" : "Mabel Tillman I"
87+ } ,
88+ {
89+ "permalink" : "5-mrs-daisy-macejkovic" ,
90+ "title" : "Mrs. Daisy Macejkovic" ,
91+ "amount" : 410 ,
92+ "id" : 5 ,
93+ "status" : "active" ,
94+ "nonprofit" : "Mr. Ayden O'Keefe"
95+ } ] ;
17296 //]]>
17397 </ script >
17498 < div class ="clear "> </ div >
17599 </ div >
176100
177101 < script id ="template " type ="text/html ">
178- < a title = "{{title}}" href = "/demo/{{to_param }}" >
102+ < a title = "{{title}}" href = "/demo/{{permalink }}" >
179103 < div class = "fs_box" >
180104 < div class = "fs_left" >
181- < span class = "fs_head" > { { short_title } } </ span >
105+ < span class = "fs_head" > { { title } } </ span >
182106 < span class = "fs_for" > for</ span >
183- < span class = "fs_disc" > { { short_nonprofit_name} } </ span >
184- < span class = "fs_disc" > { { timeleft_str} } </ span >
107+ < span class = "fs_disc" > { { nonprofit} } </ span >
185108 </ div >
186109 < div class = "fs_price" > ${ { amount} } </ div >
187110 < div class = "clear" > </ div >
0 commit comments