acts_as_talented 0.0.4.2 → 0.0.4.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (196) hide show
  1. checksums.yaml +4 -4
  2. data/app/assets/javascripts/acts_as_talented/application.js +0 -30
  3. data/app/assets/stylesheets/acts_as_talented/application.css +0 -8
  4. data/app/controllers/acts_as_talented/api/v1/employers_controller.rb +5 -4
  5. data/app/models/acts_as_talented/employer.rb +3 -1
  6. data/app/views/acts_as_talented/dashboard/index.html.erb +8 -5
  7. data/app/views/layouts/acts_as_talented/application.html.erb +1 -0
  8. data/config/routes.rb +2 -1
  9. data/db/migrate/20141107062154_add_columns_to_employers.rb +9 -0
  10. data/lib/acts_as_talented.rb +1 -0
  11. data/lib/acts_as_talented/version.rb +1 -1
  12. data/spec/dummy/db/schema.rb +6 -1
  13. data/spec/dummy/log/development.log +51760 -0
  14. data/spec/dummy/log/test.log +11 -0
  15. data/spec/dummy/spec/javascripts/support/jasmine.yml +53 -0
  16. data/spec/dummy/tmp/cache/assets/development/sprockets/068a932f5302f087d18f796a34b688c7 +0 -0
  17. data/spec/dummy/tmp/cache/assets/development/sprockets/07c4b0cfd96049f24135e9f6dff29f46 +0 -0
  18. data/spec/dummy/tmp/cache/assets/development/sprockets/08de8559763f49a4e08211e2320631d8 +0 -0
  19. data/spec/dummy/tmp/cache/assets/development/sprockets/09e6dd0ca61308cab2f5c8ec8356428e +0 -0
  20. data/spec/dummy/tmp/cache/assets/development/sprockets/0edb4e13d90cd2916110d008a4aed4e2 +0 -0
  21. data/spec/dummy/tmp/cache/assets/development/sprockets/0f62369234882ebed9e3c611a8f0df1f +0 -0
  22. data/spec/dummy/tmp/cache/assets/development/sprockets/106595e9b0ab07ac7c1f2002522503f6 +0 -0
  23. data/spec/dummy/tmp/cache/assets/development/sprockets/1111c6a1f164a68a794109047889caea +0 -0
  24. data/spec/dummy/tmp/cache/assets/development/sprockets/111e99492298cd12e854ae3ff07ced0a +0 -0
  25. data/spec/dummy/tmp/cache/assets/development/sprockets/12335341702dcc2d2fbd12e3ac90a38c +0 -0
  26. data/spec/dummy/tmp/cache/assets/development/sprockets/1258604b33f0f01fa2d26819e35b5e0a +0 -0
  27. data/spec/dummy/tmp/cache/assets/development/sprockets/135a17dc943d9e39cc59e6031c3d0455 +0 -0
  28. data/spec/dummy/tmp/cache/assets/development/sprockets/140cd948f5bdb4864803398ee3f3aca7 +0 -0
  29. data/spec/dummy/tmp/cache/assets/development/sprockets/1454ee3b944f31b9c2cc84f38e162dd1 +0 -0
  30. data/spec/dummy/tmp/cache/assets/development/sprockets/1a8c448606b78273ad328d1899c33ae9 +0 -0
  31. data/spec/dummy/tmp/cache/assets/development/sprockets/1b3350da8a329c6c0c758fafb0aff5e4 +0 -0
  32. data/spec/dummy/tmp/cache/assets/development/sprockets/1cb8e7dfe8907ddb98fa45d12f8eff25 +0 -0
  33. data/spec/dummy/tmp/cache/assets/development/sprockets/1d8a9e15103e24daea804ca7410ae4af +0 -0
  34. data/spec/dummy/tmp/cache/assets/development/sprockets/1dd00aa981c4b38e57814be892fdfb89 +0 -0
  35. data/spec/dummy/tmp/cache/assets/development/sprockets/1e5ad5c32d9c712d7eeaccb80ece0d10 +0 -0
  36. data/spec/dummy/tmp/cache/assets/development/sprockets/21c55eefdc2e081bf9f8b7d31214f967 +0 -0
  37. data/spec/dummy/tmp/cache/assets/development/sprockets/22a89e8ea96c6fda993bd522c7aa6320 +0 -0
  38. data/spec/dummy/tmp/cache/assets/development/sprockets/243c4cdd16d11a250e710ceeebc9074c +0 -0
  39. data/spec/dummy/tmp/cache/assets/development/sprockets/25ba9f10af6fdf34cb2a3c91a340afb1 +0 -0
  40. data/spec/dummy/tmp/cache/assets/development/sprockets/270b82cb0784a4a646b86dc12923d85d +0 -0
  41. data/spec/dummy/tmp/cache/assets/development/sprockets/280ea9aac357f4b47b53987c4e1269f7 +0 -0
  42. data/spec/dummy/tmp/cache/assets/development/sprockets/29b2743b9c2f222de8a071b428d98338 +0 -0
  43. data/spec/dummy/tmp/cache/assets/development/sprockets/2c436e162c59dea18e241905eff96be9 +0 -0
  44. data/spec/dummy/tmp/cache/assets/development/sprockets/2efdb24c7e7bcdc6c37bf134fcf4acae +0 -0
  45. data/spec/dummy/tmp/cache/assets/development/sprockets/2f5173deea6c795b8fdde723bb4b63af +0 -0
  46. data/spec/dummy/tmp/cache/assets/development/sprockets/2f8f7aed987e676b70895409c974a775 +0 -0
  47. data/spec/dummy/tmp/cache/assets/development/sprockets/32ee5249d6e3673753a4b1b0428f4c2a +0 -0
  48. data/spec/dummy/tmp/cache/assets/development/sprockets/3515de67328463ac00a6f0d79ae7d3f3 +0 -0
  49. data/spec/dummy/tmp/cache/assets/development/sprockets/35a1a70a8742b40481bcf753cf29445a +0 -0
  50. data/spec/dummy/tmp/cache/assets/development/sprockets/382cdf6ef682a94f702d2d6bb9164f35 +0 -0
  51. data/spec/dummy/tmp/cache/assets/development/sprockets/3849b7859912da6dc6cea6ec621070e8 +0 -0
  52. data/spec/dummy/tmp/cache/assets/development/sprockets/3894bee54a69437b80e0d3707a87465b +0 -0
  53. data/spec/dummy/tmp/cache/assets/development/sprockets/38d83aa3769d6e5cb2a074dd30ddef12 +0 -0
  54. data/spec/dummy/tmp/cache/assets/development/sprockets/3b2b5f340f5d7286c9bee9964060e1f6 +0 -0
  55. data/spec/dummy/tmp/cache/assets/development/sprockets/3c62008bf4308e9af085429fff83fc00 +0 -0
  56. data/spec/dummy/tmp/cache/assets/development/sprockets/3dee8335808f1c6f1f41c4a062fd2893 +0 -0
  57. data/spec/dummy/tmp/cache/assets/development/sprockets/3ed3b32bff297382862ca2d7d7c39e28 +0 -0
  58. data/spec/dummy/tmp/cache/assets/development/sprockets/3fb16efb3154ef8aea161c35593913e6 +0 -0
  59. data/spec/dummy/tmp/cache/assets/development/sprockets/401ddf90867ef5074576afa4bd5b6105 +0 -0
  60. data/spec/dummy/tmp/cache/assets/development/sprockets/416d386f5c6c2219233e0ecd73a10573 +0 -0
  61. data/spec/dummy/tmp/cache/assets/development/sprockets/4229f430b1c716e1b548f2daf7a73d7b +0 -0
  62. data/spec/dummy/tmp/cache/assets/development/sprockets/4271f88835b9b1a3e4f0a89d9f4ad17c +0 -0
  63. data/spec/dummy/tmp/cache/assets/development/sprockets/4281f783ccd5631a8e75aa528e1ca03e +0 -0
  64. data/spec/dummy/tmp/cache/assets/development/sprockets/429ae732164c86a2567db0cadb5118d4 +0 -0
  65. data/spec/dummy/tmp/cache/assets/development/sprockets/42be90232b1ba9aa530b6f7de7d44840 +0 -0
  66. data/spec/dummy/tmp/cache/assets/development/sprockets/4318cebf3d40508e35ab4c83c1faadfd +0 -0
  67. data/spec/dummy/tmp/cache/assets/development/sprockets/4896a189db347d12a025edd8f4ac61d4 +0 -0
  68. data/spec/dummy/tmp/cache/assets/development/sprockets/4cfe78ec9abaf310f87efae7ff8b08da +0 -0
  69. data/spec/dummy/tmp/cache/assets/development/sprockets/4d18a664cabb7cd431cacc5dab9cd609 +0 -0
  70. data/spec/dummy/tmp/cache/assets/development/sprockets/4de8f3e3bcc91021014e0a25834917df +0 -0
  71. data/spec/dummy/tmp/cache/assets/development/sprockets/5184cf03fb5346d99935831fba273cc5 +0 -0
  72. data/spec/dummy/tmp/cache/assets/development/sprockets/51df7b544e3c24024c7f55da549d778d +0 -0
  73. data/spec/dummy/tmp/cache/assets/development/sprockets/53a085a34c4ff8a781407d480e98f35b +0 -0
  74. data/spec/dummy/tmp/cache/assets/development/sprockets/54848ffa7353654770cf0824f749048b +0 -0
  75. data/spec/dummy/tmp/cache/assets/development/sprockets/57980001cb2fe96b33589733cb56a44a +0 -0
  76. data/spec/dummy/tmp/cache/assets/development/sprockets/59ea2f24fcbe0f1b2fb47885b3428b08 +0 -0
  77. data/spec/dummy/tmp/cache/assets/development/sprockets/60da6586f86fa2537088f9de46e2af88 +0 -0
  78. data/spec/dummy/tmp/cache/assets/development/sprockets/63b611fa060b8a62687b9b1bf363df5b +0 -0
  79. data/spec/dummy/tmp/cache/assets/development/sprockets/6400a757d5f934c431a7ac03d19d44f2 +0 -0
  80. data/spec/dummy/tmp/cache/assets/development/sprockets/65c65c9e8b4742bbb37200ef6b056660 +0 -0
  81. data/spec/dummy/tmp/cache/assets/development/sprockets/690dcaaee023c7cc813a8e381e063c9c +0 -0
  82. data/spec/dummy/tmp/cache/assets/development/sprockets/69a9239f07e29a69e9abf35d92e46083 +0 -0
  83. data/spec/dummy/tmp/cache/assets/development/sprockets/6be375336df70a4db401200ecffe8a1a +0 -0
  84. data/spec/dummy/tmp/cache/assets/development/sprockets/7080ade46013f79cd9c9976d654dc897 +0 -0
  85. data/spec/dummy/tmp/cache/assets/development/sprockets/71fe0e8b6466b8fdc100b418e3bf1b38 +0 -0
  86. data/spec/dummy/tmp/cache/assets/development/sprockets/771fc4d2b579ceb3ce9241275f41f6bc +0 -0
  87. data/spec/dummy/tmp/cache/assets/development/sprockets/7a822d2428380817e0f208dde1aec962 +0 -0
  88. data/spec/dummy/tmp/cache/assets/development/sprockets/7d2aac3be06ad92cbce0ac6a3b041063 +0 -0
  89. data/spec/dummy/tmp/cache/assets/development/sprockets/7d4bf0f7a6d67ade27f05b9bbdfaa13f +0 -0
  90. data/spec/dummy/tmp/cache/assets/development/sprockets/7d8e16eddc3729672315ea1ab82be61d +0 -0
  91. data/spec/dummy/tmp/cache/assets/development/sprockets/7e66828c22f30fc1741d69fa8b3f6556 +0 -0
  92. data/spec/dummy/tmp/cache/assets/development/sprockets/7f20d45abac2485c9b018e2ad7c9faea +0 -0
  93. data/spec/dummy/tmp/cache/assets/development/sprockets/7ff9ce522b469bb87d23470a17024893 +0 -0
  94. data/spec/dummy/tmp/cache/assets/development/sprockets/817b43e6477d4059b9006261356b7147 +0 -0
  95. data/spec/dummy/tmp/cache/assets/development/sprockets/825acebdffb6b264e044e8b211cde192 +0 -0
  96. data/spec/dummy/tmp/cache/assets/development/sprockets/82b9ad47a3e7ae516ef89d9511a81d54 +0 -0
  97. data/spec/dummy/tmp/cache/assets/development/sprockets/836a12260a7c62df85ad882997cc815d +0 -0
  98. data/spec/dummy/tmp/cache/assets/development/sprockets/83ad805e11126265f2c22bfa3150eaed +0 -0
  99. data/spec/dummy/tmp/cache/assets/development/sprockets/83f8794a0c8cd319c676b73d15735623 +0 -0
  100. data/spec/dummy/tmp/cache/assets/development/sprockets/85f1fdfeecab670348e9b57eff9920f9 +0 -0
  101. data/spec/dummy/tmp/cache/assets/development/sprockets/87408cf15f3b659a33cab73cabacc84e +0 -0
  102. data/spec/dummy/tmp/cache/assets/development/sprockets/8a6d3701895f56be223b757e9f44de12 +0 -0
  103. data/spec/dummy/tmp/cache/assets/development/sprockets/8aeef1d17937c78d1d7d7e8ce21e38dd +0 -0
  104. data/{app/assets/javascripts/acts_as_talented/angularjs/app.js → spec/dummy/tmp/cache/assets/development/sprockets/8f08e01c4687f22edceb16964fcee66d} +0 -0
  105. data/spec/dummy/tmp/cache/assets/development/sprockets/925444a895104668e64e409620d6fcd3 +0 -0
  106. data/spec/dummy/tmp/cache/assets/development/sprockets/93524ff627c12ad3347e01c8d3d294b6 +0 -0
  107. data/spec/dummy/tmp/cache/assets/development/sprockets/95bd8d3689c20ee5e6ded9c431e28ce2 +0 -0
  108. data/spec/dummy/tmp/cache/assets/development/sprockets/95bdc1f939f0d1604c8330ec9a8688e2 +0 -0
  109. data/spec/dummy/tmp/cache/assets/development/sprockets/9e9c8f0a01d68ade2f7958d968f9abd6 +0 -0
  110. data/spec/dummy/tmp/cache/assets/development/sprockets/9fa37e6bff76d95137f2e46db0ca4098 +0 -0
  111. data/spec/dummy/tmp/cache/assets/development/sprockets/a2accc6e20b89df101da89b1ef78a04f +0 -0
  112. data/spec/dummy/tmp/cache/assets/development/sprockets/a58d74de9f875daa152852fbbab64b81 +0 -0
  113. data/spec/dummy/tmp/cache/assets/development/sprockets/a6a917ba010394dc974efe539184649e +0 -0
  114. data/spec/dummy/tmp/cache/assets/development/sprockets/a771dd993b7eb73009ac8d1edd71660d +0 -0
  115. data/spec/dummy/tmp/cache/assets/development/sprockets/a913deae61640b1f8b505b3c4907cc94 +0 -0
  116. data/spec/dummy/tmp/cache/assets/development/sprockets/ade0135413d8f6843be147a7841b4519 +0 -0
  117. data/spec/dummy/tmp/cache/assets/development/sprockets/b2dd2cfdaf0b21b95688517121a9b7a1 +0 -0
  118. data/spec/dummy/tmp/cache/assets/development/sprockets/b5f68769cb36830e2bd42665a2a74b97 +0 -0
  119. data/spec/dummy/tmp/cache/assets/development/sprockets/b66da00a955bb048048db40392e7a97a +0 -0
  120. data/spec/dummy/tmp/cache/assets/development/sprockets/ba4f52243e81d4b466a973120da52119 +0 -0
  121. data/spec/dummy/tmp/cache/assets/development/sprockets/bb701e160a8465a28b3b85ba9e599b21 +0 -0
  122. data/spec/dummy/tmp/cache/assets/development/sprockets/becec3b59d209c76a253454e3d3fb053 +0 -0
  123. data/spec/dummy/tmp/cache/assets/development/sprockets/c042bc3a5d1bd3c3ee61c4778feedf07 +0 -0
  124. data/spec/dummy/tmp/cache/assets/development/sprockets/c0b64cfb45fb412e5ee7e425cd8dc0b2 +0 -0
  125. data/spec/dummy/tmp/cache/assets/development/sprockets/c3dbe303660d299b488648fc157fd32b +0 -0
  126. data/spec/dummy/tmp/cache/assets/development/sprockets/c9d8484f89bc0fca9922168c391929e2 +0 -0
  127. data/spec/dummy/tmp/cache/assets/development/sprockets/cafcd69348bda42403f5d5acd4ac950f +0 -0
  128. data/spec/dummy/tmp/cache/assets/development/sprockets/cb787b099238d91e432df432c99ad46e +0 -0
  129. data/spec/dummy/tmp/cache/assets/development/sprockets/cbc787d0c777d8681d4c9f8078053e44 +0 -0
  130. data/spec/dummy/tmp/cache/assets/development/sprockets/cc516e66819560451451ab51537c1ea1 +0 -0
  131. data/spec/dummy/tmp/cache/assets/development/sprockets/cc82889dedb606c7867469211ee96223 +0 -0
  132. data/spec/dummy/tmp/cache/assets/development/sprockets/cd01129cc4d93ff7d72b7a677e816423 +0 -0
  133. data/spec/dummy/tmp/cache/assets/development/sprockets/cd0ff9cfbb94a0ecf415350872d7ff6b +0 -0
  134. data/spec/dummy/tmp/cache/assets/development/sprockets/cd842178f0a9c7ee768134341074fd4b +0 -0
  135. data/spec/dummy/tmp/cache/assets/development/sprockets/ce22c0a7eda0ab5038f461a08b169b86 +0 -0
  136. data/spec/dummy/tmp/cache/assets/development/sprockets/cffd775d018f68ce5dba1ee0d951a994 +0 -0
  137. data/spec/dummy/tmp/cache/assets/development/sprockets/d38b66175797bd7fe8ab09187e56a1e8 +0 -0
  138. data/spec/dummy/tmp/cache/assets/development/sprockets/d4e086abb1947074f19411de8392820f +0 -0
  139. data/spec/dummy/tmp/cache/assets/development/sprockets/d631c673f84014e0c398a01ab54a79a2 +0 -0
  140. data/spec/dummy/tmp/cache/assets/development/sprockets/d78f24659a478aae098120e942cf1b82 +0 -0
  141. data/spec/dummy/tmp/cache/assets/development/sprockets/dbc8f597dbe58aa313710af6dcd1cd3a +0 -0
  142. data/spec/dummy/tmp/cache/assets/development/sprockets/dc1e084c9152ca75bd4a0e533aa17ebd +0 -0
  143. data/spec/dummy/tmp/cache/assets/development/sprockets/deb4504ad9c345edbeb8048290b3952e +0 -0
  144. data/spec/dummy/tmp/cache/assets/development/sprockets/df332112f06bb78df5714a5e42c0f847 +0 -0
  145. data/spec/dummy/tmp/cache/assets/development/sprockets/df6e31e4fa1810193d4e956a6fdcb705 +0 -0
  146. data/spec/dummy/tmp/cache/assets/development/sprockets/e2417725aa1a5dffba0b25a77f645b10 +0 -0
  147. data/spec/dummy/tmp/cache/assets/development/sprockets/ea43ea2fdfda6d80c8ac7b1f0c81d774 +0 -0
  148. data/spec/dummy/tmp/cache/assets/development/sprockets/ee99a9b373bb8f3a5d725312a8a3d47c +0 -0
  149. data/spec/dummy/tmp/cache/assets/development/sprockets/ef1d9c82f2305adc65883a5e3d470c3b +0 -0
  150. data/spec/dummy/tmp/cache/assets/development/sprockets/f0fecf6c6edec41b2960e2ab9a7de198 +0 -0
  151. data/spec/dummy/tmp/cache/assets/development/sprockets/f16339076b1f9851e26fc051a0aa4980 +0 -0
  152. data/spec/dummy/tmp/cache/assets/development/sprockets/f16478c650667b6b0f582581c124ac0b +0 -0
  153. data/spec/dummy/tmp/cache/assets/development/sprockets/f2eb0a6488e487eb96ae21630fde22d3 +0 -0
  154. data/spec/dummy/tmp/cache/assets/development/sprockets/f64bdc87923358b41b5f34486fa32164 +0 -0
  155. data/spec/dummy/tmp/cache/assets/development/sprockets/f6e072be6b03e18692014988cd8d396a +0 -0
  156. data/spec/dummy/tmp/cache/assets/development/sprockets/f72fd791624cb0c15b0aa6812cc3858c +0 -0
  157. data/spec/dummy/tmp/cache/assets/development/sprockets/f7cbd26ba1d28d48de824f0e94586655 +0 -0
  158. data/spec/dummy/tmp/cache/assets/development/sprockets/fca9304b97dbef77a06b8e3623120e13 +0 -0
  159. data/spec/dummy/tmp/cache/assets/development/sprockets/fd00a88ad414caae47cbda231a563e85 +0 -0
  160. data/spec/dummy/tmp/cache/assets/development/sprockets/fe446829070b6b5b5ff20dc7c1cbffef +0 -0
  161. data/spec/dummy/tmp/cache/assets/development/sprockets/ff68cc0069ed9f6602f1665b3afcc486 +0 -0
  162. data/spec/javascripts/angularjs/ProfileController_spec.js +23 -0
  163. data/spec/javascripts/angularjs/TabsController_spec.js +25 -0
  164. data/spec/javascripts/angularjs/applicant/ApplicantsContontroller_spec.js +56 -0
  165. data/spec/javascripts/angularjs/applicant/ApplicantsFactory_spec.js +13 -0
  166. data/spec/javascripts/angularjs/user/UserSearchController_spec.js +154 -0
  167. data/spec/javascripts/angularjs/user/UsersController_spec.js +25 -0
  168. data/spec/javascripts/support/jasmine.yml +53 -0
  169. metadata +303 -30
  170. data/app/assets/javascripts/acts_as_talented/angularjs/NotificationFactory.js +0 -24
  171. data/app/assets/javascripts/acts_as_talented/angularjs/ProfileController.js +0 -15
  172. data/app/assets/javascripts/acts_as_talented/angularjs/TabsController.js +0 -24
  173. data/app/assets/javascripts/acts_as_talented/angularjs/applicant/ApplicantsController.js +0 -50
  174. data/app/assets/javascripts/acts_as_talented/angularjs/applicant/ApplicantsFactory.js +0 -30
  175. data/app/assets/javascripts/acts_as_talented/angularjs/employer/EmployersController.js +0 -84
  176. data/app/assets/javascripts/acts_as_talented/angularjs/employer/EmployersFactory.js.erb +0 -12
  177. data/app/assets/javascripts/acts_as_talented/angularjs/user/UserSearchController.js +0 -120
  178. data/app/assets/javascripts/acts_as_talented/angularjs/user/UserSearchFactory.js +0 -45
  179. data/app/assets/javascripts/acts_as_talented/angularjs/user/UsersController.js +0 -44
  180. data/app/assets/javascripts/acts_as_talented/angularjs/user/UsersFactory.js +0 -45
  181. data/app/assets/javascripts/acts_as_talented/dependancies/angular-ui-router.min.js +0 -7
  182. data/app/assets/javascripts/acts_as_talented/dependancies/toastr.min.js +0 -1
  183. data/app/assets/javascripts/acts_as_talented/templates/MyApplicants/my_applicants.detail.html +0 -20
  184. data/app/assets/javascripts/acts_as_talented/templates/MyApplicants/my_applicants.html +0 -35
  185. data/app/assets/javascripts/acts_as_talented/templates/MyApplicants/my_applicants.list.html +0 -1
  186. data/app/assets/javascripts/acts_as_talented/templates/employers.html.erb +0 -77
  187. data/app/assets/javascripts/acts_as_talented/templates/my_jobs.html +0 -22
  188. data/app/assets/javascripts/acts_as_talented/templates/my_profile.html +0 -45
  189. data/app/assets/javascripts/acts_as_talented/templates/search_candidate.html +0 -413
  190. data/app/assets/stylesheets/acts_as_talented/applicants.css +0 -99
  191. data/app/assets/stylesheets/acts_as_talented/banner.css.scss +0 -40
  192. data/app/assets/stylesheets/acts_as_talented/fonts.css.scss +0 -13
  193. data/app/assets/stylesheets/acts_as_talented/login.css.scss +0 -18
  194. data/app/assets/stylesheets/acts_as_talented/main.css.scss +0 -13
  195. data/app/assets/stylesheets/acts_as_talented/toastr.min.css +0 -1
  196. data/app/assets/stylesheets/acts_as_talented/typography.css.scss +0 -77
