Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

sencha io and new templates infra

  • Loading branch information...
commit 531619bc5e9ddedd98fadb45c0d9deb56fbb616d 1 parent 5b2f718
@kristianmandrup authored
Showing with 140,133 additions and 97,720 deletions.
  1. +0 −21 www/Content.js
  2. +0 −30 www/Flags.js
  3. +3 −3 www/Guardfile
  4. +0 −42 www/Home.js
  5. +0 −10 www/Location.js
  6. +0 −11 www/Logo.js
  7. +0 −20 www/NavBar.js
  8. +0 −39 www/Navigation.js
  9. +0 −19 www/Page.js
  10. +0 −10 www/PropertyType.js
  11. +0 −14 www/Radius.js
  12. +19 −3 www/app.js
  13. +11 −7 www/app.json
  14. +13 −1 www/app.rb
  15. +6 −5 www/app/controller/Home.js
  16. +55 −0 www/app/controller/Search.js
  17. +1 −1  www/app/model/Mail.js
  18. +28 −12 www/app/model/Property.js
  19. +32 −0 www/app/model/search/Agent.js
  20. +29 −6 www/app/model/search/Criteria.js
  21. +1 −1  www/app/model/search/Favorite.js
  22. +36 −0 www/app/store/Agents.js
  23. +59 −0 www/app/store/Favorites.js
  24. +36 −0 www/app/store/History.js
  25. +1 −1  www/app/view/home/Navigation.js
  26. +0 −1  www/app/view/properties/list/Content.js
  27. +32 −8 www/app/view/properties/list/Item.js
  28. +11 −13 www/app/view/properties/list/Page.js
  29. +14 −0 www/app/view/properties/list/SampleDataView.js
  30. +22 −3 www/app/view/search/Content.js
  31. +14 −2 www/app/view/search/NavBar.js
  32. +7 −7 www/app/view/search/agents/Content.js
  33. +14 −13 www/app/view/search/agents/Page.js
  34. +4 −0 www/{ → app/view/search/agents}/TopBar.js
  35. +4 −7 www/app/view/search/criteria/Radius.js
  36. +1 −2  www/app/view/search/criteria/RentalCost.js
  37. +3 −4 www/app/view/search/criteria/RentalPeriod.js
  38. +2 −2 www/app/view/search/criteria/Rooms.js
  39. +7 −8 www/app/view/search/criteria/Size.js
  40. +10 −0 www/app/view/search/criteria/StartDate.js
  41. +7 −5 www/app/view/search/favorites/Content.js
  42. +17 −14 www/app/view/search/favorites/Page.js
  43. +15 −9 www/app/view/search/history/Content.js
  44. 0  www/app/view/search/history/NavBar.js
  45. +14 −13 www/app/view/search/history/Page.js
  46. +118 −0 www/lib/Templates.js
  47. +2 −0  www/lib/plugins/RangeSlider.js
  48. +32 −0 www/lib/plugins/TooltipSlider.js
  49. +0 −3,767 www/lib/sencha-io/sencha-io.js
  50. BIN  www/resources/.sass-cache/0cc059c506fe0611e713576e7fe12df278dbc2d7/_buttons.scssc
  51. BIN  www/resources/.sass-cache/0cc059c506fe0611e713576e7fe12df278dbc2d7/_carousel.scssc
  52. BIN  www/resources/.sass-cache/0cc059c506fe0611e713576e7fe12df278dbc2d7/_form-sliders.scssc
  53. BIN  www/resources/.sass-cache/0cc059c506fe0611e713576e7fe12df278dbc2d7/_form.scssc
  54. BIN  www/resources/.sass-cache/0cc059c506fe0611e713576e7fe12df278dbc2d7/_img.scssc
  55. BIN  www/resources/.sass-cache/0cc059c506fe0611e713576e7fe12df278dbc2d7/_indexbar.scssc
  56. BIN  www/resources/.sass-cache/0cc059c506fe0611e713576e7fe12df278dbc2d7/_list.scssc
  57. BIN  www/resources/.sass-cache/0cc059c506fe0611e713576e7fe12df278dbc2d7/_loading-spinner.scssc
  58. BIN  www/resources/.sass-cache/0cc059c506fe0611e713576e7fe12df278dbc2d7/_map.scssc
  59. BIN  www/resources/.sass-cache/0cc059c506fe0611e713576e7fe12df278dbc2d7/_media.scssc
  60. BIN  www/resources/.sass-cache/0cc059c506fe0611e713576e7fe12df278dbc2d7/_msgbox.scssc
  61. BIN  www/resources/.sass-cache/0cc059c506fe0611e713576e7fe12df278dbc2d7/_panel.scssc
  62. BIN  www/resources/.sass-cache/0cc059c506fe0611e713576e7fe12df278dbc2d7/_picker.scssc
  63. BIN  www/resources/.sass-cache/0cc059c506fe0611e713576e7fe12df278dbc2d7/_sheets.scssc
  64. BIN  www/resources/.sass-cache/0cc059c506fe0611e713576e7fe12df278dbc2d7/_tabs.scssc
  65. BIN  www/resources/.sass-cache/0cc059c506fe0611e713576e7fe12df278dbc2d7/_toolbar-forms.scssc
  66. BIN  www/resources/.sass-cache/0cc059c506fe0611e713576e7fe12df278dbc2d7/_toolbar.scssc
  67. BIN  www/resources/.sass-cache/1257f1ac18148700333e5af96c7ab22361a12a28/_css3.scssc
  68. BIN  www/resources/.sass-cache/1257f1ac18148700333e5af96c7ab22361a12a28/_support.scssc
  69. BIN  www/resources/.sass-cache/2f86792dce7d2835f047eb3809642bb97536b0e6/app.scssc
  70. BIN  www/resources/.sass-cache/2f86792dce7d2835f047eb3809642bb97536b0e6/flags64-semi.scssc
  71. BIN  www/resources/.sass-cache/2f86792dce7d2835f047eb3809642bb97536b0e6/flags64.scssc
  72. BIN  www/resources/.sass-cache/3ac0f11328ff0693a8843e69028dd58800082fa2/_blueprint-grid.scssc
  73. BIN  www/resources/.sass-cache/3ac0f11328ff0693a8843e69028dd58800082fa2/_carbon-fiber.scssc
  74. BIN  www/resources/.sass-cache/3ac0f11328ff0693a8843e69028dd58800082fa2/_checkerboard.scssc
  75. BIN  www/resources/.sass-cache/3ac0f11328ff0693a8843e69028dd58800082fa2/_cicada.scssc
  76. BIN  www/resources/.sass-cache/3ac0f11328ff0693a8843e69028dd58800082fa2/_gradients.scssc
  77. BIN  www/resources/.sass-cache/3ac0f11328ff0693a8843e69028dd58800082fa2/_houndstooth.scssc
  78. BIN  www/resources/.sass-cache/3ac0f11328ff0693a8843e69028dd58800082fa2/_lined-paper.scssc
  79. BIN  www/resources/.sass-cache/3ac0f11328ff0693a8843e69028dd58800082fa2/_madras.scssc
  80. BIN  www/resources/.sass-cache/3ac0f11328ff0693a8843e69028dd58800082fa2/_noise.scssc
  81. BIN  www/resources/.sass-cache/3ac0f11328ff0693a8843e69028dd58800082fa2/_polka-dot.scssc
  82. BIN  www/resources/.sass-cache/3ac0f11328ff0693a8843e69028dd58800082fa2/_radial-overlay.scssc
  83. BIN  www/resources/.sass-cache/3ac0f11328ff0693a8843e69028dd58800082fa2/_striped.scssc
  84. BIN  www/resources/.sass-cache/3ac0f11328ff0693a8843e69028dd58800082fa2/_stripes.scssc
  85. BIN  www/resources/.sass-cache/3ac0f11328ff0693a8843e69028dd58800082fa2/_tablecloth.scssc
  86. BIN  www/resources/.sass-cache/3ac0f11328ff0693a8843e69028dd58800082fa2/_tartan.scssc
  87. BIN  www/resources/.sass-cache/504a8af0937cbeacde56c7855c79c9bf1c58fe50/_all.scssc
  88. BIN  www/resources/.sass-cache/504a8af0937cbeacde56c7855c79c9bf1c58fe50/_core.scssc
  89. BIN  www/resources/.sass-cache/504a8af0937cbeacde56c7855c79c9bf1c58fe50/_global.scssc
  90. BIN  www/resources/.sass-cache/504a8af0937cbeacde56c7855c79c9bf1c58fe50/_mixins.scssc
  91. BIN  www/resources/.sass-cache/504a8af0937cbeacde56c7855c79c9bf1c58fe50/_variables.scssc
  92. BIN  www/resources/.sass-cache/504a8af0937cbeacde56c7855c79c9bf1c58fe50/_widgets.scssc
  93. BIN  www/resources/.sass-cache/68393789a233eb464c173b6f6064d96cbb04fa77/_appearance.scssc
  94. BIN  www/resources/.sass-cache/68393789a233eb464c173b6f6064d96cbb04fa77/_background-clip.scssc
  95. BIN  www/resources/.sass-cache/68393789a233eb464c173b6f6064d96cbb04fa77/_background-origin.scssc
  96. BIN  www/resources/.sass-cache/68393789a233eb464c173b6f6064d96cbb04fa77/_background-size.scssc
  97. BIN  www/resources/.sass-cache/68393789a233eb464c173b6f6064d96cbb04fa77/_border-radius.scssc
  98. BIN  www/resources/.sass-cache/68393789a233eb464c173b6f6064d96cbb04fa77/_box-shadow.scssc
  99. BIN  www/resources/.sass-cache/68393789a233eb464c173b6f6064d96cbb04fa77/_box-sizing.scssc
  100. BIN  www/resources/.sass-cache/68393789a233eb464c173b6f6064d96cbb04fa77/_box.scssc
  101. BIN  www/resources/.sass-cache/68393789a233eb464c173b6f6064d96cbb04fa77/_columns.scssc
  102. BIN  www/resources/.sass-cache/68393789a233eb464c173b6f6064d96cbb04fa77/_filter.scssc
  103. BIN  www/resources/.sass-cache/68393789a233eb464c173b6f6064d96cbb04fa77/_font-face.scssc
  104. BIN  www/resources/.sass-cache/68393789a233eb464c173b6f6064d96cbb04fa77/_hyphenation.scssc
  105. BIN  www/resources/.sass-cache/68393789a233eb464c173b6f6064d96cbb04fa77/_images.scssc
  106. BIN  www/resources/.sass-cache/68393789a233eb464c173b6f6064d96cbb04fa77/_inline-block.scssc
  107. BIN  www/resources/.sass-cache/68393789a233eb464c173b6f6064d96cbb04fa77/_opacity.scssc
  108. BIN  www/resources/.sass-cache/68393789a233eb464c173b6f6064d96cbb04fa77/_regions.scssc
  109. BIN  www/resources/.sass-cache/68393789a233eb464c173b6f6064d96cbb04fa77/_shared.scssc
  110. BIN  www/resources/.sass-cache/68393789a233eb464c173b6f6064d96cbb04fa77/_text-shadow.scssc
  111. BIN  www/resources/.sass-cache/68393789a233eb464c173b6f6064d96cbb04fa77/_transform.scssc
  112. BIN  www/resources/.sass-cache/68393789a233eb464c173b6f6064d96cbb04fa77/_transition.scssc
  113. BIN  www/resources/.sass-cache/a8520d7ab5c4ebae9dbccd1b2f7a57c2767170fd/_colors.scssc
  114. BIN  www/resources/.sass-cache/a8520d7ab5c4ebae9dbccd1b2f7a57c2767170fd/_typography.scssc
  115. BIN  www/resources/.sass-cache/ac4d8f820baeccd56133b29f2021fd76fdfa698b/_core.scssc
  116. BIN  www/resources/.sass-cache/ac4d8f820baeccd56133b29f2021fd76fdfa698b/_layout.scssc
  117. BIN  www/resources/.sass-cache/ac4d8f820baeccd56133b29f2021fd76fdfa698b/_reset.scssc
  118. BIN  www/resources/.sass-cache/b9f3ee699e99dd60529dcd92714d86da037842ce/_float.scssc
  119. BIN  www/resources/.sass-cache/b9f3ee699e99dd60529dcd92714d86da037842ce/_hacks.scssc
  120. BIN  www/resources/.sass-cache/d112b9df08297b8d097d03a12151ac9e5b98fc64/_link-colors.scssc
  121. BIN  www/resources/.sass-cache/d468a8f2324bff09adcbd0d8e818ede0414dc825/_background.scssc
  122. BIN  www/resources/.sass-cache/d468a8f2324bff09adcbd0d8e818ede0414dc825/_color.scssc
  123. +1 −1  www/resources/css/app.css
  124. BIN  www/resources/images/properties/prop1.jpg
  125. BIN  www/resources/images/properties/prop2.jpg
  126. BIN  www/resources/images/properties/prop3.jpg
  127. BIN  www/resources/images/properties/prop4.jpg
  128. BIN  www/resources/images/properties/prop5.jpg
  129. BIN  www/resources/images/properties/prop6.jpg
  130. BIN  www/resources/images/properties/prop7.jpg
  131. +22 −0 www/resources/sass/app.scss
  132. +60 −0 www/resources/stylesheets/app.css
  133. +980 −0 www/resources/stylesheets/flags64-semi.css
  134. +980 −0 www/resources/stylesheets/flags64.css
  135. +1 −0  www/sdk/sencha-io-0.3.3/examples/channels/.senchasdk
  136. +56 −0 www/sdk/sencha-io-0.3.3/examples/channels/app.js
  137. +115 −0 www/sdk/sencha-io-0.3.3/examples/channels/app.json
  138. +118 −0 www/sdk/sencha-io-0.3.3/examples/channels/app/controller/Main.js
  139. +15 −0 www/sdk/sencha-io-0.3.3/examples/channels/app/model/Message.js
  140. +22 −0 www/sdk/sencha-io-0.3.3/examples/channels/app/store/Messages.js
  141. +42 −0 www/sdk/sencha-io-0.3.3/examples/channels/app/view/ChannelView.js
  142. +12 −0 www/sdk/sencha-io-0.3.3/examples/channels/index.html
  143. +6,786 −0 www/sdk/sencha-io-0.3.3/examples/channels/resources/css/app.css
  144. BIN  www/sdk/sencha-io-0.3.3/examples/channels/resources/icons/Icon.png
  145. BIN  www/sdk/sencha-io-0.3.3/examples/channels/resources/icons/Icon@2x.png
  146. BIN  www/sdk/sencha-io-0.3.3/examples/channels/resources/icons/Icon~ipad.png
  147. BIN  www/sdk/sencha-io-0.3.3/examples/channels/resources/icons/Icon~ipad@2x.png
  148. BIN  www/sdk/sencha-io-0.3.3/examples/channels/resources/icons/iTunesArtwork.png
  149. BIN  www/sdk/sencha-io-0.3.3/examples/channels/resources/icons/icon-spot~ipad.png
  150. BIN  www/sdk/sencha-io-0.3.3/examples/channels/resources/loading/Default-LandscapeLeft~ipad.png
  151. BIN  www/sdk/sencha-io-0.3.3/examples/channels/resources/loading/Default-LandscapeRight~ipad.png
  152. BIN  www/sdk/sencha-io-0.3.3/examples/channels/resources/loading/Default-Landscape~ipad.png
  153. BIN  www/sdk/sencha-io-0.3.3/examples/channels/resources/loading/Default-PortraitUpsideDown~ipad.png
  154. BIN  www/sdk/sencha-io-0.3.3/examples/channels/resources/loading/Default-Portrait~ipad.png
  155. BIN  www/sdk/sencha-io-0.3.3/examples/channels/resources/loading/Default.png
  156. BIN  www/sdk/sencha-io-0.3.3/examples/channels/resources/loading/Default@2x.png
  157. BIN  www/sdk/sencha-io-0.3.3/examples/channels/resources/loading/Default~ipad.png
  158. BIN  www/sdk/sencha-io-0.3.3/examples/channels/resources/loading/Homescreen.jpg
  159. BIN  www/sdk/sencha-io-0.3.3/examples/channels/resources/loading/Homescreen~ipad.jpg
  160. +19 −0 www/sdk/sencha-io-0.3.3/examples/channels/resources/sass/app.scss
  161. +14 −0 www/sdk/sencha-io-0.3.3/examples/channels/resources/sass/config.rb
  162. +1 −0  www/sdk/sencha-io-0.3.3/examples/data/.senchasdk
  163. +58 −0 www/sdk/sencha-io-0.3.3/examples/data/app.js
  164. +115 −0 www/sdk/sencha-io-0.3.3/examples/data/app.json
  165. +233 −0 www/sdk/sencha-io-0.3.3/examples/data/app/controller/Main.js
  166. +15 −0 www/sdk/sencha-io-0.3.3/examples/data/app/model/Location.js
  167. +25 −0 www/sdk/sencha-io-0.3.3/examples/data/app/store/Locations.js
  168. +38 −0 www/sdk/sencha-io-0.3.3/examples/data/app/view/Locations.js
  169. +14 −0 www/sdk/sencha-io-0.3.3/examples/data/index.html
  170. +6,786 −0 www/sdk/sencha-io-0.3.3/examples/data/resources/css/app.css
  171. BIN  www/sdk/sencha-io-0.3.3/examples/data/resources/icons/Icon.png
  172. BIN  www/sdk/sencha-io-0.3.3/examples/data/resources/icons/Icon@2x.png
  173. BIN  www/sdk/sencha-io-0.3.3/examples/data/resources/icons/Icon~ipad.png
  174. BIN  www/sdk/sencha-io-0.3.3/examples/data/resources/icons/Icon~ipad@2x.png
  175. BIN  www/sdk/sencha-io-0.3.3/examples/data/resources/icons/iTunesArtwork.png
  176. BIN  www/sdk/sencha-io-0.3.3/examples/data/resources/icons/icon-spot~ipad.png
  177. BIN  www/sdk/sencha-io-0.3.3/examples/data/resources/loading/Default-LandscapeLeft~ipad.png
  178. BIN  www/sdk/sencha-io-0.3.3/examples/data/resources/loading/Default-LandscapeRight~ipad.png
  179. BIN  www/sdk/sencha-io-0.3.3/examples/data/resources/loading/Default-Landscape~ipad.png
  180. BIN  www/sdk/sencha-io-0.3.3/examples/data/resources/loading/Default-PortraitUpsideDown~ipad.png
  181. BIN  www/sdk/sencha-io-0.3.3/examples/data/resources/loading/Default-Portrait~ipad.png
  182. BIN  www/sdk/sencha-io-0.3.3/examples/data/resources/loading/Default.png
  183. BIN  www/sdk/sencha-io-0.3.3/examples/data/resources/loading/Default@2x.png
  184. BIN  www/sdk/sencha-io-0.3.3/examples/data/resources/loading/Default~ipad.png
  185. BIN  www/sdk/sencha-io-0.3.3/examples/data/resources/loading/Homescreen.jpg
  186. BIN  www/sdk/sencha-io-0.3.3/examples/data/resources/loading/Homescreen~ipad.jpg
  187. +19 −0 www/sdk/sencha-io-0.3.3/examples/data/resources/sass/app.scss
  188. +14 −0 www/sdk/sencha-io-0.3.3/examples/data/resources/sass/config.rb
  189. +1 −0  www/sdk/sencha-io-0.3.3/examples/todo/.senchasdk
  190. +49 −0 www/sdk/sencha-io-0.3.3/examples/todo/app.js
  191. +115 −0 www/sdk/sencha-io-0.3.3/examples/todo/app.json
  192. +127 −0 www/sdk/sencha-io-0.3.3/examples/todo/app/controller/Todos.js
  193. +28 −0 www/sdk/sencha-io-0.3.3/examples/todo/app/model/Todo.js
  194. +50 −0 www/sdk/sencha-io-0.3.3/examples/todo/app/store/Todos.js
  195. +51 −0 www/sdk/sencha-io-0.3.3/examples/todo/app/view/Todos.js
  196. +9 −0 www/sdk/sencha-io-0.3.3/examples/todo/index.html
  197. +6,786 −0 www/sdk/sencha-io-0.3.3/examples/todo/resources/css/app.css
  198. BIN  www/sdk/sencha-io-0.3.3/examples/todo/resources/icons/Icon.png
  199. BIN  www/sdk/sencha-io-0.3.3/examples/todo/resources/icons/Icon@2x.png
  200. BIN  www/sdk/sencha-io-0.3.3/examples/todo/resources/icons/Icon~ipad.png
  201. BIN  www/sdk/sencha-io-0.3.3/examples/todo/resources/icons/Icon~ipad@2x.png
  202. BIN  www/sdk/sencha-io-0.3.3/examples/todo/resources/icons/iTunesArtwork.png
  203. BIN  www/sdk/sencha-io-0.3.3/examples/todo/resources/icons/icon-spot~ipad.png
  204. BIN  www/sdk/sencha-io-0.3.3/examples/todo/resources/loading/Default-LandscapeLeft~ipad.png
  205. BIN  www/sdk/sencha-io-0.3.3/examples/todo/resources/loading/Default-LandscapeRight~ipad.png
  206. BIN  www/sdk/sencha-io-0.3.3/examples/todo/resources/loading/Default-Landscape~ipad.png
  207. BIN  www/sdk/sencha-io-0.3.3/examples/todo/resources/loading/Default-PortraitUpsideDown~ipad.png
  208. BIN  www/sdk/sencha-io-0.3.3/examples/todo/resources/loading/Default-Portrait~ipad.png
  209. BIN  www/sdk/sencha-io-0.3.3/examples/todo/resources/loading/Default.png
  210. BIN  www/sdk/sencha-io-0.3.3/examples/todo/resources/loading/Default@2x.png
  211. BIN  www/sdk/sencha-io-0.3.3/examples/todo/resources/loading/Default~ipad.png
  212. BIN  www/sdk/sencha-io-0.3.3/examples/todo/resources/loading/Homescreen.jpg
  213. BIN  www/sdk/sencha-io-0.3.3/examples/todo/resources/loading/Homescreen~ipad.jpg
  214. +19 −0 www/sdk/sencha-io-0.3.3/examples/todo/resources/sass/app.scss
  215. +14 −0 www/sdk/sencha-io-0.3.3/examples/todo/resources/sass/config.rb
  216. +3,750 −0 www/sdk/sencha-io-0.3.3/lib/socket.io.js
  217. +12 −0 www/sdk/sencha-io-0.3.3/license.txt
  218. +55 −0 www/sdk/sencha-io-0.3.3/resources/css/style.css
  219. +1 −0  www/sdk/sencha-io-0.3.3/resources/css/welcome-touch.css
  220. +1 −0  www/sdk/sencha-io-0.3.3/resources/css/welcome_ie6.css
  221. BIN  www/sdk/sencha-io-0.3.3/resources/img/logo-sencha-sm.png
  222. +352 −342 www/{lib/sencha-io → sdk/sencha-io-0.3.3}/sencha-io-debug.js
  223. +3,767 −0 www/sdk/sencha-io-0.3.3/sencha-io.js
  224. +131 −0 www/sdk/sencha-io-0.3.3/src/cf/Overrides.js
  225. +110 −0 www/sdk/sencha-io-0.3.3/src/cf/Utilities.js
  226. +70 −0 www/sdk/sencha-io-0.3.3/src/cf/data/DatabaseDefinition.js
  227. +160 −0 www/sdk/sencha-io-0.3.3/src/cf/data/ModelWrapper.js
  228. +292 −0 www/sdk/sencha-io-0.3.3/src/cf/data/Protocol.js
  229. +60 −0 www/sdk/sencha-io-0.3.3/src/cf/data/ReplicaDefinition.js
  230. +44 −0 www/sdk/sencha-io-0.3.3/src/cf/data/SyncModel.js
  231. +790 −0 www/sdk/sencha-io-0.3.3/src/cf/data/SyncProxy.js
  232. +463 −0 www/sdk/sencha-io-0.3.3/src/cf/data/SyncStore.js
  233. +353 −0 www/sdk/sencha-io-0.3.3/src/cf/data/Transaction.js
  234. +33 −0 www/sdk/sencha-io-0.3.3/src/cf/data/Update.js
  235. +152 −0 www/sdk/sencha-io-0.3.3/src/cf/data/Updates.js
  236. +131 −0 www/sdk/sencha-io-0.3.3/src/cf/ds/CS.js
  237. +204 −0 www/sdk/sencha-io-0.3.3/src/cf/ds/CSI.js
  238. +149 −0 www/sdk/sencha-io-0.3.3/src/cf/ds/CSIV.js
  239. +394 −0 www/sdk/sencha-io-0.3.3/src/cf/ds/CSV.js
  240. +684 −0 www/sdk/sencha-io-0.3.3/src/cf/ds/ECO.js
  241. +209 −0 www/sdk/sencha-io-0.3.3/src/cf/ds/LogicalClock.js
  242. +38 −0 www/sdk/sencha-io-0.3.3/src/cf/ds/RealClock.js
  243. +135 −0 www/sdk/sencha-io-0.3.3/src/cf/messaging/AuthStrategies.js
  244. +68 −0 www/sdk/sencha-io-0.3.3/src/cf/messaging/DeviceAllocator.js
  245. +20 −0 www/sdk/sencha-io-0.3.3/src/cf/messaging/EnvelopeWrapper.js
  246. +205 −0 www/sdk/sencha-io-0.3.3/src/cf/messaging/Messaging.js
  247. +116 −0 www/sdk/sencha-io-0.3.3/src/cf/messaging/PubSub.js
  248. +211 −0 www/sdk/sencha-io-0.3.3/src/cf/messaging/Rpc.js
  249. +504 −0 www/sdk/sencha-io-0.3.3/src/cf/messaging/Transport.js
  250. +232 −0 www/sdk/sencha-io-0.3.3/src/cf/messaging/transports/PollingTransport.js
  251. +195 −0 www/sdk/sencha-io-0.3.3/src/cf/messaging/transports/SocketIoTransport.js
  252. +110 −0 www/sdk/sencha-io-0.3.3/src/cf/naming/CookieStore.js
  253. +146 −0 www/sdk/sencha-io-0.3.3/src/cf/naming/IDStore.js
  254. +52 −0 www/sdk/sencha-io-0.3.3/src/cf/naming/LocalStore.js
  255. +62 −0 www/sdk/sencha-io-0.3.3/src/cf/naming/Naming.js
  256. +45 −0 www/sdk/sencha-io-0.3.3/src/cf/naming/SessionStore.js
  257. +92 −0 www/sdk/sencha-io-0.3.3/src/cf/util/ErrorHelper.js
  258. +143 −0 www/sdk/sencha-io-0.3.3/src/cf/util/Logger.js
  259. +146 −0 www/sdk/sencha-io-0.3.3/src/cf/util/Md5.js
  260. +240 −0 www/sdk/sencha-io-0.3.3/src/cf/util/ParamValidator.js
  261. +23 −0 www/sdk/sencha-io-0.3.3/src/cf/util/UuidGenerator.js
  262. +328 −0 www/sdk/sencha-io-0.3.3/src/io/App.js
  263. +294 −0 www/sdk/sencha-io-0.3.3/src/io/Channel.js
  264. +755 −0 www/sdk/sencha-io-0.3.3/src/io/Controller.js
  265. +137 −0 www/sdk/sencha-io-0.3.3/src/io/Developer.js
  266. +321 −0 www/sdk/sencha-io-0.3.3/src/io/Device.js
  267. +105 −0 www/sdk/sencha-io-0.3.3/src/io/Errors.js
  268. +283 −0 www/sdk/sencha-io-0.3.3/src/io/Group.js
  269. +464 −0 www/sdk/sencha-io-0.3.3/src/io/Io.js
  270. +348 −0 www/sdk/sencha-io-0.3.3/src/io/Object.js
  271. +189 −0 www/sdk/sencha-io-0.3.3/src/io/Proxy.js
  272. +27 −0 www/sdk/sencha-io-0.3.3/src/io/Replica.js
  273. +57 −0 www/sdk/sencha-io-0.3.3/src/io/Sender.js
  274. +132 −0 www/sdk/sencha-io-0.3.3/src/io/Service.js
  275. +223 −0 www/sdk/sencha-io-0.3.3/src/io/Store.js
  276. +222 −0 www/sdk/sencha-io-0.3.3/src/io/Team.js
  277. +539 −0 www/sdk/sencha-io-0.3.3/src/io/User.js
  278. +107 −0 www/sdk/sencha-io-0.3.3/src/io/Version.js
  279. +148 −0 www/sdk/sencha-io-0.3.3/src/io/WithPicture.js
  280. +139 −0 www/sdk/sencha-io-0.3.3/src/io/data/Directory.js
  281. +19 −0 www/sdk/sencha-io-0.3.3/src/io/data/DirectoryModel.js
  282. +384 −0 www/sdk/sencha-io-0.3.3/src/io/data/Proxy.js
  283. +35 −0 www/sdk/sencha-io-0.3.3/src/io/ux/AuthButton.js
  284. +145 −0 www/sdk/sencha-io-0.3.3/src/io/ux/AuthFacebook.js
  285. +226 −0 www/sdk/sencha-io-0.3.3/src/io/ux/Authenticate.js
  286. +78,078 −0 www/sdk/sencha-touch-all-debug.js
  287. +1 −78,044 www/sdk/sencha-touch-all.js
  288. +14,984 −0 www/sdk/sencha-touch-debug.js
  289. +1 −14,950 www/sdk/sencha-touch.js
  290. +0 −3  www/sdk/src/Container.js
  291. +0 −1  www/sdk/src/Panel.js
  292. +0 −81 www/sdk/src/locale/ext-lang-da.js
  293. +0 −79 www/sdk/src/navigation/AdvancedBar.js
  294. +1 −68 www/sdk/src/navigation/Bar.js
  295. +1,681 −0 www/sdk/touch.jsb3
  296. +50 −5 www/src/app.coffee
  297. +9 −4 www/src/app/controller/Home.coffee
  298. +43 −0 www/src/app/controller/Search.coffee
  299. +1 −1  www/src/app/model/Mail.coffee
  300. +17 −7 www/src/app/model/Property.coffee