@@ -1,45 +0,0 @@
1
- ActsAsTalentedModule.factory("UsersFactory", ["$resource", function ($resource) {
2
- return {
3
- users: function(){
4
- var users = [
5
- {
6
- name: "Batman",
7
- seeking_job: true,
8
- graduation_year: "I consider myself a worthy candidate, Dark Knight",
9
- course: "Superheroes 101",
10
- id: 1,
11
- photo: "http://google.com/logo.jpg",
12
- age: 24,
13
- location: "Metropolis",
14
- skills: "stealth, technology, tech toys",
15
- interests: "gadgets, technology"
16
- },
17
- {
18
- name: "Superman",
19
- seeking_job: true,
20
- graduation_year: "I consider myself a worthy candidate, Man of Steel",
21
- course: "Superheroes 102",
22
- id: 2,
23
- photo: "http://google.com/logo.jpg",
24
- age: 24,
25
- location: "Metropolis",
26
- skills: "strength, laser beam eyes, bullerproof",
27
- interests: "kryptonite, krypton, lois lane"
28
- },
29
- {
30
- name: "Flash",
31
- seeking_job: true,
32
- graduation_year: "I consider myself a worthy candidate, Fastest man!",
33
- course: "Superheroes 103",
34
- id: 3,
35
- photo: "http://google.com/logo.jpg",
36
- age: 24,
37
- location: "Metropolis",
38
- skills: "super speed, time travel",
39
- interests: "justice league"
40
- }
41
- ];
42
- return users;
43
- }
44
- }
45
- }]);
@@ -1,7 +0,0 @@
1
- /**
2
- * State-based routing for AngularJS
3
- * @version v0.2.11
4
- * @link http://angular-ui.github.com/
5
- * @license MIT License, http://www.opensource.org/licenses/MIT
6
- */
7
- "undefined"!=typeof module&&"undefined"!=typeof exports&&module.exports===exports&&(module.exports="ui.router"),function(a,b,c){"use strict";function d(a,b){return J(new(J(function(){},{prototype:a})),b)}function e(a){return I(arguments,function(b){b!==a&&I(b,function(b,c){a.hasOwnProperty(c)||(a[c]=b)})}),a}function f(a,b){var c=[];for(var d in a.path){if(a.path[d]!==b.path[d])break;c.push(a.path[d])}return c}function g(a){if(Object.keys)return Object.keys(a);var c=[];return b.forEach(a,function(a,b){c.push(b)}),c}function h(a,b){if(Array.prototype.indexOf)return a.indexOf(b,Number(arguments[2])||0);var c=a.length>>>0,d=Number(arguments[2])||0;for(d=0>d?Math.ceil(d):Math.floor(d),0>d&&(d+=c);c>d;d++)if(d in a&&a[d]===b)return d;return-1}function i(a,b,c,d){var e,i=f(c,d),j={},k=[];for(var l in i)if(i[l].params&&(e=g(i[l].params),e.length))for(var m in e)h(k,e[m])>=0||(k.push(e[m]),j[e[m]]=a[e[m]]);return J({},j,b)}function j(a,b,c){if(!c){c=[];for(var d in a)c.push(d)}for(var e=0;e<c.length;e++){var f=c[e];if(a[f]!=b[f])return!1}return!0}function k(a,b){var c={};return I(a,function(a){c[a]=b[a]}),c}function l(a,b){var d=1,f=2,g={},h=[],i=g,j=J(a.when(g),{$$promises:g,$$values:g});this.study=function(g){function k(a,c){if(o[c]!==f){if(n.push(c),o[c]===d)throw n.splice(0,n.indexOf(c)),new Error("Cyclic dependency: "+n.join(" -> "));if(o[c]=d,F(a))m.push(c,[function(){return b.get(a)}],h);else{var e=b.annotate(a);I(e,function(a){a!==c&&g.hasOwnProperty(a)&&k(g[a],a)}),m.push(c,a,e)}n.pop(),o[c]=f}}function l(a){return G(a)&&a.then&&a.$$promises}if(!G(g))throw new Error("'invocables' must be an object");var m=[],n=[],o={};return I(g,k),g=n=o=null,function(d,f,g){function h(){--s||(t||e(r,f.$$values),p.$$values=r,p.$$promises=!0,delete p.$$inheritedValues,o.resolve(r))}function k(a){p.$$failure=a,o.reject(a)}function n(c,e,f){function i(a){l.reject(a),k(a)}function j(){if(!D(p.$$failure))try{l.resolve(b.invoke(e,g,r)),l.promise.then(function(a){r[c]=a,h()},i)}catch(a){i(a)}}var l=a.defer(),m=0;I(f,function(a){q.hasOwnProperty(a)&&!d.hasOwnProperty(a)&&(m++,q[a].then(function(b){r[a]=b,--m||j()},i))}),m||j(),q[c]=l.promise}if(l(d)&&g===c&&(g=f,f=d,d=null),d){if(!G(d))throw new Error("'locals' must be an object")}else d=i;if(f){if(!l(f))throw new Error("'parent' must be a promise returned by $resolve.resolve()")}else f=j;var o=a.defer(),p=o.promise,q=p.$$promises={},r=J({},d),s=1+m.length/3,t=!1;if(D(f.$$failure))return k(f.$$failure),p;f.$$inheritedValues&&e(r,f.$$inheritedValues),f.$$values?(t=e(r,f.$$values),p.$$inheritedValues=f.$$values,h()):(f.$$inheritedValues&&(p.$$inheritedValues=f.$$inheritedValues),J(q,f.$$promises),f.then(h,k));for(var u=0,v=m.length;v>u;u+=3)d.hasOwnProperty(m[u])?h():n(m[u],m[u+1],m[u+2]);return p}},this.resolve=function(a,b,c,d){return this.study(a)(b,c,d)}}function m(a,b,c){this.fromConfig=function(a,b,c){return D(a.template)?this.fromString(a.template,b):D(a.templateUrl)?this.fromUrl(a.templateUrl,b):D(a.templateProvider)?this.fromProvider(a.templateProvider,b,c):null},this.fromString=function(a,b){return E(a)?a(b):a},this.fromUrl=function(c,d){return E(c)&&(c=c(d)),null==c?null:a.get(c,{cache:b}).then(function(a){return a.data})},this.fromProvider=function(a,b,d){return c.invoke(a,null,d||{params:b})}}function n(a,d){function e(a){return D(a)?this.type.decode(a):p.$$getDefaultValue(this)}function f(b,c,d){if(!/^\w+(-+\w+)*$/.test(b))throw new Error("Invalid parameter name '"+b+"' in pattern '"+a+"'");if(n[b])throw new Error("Duplicate parameter name '"+b+"' in pattern '"+a+"'");n[b]=J({type:c||new o,$value:e},d)}function g(a,b,c){var d=a.replace(/[\\\[\]\^$*+?.()|{}]/g,"\\$&");if(!b)return d;var e=c?"?":"";return d+e+"("+b+")"+e}function h(a){if(!d.params||!d.params[a])return{};var b=d.params[a];return G(b)?b:{value:b}}d=b.isObject(d)?d:{};var i,j=/([:*])(\w+)|\{(\w+)(?:\:((?:[^{}\\]+|\\.|\{(?:[^{}\\]+|\\.)*\})+))?\}/g,k="^",l=0,m=this.segments=[],n=this.params={};this.source=a;for(var q,r,s,t,u;(i=j.exec(a))&&(q=i[2]||i[3],r=i[4]||("*"==i[1]?".*":"[^/]*"),s=a.substring(l,i.index),t=this.$types[r]||new o({pattern:new RegExp(r)}),u=h(q),!(s.indexOf("?")>=0));)k+=g(s,t.$subPattern(),D(u.value)),f(q,t,u),m.push(s),l=j.lastIndex;s=a.substring(l);var v=s.indexOf("?");if(v>=0){var w=this.sourceSearch=s.substring(v);s=s.substring(0,v),this.sourcePath=a.substring(0,l+v),I(w.substring(1).split(/[&?]/),function(a){f(a,null,h(a))})}else this.sourcePath=a,this.sourceSearch="";k+=g(s)+(d.strict===!1?"/?":"")+"$",m.push(s),this.regexp=new RegExp(k,d.caseInsensitive?"i":c),this.prefix=m[0]}function o(a){J(this,a)}function p(){function a(){return{strict:f,caseInsensitive:e}}function b(a){return E(a)||H(a)&&E(a[a.length-1])}function c(){I(h,function(a){if(n.prototype.$types[a.name])throw new Error("A type named '"+a.name+"' has already been defined.");var c=new o(b(a.def)?d.invoke(a.def):a.def);n.prototype.$types[a.name]=c})}var d,e=!1,f=!0,g=!0,h=[],i={"int":{decode:function(a){return parseInt(a,10)},is:function(a){return D(a)?this.decode(a.toString())===a:!1},pattern:/\d+/},bool:{encode:function(a){return a?1:0},decode:function(a){return 0===parseInt(a,10)?!1:!0},is:function(a){return a===!0||a===!1},pattern:/0|1/},string:{pattern:/[^\/]*/},date:{equals:function(a,b){return a.toISOString()===b.toISOString()},decode:function(a){return new Date(a)},encode:function(a){return[a.getFullYear(),("0"+(a.getMonth()+1)).slice(-2),("0"+a.getDate()).slice(-2)].join("-")},pattern:/[0-9]{4}-(?:0[1-9]|1[0-2])-(?:0[1-9]|[1-2][0-9]|3[0-1])/}};p.$$getDefaultValue=function(a){if(!b(a.value))return a.value;if(!d)throw new Error("Injectable functions cannot be called at configuration time");return d.invoke(a.value)},this.caseInsensitive=function(a){e=a},this.strictMode=function(a){f=a},this.compile=function(b,c){return new n(b,J(a(),c))},this.isMatcher=function(a){if(!G(a))return!1;var b=!0;return I(n.prototype,function(c,d){E(c)&&(b=b&&D(a[d])&&E(a[d]))}),b},this.type=function(a,b){return D(b)?(h.push({name:a,def:b}),g||c(),this):n.prototype.$types[a]},this.$get=["$injector",function(a){return d=a,g=!1,n.prototype.$types={},c(),I(i,function(a,b){n.prototype.$types[b]||(n.prototype.$types[b]=new o(a))}),this}]}function q(a,b){function d(a){var b=/^\^((?:\\[^a-zA-Z0-9]|[^\\\[\]\^$*+?.()|{}]+)*)/.exec(a.source);return null!=b?b[1].replace(/\\(.)/g,"$1"):""}function e(a,b){return a.replace(/\$(\$|\d{1,2})/,function(a,c){return b["$"===c?0:Number(c)]})}function f(a,b,c){if(!c)return!1;var d=a.invoke(b,b,{$match:c});return D(d)?d:!0}function g(b,c,d,e){function f(a,b,c){return"/"===m?a:b?m.slice(0,-1)+a:c?m.slice(1)+a:a}function g(a){function c(a){var c=a(d,b);return c?(F(c)&&b.replace().url(c),!0):!1}if(!a||!a.defaultPrevented){var e,f=i.length;for(e=0;f>e;e++)if(c(i[e]))return;j&&c(j)}}function l(){return h=h||c.$on("$locationChangeSuccess",g)}var m=e.baseHref(),n=b.url();return k||l(),{sync:function(){g()},listen:function(){return l()},update:function(a){return a?void(n=b.url()):void(b.url()!==n&&(b.url(n),b.replace()))},push:function(a,c,d){b.url(a.format(c||{})),d&&d.replace&&b.replace()},href:function(c,d,e){if(!c.validates(d))return null;var g=a.html5Mode(),h=c.format(d);if(e=e||{},g||null===h||(h="#"+a.hashPrefix()+h),h=f(h,g,e.absolute),!e.absolute||!h)return h;var i=!g&&h?"/":"",j=b.port();return j=80===j||443===j?"":":"+j,[b.protocol(),"://",b.host(),j,i,h].join("")}}}var h,i=[],j=null,k=!1;this.rule=function(a){if(!E(a))throw new Error("'rule' must be a function");return i.push(a),this},this.otherwise=function(a){if(F(a)){var b=a;a=function(){return b}}else if(!E(a))throw new Error("'rule' must be a function");return j=a,this},this.when=function(a,c){var g,h=F(c);if(F(a)&&(a=b.compile(a)),!h&&!E(c)&&!H(c))throw new Error("invalid 'handler' in when()");var i={matcher:function(a,c){return h&&(g=b.compile(c),c=["$match",function(a){return g.format(a)}]),J(function(b,d){return f(b,c,a.exec(d.path(),d.search()))},{prefix:F(a.prefix)?a.prefix:""})},regex:function(a,b){if(a.global||a.sticky)throw new Error("when() RegExp must not be global or sticky");return h&&(g=b,b=["$match",function(a){return e(g,a)}]),J(function(c,d){return f(c,b,a.exec(d.path()))},{prefix:d(a)})}},j={matcher:b.isMatcher(a),regex:a instanceof RegExp};for(var k in j)if(j[k])return this.rule(i[k](a,c));throw new Error("invalid 'what' in when()")},this.deferIntercept=function(a){a===c&&(a=!0),k=a},this.$get=g,g.$inject=["$location","$rootScope","$injector","$browser"]}function r(a,e){function f(a){return 0===a.indexOf(".")||0===a.indexOf("^")}function h(a,b){if(!a)return c;var d=F(a),e=d?a:a.name,g=f(e);if(g){if(!b)throw new Error("No reference point given for path '"+e+"'");for(var h=e.split("."),i=0,j=h.length,k=b;j>i;i++)if(""!==h[i]||0!==i){if("^"!==h[i])break;if(!k.parent)throw new Error("Path '"+e+"' not valid for state '"+b.name+"'");k=k.parent}else k=b;h=h.slice(i).join("."),e=k.name+(k.name&&h?".":"")+h}var l=v[e];return!l||!d&&(d||l!==a&&l.self!==a)?c:l}function l(a,b){w[a]||(w[a]=[]),w[a].push(b)}function m(b){b=d(b,{self:b,resolve:b.resolve||{},toString:function(){return this.name}});var c=b.name;if(!F(c)||c.indexOf("@")>=0)throw new Error("State must have a valid name");if(v.hasOwnProperty(c))throw new Error("State '"+c+"'' is already defined");var e=-1!==c.indexOf(".")?c.substring(0,c.lastIndexOf(".")):F(b.parent)?b.parent:"";if(e&&!v[e])return l(e,b.self);for(var f in y)E(y[f])&&(b[f]=y[f](b,y.$delegates[f]));if(v[c]=b,!b[x]&&b.url&&a.when(b.url,["$match","$stateParams",function(a,c){u.$current.navigable==b&&j(a,c)||u.transitionTo(b,a,{location:!1})}]),w[c])for(var g=0;g<w[c].length;g++)m(w[c][g]);return b}function n(a){return a.indexOf("*")>-1}function o(a){var b=a.split("."),c=u.$current.name.split(".");if("**"===b[0]&&(c=c.slice(c.indexOf(b[1])),c.unshift("**")),"**"===b[b.length-1]&&(c.splice(c.indexOf(b[b.length-2])+1,Number.MAX_VALUE),c.push("**")),b.length!=c.length)return!1;for(var d=0,e=b.length;e>d;d++)"*"===b[d]&&(c[d]="*");return c.join("")===b.join("")}function p(a,b){return F(a)&&!D(b)?y[a]:E(b)&&F(a)?(y[a]&&!y.$delegates[a]&&(y.$delegates[a]=y[a]),y[a]=b,this):this}function q(a,b){return G(a)?b=a:b.name=a,m(b),this}function r(a,e,f,l,m,p,q){function r(b,c,d,f){var g=a.$broadcast("$stateNotFound",b,c,d);if(g.defaultPrevented)return q.update(),A;if(!g.retry)return null;if(f.$retry)return q.update(),B;var h=u.transition=e.when(g.retry);return h.then(function(){return h!==u.transition?y:(b.options.$retry=!0,u.transitionTo(b.to,b.toParams,b.options))},function(){return A}),q.update(),h}function w(a,c,d,h,i){var j=d?c:k(g(a.params),c),n={$stateParams:j};i.resolve=m.resolve(a.resolve,n,i.resolve,a);var o=[i.resolve.then(function(a){i.globals=a})];return h&&o.push(h),I(a.views,function(c,d){var e=c.resolve&&c.resolve!==a.resolve?c.resolve:{};e.$template=[function(){return f.load(d,{view:c,locals:n,params:j})||""}],o.push(m.resolve(e,n,i.resolve,a).then(function(f){if(E(c.controllerProvider)||H(c.controllerProvider)){var g=b.extend({},e,n);f.$$controller=l.invoke(c.controllerProvider,null,g)}else f.$$controller=c.controller;f.$$state=a,f.$$controllerAs=c.controllerAs,i[d]=f}))}),e.all(o).then(function(){return i})}var y=e.reject(new Error("transition superseded")),z=e.reject(new Error("transition prevented")),A=e.reject(new Error("transition aborted")),B=e.reject(new Error("transition failed"));return t.locals={resolve:null,globals:{$stateParams:{}}},u={params:{},current:t.self,$current:t,transition:null},u.reload=function(){u.transitionTo(u.current,p,{reload:!0,inherit:!1,notify:!1})},u.go=function(a,b,c){return u.transitionTo(a,b,J({inherit:!0,relative:u.$current},c))},u.transitionTo=function(b,c,f){c=c||{},f=J({location:!0,inherit:!1,relative:null,notify:!0,reload:!1,$retry:!1},f||{});var m,n=u.$current,o=u.params,v=n.path,A=h(b,f.relative);if(!D(A)){var B={to:b,toParams:c,options:f},C=r(B,n.self,o,f);if(C)return C;if(b=B.to,c=B.toParams,f=B.options,A=h(b,f.relative),!D(A)){if(!f.relative)throw new Error("No such state '"+b+"'");throw new Error("Could not resolve '"+b+"' from state '"+f.relative+"'")}}if(A[x])throw new Error("Cannot transition to abstract state '"+b+"'");f.inherit&&(c=i(p,c||{},u.$current,A)),b=A;var E=b.path,F=0,G=E[F],H=t.locals,I=[];if(!f.reload)for(;G&&G===v[F]&&j(c,o,G.ownParams);)H=I[F]=G.locals,F++,G=E[F];if(s(b,n,H,f))return b.self.reloadOnSearch!==!1&&q.update(),u.transition=null,e.when(u.current);if(c=k(g(b.params),c||{}),f.notify&&a.$broadcast("$stateChangeStart",b.self,c,n.self,o).defaultPrevented)return q.update(),z;for(var L=e.when(H),M=F;M<E.length;M++,G=E[M])H=I[M]=d(H),L=w(G,c,G===b,L,H);var N=u.transition=L.then(function(){var d,e,g;if(u.transition!==N)return y;for(d=v.length-1;d>=F;d--)g=v[d],g.self.onExit&&l.invoke(g.self.onExit,g.self,g.locals.globals),g.locals=null;for(d=F;d<E.length;d++)e=E[d],e.locals=I[d],e.self.onEnter&&l.invoke(e.self.onEnter,e.self,e.locals.globals);return u.transition!==N?y:(u.$current=b,u.current=b.self,u.params=c,K(u.params,p),u.transition=null,f.location&&b.navigable&&q.push(b.navigable.url,b.navigable.locals.globals.$stateParams,{replace:"replace"===f.location}),f.notify&&a.$broadcast("$stateChangeSuccess",b.self,c,n.self,o),q.update(!0),u.current)},function(d){return u.transition!==N?y:(u.transition=null,m=a.$broadcast("$stateChangeError",b.self,c,n.self,o,d),m.defaultPrevented||q.update(),e.reject(d))});return N},u.is=function(a,d){var e=h(a);return D(e)?u.$current!==e?!1:D(d)&&null!==d?b.equals(p,d):!0:c},u.includes=function(a,b){if(F(a)&&n(a)){if(!o(a))return!1;a=u.$current.name}var d=h(a);return D(d)?D(u.$current.includes[d.name])?j(b,p):!1:c},u.href=function(a,b,c){c=J({lossy:!0,inherit:!0,absolute:!1,relative:u.$current},c||{});var d=h(a,c.relative);if(!D(d))return null;c.inherit&&(b=i(p,b||{},u.$current,d));var e=d&&c.lossy?d.navigable:d;return e&&e.url?q.href(e.url,k(g(d.params),b||{}),{absolute:c.absolute}):null},u.get=function(a,b){if(0===arguments.length)return g(v).map(function(a){return v[a].self});var c=h(a,b);return c&&c.self?c.self:null},u}function s(a,b,c,d){return a!==b||(c!==b.locals||d.reload)&&a.self.reloadOnSearch!==!1?void 0:!0}var t,u,v={},w={},x="abstract",y={parent:function(a){if(D(a.parent)&&a.parent)return h(a.parent);var b=/^(.+)\.[^.]+$/.exec(a.name);return b?h(b[1]):t},data:function(a){return a.parent&&a.parent.data&&(a.data=a.self.data=J({},a.parent.data,a.data)),a.data},url:function(a){var b=a.url,c={params:a.params||{}};if(F(b))return"^"==b.charAt(0)?e.compile(b.substring(1),c):(a.parent.navigable||t).url.concat(b,c);if(!b||e.isMatcher(b))return b;throw new Error("Invalid url '"+b+"' in state '"+a+"'")},navigable:function(a){return a.url?a:a.parent?a.parent.navigable:null},params:function(a){return a.params?a.params:a.url?a.url.params:a.parent.params},views:function(a){var b={};return I(D(a.views)?a.views:{"":a},function(c,d){d.indexOf("@")<0&&(d+="@"+a.parent.name),b[d]=c}),b},ownParams:function(a){if(a.params=a.params||{},!a.parent)return g(a.params);var b={};I(a.params,function(a,c){b[c]=!0}),I(a.parent.params,function(c,d){if(!b[d])throw new Error("Missing required parameter '"+d+"' in state '"+a.name+"'");b[d]=!1});var c=[];return I(b,function(a,b){a&&c.push(b)}),c},path:function(a){return a.parent?a.parent.path.concat(a):[]},includes:function(a){var b=a.parent?J({},a.parent.includes):{};return b[a.name]=!0,b},$delegates:{}};t=m({name:"",url:"^",views:null,"abstract":!0}),t.navigable=null,this.decorator=p,this.state=q,this.$get=r,r.$inject=["$rootScope","$q","$view","$injector","$resolve","$stateParams","$urlRouter"]}function s(){function a(a,b){return{load:function(c,d){var e,f={template:null,controller:null,view:null,locals:null,notify:!0,async:!0,params:{}};return d=J(f,d),d.view&&(e=b.fromConfig(d.view,d.params,d.locals)),e&&d.notify&&a.$broadcast("$viewContentLoading",d),e}}}this.$get=a,a.$inject=["$rootScope","$templateFactory"]}function t(){var a=!1;this.useAnchorScroll=function(){a=!0},this.$get=["$anchorScroll","$timeout",function(b,c){return a?b:function(a){c(function(){a[0].scrollIntoView()},0,!1)}}]}function u(a,c,d){function e(){return c.has?function(a){return c.has(a)?c.get(a):null}:function(a){try{return c.get(a)}catch(b){return null}}}function f(a,b){var c=function(){return{enter:function(a,b,c){b.after(a),c()},leave:function(a,b){a.remove(),b()}}};if(i)return{enter:function(a,b,c){i.enter(a,null,b,c)},leave:function(a,b){i.leave(a,b)}};if(h){var d=h&&h(b,a);return{enter:function(a,b,c){d.enter(a,null,b),c()},leave:function(a,b){d.leave(a),b()}}}return c()}var g=e(),h=g("$animator"),i=g("$animate"),j={restrict:"ECA",terminal:!0,priority:400,transclude:"element",compile:function(c,e,g){return function(c,e,h){function i(){k&&(k.remove(),k=null),m&&(m.$destroy(),m=null),l&&(q.leave(l,function(){k=null}),k=l,l=null)}function j(f){var j,k=w(h,e.inheritedData("$uiView")),r=k&&a.$current&&a.$current.locals[k];if(f||r!==n){j=c.$new(),n=a.$current.locals[k];var s=g(j,function(a){q.enter(a,e,function(){(b.isDefined(p)&&!p||c.$eval(p))&&d(a)}),i()});l=s,m=j,m.$emit("$viewContentLoaded"),m.$eval(o)}}var k,l,m,n,o=h.onload||"",p=h.autoscroll,q=f(h,c);c.$on("$stateChangeSuccess",function(){j(!1)}),c.$on("$viewContentLoading",function(){j(!1)}),j(!0)}}};return j}function v(a,b,c){return{restrict:"ECA",priority:-400,compile:function(d){var e=d.html();return function(d,f,g){var h=c.$current,i=w(g,f.inheritedData("$uiView")),j=h&&h.locals[i];if(j){f.data("$uiView",{name:i,state:j.$$state}),f.html(j.$template?j.$template:e);var k=a(f.contents());if(j.$$controller){j.$scope=d;var l=b(j.$$controller,j);j.$$controllerAs&&(d[j.$$controllerAs]=l),f.data("$ngControllerController",l),f.children().data("$ngControllerController",l)}k(d)}}}}}function w(a,b){var c=a.uiView||a.name||"";return c.indexOf("@")>=0?c:c+"@"+(b?b.state.name:"")}function x(a,b){var c,d=a.match(/^\s*({[^}]*})\s*$/);if(d&&(a=b+"("+d[1]+")"),c=a.replace(/\n/g," ").match(/^([^(]+?)\s*(\((.*)\))?$/),!c||4!==c.length)throw new Error("Invalid state ref '"+a+"'");return{state:c[1],paramExpr:c[3]||null}}function y(a){var b=a.parent().inheritedData("$uiView");return b&&b.state&&b.state.name?b.state:void 0}function z(a,c){var d=["location","inherit","reload"];return{restrict:"A",require:["?^uiSrefActive","?^uiSrefActiveEq"],link:function(e,f,g,h){var i=x(g.uiSref,a.current.name),j=null,k=y(f)||a.$current,l="FORM"===f[0].nodeName,m=l?"action":"href",n=!0,o={relative:k,inherit:!0},p=e.$eval(g.uiSrefOpts)||{};b.forEach(d,function(a){a in p&&(o[a]=p[a])});var q=function(b){if(b&&(j=b),n){var c=a.href(i.state,j,o),d=h[1]||h[0];return d&&d.$$setStateInfo(i.state,j),null===c?(n=!1,!1):void(f[0][m]=c)}};i.paramExpr&&(e.$watch(i.paramExpr,function(a){a!==j&&q(a)},!0),j=e.$eval(i.paramExpr)),q(),l||f.bind("click",function(b){var d=b.which||b.button;if(!(d>1||b.ctrlKey||b.metaKey||b.shiftKey||f.attr("target"))){var e=c(function(){a.go(i.state,j,o)});b.preventDefault(),b.preventDefault=function(){c.cancel(e)}}})}}}function A(a,b,c){return{restrict:"A",controller:["$scope","$element","$attrs",function(d,e,f){function g(){h()?e.addClass(m):e.removeClass(m)}function h(){return"undefined"!=typeof f.uiSrefActiveEq?a.$current.self===k&&i():a.includes(k.name)&&i()}function i(){return!l||j(l,b)}var k,l,m;m=c(f.uiSrefActiveEq||f.uiSrefActive||"",!1)(d),this.$$setStateInfo=function(b,c){k=a.get(b,y(e)),l=c,g()},d.$on("$stateChangeSuccess",g)}]}}function B(a){return function(b){return a.is(b)}}function C(a){return function(b){return a.includes(b)}}var D=b.isDefined,E=b.isFunction,F=b.isString,G=b.isObject,H=b.isArray,I=b.forEach,J=b.extend,K=b.copy;b.module("ui.router.util",["ng"]),b.module("ui.router.router",["ui.router.util"]),b.module("ui.router.state",["ui.router.router","ui.router.util"]),b.module("ui.router",["ui.router.state"]),b.module("ui.router.compat",["ui.router"]),l.$inject=["$q","$injector"],b.module("ui.router.util").service("$resolve",l),m.$inject=["$http","$templateCache","$injector"],b.module("ui.router.util").service("$templateFactory",m),n.prototype.concat=function(a,b){return new n(this.sourcePath+a+this.sourceSearch,b)},n.prototype.toString=function(){return this.source},n.prototype.exec=function(a,b){var c=this.regexp.exec(a);if(!c)return null;b=b||{};var d,e,f,g=this.parameters(),h=g.length,i=this.segments.length-1,j={};if(i!==c.length-1)throw new Error("Unbalanced capture group in route '"+this.source+"'");for(d=0;i>d;d++)f=g[d],e=this.params[f],j[f]=e.$value(c[d+1]);for(;h>d;d++)f=g[d],e=this.params[f],j[f]=e.$value(b[f]);return j},n.prototype.parameters=function(a){return D(a)?this.params[a]||null:g(this.params)},n.prototype.validates=function(a){var b,c,d=!0,e=this;return I(a,function(a,f){e.params[f]&&(c=e.params[f],b=!a&&D(c.value),d=d&&(b||c.type.is(a)))}),d},n.prototype.format=function(a){var b=this.segments,c=this.parameters();if(!a)return b.join("").replace("//","/");var d,e,f,g,h,i,j=b.length-1,k=c.length,l=b[0];if(!this.validates(a))return null;for(d=0;j>d;d++)g=c[d],f=a[g],h=this.params[g],(D(f)||"/"!==b[d]&&"/"!==b[d+1])&&(null!=f&&(l+=encodeURIComponent(h.type.encode(f))),l+=b[d+1]);for(;k>d;d++)g=c[d],f=a[g],null!=f&&(i=H(f),i&&(f=f.map(encodeURIComponent).join("&"+g+"=")),l+=(e?"&":"?")+g+"="+(i?f:encodeURIComponent(f)),e=!0);return l},n.prototype.$types={},o.prototype.is=function(){return!0},o.prototype.encode=function(a){return a},o.prototype.decode=function(a){return a},o.prototype.equals=function(a,b){return a==b},o.prototype.$subPattern=function(){var a=this.pattern.toString();return a.substr(1,a.length-2)},o.prototype.pattern=/.*/,b.module("ui.router.util").provider("$urlMatcherFactory",p),q.$inject=["$locationProvider","$urlMatcherFactoryProvider"],b.module("ui.router.router").provider("$urlRouter",q),r.$inject=["$urlRouterProvider","$urlMatcherFactoryProvider"],b.module("ui.router.state").value("$stateParams",{}).provider("$state",r),s.$inject=[],b.module("ui.router.state").provider("$view",s),b.module("ui.router.state").provider("$uiViewScroll",t),u.$inject=["$state","$injector","$uiViewScroll"],v.$inject=["$compile","$controller","$state"],b.module("ui.router.state").directive("uiView",u),b.module("ui.router.state").directive("uiView",v),z.$inject=["$state","$timeout"],A.$inject=["$state","$stateParams","$interpolate"],b.module("ui.router.state").directive("uiSref",z).directive("uiSrefActive",A).directive("uiSrefActiveEq",A),B.$inject=["$state"],C.$inject=["$state"],b.module("ui.router.state").filter("isState",B).filter("includedByState",C)}(window,window.angular);
@@ -1 +0,0 @@
1
- !function(a){a(["jquery"],function(a){return function(){function b(a,b,c){return o({type:u.error,iconClass:p().iconClasses.error,message:a,optionsOverride:c,title:b})}function c(b,c){return b||(b=p()),r=a("#"+b.containerId),r.length?r:(c&&(r=l(b)),r)}function d(a,b,c){return o({type:u.info,iconClass:p().iconClasses.info,message:a,optionsOverride:c,title:b})}function e(a){s=a}function f(a,b,c){return o({type:u.success,iconClass:p().iconClasses.success,message:a,optionsOverride:c,title:b})}function g(a,b,c){return o({type:u.warning,iconClass:p().iconClasses.warning,message:a,optionsOverride:c,title:b})}function h(a){var b=p();r||c(b),k(a,b)||j(b)}function i(b){var d=p();return r||c(d),b&&0===a(":focus",b).length?void q(b):void(r.children().length&&r.remove())}function j(b){for(var c=r.children(),d=c.length-1;d>=0;d--)k(a(c[d]),b)}function k(b,c){return b&&0===a(":focus",b).length?(b[c.hideMethod]({duration:c.hideDuration,easing:c.hideEasing,complete:function(){q(b)}}),!0):!1}function l(b){return r=a("<div/>").attr("id",b.containerId).addClass(b.positionClass).attr("aria-live","polite").attr("role","alert"),r.appendTo(a(b.target)),r}function m(){return{tapToDismiss:!0,toastClass:"toast",containerId:"toast-container",debug:!1,showMethod:"fadeIn",showDuration:300,showEasing:"swing",onShown:void 0,hideMethod:"fadeOut",hideDuration:1e3,hideEasing:"swing",onHidden:void 0,extendedTimeOut:1e3,iconClasses:{error:"toast-error",info:"toast-info",success:"toast-success",warning:"toast-warning"},iconClass:"toast-info",positionClass:"toast-top-right",timeOut:5e3,titleClass:"toast-title",messageClass:"toast-message",target:"body",closeHtml:"<button>&times;</button>",newestOnTop:!0}}function n(a){s&&s(a)}function o(b){function d(b){return!a(":focus",j).length||b?j[g.hideMethod]({duration:g.hideDuration,easing:g.hideEasing,complete:function(){q(j),g.onHidden&&"hidden"!==o.state&&g.onHidden(),o.state="hidden",o.endTime=new Date,n(o)}}):void 0}function e(){(g.timeOut>0||g.extendedTimeOut>0)&&(i=setTimeout(d,g.extendedTimeOut))}function f(){clearTimeout(i),j.stop(!0,!0)[g.showMethod]({duration:g.showDuration,easing:g.showEasing})}var g=p(),h=b.iconClass||g.iconClass;"undefined"!=typeof b.optionsOverride&&(g=a.extend(g,b.optionsOverride),h=b.optionsOverride.iconClass||h),t++,r=c(g,!0);var i=null,j=a("<div/>"),k=a("<div/>"),l=a("<div/>"),m=a(g.closeHtml),o={toastId:t,state:"visible",startTime:new Date,options:g,map:b};return b.iconClass&&j.addClass(g.toastClass).addClass(h),b.title&&(k.append(b.title).addClass(g.titleClass),j.append(k)),b.message&&(l.append(b.message).addClass(g.messageClass),j.append(l)),g.closeButton&&(m.addClass("toast-close-button").attr("role","button"),j.prepend(m)),j.hide(),g.newestOnTop?r.prepend(j):r.append(j),j[g.showMethod]({duration:g.showDuration,easing:g.showEasing,complete:g.onShown}),g.timeOut>0&&(i=setTimeout(d,g.timeOut)),j.hover(f,e),!g.onclick&&g.tapToDismiss&&j.click(d),g.closeButton&&m&&m.click(function(a){a.stopPropagation?a.stopPropagation():void 0!==a.cancelBubble&&a.cancelBubble!==!0&&(a.cancelBubble=!0),d(!0)}),g.onclick&&j.click(function(){g.onclick(),d()}),n(o),g.debug&&console&&console.log(o),j}function p(){return a.extend({},m(),v.options)}function q(a){r||(r=c()),a.is(":visible")||(a.remove(),a=null,0===r.children().length&&r.remove())}var r,s,t=0,u={error:"error",info:"info",success:"success",warning:"warning"},v={clear:h,remove:i,error:b,getContainer:c,info:d,options:{},subscribe:e,success:f,version:"2.0.3",warning:g};return v}()})}("function"==typeof define&&define.amd?define:function(a,b){"undefined"!=typeof module&&module.exports?module.exports=b(require("jquery")):window.toastr=b(window.jQuery)});
@@ -1,20 +0,0 @@
1
- <div ng-hide="no_messages" class="">
2
-
3
- <div class="heading">
4
- <h2 ng-bind="user.name"></h2>
5
- </div>
6
- <div class="heading">
7
- <i class="fa fa-briefcase"></i> <span class="caption" ng-bind="user.job_position"></span>
8
- </div>
9
-
10
- <div class="body-desc">
11
- <p ng-bind="user.message"></p>
12
- </div>
13
-
14
- <div class="body-apply">
15
- <a ng-href="{{user.resume}}" class="button button_main" target="_blank"><i class="fa fa-check"></i> View Resume</a>
16
- </div>
17
- <div style="clear: both;"></div>
18
-
19
-
20
- </div>
@@ -1,35 +0,0 @@
1
- <div id="main-container">
2
-
3
- <div>
4
-
5
-
6
- <div class="module bevy-applicant-list" ng-init="getAllItems()">
7
-
8
- <h2>Applicants</h2>
9
-
10
- <div class="module text-center" ng-show="no_messages">
11
- No Messages
12
- </div>
13
-
14
- <div ng-repeat="user in applicantsList">
15
- <a ng-href="#/myApplicants/{{user.id}}">
16
- <b><span ng-bind="user.name"></span></b><br />
17
- <span ng-bind="user.job_position"></span>
18
- <p ng-bind="user.message"></p>
19
- </a>
20
- <hr />
21
- </div>
22
-
23
-
24
- </div>
25
-
26
- <div ui-view></div>
27
-
28
- </div>
29
-
30
- <div class="bevy-applicant-messages">
31
- <div class="module text-center" ng-show="no_messages">
32
- No Applicants yet.
33
- </div>
34
- </div>
35
- </div>
@@ -1,77 +0,0 @@
1
- <!-- {{employersList}} -->
2
- <div class="row">
3
-
4
- <!--AngularJS SPA CRUD table-->
5
- <table class="table table-condensed table-hover table-striped" ng-hide="loading">
6
- <!-- Header-->
7
- <tr class="panel-title">
8
- <!--Buttons column-->
9
- <th style="width: 100px;">
10
- <!--Add + Cancel-->
11
- <div class="btn-toolbar"><i class="btn fa fa-plus" ng-click="toggleAddMode()" title="Add" ng-hide="addMode"></i></div>
12
- <div class="btn-toolbar"><i class="btn fa fa-minus" ng-click="toggleAddMode()" title="Cancel" ng-show="addMode"></i></div>
13
- </th>
14
-
15
- <!-- Content columns-->
16
- <th style="vertical-align:middle">Name</th>
17
- </tr>
18
-
19
- <!--Row with the new item-->
20
- <tr ng-show="addMode" style="background: rgb(251, 244, 222)">
21
- <!--Buttons column-->
22
- <td>
23
- <div class="btn-toolbar">
24
- <!--Create + Cancel-->
25
- <div class="btn-group">
26
- <i class="btn fa fa-floppy-o" ng-click="createItem()" title="Create" ng-disabled="addForm.$invalid"></i>
27
- <i class="btn fa fa-remove" ng-click="toggleAddMode()" title="Cancel"></i>
28
- </div>
29
- </div>
30
- </td>
31
- <!-- Content columns-->
32
- <td>
33
- <form name="addForm">
34
- <input type="text" ng-model="newItem.name" class="form-control" required placeholder="new item..." ng-keydown="saveOnEnter(knownItem, $event)" required />
35
- </form>
36
- </td>
37
- </tr>
38
-
39
- <!--Content-->
40
- <tr ng-repeat="knownItem in employersList">
41
- <!--Buttons column-->
42
- <td>
43
- <!--Edit + Delete-->
44
- <div class="btn-toolbar" ng-show="knownItem.editMode == null || knownItem.editMode == false">
45
- <div class="btn-group">
46
- <i class="btn fa fa-edit" ng-click="toggleEditMode(knownItem)" title="Edit"></i>
47
- <i class="btn fa fa-trash" ng-click="deleteItem(knownItem)" title="Delete" data-toggle="modal"></i>
48
- </div>
49
- </div>
50
-
51
- <!--Save + Cancel-->
52
- <div class="btn-toolbar" ng-show="knownItem.editMode">
53
- <div class="btn-group">
54
- <i class="btn fa fa-floppy-o" ng-click="updateItem(knownItem)" title="Save" ng-disabled="editForm.$invalid"></i>
55
- <i class="btn fa fa-remove" ng-click="toggleEditMode(knownItem)" title="Cancel"></i>
56
- </div>
57
- </div>
58
- </td>
59
-
60
- <!-- Content columns-->
61
- <td style="vertical-align:middle">
62
- <!--Name read mode-->
63
- <span ng-show="knownItem.editMode == null || knownItem.editMode == false" ng-dblclick="toggleEditMode(knownItem)">
64
- {{knownItem.name}}
65
- </span>
66
- <!--Name edit mode-->
67
- <form name="editForm">
68
- <input ng-model="knownItem.name" ng-show="knownItem.editMode" required ng-keydown="updateOnEnter(knownItem, $event)" class="form-control" />
69
- </form>
70
- </td>
71
- </tr>
72
- </table>
73
-
74
- <!--Loading indicator-->
75
- <img src="<%= asset_path('acts_as_talented/ajax-loader.gif') %>" ng-show="loading" class="center-block" title="Loading..." />
76
-
77
- </div>
@@ -1,22 +0,0 @@
1
- my_jobs.html
2
-
3
- this is where u add job position stuff
4
-
5
- <div id="main-container">
6
-
7
- <div class="bevy-applicant-list">
8
- <h2>Job Posts</h2>
9
- <div class="module" ng-init="getAllItems()">
10
- <div class="module text-center" ng-show="no_messages">
11
- No Messages
12
- </div>
13
- <div ui-view></div>
14
- </div>
15
- </div>
16
-
17
- <div class="bevy-applicant-messages">
18
- <div class="module text-center" ng-show="no_messages">
19
- No Job Posts yet.
20
- </div>
21
- </div>
22
- </div>
@@ -1,45 +0,0 @@
1
- <style>
2
- .form-group .help-block {
3
- display: none;
4
- position: absolute;
5
- margin: 10px 0px 0px 0px;
6
- }
7
-
8
- .form-group.has-error .help-block {
9
- display: block;
10
- }
11
-
12
- .margin-top-sm {
13
- margin-top: 20px;
14
- }
15
-
16
- .margin-bottom-sm{
17
- margin-bottom: 50px;
18
- }
19
- </style>
20
-
21
- <div ng-controller="ProfileController">
22
-
23
- <h2 class="margin-top-sm margin-bottom-sm col-sm-8 col-sm-offset-2">Edit Profile</h2>
24
-
25
- <form name="userForm" novalidate>
26
- <div class="form-group col-sm-8 col-sm-offset-2 margin-bottom-sm" show-errors='{showSuccess: true}'>
27
- <label class="control-label">Name</label>
28
- <input type="text" class="form-control" name="name" ng-model="user.name" required placeholder="Name" />
29
- <p class="help-block" ng-if="userForm.name.$error.required" style="">The user's name is required</p>
30
- </div>
31
-
32
- <div class="form-group col-sm-8 col-sm-offset-2 margin-bottom-sm" show-errors='{showSuccess: true}'>
33
- <label class="control-label">Email</label>
34
- <input type="email" class="form-control" name="email" ng-model="user.email" required placeholder="Email" />
35
- <p class="help-block" ng-if="userForm.email.$error.required">The user's email is required</p>
36
- <p class="help-block" ng-if="userForm.email.$error.email">The email address is invalid</p>
37
- </div>
38
-
39
- <div class="col-sm-8 col-sm-offset-2 margin-bottom-sm">
40
- <button class="btn btn-primary" ng-click="save()">Update Profile</button>
41
- <button class="btn btn-link" ng-click="reset()">Reset</button>
42
- </div>
43
-
44
- </form>
45
- </div>
@@ -1,413 +0,0 @@
1
- <style type="text/css">
2
-
3
- input{
4
- font-family: 'Roboto', 'Helvetica', sans-serif;
5
- font-weight: 300;
6
- line-height: 1.1;
7
- border: 1px solid #dadada;
8
- border-radius: 4px;
9
- background: transparent;
10
- margin: 0 auto 0.5em;
11
- padding: 0.325em 0.5em;
12
- width: 100%;
13
- cursor: pointer;
14
- transition: .25s;
15
- vertical-align: middle;
16
- color: #555;
17
- font-size: 1em;
18
- }
19
-
20
- button{
21
- font-family: 'Cinzel', 'Georgia', serif;
22
- line-height: 1.4;
23
- margin: 0;
24
- text-transform: lowercase;
25
- position: relative;
26
- display: inline-block;
27
- padding: 0.25em 1em;
28
- font-size: 1em;
29
- text-align: center;
30
- border: 1px solid #dadada;
31
- border-radius: 4px;
32
- background: none;
33
- transition: .25s;
34
- cursor: pointer;
35
- outline: none;
36
- overflow: visible;
37
- }
38
-
39
- button:hover{
40
- color: #f9f9f9 !important;
41
- background: #da521e;
42
- }
43
-
44
- select {
45
- font-family: 'Roboto', 'Helvetica', sans-serif;
46
- font-weight: 300;
47
- line-height: 1.1;
48
- border: 1px solid #dadada;
49
- border-radius: 4px;
50
- background: transparent;
51
- cursor: pointer;
52
- transition: .25s;
53
- }
54
-
55
- .page-section {
56
- position: relative;
57
- min-height: 1em;
58
- width: 104%;
59
- margin: 1% 0 1em -2%;
60
- padding: 0.5em 2% 0.75em;
61
- box-shadow: 0px 0.5em 10px -5px #DADADA;
62
- }
63
- .bevy-user-form input {
64
- max-width: 58%;
65
- }
66
- .bevy-user-form button {
67
- vertical-align: top;
68
- width: 20%;
69
- }
70
-
71
- .bevy-user-filter {
72
- width: 18%;
73
- float: left;
74
- padding: 0.5em;
75
- padding-right: 2%;
76
- border-right: 1px solid #DADADA;
77
- }
78
- .bevy-user-filter h2 {
79
- font-size: 1.2em;
80
- color: #DA521E;
81
- display: block;
82
- font-weight: 300;
83
- margin-bottom: 0.5em;
84
- }
85
- .bevy-user-filter .heading {
86
- text-transform: capitalize;
87
- display: block;
88
- font-size: 0.9em;
89
- margin-bottom: 0.5em;
90
- }
91
- .bevy-user-filter select, .bevy-user-filter input {
92
- margin-bottom: 1.5em;
93
- width: 100%;
94
- }
95
-
96
- .bevy-user-search-content {
97
- width: 65%;
98
- margin: 0% 1%;
99
- float: left;
100
- padding-left: 2em;
101
- }
102
- .bevy-user-search-content .pagination {
103
- padding: 1em;
104
- text-align: center;
105
- width: 100%;
106
- clear: both;
107
- }
108
- .bevy-user-search-content .pagination span, .bevy-user-search-content .pagination a {
109
- padding: 0.25em;
110
- color: #DA521E;
111
- }
112
- .bevy-user-search-content .pagination a.active {
113
- color: #000;
114
- }
115
-
116
- .bevy-user-list{
117
- width: 13%;
118
- margin: 0% 1%;
119
- float: left;
120
- padding-left: 2em;
121
- }
122
-
123
- .bevy-user-list h2 {
124
- font-size: 1.2em;
125
- color: #DA521E;
126
- display: block;
127
- font-weight: 300;
128
- margin-bottom: 0.5em;
129
- }
130
-
131
- .bevy-user-list ul{
132
- list-style-type: none;
133
- padding: 0px;
134
- }
135
-
136
- .bevy-user-list li{
137
- border-bottom: 1px dotted #ccc;
138
- padding: 3px;
139
- }
140
-
141
- .bevy-user-list li a{
142
- color: #000;
143
- }
144
-
145
- .bevy-user-list li a:hover{
146
- color: #DA521E;
147
- cursor: pointer;
148
- text-decoration: none;
149
- }
150
-
151
- .bevy-user-card {
152
- padding: 1em 0;
153
- border-bottom: 1px solid #eee;
154
- }
155
-
156
- .bevy-user-card .module{
157
- width: 60%;
158
- float: left;
159
- padding: 1%;
160
- }
161
-
162
- .bevy-user-card .photo{
163
- width: 18%;
164
- height: 150px;
165
- overflow: hidden;
166
- float: left;
167
- }
168
-
169
- .bevy-user-properties{
170
- width: 18%;
171
- float: left;
172
- padding: 1%;
173
- }
174
- .bevy-user-card .heading{
175
- width: 50%;
176
- float: left;
177
- }
178
- .bevy-user-card div.heading:nth-child(2){
179
- text-align: right;
180
- }
181
- .bevy-user-card .module .caption{
182
- width: 50%;
183
- float: left;
184
- clear: both;
185
- padding: 10px 0px;
186
- }
187
- .bevy-user-card .body-desc{
188
- width: 80%;
189
- float: left;
190
- margin: 10px 0px;
191
- padding: 0px 10px 0px 0px;
192
- }
193
- .bevy-user-card .body-apply{
194
- width: 20%;
195
- float: left;
196
- text-align: right;
197
- margin-top: 10px;
198
- }
199
- .bevy-user-card h2 {
200
- font-size: 1.2em;
201
- color: #DA521E;
202
- display: block;
203
- font-weight: 300;
204
- margin-bottom: 0.5em;
205
- }
206
- .bevy-user-card span.caption {
207
- display: inline-block;
208
- font-size: 0.75em;
209
- margin-right: 0.5em;
210
- }
211
-
212
-
213
- </style>
214
- <div ng-controller="UserSearchController">
215
-
216
- <div class="page-section">
217
- <form class="bevy-user-form" data-remote="true">
218
- <input type="text" name="job[search]" id="job_search" placeholder="Search All Jobs..." data-ng-model="search_term" />
219
- <button class="button" data-ng-click="searchUsers(true)">Search</button>
220
- <button class="button" data-ng-click="reset_form()">Reset</button>
221
- </form>
222
- </div>
223
-
224
- <div id="main-container">
225
-
226
- <!-- show indeed results on landing -->
227
- <div class="bevy-user-filter">
228
- <h2>Filters</h2>
229
- <div class="module">
230
- <!-- hide initially -->
231
- <div ng-show="jobs.q.length">
232
- <div class="heading">Sort</div>
233
- <select ng-model="jobs.sort">
234
- <option value="relevance">Relevance</option>
235
- <option value="date">Date</option>
236
- </select><br>
237
- <div class="heading">job referral</div>
238
- <select ng-model="jobs.siteType">
239
- <option value="jobsite">Jobsite</option>
240
- <option value="employer">Employer</option>
241
- </select>
242
- <br>
243
- <div class="heading">job type</div>
244
- <select ng-model="jobs.jobType">
245
- <option value="fulltime">Fulltime</option>
246
- <option value="parttime">Parttime</option>
247
- <option value="contract">Contract</option>
248
- <option value="internship">Internship</option>
249
- <option value="temporary">Temporary</option>
250
- </select>
251
- <br>
252
- <div class="heading">limit</div>
253
- <select ng-model="jobs.limit">
254
- <option value="10">10</option>
255
- <option value="20">20</option>
256
- <option value="30">30</option>
257
- </select>
258
- <br>
259
- </div>
260
-
261
- <div class="heading">country</div>
262
- <select ng-model="jobs.country">
263
- <option value="us">United States</option>
264
- <option value="ar">Argentina</option>
265
- <option value="au">Australia</option>
266
- <option value="at">Austria</option>
267
- <option value="bh">Bahrain</option>
268
- <option value="be">Belgium</option>
269
- <option value="br">Brazil </option>
270
- <option value="ca">Canada </option>
271
- <option value="cl">Chile</option>
272
- <option value="cn">China</option>
273
- <option value="co">Colombia </option>
274
- <option value="cz">Czech Republic </option>
275
- <option value="dk">Denmark</option>
276
- <option value="fi">Finland</option>
277
- <option value="fr">France </option>
278
- <option value="de">Germany</option>
279
- <option value="gr">Greece </option>
280
- <option value="hk">Hong Kong</option>
281
- <option value="hu">Hungary</option>
282
- <option value="in" selected="selected">India</option>
283
- <option value="id">Indonesia</option>
284
- <option value="ie">Ireland</option>
285
- <option value="il">Israel </option>
286
- <option value="it">Italy</option>
287
- <option value="jp">Japan</option>
288
- <option value="kr">Korea</option>
289
- <option value="kw">Kuwait </option>
290
- <option value="lu">Luxembourg </option>
291
- <option value="my">Malaysia </option>
292
- <option value="mx">Mexico </option>
293
- <option value="nl">Netherlands</option>
294
- <option value="nz">New Zealand</option>
295
- <option value="no">Norway </option>
296
- <option value="om">Oman </option>
297
- <option value="pk">Pakistan </option>
298
- <option value="pe">Peru </option>
299
- <option value="ph">Philippines</option>
300
- <option value="pl">Poland </option>
301
- <option value="pt">Portugal </option>
302
- <option value="qa">Qatar</option>
303
- <option value="ro">Romania</option>
304
- <option value="ru">Russia </option>
305
- <option value="sa">Saudi Arabia </option>
306
- <option value="sg">Singapore</option>
307
- <option value="za">South Africa </option>
308
- <option value="es">Spain</option>
309
- <option value="se">Sweden </option>
310
- <option value="ch">Switzerland</option>
311
- <option value="tw">Taiwan </option>
312
- <option value="tr">Turkey </option>
313
- <option value="ae">United Arab Emirates </option>
314
- <option value="gb">United Kingdom </option>
315
- <option value="ve">Venezuela</option>
316
- </select>
317
- <br>
318
- <div class="heading">location</div>
319
- <input type="text" ng-model="jobs.location" />
320
- <br>
321
- <button class="button button-white" ng-click="searchJobs()">Apply</button>
322
- </div>
323
- </div>
324
-
325
- <div class="bevy-user-search-content">
326
- <div ng-hide="no_search_term">
327
- <div ng-repeat="user in users">
328
- <div class="bevy-user-card">
329
- <div class="photo">
330
- <img ng-src="{{user.photo}}">
331
- </div>
332
-
333
- <div class="module">
334
- <div class="caption">
335
- <h2 ng-bind="user.name"></h2>
336
-
337
- <i class="fa fa-user"></i> <span class="caption" ng-bind="user.age"></span>
338
- <i class="fa fa-briefcase"></i> <span class="caption" ng-bind="user.status"></span><br />
339
- <i class="fa fa-globe"></i> <span class="caption" ng-bind="user.location"></span>
340
- <i class="fa fa-book"></i> <span class="caption" ng-bind="user.course"></span><br />
341
- <i class="fa fa-graduation-cap"></i> <span class="caption" ng-bind="user.graduation_year"></span>
342
- </div>
343
-
344
- <div class="caption">
345
- <i class="fa fa-user"></i> <span class="caption" ng-bind="user.skills"></span><br />
346
- <i class="fa fa-book"></i> <span class="caption" ng-bind="user.interests"></span><br />
347
- <i class="fa fa-graduation-cap"></i> <span class="caption" ng-bind="user.experience"></span>
348
- </div>
349
- </div>
350
-
351
- <div class="user-properties">
352
- <a ng-href="#" class="button button_main" target="_blank"><i class="fa fa-check"></i> Resume</a>
353
- <select>
354
- <option>starred</option>
355
- <option>ignored</option>
356
- <option>accepted</option>
357
- <option>messaged</option>
358
- </select>
359
- <a href="#" class="fa fa-envelope"></a>
360
-
361
- </div>
362
-
363
- <div style="clear: both;"></div>
364
-
365
- <div class="body-desc">
366
- <p ng-bind="user.about"></p>
367
- </div>
368
- </div>
369
- <div style="clear: both;"></div>
370
- </div>
371
-
372
- <div ng-show="totalResults > 0" class="pagination">
373
- <a href="#" ng-show="currentPage!=1" ng-click="paginate(1)">&lt;&lt;</a>
374
- <a href="#" ng-show="currentPage!=1" ng-click="paginate(currentPage-1)">Prev</a>
375
- <a href="#" ng-show="currentPage!=1" ng-click="paginate(currentPage-1)" ng-bind="currentPage-1"></a>
376
- <a href="#" ng-bind="currentPage" class="active"></a>
377
- <a href="#" ng-show="currentPage!=totalPages" ng-click="paginate(currentPage+1)" ng-bind="currentPage+1"></a>
378
- <a href="#" ng-show="currentPage!=totalPages" ng-click="paginate(currentPage+1)">Next</a>
379
- <a href="#" ng-show="currentPage!=totalPages" ng-click="paginate(totalPages)">&gt;&gt;</a>
380
- </div>
381
-
382
- <div class="module text-center" ng-show="end_of_results">
383
- No results.
384
- </div>
385
- </div>
386
-
387
- <div class="module text-center" ng-show="no_search_term">
388
- Enter a search term
389
- </div>
390
-
391
- </div>
392
-
393
- <div class="bevy-user-list">
394
- <h2>Lists</h2>
395
- <ul>
396
- <li><a href="#" >Starred</a></li>
397
- <li><a href="#" >Ignored</a></li>
398
- <li><a href="#" >Accepted</a></li>
399
- <li><a href="#" >Messaged</a></li>
400
- <li><a href="#" >Add new list</a></li>
401
- </ul>
402
- </div>
403
- </div>
404
-
405
- </div>
406
-
407
- <!-- Mixpanel page visit tracking -->
408
- <script>
409
- // mixpanel.track('Viewed Jobs Index Page',
410
- // {
411
- // organization: '<%= "#{@org.try(:name)}" %>'
412
- // })
413
- </script>