Sorry, we could not display the entire diff because too many files (340) changed.
View
21 www/Content.js
@@ -1,21 +0,0 @@
-
-Ext.define('FriendlyRent.view.search.Content', {
- extend: 'Ext.Panel',
- alias: 'widget.search_content',
- requires: ['FriendlyRent.view.search.criteria.Location', 'FriendlyRent.view.search.criteria.Radius', 'FriendlyRent.view.search.criteria.PropertyType'],
- config: {
- layout: 'vbox',
- items: [
- {
- xtype: 'search_criteria_location',
- name: 'location'
- }, {
- xtype: 'search_criteria_radius',
- name: 'radius'
- }, {
- xtype: 'search_criteria_property_type',
- name: 'property_type'
- }
- ]
- }
-});
View
30 www/Flags.js
@@ -1,30 +0,0 @@
-
-Ext.define('FriendlyRent.view.home.Flags', {
- extend: 'Ext.Panel',
- alias: 'widget.home_flags',
- config: {
- layout: {
- type: 'hbox',
- pack: 'center',
- align: 'middle'
- },
- items: [
- {
- xtype: 'image',
- src: 'resources/images/EnglishFlag.png',
- id: 'english_flag',
- height: 32,
- width: 32
- }, {
- xtype: 'spacer',
- width: 12
- }, {
- xtype: 'image',
- id: 'danish_flag',
- src: 'resources/images/DanishFlag.png',
- height: 32,
- width: 32
- }
- ]
- }
-});
View
6 www/Guardfile
@@ -7,7 +7,7 @@ end
# app
guard 'coffeescript', :output => '.', :bare => true do
- watch %r{^src/.+\.coffee$}
+ watch %r{^src/app.coffee$}
end
# lib
@@ -24,8 +24,8 @@ guard 'coffeescript', :output => 'test', :bare => true do
watch %r{^test/coffee/config\.coffee$}
end
-config = File.expand_path "resources/sass/config.rb", __FILE__
-path = File.dirname(__FILE__) # File.expand_path "../..", config
+config = File.expand_path "../resources/sass/config.rb", __FILE__
+path = File.expand_path "../..", config
guard 'compass', :project_path => path, :configuration_file => config do
watch %r{^resources/(.+\.scss)$}
View
42 www/Home.js
@@ -1,42 +0,0 @@
-
-Ext.define('FriendlyRent.controller.Home', {
- extend: 'Ext.app.Controller',
- config: {
- refs: {
- searchButton: 'button[action=search]',
- newPropertyButton: 'button[action=newProperty]',
- danishButton: '#danish_flag',
- englishButton: '#english_flag'
- },
- control: {
- searchButton: {
- tap: 'onTapSearch'
- },
- newPropertyButton: {
- tap: 'onTapNewProperty'
- },
- danishButton: {
- tap: 'onSelectDanishLang'
- },
- englishButton: {
- tap: 'onSelectEnglishLang'
- }
- }
- },
- onTapSearch: function() {
- var search_page;
- console.log('Go to Search');
- search_page = Ext.create('FriendlyRent.view.search.Page');
- Ext.Viewport.removeAt(0);
- return Ext.Viewport.add(search_page);
- },
- onTapNewProperty: function() {
- return console.log('Go to New Property');
- },
- onSelectDanishLang: function() {
- return console.log('Select Danish lang');
- },
- onSelectEnglishLang: function() {
- return console.log('Select English lang');
- }
-});
View
10 www/Location.js
@@ -1,10 +0,0 @@
-
-Ext.define('FriendlyRent.view.search.criteria.Location', {
- extend: 'Ext.field.Search',
- alias: 'widget.search_criteria_location',
- config: {
- name: 'location',
- label: 'Location',
- required: true
- }
-});
View
11 www/Logo.js
@@ -1,11 +0,0 @@
-
-Ext.define('FriendlyRent.view.home.Logo', {
- extend: 'Ext.Img',
- alias: 'widget.home_logo',
- requires: 'Ext.Img',
- config: {
- src: 'resources/images/FriendlyRent_big.png',
- height: 240,
- width: 240
- }
-});
View
20 www/NavBar.js
@@ -1,20 +0,0 @@
-
-Ext.define('FriendlyRent.view.search.NavBar', {
- extend: 'FriendlyRent.NavBar',
- alias: 'widget.search_navbar',
- config: {
- items: [
- {
- html: 'menu'
- }, {
- text: 'search',
- iconCls: 'search',
- iconMask: true
- }, {
- text: 'property',
- iconCls: 'home',
- iconMask: true
- }
- ]
- }
-});
View
39 www/Navigation.js
@@ -1,39 +0,0 @@
-
-Ext.define('FriendlyRent.view.home.Navigation', {
- extend: 'Ext.Panel',
- alias: 'widget.home_navigation',
- config: {
- layout: {
- type: 'vbox',
- align: 'center'
- },
- items: [
- {
- xtype: 'home_logo'
- }, {
- xtype: 'spacer',
- height: 20
- }, {
- xtype: 'button',
- ui: 'orange',
- iconCls: 'search',
- itemId: 'searchBtn',
- id: 'searchBtn',
- action: 'search',
- iconMask: true,
- text: 'Search home',
- cls: 'main-button'
- }, {
- xtype: 'button',
- ui: 'purple',
- iconCls: 'home',
- itemId: 'newBtn',
- id: 'newBtn',
- action: 'newProperty',
- iconMask: true,
- text: 'New property',
- cls: 'main-button black'
- }
- ]
- }
-});
View
19 www/Page.js
@@ -1,19 +0,0 @@
-
-Ext.define('FriendlyRent.view.search.Page', {
- extend: 'Ext.Panel',
- alias: 'widget.search_page',
- requires: ['FriendlyRent.view.search.TopBar', 'FriendlyRent.view.search.Content', 'FriendlyRent.view.search.NavBar'],
- config: {
- items: [
- {
- xtype: 'search_topbar',
- cls: 'nav-bar'
- }, {
- xtype: 'search_content'
- }, {
- xtype: 'search_navbar',
- cls: 'nav-bar'
- }
- ]
- }
-});
View
10 www/PropertyType.js
@@ -1,10 +0,0 @@
-
-Ext.define('FriendlyRent.view.search.criteria.PropertyType', {
- extend: 'Ext.field.SliderText',
- alias: 'widget.search_criteria_property_type',
- config: {
- label: 'Property type',
- autoValues: true,
- valueMap: ['Any', 'Room', 'Apartment', 'House', 'Independent house', 'House boat']
- }
-});
View
14 www/Radius.js
@@ -1,14 +0,0 @@
-
-Ext.define('FriendlyRent.view.search.criteria.Radius', {
- extend: 'Ext.field.SliderInput',
- alias: 'widget.search_criteria_radius'
-});
-
-({
- config: {
- label: 'Radius',
- value: 5,
- minValue: 1,
- maxValue: 50
- }
-});
View
22 www/app.js
@@ -1,10 +1,17 @@
+Ext.Loader.setPath({
+ 'Ext.io': 'sdk/sencha-io-0.3.3/src/io',
+ 'Ext.cf': 'sdk/sencha-io-0.3.3/src/cf',
+ 'Ext': 'sdk/src',
+ 'Ux': 'lib/Ux'
+});
+
Ext.application({
name: 'FriendlyRent',
- requires: ["Ext.MessageBox"],
+ requires: [],
models: [],
- stores: [],
- controllers: ["FriendlyRent.controller.Home"],
+ stores: ["Favorites", "Agents"],
+ controllers: ["FriendlyRent.controller.Home", "FriendlyRent.controller.Search"],
views: ["FriendlyRent.view.home.Page", "FriendlyRent.view.search.Page"],
icon: {
'57': 'resources/icons/Icon.png',
@@ -21,6 +28,15 @@ Ext.application({
'1536x2008': 'resources/startup/1536x2008.png',
'1496x2048': 'resources/startup/1496x2048.png'
},
+ config: {
+ io: {
+ appId: 'Uk0e22q24n5ocdvb9i10fUS3IUU',
+ appSecret: 'iKrtkvW8AZlE1oOj',
+ logLevel: 'debug',
+ authOnStartup: true,
+ manualLogin: true
+ }
+ },
launch: function() {
var home_page;
console.log('launch');
View
18 www/app.json
@@ -33,7 +33,10 @@
*/
"js": [
{
- "path": "sdk/sencha-touch.js"
+ "path": "sdk/sencha-io-0.3.3/lib/socket.io.js"
+ },
+ {
+ "path": "sdk/sencha-touch-debug.js"
},
{
"path": "lib/jquery/jquery-1.7.2.js"
@@ -58,11 +61,12 @@
"path": "lib/plugins/SliderFieldText.js"
},
// {
- // "path": "lib/deftjs/deft.js" // or deft-debug.js
+ // "path": "lib/Templates.js"
// },
+
// {
- // "path": "lib/sencha-io/sencha-io.js"
- // },
+ // "path": "lib/deftjs/deft.js" // or deft-debug.js
+ // },
// {
// "path": "lib/jasmine/jasmine.js"
// },
@@ -93,9 +97,9 @@
* }
*/
"css": [
- {
- "path": "lib/jasmine/jasmine.css"
- },
+ // {
+ // "path": "lib/jasmine/jasmine.css"
+ // },
{
"path": "resources/css/app.css",
"update": "delta"
View
14 www/app.rb
@@ -21,6 +21,18 @@
set :public_folder, "./"
end
+helpers do
+ def templates
+ Dir.glob("templates/**").map do |template|
+ name = File.basename(template, ".html")
+ content = open(template).read
+ "<textarea id='#{name}' class='x-hidden-display'>#{content}</textarea>"
+ end.join("\n")
+ end
+end
+
+# set :views, Proc.new { File.join(root, "app/view") }
+
get "/" do
- redirect "/index.html"
+ erb :index
end
View
11 www/app/controller/Home.js
@@ -1,9 +1,10 @@
Ext.define('FriendlyRent.controller.Home', {
extend: 'Ext.app.Controller',
+ requires: ['FriendlyRent.view.search.Page', 'FriendlyRent.view.search.favorites.Page'],
config: {
refs: {
- searchButton: 'button[action=search]',
+ searchButton: 'button[action=home_search]',
newPropertyButton: 'button[action=newProperty]',
danishButton: '#danish_flag',
englishButton: '#english_flag'
@@ -24,11 +25,11 @@ Ext.define('FriendlyRent.controller.Home', {
}
},
onTapSearch: function() {
- var search_page;
- console.log('Go to Search');
- search_page = Ext.create('FriendlyRent.view.search.Page');
+ var favorites_page;
+ console.log('Go to Favorites');
+ favorites_page = Ext.create('FriendlyRent.view.search.favorites.Page');
Ext.Viewport.removeAt(0);
- return Ext.Viewport.add(search_page);
+ return Ext.Viewport.add(favorites_page);
},
onTapNewProperty: function() {
return console.log('Go to New Property');
View
55 www/app/controller/Search.js
@@ -0,0 +1,55 @@
+
+Ext.define('FriendlyRent.controller.Search', {
+ extend: 'Ext.app.Controller',
+ requires: ['FriendlyRent.view.search.Page', 'FriendlyRent.view.search.favorites.Page', 'FriendlyRent.view.search.agents.Page', 'FriendlyRent.view.search.history.Page'],
+ config: {
+ refs: {
+ searchButton: 'button[action=search]',
+ favoritesButton: 'button[action=favorites]',
+ agentsButton: 'button[action=agents]',
+ historyButton: 'button[action=history]'
+ },
+ control: {
+ searchButton: {
+ tap: 'onTapSearch'
+ },
+ favoritesButton: {
+ tap: 'onTapFavorites'
+ },
+ agentsButton: {
+ tap: 'onTapAgents'
+ },
+ historyButton: {
+ tap: 'onTapHistory'
+ }
+ }
+ },
+ onTapSearch: function() {
+ var search_page;
+ console.log('Go to Search');
+ search_page = Ext.create('FriendlyRent.view.search.Page');
+ Ext.Viewport.removeAt(0);
+ return Ext.Viewport.add(search_page);
+ },
+ onTapFavorites: function() {
+ var favorites_page;
+ console.log('Go to Favorites');
+ favorites_page = Ext.create('FriendlyRent.view.search.favorites.Page');
+ Ext.Viewport.removeAt(0);
+ return Ext.Viewport.add(favorites_page);
+ },
+ onTapAgents: function() {
+ var agents_page;
+ console.log('Go to Agents');
+ agents_page = Ext.create('FriendlyRent.view.search.agents.Page');
+ Ext.Viewport.removeAt(0);
+ return Ext.Viewport.add(agents_page);
+ },
+ onTapHistory: function() {
+ var history_page;
+ console.log('Go to History');
+ history_page = Ext.create('FriendlyRent.view.search.history.Page');
+ Ext.Viewport.removeAt(0);
+ return Ext.Viewport.add(history_page);
+ }
+});
View
2  www/app/model/Mail.js
@@ -24,7 +24,7 @@ Ext.define('model.Mail', {
],
hasOne: {
name: 'sender',
- type: 'account'
+ model: 'User'
},
hasMany: {
name: 'receivers',
View
40 www/app/model/Property.js
@@ -1,6 +1,7 @@
-Ext.define('model.Property', {
+Ext.define('FriendlyRent.model.Property', {
extend: 'Ext.data.Model',
+ alias: 'property',
config: {
idProperty: 'id',
fields: [
@@ -12,29 +13,44 @@ Ext.define('model.Property', {
type: 'date',
dateFormat: 'c'
}, {
- name: 'rental_period',
- type: 'rental_period'
+ name: 'title',
+ type: 'string'
}, {
- name: 'photo_gallery',
- type: 'photo_gallery'
+ name: 'description',
+ type: 'string'
}, {
- name: 'location',
- type: 'location'
+ name: 'image',
+ type: 'string'
+ }, {
+ name: 'rating',
+ type: 'int'
}, {
name: 'publish_on',
type: 'date'
}, {
- name: 'published_on',
- type: 'date'
+ name: 'published',
+ type: 'boolean'
+ }
+ ],
+ hasOne: [
+ {
+ name: 'costs',
+ model: 'property.Costs'
+ }, {
+ name: 'rental_period',
+ model: 'property.RentalPeriod'
+ }, {
+ name: 'location',
+ model: 'property.Location'
+ }, {
+ name: 'photo_gallery',
+ model: 'photo.Gallery'
}
],
validations: [
{
type: 'presence',
field: 'id'
- }, {
- type: 'presence',
- field: 'dateCreated'
}
]
}
View
32 www/app/model/search/Agent.js
@@ -0,0 +1,32 @@
+
+Ext.define('FriendlyRent.model.search.Agent', {
+ extend: 'Ext.data.Model',
+ config: {
+ idProperty: 'id',
+ fields: [
+ {
+ name: 'id',
+ type: 'int'
+ }, {
+ name: 'dateCreated',
+ type: 'date',
+ dateFormat: 'c'
+ }
+ ],
+ hasOne: [
+ {
+ name: 'criteria',
+ model: 'search.Criteria'
+ }
+ ],
+ validations: [
+ {
+ type: 'presence',
+ field: 'id'
+ }, {
+ type: 'presence',
+ field: 'dateCreated'
+ }
+ ]
+ }
+});
View
35 www/app/model/search/Criteria.js
@@ -1,5 +1,5 @@
-Ext.define('search.Criteria', {
+Ext.define('FriendlyRent.model.search.Criteria', {
extend: 'Ext.data.Model',
config: {
idProperty: 'id',
@@ -33,10 +33,10 @@ Ext.define('search.Criteria', {
name: 'roomsMax',
type: 'int'
}, {
- name: 'rentalCostMin',
+ name: 'costMin',
type: 'int'
}, {
- name: 'rentalCostMax',
+ name: 'costMax',
type: 'int'
}, {
name: 'furnishment',
@@ -50,10 +50,33 @@ Ext.define('search.Criteria', {
}, {
type: 'presence',
field: 'dateCreated'
- }, {
- type: 'presence',
- field: 'location'
}
]
+ },
+ asText: function() {
+ return "${location} ${radius} km, ${rooms} ${propertyTypes}, ${cost}";
+ },
+ location: function() {
+ return this.getLocation();
+ },
+ propertyTypes: function() {
+ return this.getPropertyTypes();
+ },
+ radius: function() {
+ return "${this.getRadius()} km";
+ },
+ rooms: function() {
+ if (!this.getRoomsMax()) {
+ return "${roomsMin}";
+ } else {
+ return "${roomsMin} - ${roomsMax}";
+ }
+ },
+ cost: function() {
+ if (!this.getCostMax()) {
+ return "${costMin}";
+ } else {
+ return "${costMin} - ${costMax}";
+ }
}
});
View
2  www/app/model/search/Favorite.js
@@ -1,5 +1,5 @@
-Ext.define('search.Favorite', {
+Ext.define('FriendlyRent.model.search.Favorite', {
extend: 'Ext.data.Model',
config: {
idProperty: 'id',
View
36 www/app/store/Agents.js
@@ -0,0 +1,36 @@
+
+Ext.define('FriendlyRent.store.Agents', {
+ extend: 'Ext.data.Store',
+ requires: ['Ext.data.proxy.LocalStorage', 'FriendlyRent.model.search.Agent'],
+ config: {
+ model: 'FriendlyRent.model.search.Agent',
+ data: [
+ {
+ criteria: 'Copenhagen 5km radius, 2 room apartment'
+ }, {
+ criteria: 'Copenhagen 10km radius, 2-3 room apartment'
+ }
+ ],
+ proxy: {
+ type: 'localstorage',
+ id: 'agent-store'
+ },
+ sorters: [
+ {
+ property: 'dateCreated',
+ direction: 'DESC'
+ }
+ ],
+ grouper: {
+ sortProperty: "dateCreated",
+ direction: "DESC",
+ groupFn: function(record) {
+ if (record && record.data.dateCreated) {
+ return record.data.dateCreated.toDateString;
+ } else {
+ return '';
+ }
+ }
+ }
+ }
+});
View
59 www/app/store/Favorites.js
@@ -0,0 +1,59 @@
+
+Ext.define('FriendlyRent.store.Favorites', {
+ extend: 'Ext.data.Store',
+ requires: ['Ext.data.proxy.LocalStorage', 'FriendlyRent.model.Property'],
+ config: {
+ model: 'FriendlyRent.model.Property',
+ data: [
+ {
+ dateCreated: '5/7/2012',
+ title: 'Nice place',
+ rental_period: {
+ start_date: '1/8/2012',
+ end_date: '1/9/2012'
+ },
+ location: 'Copenhagen',
+ image: 'prop1.jpg'
+ }, {
+ dateCreated: '12/6/2012',
+ title: 'Cool house',
+ rental_period: {
+ start_date: '1/8/2012',
+ end_date: '1/10/2012'
+ },
+ location: 'Nørrebro',
+ image: 'prop2.jpg'
+ }, {
+ dateCreated: '3/6/2012',
+ title: 'Nice crib',
+ rental_period: {
+ start_date: '1/8/2012',
+ end_date: '1/10/2012'
+ },
+ location: 'Vesterbro',
+ image: 'prop3.jpg'
+ }
+ ],
+ proxy: {
+ type: 'localstorage',
+ id: 'favorite-store'
+ },
+ sorters: [
+ {
+ property: 'dateCreated',
+ direction: 'DESC'
+ }
+ ],
+ grouper: {
+ sortProperty: "dateCreated",
+ direction: "DESC",
+ groupFn: function(record) {
+ if (record && record.data.dateCreated) {
+ return record.data.dateCreated.toDateString;
+ } else {
+ return '';
+ }
+ }
+ }
+ }
+});
View
36 www/app/store/History.js
@@ -0,0 +1,36 @@
+
+Ext.define('FriendlyRent.store.History', {
+ extend: 'Ext.data.Store',
+ requires: ['Ext.data.proxy.LocalStorage'],
+ config: {
+ model: 'FriendlyRent.model.Criteria',
+ data: [
+ {
+ criteria: 'Copenhagen 5km radius, 2 room apartment'
+ }, {
+ criteria: 'Copenhagen 10km radius, 2-3 room apartment'
+ }
+ ],
+ proxy: {
+ type: 'localstorage',
+ id: 'agent-store'
+ },
+ sorters: [
+ {
+ property: 'dateCreated',
+ direction: 'DESC'
+ }
+ ],
+ grouper: {
+ sortProperty: "dateCreated",
+ direction: "DESC",
+ groupFn: function(record) {
+ if (record && record.data.dateCreated) {
+ return record.data.dateCreated.toDateString;
+ } else {
+ return '';
+ }
+ }
+ }
+ }
+});
View
2  www/app/view/home/Navigation.js
@@ -19,7 +19,7 @@ Ext.define('FriendlyRent.view.home.Navigation', {
iconCls: 'search',
itemId: 'searchBtn',
id: 'searchBtn',
- action: 'search',
+ action: 'home_search',
iconMask: true,
text: 'Search home',
cls: 'main-button'
View
1  www/app/view/properties/list/Content.js
@@ -3,7 +3,6 @@ Ext.define('FriendlyRent.view.properties.list.Content', {
extend: 'Ext.Panel',
alias: 'widget.properties.list.content',
config: {
- layout: 'vbar',
items: [
{
xtype: 'properties_list_item'
View
40 www/app/view/properties/list/Item.js
@@ -1,15 +1,39 @@
Ext.define('FriendlyRent.view.properties.list.Item', {
- extend: 'Ext.Panel',
+ extend: 'Ext.dataview.component.DataItem',
alias: 'widget.properties_list_item',
+ requires: ['FriendlyRent.view.properties.list.item.image', 'FriendlyRent.view.properties.list.item.content'],
config: {
- layout: 'hbox',
- items: [
- {
- xtype: 'properties_list_item_image'
- }, {
- xtype: 'properties_list_item_content'
+ image: true,
+ name: {
+ cls: 'x-name',
+ flex: 1
+ },
+ layout: {
+ type: 'hbox',
+ align: 'center'
+ },
+ dataMap: {
+ getImage: {
+ setSrc: 'image'
+ },
+ getName: {
+ setHtml: 'name'
}
- ]
+ }
+ },
+ applyImage: function(config) {
+ return Ext.factory(config, Ext.Img, this.getImage());
+ },
+ updateImage: function(newImage, oldImage) {
+ if (newImage) {
+ this.add(newImage);
+ }
+ if (oldImage) {
+ return this.remove(oldImage);
+ }
+ },
+ updateRecord: function(newRecord, oldRecord) {
+ return this.callParent(arguments);
}
});
View
24 www/app/view/properties/list/Page.js
@@ -1,18 +1,16 @@
+
Ext.define('FriendlyRent.view.properties.list.Page', {
extend: 'Ext.Panel',
- alias: 'widget.properties.list.Page',
+ alias: 'widget.properties_list_page',
config: {
- layout: 'vbox'
- },
- items: [
- {
- xtype 'properties.list.topbar'
- },
- {
- xtype 'properties.list.content'
- },
- {
- xtype 'properties.navbar'
- }
+ items: [
+ {
+ xtype: 'properties_list_topbar'
+ }, {
+ xtype: 'properties_list_content'
+ }, {
+ xtype: 'properties_navbar'
+ }
+ ]
}
});
View
14 www/app/view/properties/list/SampleDataView.js
@@ -0,0 +1,14 @@
+
+Ext.define('astroSE.view.AstroDetail', {
+ extend: 'Ext.DataView',
+ xtype: 'astrodetail',
+ requires: ['Ext.Video'],
+ config: {
+ xtype: 'container',
+ scrollable: true,
+ styleHtmlContent: true,
+ store: 'UrlStore',
+ title: 'News Feeds'
+ },
+ itemTpl: ['{type}<br/>', '{title}<br/>', '{description}<br/>', '<img src="{src}"/><br/>', '{fullBody}<br/>', '{strPublishDate}<br/>']
+});
View
25 www/app/view/search/Content.js
@@ -1,10 +1,9 @@
Ext.define('FriendlyRent.view.search.Content', {
- extend: 'Ext.Panel',
+ extend: 'Ext.form.FieldSet',
alias: 'widget.search_content',
- requires: ['FriendlyRent.view.search.criteria.Location', 'FriendlyRent.view.search.criteria.Radius', 'FriendlyRent.view.search.criteria.PropertyType'],
+ requires: ['FriendlyRent.view.search.criteria.Location', 'FriendlyRent.view.search.criteria.Radius', 'FriendlyRent.view.search.criteria.PropertyType', 'FriendlyRent.view.search.criteria.Furnishment', 'FriendlyRent.view.search.criteria.Size', 'FriendlyRent.view.search.criteria.RentalCost', 'FriendlyRent.view.search.criteria.RentalPeriod', 'FriendlyRent.view.search.criteria.StartDate'],
config: {
- layout: 'vbox',
items: [
{
xtype: 'search_criteria_location',
@@ -15,6 +14,26 @@ Ext.define('FriendlyRent.view.search.Content', {
}, {
xtype: 'search_criteria_property_type',
name: 'property_type'
+ }, {
+ xtype: 'search_criteria_furnishment',
+ name: 'furnishment'
+ }, {
+ xtype: 'search_criteria_size',
+ name: 'size'
+ }, {
+ xtype: 'search_criteria_rental_cost',
+ name: 'cost'
+ }, {
+ xtype: 'search_criteria_rental_period',
+ name: 'period'
+ }, {
+ xtype: 'search_criteria_start_date',
+ name: 'start_date'
+ }, {
+ xtype: 'button',
+ ui: 'confirm',
+ name: 'create_agent',
+ text: 'Create agent'
}
]
}
View
16 www/app/view/search/NavBar.js
@@ -9,10 +9,22 @@ Ext.define('FriendlyRent.view.search.NavBar', {
}, {
text: 'search',
iconCls: 'search',
+ action: 'search',
iconMask: true
}, {
- text: 'property',
- iconCls: 'home',
+ text: 'favorites',
+ iconCls: 'favorites',
+ action: 'favorites',
+ iconMask: true
+ }, {
+ text: 'agents',
+ iconCls: 'user',
+ action: 'agents',
+ iconMask: true
+ }, {
+ text: 'history',
+ iconCls: 'search',
+ action: 'history',
iconMask: true
}
]
View
14 www/app/view/search/agents/Content.js
@@ -1,13 +1,13 @@
+
Ext.define('FriendlyRent.view.search.agents.Content', {
extend: 'Ext.dataview.List',
- alias: 'widget.search.agents.content',
+ alias: 'widget.search_agents_content',
+ requires: ['FriendlyRent.store.Agents'],
config: {
- store: "Agents",
- itemId:"agentsList",
- loadingText: "Loading Agents...",
+ store: 'Agents',
+ itemId: 'agentsList',
+ loadingText: 'Loading Agents...',
emptyText: '<div class="agents-list empty-text">No agents found.</div>',
- onItemDisclosure: true,
- grouped: true,
itemTpl: '<div class="list-item agent"><span class="criteria">{criteria}</span><span class="trash">Delete</span></div>'
}
-});
+});
View
27 www/app/view/search/agents/Page.js
@@ -1,18 +1,19 @@
+
Ext.define('FriendlyRent.view.search.agents.Page', {
extend: 'Ext.Panel',
- alias: 'widget.search.agents.Page',
+ alias: 'widget.search_agents_page',
+ requires: ['FriendlyRent.view.search.TopBar', 'FriendlyRent.view.search.NavBar', 'FriendlyRent.view.search.agents.Content'],
config: {
- layout: 'vbox'
- },
- items: [
- {
- xtype 'search.topbar'
- },
- {
- xtype 'search.agents.content'
- },
- {
- xtype 'search.navbar'
- }
+ items: [
+ {
+ xtype: 'search_topbar',
+ cls: 'nav-bar'
+ }, {
+ xtype: 'search_agents_content'
+ }, {
+ xtype: 'search_navbar',
+ cls: 'nav-bar'
+ }
+ ]
}
});
View
4 www/TopBar.js → www/app/view/search/agents/TopBar.js
@@ -8,6 +8,10 @@ Ext.define('FriendlyRent.view.search.TopBar', {
{
xtype: 'spacer'
}, {
+ iconCls: 'sync',
+ iconMask: true,
+ text: 'refresh'
+ }, {
iconCls: 'list',
iconMask: true,
text: 'list'
View
11 www/app/view/search/criteria/Radius.js
@@ -1,14 +1,11 @@
Ext.define('FriendlyRent.view.search.criteria.Radius', {
extend: 'Ext.field.SliderInput',
- alias: 'widget.search_criteria_radius'
-});
-
-({
+ alias: 'widget.search_criteria_radius',
config: {
- label: 'Radius',
- value: 5,
+ label: 'Radius (km)',
minValue: 1,
- maxValue: 50
+ maxValue: 50,
+ value: 10
}
});
View
3  www/app/view/search/criteria/RentalCost.js
@@ -1,13 +1,12 @@
Ext.define('FriendlyRent.view.search.criteria.RentalCost', {
extend: 'Ext.field.SliderInput',
- alias: 'widget.search_criteria_rentalcost',
+ alias: 'widget.search_criteria_rental_cost',
config: {
increment: 500,
value: 3000,
minValue: 1500,
maxValue: 20000,
- labelText: 'Rental cost',
label: 'Rental cost'
}
});
View
7 www/app/view/search/criteria/RentalPeriod.js
@@ -1,11 +1,10 @@
Ext.define('FriendlyRent.view.search.criteria.RentalPeriod', {
- extend: 'Ext.field.SliderInput',
- alias: 'widget.search_criteria_rentalperiod',
+ extend: 'Ext.field.SliderText',
+ alias: 'widget.search_criteria_rental_period',
config: {
label: 'Rental period',
autoValues: true,
- values: [0, 2],
- valueMap: ['ASAP', '14 days', '1 month', '2 months', '3 months', '6 months', '9 months', '1 year', '18 months', '2 years']
+ valueMap: ['1 week', '2 weeks', '1 month', '2 months', '3 months', '6 months', '9 months', '1 year', '18 months', '2 years']
}
});
View
4 www/app/view/search/criteria/Rooms.js
@@ -3,9 +3,9 @@ Ext.define('FriendlyRent.view.search.criteria.Rooms', {
extend: 'Ext.field.SliderInput',
alias: 'widget.search_criteria_rooms',
config: {
- value: 1,
+ value: 3,
minValue: 1,
maxValue: 8,
- label: 'Rooms'
+ label: 'Rooms (min)'
}
});
View
15 www/app/view/search/criteria/Size.js
@@ -1,13 +1,12 @@
Ext.define('FriendlyRent.view.search.criteria.Size', {
- extend: 'Ext.field.Slider',
- alias: 'widget.search.criteria.size',
+ extend: 'Ext.field.SliderInput',
+ alias: 'widget.search_criteria_size',
config: {
- values: [60, 100]({
- increment: 10,
- minValue: 10,
- maxValue: 300,
- label: 'Size'
- })
+ label: 'Size (min)',
+ value: 100,
+ increment: 10,
+ minValue: 10,
+ maxValue: 300
}
});
View
10 www/app/view/search/criteria/StartDate.js
@@ -0,0 +1,10 @@
+
+Ext.define('FriendlyRent.view.search.criteria.StartDate', {
+ extend: 'Ext.field.SliderText',
+ alias: 'widget.search_criteria_start_date',
+ config: {
+ label: 'Starting (in)',
+ autoValues: true,
+ valueMap: ['ASAP', '1 week', '2 weeks', '1 month', '2 month']
+ }
+});
View
12 www/app/view/search/favorites/Content.js
@@ -1,14 +1,16 @@
Ext.define('FriendlyRent.view.search.favorites.Content', {
- extend: 'Ext.dataview.List',
+ extend: 'Ext.List',
alias: 'widget.search_favorites_content',
+ requires: ['FriendlyRent.store.Favorites'],
config: {
store: 'Favorites',
- itemId: 'favoritesList',
+ itemId: 'favorites_list',
loadingText: 'Loading favorites...',
emptyText: '<div class="favorites-list empty-text">No favorites found.</div>',
- onItemDisclosure: true,
- grouped: true,
- itemTpl: '<div class="list-item favorite image">{image.src}</div><div class="list-item content">{title}</div>'
+ itemTpl: Ext.XTemplate.from("property"),
+ onItemDisclosure: function(record, btn, index) {
+ return console.log('Disclose Favorite', record, index);
+ }
}
});
View
31 www/app/view/search/favorites/Page.js
@@ -1,19 +1,22 @@
-Ext.define('FriendlyRent.view.search.favorites.Page', {
- extend: 'FriendlyRent.view.properties.list.Page',
- alias: 'widget.search.favorites.Page',
+Ext.define('FriendlyRent.view.search.favorites.Page', {
+ extend: "Ext.Panel",
+ alias: 'widget.search_favorites_page',
+ requires: ['FriendlyRent.view.search.TopBar', 'FriendlyRent.view.search.NavBar', 'FriendlyRent.view.search.favorites.Content'],
config: {
- layout: 'vbox'
- },
- items: [
- {
- xtype 'search.topbar'
- },
- {
- xtype 'search.favorites.content'
+ layout: {
+ type: 'fit'
},
- {
- xtype 'search.navbar'
- }
+ items: [
+ {
+ xtype: 'search_topbar',
+ cls: 'nav-bar'
+ }, {
+ xtype: 'search_favorites_content'
+ }, {
+ xtype: 'search_navbar',
+ cls: 'nav-bar'
+ }
+ ]
}
});
View
24 www/app/view/search/history/Content.js
@@ -1,15 +1,21 @@
Ext.define('FriendlyRent.view.search.history.Content', {
- extend: 'Ext.Panel',
+ extend: 'Ext.List',
alias: 'widget.search_history_content',
+ requires: ['FriendlyRent.store.History'],
config: {
- layout: 'vbar',
- items: [
- {
- html: 'Search History'
- }, {
- html: 'List of previous searches'
- }
- ]
+ itemTpl: '{criteria}',
+ store: {
+ fields: ['criteria'],
+ data: [
+ {
+ criteria: 'Copenhagen 5km radius, 2-3 room apartment, max 5000 kr'
+ }, {
+ criteria: 'Nørrebro 8km radius, 2 room apartment, max 4000 kr'
+ }, {
+ criteria: 'Vesterbro 10km radius, 3 room apartment, max 6000 kr'
+ }
+ ]
+ }
}
});
View
0  www/app/view/search/history/NavBar.js
No changes.
View
27 www/app/view/search/history/Page.js
@@ -1,18 +1,19 @@
+
Ext.define('FriendlyRent.view.search.history.Page', {
extend: 'Ext.Panel',
- alias: 'widget.search.history.Page',
+ alias: 'widget.search_history_page',
+ requires: ['FriendlyRent.view.search.TopBar', 'FriendlyRent.view.search.history.Content', 'FriendlyRent.view.search.NavBar'],
config: {
- layout: 'vbox'
- },
- items: [
- {
- xtype 'search.topbar'
- },
- {
- xtype 'search.history.content'
- },
- {
- xtype 'search.navbar'
- }
+ items: [
+ {
+ xtype: 'search_topbar',
+ cls: 'nav-bar'
+ }, {
+ xtype: 'search_history_content'
+ }, {
+ xtype: 'search_navbar',
+ cls: 'nav-bar'
+ }
+ ]
}
});
View
118 www/lib/Templates.js
@@ -0,0 +1,118 @@
+var watchTemplates = function(options){
+ return new TemplatesBundler(options);
+}
+
+/**
+ * @params {object} options - Configuration options for template bundler
+ *
+ * @config {string} bundle - Name of the class for templates bundle, bundle file will be named according to Ext Class Naming convention
+ * @config {object} bundle - Specify name of class and filename manually if default naming isn't works for you
+ * @example bundle: {className: 'MyApp.Templates', 'fileName', 'MyApp/Templates.js'}
+ *
+ * @config {regex} templatesFilesPattern - Regex for matching templates files names (`/\.html$/` - default)
+ * @example templatesFilesPattern: /\.html$/
+ *
+ * @config {string} templatesPath - Path where the templates files are located
+ *
+ * @config {string} templateNamingScheme - one of `camelCase` or `dashed`
+ * @config {function} templateNamingScheme - Function for custom naming of templates in bundle
+ * @example templateNamingScheme: function(templateFileName, templatesFilesPattern){ return templateName; }
+ *
+ * @config {boolean} bundleOnRun - indicates whenever templates should be bundled on run (default `true`)
+ */
+var TemplatesBundler = function(options){
+ this.settings = this.bundleSettings(options || {});
+
+ // Initial bundling
+ if (this.settings.bundleOnRun){
+ this.directoryWatchHandle();
+ }
+
+ // Bundling on templates change
+ watchTemplates(this.settings.templatesPath, this.directoryWatchHandle.bind(this));
+}
+
+var camelCaseNamingScheme = function(templateFile, templatesFilesPattern){
+ return templateFile.replace(templatesFilesPattern,'').replace(/([\s-]+\w)/ig,function(v){
+ return v[1].toUpperCase()
+ });
+}
+
+var dashedNamingScheme = function(templateFile, templatesFilesPattern){
+ return templateFile.replace(templatesFilesPattern,'').replace(/([\s]+\w)/ig, '-');
+}
+
+TemplatesBundler.prototype.bundleSettings = function(options){
+ var settings = {
+ templatesPath: options.templatesPath || process.cwd() + '/templates',
+ templatesFilesPattern: options.templatesFilesPattern || /\.html$/,
+ bundle: {},
+ bundleOnRun: typeof options.bundleOnRun == 'boolean' ? options.bundleOnRun : true
+ }
+
+ options.templatesNamingScheme = options.templatesNamingScheme || 'camelCase';
+
+ if (options.templatesNamingScheme && typeof options.temlatesNamingSchems == 'function'){
+ settings.templatesNamingScheme = options.templatesNamingScheme;
+ } else {
+ switch (options.templatesNamingScheme){
+ case 'dashed':
+ settings.templatesNamingScheme = dashedNamingScheme;
+ break;
+ case 'camelCase':
+ default:
+ settings.templatesNamingScheme = camelCaseNamingScheme;
+ break;
+ }
+ }
+
+ if (options.bundle) {
+ settings.bundle.className = typeof options.bundle == 'object' ? options.bundle.className : options.bundle;
+ settings.bundle.fileName = typeof options.bundle == 'object' ? options.bundle.fileName : settings.bundle.className.replace(/\./, '/') + '.js';
+ } else {
+ throw new Error('`options.bundle` should be provided.');
+ }
+ return settings;
+}
+
+TemplatesBundler.prototype.templateReader = function(templateFile, idx, templatesList){
+ var tpl = {},
+ templateName = this.settings.templatesNamingScheme(templateFile, this.settings.templatesFilesPattern);
+
+ var templateContent = fs.readFileSync(this.settings.templatesPath+'/'+templateFile, 'utf8').replace(/^\s+/gm,'').replace(/\n/g,'');
+ tpl[templateName] = templateContent;
+ return tpl;
+}
+
+TemplatesBundler.prototype.templatesBundler = function(templates){
+ var templatesBundleTemplate = '\
+/**\n\
+ * THIS IS GENERATED FILE, DO NOT EDIT!!! \n\
+ * Instead edit templates files directly.\n\
+ */\n\
+Ext.define("'+this.settings.bundle.className+'", {statics:'
+ +JSON.stringify(templates, null, 2)+
+ '});';
+ fs.writeFileSync(this.settings.bundle.fileName, templatesBundleTemplate);
+ console.log('[',new Date().toISOString(),']','Updated templates bundle', this.settings.bundle.fileName );
+ this.updateTimer = 0;
+}
+
+TemplatesBundler.prototype.directoryListener = function(event, filename){
+ var files = fs.readdirSync(this.settings.templatesPath);
+ var templatesNamesList = files.filter(this.settings.templatesFilesPattern.test, this.settings.templatesFilesPattern);
+ var templatesList = templatesNamesList.map(this.templateReader.bind(this));
+ var templates = {};
+ templatesList.forEach(function(tpl){
+ var tplName = Object.keys(tpl)[0];
+ templates[tplName] = tpl[tplName]
+ });
+ this.templatesBundler(templates);
+}
+
+TemplatesBundler.prototype.directoryWatchHandle = function(event, filename){
+ if (this.updateTimer){
+ clearTimeout(this.updateTimer);
+ }
+ this.updateTimer = setTimeout(this.directoryListener.bind(this), 200, event, filename);
+}
View
2  www/lib/plugins/RangeSlider.js
@@ -0,0 +1,2 @@
+
+
View
32 www/lib/plugins/TooltipSlider.js
@@ -0,0 +1,32 @@
+
+Ext.define('FriendlyRent.SliderTooltip', {
+ extend: 'Ext.Panel',
+ alias: 'widget.slider_tooltip',
+ config: {
+ floating: true
+ },
+ height: 30,
+ styleHtmlContent: true,
+ style: "background-color: #FFF; text-align: center"
+});
+
+Ext.define('FriendlyRent.TooltipSlider', {
+ extend: 'Ext.form.Slider',
+ alias: 'widget.tooltip_slider',
+ config: {
+ listeners: {
+ drag: function(theSlider, theThumb, ThumbValue) {
+ sliderTooltip.setWidth(ThumbValue.length * 1.5);
+ sliderTooltip.showBy(theThumb);
+ return sliderTooltip.el.setHTML(ThumbValue);
+ },
+ dragend: function(theSlider, theThumb, ThumbValue) {
+ return sliderTooltip.hide();
+ },
+ constructor: function() {
+ var sliderTooltip;
+ return sliderTooltip = Ext.create('FriendlyRent.SliderTooltip');
+ }
+ }
+ }
+});
View
3,767 www/lib/sencha-io/sencha-io.js
0 additions, 3,767 deletions not shown
View
BIN  www/resources/.sass-cache/0cc059c506fe0611e713576e7fe12df278dbc2d7/_buttons.scssc
Binary file not shown
View
BIN  www/resources/.sass-cache/0cc059c506fe0611e713576e7fe12df278dbc2d7/_carousel.scssc
Binary file not shown
View
BIN  www/resources/.sass-cache/0cc059c506fe0611e713576e7fe12df278dbc2d7/_form-sliders.scssc
Binary file not shown
View
BIN  www/resources/.sass-cache/0cc059c506fe0611e713576e7fe12df278dbc2d7/_form.scssc
Binary file not shown
View
BIN  www/resources/.sass-cache/0cc059c506fe0611e713576e7fe12df278dbc2d7/_img.scssc
Binary file not shown
View
BIN  www/resources/.sass-cache/0cc059c506fe0611e713576e7fe12df278dbc2d7/_indexbar.scssc
Binary file not shown
View
BIN  www/resources/.sass-cache/0cc059c506fe0611e713576e7fe12df278dbc2d7/_list.scssc
Binary file not shown
View
BIN  www/resources/.sass-cache/0cc059c506fe0611e713576e7fe12df278dbc2d7/_loading-spinner.scssc
Binary file not shown
View
BIN  www/resources/.sass-cache/0cc059c506fe0611e713576e7fe12df278dbc2d7/_map.scssc
Binary file not shown
View
BIN  www/resources/.sass-cache/0cc059c506fe0611e713576e7fe12df278dbc2d7/_media.scssc
Binary file not shown
View
BIN  www/resources/.sass-cache/0cc059c506fe0611e713576e7fe12df278dbc2d7/_msgbox.scssc
Binary file not shown
View
BIN  www/resources/.sass-cache/0cc059c506fe0611e713576e7fe12df278dbc2d7/_panel.scssc
Binary file not shown
View
BIN  www/resources/.sass-cache/0cc059c506fe0611e713576e7fe12df278dbc2d7/_picker.scssc
Binary file not shown
View
BIN  www/resources/.sass-cache/0cc059c506fe0611e713576e7fe12df278dbc2d7/_sheets.scssc
Binary file not shown
View
BIN  www/resources/.sass-cache/0cc059c506fe0611e713576e7fe12df278dbc2d7/_tabs.scssc
Binary file not shown
View
BIN  www/resources/.sass-cache/0cc059c506fe0611e713576e7fe12df278dbc2d7/_toolbar-forms.scssc
Binary file not shown
View
BIN  www/resources/.sass-cache/0cc059c506fe0611e713576e7fe12df278dbc2d7/_toolbar.scssc
Binary file not shown
View
BIN  www/resources/.sass-cache/1257f1ac18148700333e5af96c7ab22361a12a28/_css3.scssc
Binary file not shown
View
BIN  www/resources/.sass-cache/1257f1ac18148700333e5af96c7ab22361a12a28/_support.scssc
Binary file not shown
View
BIN  www/resources/.sass-cache/2f86792dce7d2835f047eb3809642bb97536b0e6/app.scssc
Binary file not shown
View
BIN  www/resources/.sass-cache/2f86792dce7d2835f047eb3809642bb97536b0e6/flags64-semi.scssc
Binary file not shown
View
BIN  www/resources/.sass-cache/2f86792dce7d2835f047eb3809642bb97536b0e6/flags64.scssc
Binary file not shown
View
BIN  www/resources/.sass-cache/3ac0f11328ff0693a8843e69028dd58800082fa2/_blueprint-grid.scssc
Binary file not shown
View
BIN  www/resources/.sass-cache/3ac0f11328ff0693a8843e69028dd58800082fa2/_carbon-fiber.scssc
Binary file not shown
View
BIN  www/resources/.sass-cache/3ac0f11328ff0693a8843e69028dd58800082fa2/_checkerboard.scssc
Binary file not shown
View
BIN  www/resources/.sass-cache/3ac0f11328ff0693a8843e69028dd58800082fa2/_cicada.scssc
Binary file not shown
View
BIN  www/resources/.sass-cache/3ac0f11328ff0693a8843e69028dd58800082fa2/_gradients.scssc
Binary file not shown
View
BIN  www/resources/.sass-cache/3ac0f11328ff0693a8843e69028dd58800082fa2/_houndstooth.scssc
Binary file not shown
View
BIN  www/resources/.sass-cache/3ac0f11328ff0693a8843e69028dd58800082fa2/_lined-paper.scssc
Binary file not shown
View
BIN  www/resources/.sass-cache/3ac0f11328ff0693a8843e69028dd58800082fa2/_madras.scssc
Binary file not shown
View
BIN  www/resources/.sass-cache/3ac0f11328ff0693a8843e69028dd58800082fa2/_noise.scssc
Binary file not shown
View
BIN  www/resources/.sass-cache/3ac0f11328ff0693a8843e69028dd58800082fa2/_polka-dot.scssc
Binary file not shown
View
BIN  www/resources/.sass-cache/3ac0f11328ff0693a8843e69028dd58800082fa2/_radial-overlay.scssc
Binary file not shown
View
BIN  www/resources/.sass-cache/3ac0f11328ff0693a8843e69028dd58800082fa2/_striped.scssc
Binary file not shown
View
BIN  www/resources/.sass-cache/3ac0f11328ff0693a8843e69028dd58800082fa2/_stripes.scssc
Binary file not shown
View
BIN  www/resources/.sass-cache/3ac0f11328ff0693a8843e69028dd58800082fa2/_tablecloth.scssc
Binary file not shown
View
BIN  www/resources/.sass-cache/3ac0f11328ff0693a8843e69028dd58800082fa2/_tartan.scssc
Binary file not shown
View
BIN  www/resources/.sass-cache/504a8af0937cbeacde56c7855c79c9bf1c58fe50/_all.scssc
Binary file not shown
View
BIN  www/resources/.sass-cache/504a8af0937cbeacde56c7855c79c9bf1c58fe50/_core.scssc
Binary file not shown
View
BIN  www/resources/.sass-cache/504a8af0937cbeacde56c7855c79c9bf1c58fe50/_global.scssc
Binary file not shown
View
BIN  www/resources/.sass-cache/504a8af0937cbeacde56c7855c79c9bf1c58fe50/_mixins.scssc
Binary file not shown
View
BIN  www/resources/.sass-cache/504a8af0937cbeacde56c7855c79c9bf1c58fe50/_variables.scssc
Binary file not shown
View
BIN  www/resources/.sass-cache/504a8af0937cbeacde56c7855c79c9bf1c58fe50/_widgets.scssc
Binary file not shown
View
BIN  www/resources/.sass-cache/68393789a233eb464c173b6f6064d96cbb04fa77/_appearance.scssc
Binary file not shown
View
BIN  www/resources/.sass-cache/68393789a233eb464c173b6f6064d96cbb04fa77/_background-clip.scssc
Binary file not shown
View
BIN  www/resources/.sass-cache/68393789a233eb464c173b6f6064d96cbb04fa77/_background-origin.scssc
Binary file not shown
View
BIN  www/resources/.sass-cache/68393789a233eb464c173b6f6064d96cbb04fa77/_background-size.scssc
Binary file not shown
View
BIN  www/resources/.sass-cache/68393789a233eb464c173b6f6064d96cbb04fa77/_border-radius.scssc
Binary file not shown
View
BIN  www/resources/.sass-cache/68393789a233eb464c173b6f6064d96cbb04fa77/_box-shadow.scssc
Binary file not shown
View
BIN  www/resources/.sass-cache/68393789a233eb464c173b6f6064d96cbb04fa77/_box-sizing.scssc
Binary file not shown
View
BIN  www/resources/.sass-cache/68393789a233eb464c173b6f6064d96cbb04fa77/_box.scssc
Binary file not shown
View
BIN  www/resources/.sass-cache/68393789a233eb464c173b6f6064d96cbb04fa77/_columns.scssc
Binary file not shown
View
BIN  www/resources/.sass-cache/68393789a233eb464c173b6f6064d96cbb04fa77/_filter.scssc
Binary file not shown
View
BIN  www/resources/.sass-cache/68393789a233eb464c173b6f6064d96cbb04fa77/_font-face.scssc
Binary file not shown
View
BIN  www/resources/.sass-cache/68393789a233eb464c173b6f6064d96cbb04fa77/_hyphenation.scssc
Binary file not shown
View
BIN  www/resources/.sass-cache/68393789a233eb464c173b6f6064d96cbb04fa77/_images.scssc
Binary file not shown
View
BIN  www/resources/.sass-cache/68393789a233eb464c173b6f6064d96cbb04fa77/_inline-block.scssc
Binary file not shown
View
BIN  www/resources/.sass-cache/68393789a233eb464c173b6f6064d96cbb04fa77/_opacity.scssc
Binary file not shown
View
BIN  www/resources/.sass-cache/68393789a233eb464c173b6f6064d96cbb04fa77/_regions.scssc
Binary file not shown
View
BIN  www/resources/.sass-cache/68393789a233eb464c173b6f6064d96cbb04fa77/_shared.scssc
Binary file not shown
View
BIN  www/resources/.sass-cache/68393789a233eb464c173b6f6064d96cbb04fa77/_text-shadow.scssc
Binary file not shown
View
BIN  www/resources/.sass-cache/68393789a233eb464c173b6f6064d96cbb04fa77/_transform.scssc
Binary file not shown
View
BIN  www/resources/.sass-cache/68393789a233eb464c173b6f6064d96cbb04fa77/_transition.scssc
Binary file not shown
View
BIN  www/resources/.sass-cache/a8520d7ab5c4ebae9dbccd1b2f7a57c2767170fd/_colors.scssc
Binary file not shown
View
BIN  www/resources/.sass-cache/a8520d7ab5c4ebae9dbccd1b2f7a57c2767170fd/_typography.scssc
Binary file not shown
View
BIN  www/resources/.sass-cache/ac4d8f820baeccd56133b29f2021fd76fdfa698b/_core.scssc
Binary file not shown
View
BIN  www/resources/.sass-cache/ac4d8f820baeccd56133b29f2021fd76fdfa698b/_layout.scssc
Binary file not shown
View
BIN  www/resources/.sass-cache/ac4d8f820baeccd56133b29f2021fd76fdfa698b/_reset.scssc
Binary file not shown
View
BIN  www/resources/.sass-cache/b9f3ee699e99dd60529dcd92714d86da037842ce/_float.scssc
Binary file not shown
View
BIN  www/resources/.sass-cache/b9f3ee699e99dd60529dcd92714d86da037842ce/_hacks.scssc
Binary file not shown
View
BIN  www/resources/.sass-cache/d112b9df08297b8d097d03a12151ac9e5b98fc64/_link-colors.scssc
Binary file not shown
View
BIN  www/resources/.sass-cache/d468a8f2324bff09adcbd0d8e818ede0414dc825/_background.scssc
Binary file not shown
View
BIN  www/resources/.sass-cache/d468a8f2324bff09adcbd0d8e818ede0414dc825/_color.scssc
Binary file not shown
View
2  www/resources/css/app.css
1 addition, 1 deletion not shown
View
BIN  www/resources/images/properties/prop1.jpg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN  www/resources/images/properties/prop2.jpg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN  www/resources/images/properties/prop3.jpg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN  www/resources/images/properties/prop4.jpg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN  www/resources/images/properties/prop5.jpg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN  www/resources/images/properties/prop6.jpg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN  www/resources/images/properties/prop7.jpg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
22 www/resources/sass/app.scss
@@ -40,8 +40,30 @@ $base-gradien: 'glossy';
}
}
+.property-image {
+ float: left;
+ width: 140px;
+ height: 100px;
+}
+
+.property-content {
+ padding-left: 20px;
+ float: left;
+}
+
+.clear {
+ clear: both;
+}
+
// @include custom-iconmask('search_white');
+.x-slider .x-thumb::before {
+ width: 1.5em;
+ height: 1.5em;
+ top: 0.3em;
+ left: 0.3em;
+}
+
.main-button {
margin-bottom: 10px;
width: 280px;
View
60 www/resources/stylesheets/app.css
@@ -0,0 +1,60 @@
+/*
+Syntax error: File to import not found or unreadable: sencha-touch/default/all.
+ Load paths:
+ /Users/kmandrup/private/repos/company/sencha/friendlyrent/www/resources/sass
+ /Users/kmandrup/.rvm/gems/ruby-1.9.3-p194/gems/compass-0.12.2/frameworks/blueprint/stylesheets
+ /Users/kmandrup/.rvm/gems/ruby-1.9.3-p194/gems/compass-0.12.2/frameworks/compass/stylesheets
+ Compass::SpriteImporter
+ on line 4 of /Users/kmandrup/private/repos/company/sencha/friendlyrent/www/resources/sass/app.scss
+
+1: /Users/kmandrup/private/repos/company/sencha/friendlyrent/www/resources/sass/app.scss
+
+Backtrace:
+/Users/kmandrup/private/repos/company/sencha/friendlyrent/www/resources/sass/app.scss:4
+/Users/kmandrup/.rvm/gems/ruby-1.9.3-p194/gems/sass-3.1.19/lib/sass/tree/import_node.rb:64:in `rescue in import'
+/Users/kmandrup/.rvm/gems/ruby-1.9.3-p194/gems/sass-3.1.19/lib/sass/tree/import_node.rb:42:in `import'
+/Users/kmandrup/.rvm/gems/ruby-1.9.3-p194/gems/sass-3.1.19/lib/sass/tree/import_node.rb:25:in `imported_file'
+/Users/kmandrup/.rvm/gems/ruby-1.9.3-p194/gems/sass-3.1.19/lib/sass/tree/visitors/perform.rb:149:in `rescue in visit_import'
+/Users/kmandrup/.rvm/gems/ruby-1.9.3-p194/gems/sass-3.1.19/lib/sass/tree/visitors/perform.rb:154:in `visit_import'
+/Users/kmandrup/.rvm/gems/ruby-1.9.3-p194/gems/sass-3.1.19/lib/sass/tree/visitors/base.rb:37:in `visit'
+/Users/kmandrup/.rvm/gems/ruby-1.9.3-p194/gems/sass-3.1.19/lib/sass/tree/visitors/perform.rb:18:in `visit'
+/Users/kmandrup/.rvm/gems/ruby-1.9.3-p194/gems/sass-3.1.19/lib/sass/tree/visitors/base.rb:53:in `block in visit_children'
+/Users/kmandrup/.rvm/gems/ruby-1.9.3-p194/gems/sass-3.1.19/lib/sass/tree/visitors/base.rb:53:in `map'
+/Users/kmandrup/.rvm/gems/ruby-1.9.3-p194/gems/sass-3.1.19/lib/sass/tree/visitors/base.rb:53:in `visit_children'
+/Users/kmandrup/.rvm/gems/ruby-1.9.3-p194/gems/sass-3.1.19/lib/sass/tree/visitors/perform.rb:27:in `block in visit_children'
+/Users/kmandrup/.rvm/gems/ruby-1.9.3-p194/gems/sass-3.1.19/lib/sass/tree/visitors/perform.rb:39:in `with_environment'
+/Users/kmandrup/.rvm/gems/ruby-1.9.3-p194/gems/sass-3.1.19/lib/sass/tree/visitors/perform.rb:26:in `visit_children'
+/Users/kmandrup/.rvm/gems/ruby-1.9.3-p194/gems/sass-3.1.19/lib/sass/tree/visitors/base.rb:37:in `block in visit'
+/Users/kmandrup/.rvm/gems/ruby-1.9.3-p194/gems/sass-3.1.19/lib/sass/tree/visitors/perform.rb:47:in `visit_root'
+/Users/kmandrup/.rvm/gems/ruby-1.9.3-p194/gems/sass-3.1.19/lib/sass/tree/visitors/base.rb:37:in `visit'
+/Users/kmandrup/.rvm/gems/ruby-1.9.3-p194/gems/sass-3.1.19/lib/sass/tree/visitors/perform.rb:18:in `visit'
+/Users/kmandrup/.rvm/gems/ruby-1.9.3-p194/gems/sass-3.1.19/lib/sass/tree/visitors/perform.rb:7:in `visit'
+/Users/kmandrup/.rvm/gems/ruby-1.9.3-p194/gems/sass-3.1.19/lib/sass/tree/root_node.rb:20:in `render'
+/Users/kmandrup/.rvm/gems/ruby-1.9.3-p194/gems/sass-3.1.19/lib/sass/engine.rb:300:in `_render'
+/Users/kmandrup/.rvm/gems/ruby-1.9.3-p194/gems/sass-3.1.19/lib/sass/engine.rb:247:in `render'
+/Users/kmandrup/.rvm/gems/ruby-1.9.3-p194/gems/compass-0.12.2/lib/compass/compiler.rb:140:in `block (2 levels) in compile'
+/Users/kmandrup/.rvm/gems/ruby-1.9.3-p194/gems/compass-0.12.2/lib/compass/compiler.rb:126:in `timed'