todo_rails 0.1.5 → 0.1.6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (237) hide show
  1. checksums.yaml +4 -4
  2. data/app/assets/javascripts/todo_rails/controllers/todoCtrl.coffee +22 -4
  3. data/app/assets/stylesheets/todo_rails/application.css.scss +115 -151
  4. data/app/controllers/todo_rails/tasks_controller.rb +2 -2
  5. data/app/views/todo_rails/index/index.haml +7 -3
  6. data/db/migrate/20150729191440_add_archieved_to_tasl.rb +5 -0
  7. data/lib/todo_rails/engine.rb +4 -1
  8. data/lib/todo_rails/version.rb +1 -1
  9. data/test/dummy/config/todo-rails.yml +3 -0
  10. data/test/dummy/db/development.sqlite3 +0 -0
  11. data/test/dummy/db/schema.rb +4 -3
  12. data/test/dummy/log/development.log +3563 -0
  13. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/-2HoDl0cMgAzlUjw-cPJfzSg-o3gjkT3sBUJWZ9E-Gk.cache +0 -0
  14. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/-LKZ4ZMUszi1BAZniq5NHjLYnuU01FiWqvG9UKsLGTU.cache +44 -0
  15. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/-XxFkN_2_DBp2DVlmy4gf0kaaxeYdrDXmwT_pEUJIyQ.cache +2 -0
  16. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/-uhwfpY9pDRUodkYa9fzE0df-DixZiuLaBDabI04PGw.cache +1 -0
  17. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/0Ou3IGnkCVcb95beBjcvMk0RI3LtlRPLHQSdYjafVro.cache +0 -0
  18. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/0PbKIs-PfBMWjnR_83GtIXUzGhqf2lBhoVisnYdPQG0.cache +1 -0
  19. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/0oO0sP9ngQ5HR7l5KK-HgWZ0CWdZ6iNVj8N2oLipycE.cache +1 -0
  20. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/129TaJQL2WequeN5spXWbt4MoLZ1AIpEjz11vg7tZrU.cache +2 -0
  21. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/1_TzeO4nNjOAQVG-BZjPpUW5GbybUEP88fBdSWP_yFE.cache +2 -0
  22. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/1kjTvNpQdCHTVQcT5s2QLPkD16iaYKqukis_OxHNzEQ.cache +0 -0
  23. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/2G7S6-AWI2nlfmYNn1NhGacikLAZCXpyGjKZ593uXW0.cache +1 -0
  24. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/2LrhxLPaWQA-TbnjTlAUM7xCLnhpiuKhyiqpZeBIoUE.cache +1 -0
  25. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/2_NDD_ncDI90DmmJk5VKTHw5hWi4wh-QYwTb2e2iorA.cache +0 -0
  26. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/3mXBaBjqPAkj-42uGhQKVVgAUkBfKgJdSQ5cBjjBqws.cache +1 -0
  27. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/3pM8PcrgbY_owIPEx6dW2D1BcQwS9pCPwtXGOClVJJA.cache +1 -0
  28. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/40xEJflbR6N4NJerSck5_i1G4vaR4DwKaH_IA8qnXZw.cache +0 -0
  29. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/45R23yR2VKiOdmXwmMec_Teo-NtAU2p6USrMbXdPS-s.cache +1 -0
  30. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/4RL24DEe9IN9SFTfCtXB1hnPqG8rBhH6todE5H1Rocs.cache +1 -0
  31. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/4u7AzlvwQpfBxhtS7wVqPjA_FajoV8oZbnbfmv1X1c0.cache +0 -0
  32. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/52Jsj78XV1sgP4I6fnq9KAvPUiwWt1Pd6tWfqsiIOqY.cache +2 -0
  33. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/55luf1ZQY8MGoK82GjEhD0VWUgy2BlcoRQ1Eza4J7WY.cache +0 -0
  34. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/5CK1g3Tks6ROx2l2VqyXZVab3sA5CiqSkzzd275zhCw.cache +0 -0
  35. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/5SP1AgMzcFhKZyoUOridQmlQB4yxzrw4Zjej_tOQtDw.cache +2 -0
  36. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/5irEt9_0nfWO2KP9XbpfM6gVyih3I-pTzPjlO6AdeUA.cache +0 -0
  37. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/61AqU-jRcqFj7uhpdp87XmUD9ehFbpxmBJ_hg4QHFU8.cache +1 -0
  38. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/6K0AAM3Ag1M3V9qeceRRtatmBzlIuqPcb-q6RZvJDoU.cache +2 -0
  39. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/7KdmYefytbrqrNygv8ZbFq-zOO1YepajpT49SYWKlgw.cache +1 -0
  40. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/7R1QXKq45le5CzPtPbTeVkIBIMVA4C5FCEXZsxa0AUM.cache +2 -0
  41. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/7Soje_AIFga4vtKqqj4LDs-lPis0csn-OFuSaOtn5Lg.cache +1 -0
  42. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/7akj5vp8NXnm_g_POJQA7JMX0C2xWmFLctshH0YUpBQ.cache +2 -0
  43. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/7cehITYSmsa96xTjWOyDdEN7aAtjmRu9w163B5S6CGM.cache +0 -0
  44. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/7hhcEAClnCVGOT0R8hWCCiyutQ2ZWMVHKFw2-wX91u8.cache +0 -0
  45. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/8MdMF6rvTa3zXjoVzpetAxWs811K8A9XLR6lf4K6xOI.cache +0 -0
  46. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/8SM_eh-SxJK8eLER2G8htRMapkh7CvzUi5GHZZtzIDU.cache +1 -0
  47. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/8b0XU-3Q9J0Z9N4dCtvI7nVGk3YnN0XSm3iw6bkY-kM.cache +1 -0
  48. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/9DJJVgvSf5q8GQ1rN93v1kLuMjyYYc4OEZ18GnYi1eQ.cache +1 -0
  49. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/9i8bvLtnngY0YpGYqtr2mx8HgkQj6-Sq41nOrj75vCs.cache +2 -0
  50. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/ACxl0ovjcTNXyEY8TU-qWwcR5ZC8e5ZL5xLiB4Sah4U.cache +0 -0
  51. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/AZd6zFGlPB5mJ0Q_TeWQbTa0_OocH5w6T6vAJdcB2hs.cache +0 -0
  52. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/Ah666OllDBIkwQgZPRCttQ82chq2JNvIeCRv4hWFyM8.cache +0 -0
  53. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/B-q__babxNsbsZLNtoBc1lEGBo-Fn4HWQ2JpN49zF0k.cache +2 -0
  54. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/B2l_WHdBeKQJSKyEe38wdR9g6hMTMWRbWSydAW2hfVk.cache +0 -0
  55. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/Ba10Muwn1C4o_Ba3pEqqjf66GEi9jGr1KF5VfHANLPQ.cache +0 -0
  56. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/C0-2U8unFKQdiuWmC5eAgxGRWpqs4UWgAqTcyDFM2aE.cache +2 -0
  57. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/ClIkSkf66blqVDMkVERF7mxjzxy7GmHjR7I0v5BCjl4.cache +15 -0
  58. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/E9S11GL7u8I1YJr_76HBWWv6tHMBikfuCq78YcS3FtQ.cache +0 -0
  59. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/EBO5p2MlVh2M9LWmyOVXTivuHXkXfPX_MmoL3v2MEBA.cache +0 -0
  60. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/EXzup3c2KIEviL3MEVE4DnrsOwgLveEyRzxjN1SCV2s.cache +2 -0
  61. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/Edf1Yya2Y2bGCimbTEpyI07miDlRc4x_1xovs1PxC20.cache +1 -0
  62. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/F3AgbPP__8zjYANAof1LWYhVc4EVWIvIvjCMxjrmZdI.cache +0 -0
  63. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/FLYZrk7Q76sOUsvuHA3rlFjP0LefZaDGEldqivHnZNg.cache +0 -0
  64. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/Fdh5Fg4ypsyyD_dSQHcyGZt3HgaHYw1Q0rtR8LUCS9o.cache +1 -0
  65. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/G1RQLh14LSR4zYDfLyUgFY0BR-9t4Hs3jfwZ5lK6LuQ.cache +0 -0
  66. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/GOUJcdcamVV4c1ohah243JBfxkgcPVS2jIAnISESseY.cache +1 -0
  67. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/GP54K50FqknnZb6CyGiaiByQmdA8wl1g5Ky61-d0RRk.cache +1 -0
  68. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/GTSkabLpsawLDzEMX4mN5ySHMdetigmAy7fCzTPYNO0.cache +2 -0
  69. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/GZIlNYLG6DCVzPmptcHadQBETQ4Xr1pL45NPbFItEU8.cache +1 -0
  70. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/GtYFUGQsG3GiTN0hwH9Eq51Ykni7iGLuC7_yTR4eUMI.cache +0 -0
  71. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/H3afg7oNWUiB0wp9pcfxQPQRhsrcHKjlpMl9Uf5uX9E.cache +1 -0
  72. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/HHMOGhWXSvXCl-EVYW-7KDHvPDtFFqCXuftS8EfK_js.cache +0 -0
  73. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/HV2pN2xOb3ncSR3qm0PzO0C_rghLt4pw_Cj94z7kSfU.cache +0 -0
  74. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/Hd-OhChgD8A3VO_JkyipVHZSHdEez2DNcPy99s57ruY.cache +1 -0
  75. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/HmWUVN5u0U9wfoFUfFy1Q069EdeoWmstLU0S_S1JuNc.cache +2 -0
  76. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/I22zKQrNL-OjFqxmiEKQW2dhJW4XEVuepodIaXd565s.cache +0 -0
  77. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/IH765ZL3RkMmCfiaSHaaw_GtAc9KqgDT199rrqBFn1Y.cache +0 -0
  78. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/IbfYFwyxmDbZKKyJJCGV6w_ogUxyA4HHiIZH5YEbHZs.cache +2 -0
  79. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/IgwnTQKTDY868oojQ4aBhUYHvDn-679fEeMgPEhnVCQ.cache +1 -0
  80. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/Ii87-3qdZvLI6tLTq8tDxVBlscauKYiMVru4S9pBID4.cache +1 -0
  81. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/JMSLQUC7_TVK3uWvPyZmkTDQNEdITwDACCcrXOaknKE.cache +2 -0
  82. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/JREetgOxL6L6XfpzCKUci-oBTsaF_DpyRVLGJIKKc64.cache +0 -0
  83. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/JdF5e7vQXKka9gR6KGlc0zg0b1k2Fh2-L3Z-jdMG3m0.cache +2 -0
  84. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/Jj25JTHjarPUq12QecnSr8Dpoa9kcKOC36HCY0CAYqw.cache +1 -0
  85. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/KF2t-AIX3uBB6-WEhSiqX_vWvUZ4x9g5a0KcsdvMLGQ.cache +2 -0
  86. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/KfVu5H5rV4xf62frs1nqKuikXyBw9gBxj9YSUGZ9MYE.cache +1 -0
  87. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/Kpj1OsM7Upm-P2oVW7mPiBeZdzGkMIPRQgDotCusC48.cache +1 -0
  88. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/LohputwD6mqDRcovV1mIfBa3uzDY8Cv4DV9jBDgU4A4.cache +1 -0
  89. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/MNMFhNP39bJDFt-0MqIMWC1fcaGOi_FEciJG0TKZKWs.cache +5 -0
  90. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/MQqyTwowqVVHEpK3Np_cfC4DjTMK7YA53A8kNSzBaMc.cache +44 -0
  91. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/MaDnt80NSXQYBny9Q5PkecyKpkKPFYUdOhz7LngpQjQ.cache +0 -0
  92. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/Mb_J2XR9wwsTg454b-Ea9ts3YYB_t-F9N_IBjXwMUsg.cache +1 -0
  93. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/Mvdjrpf9tUxVv5aBER9PkbeR4U4_WgP5v2svJ4H5bl0.cache +1 -0
  94. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/MwM13clfPVK6q3FV5-X7YwKS4bNqF4NzoYGemQw4Mos.cache +1 -0
  95. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/NficMaLniziZ0G2lKx9lqRxts_vY4G7e42mO9MxipbE.cache +0 -0
  96. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/No9G_eF-MJclzC29kBtzTTrNyZXcWhDMMDf6YevER-Y.cache +0 -0
  97. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/NyBUmdPP_W2BuG1Yb5q4yL6fxjn49zbrXmdVcZqGF64.cache +1 -0
  98. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/OAeWH532taIXiXWeKWTm8O3YJWph1WZAelpi16owZ-0.cache +1 -0
  99. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/OLT9XntAA4epGS37SpucHSpMoXg7S-3NgWcdlhkdEBY.cache +1 -0
  100. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/OYX6ZIo2_Eyt0SVtaHmg4fD3sEOuztNa3xEgAPZVH1M.cache +1 -0
  101. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/ObspaWz4j3PGy6frcmACxBC5ChWWgHSea0yz_urNlUo.cache +1 -0
  102. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/PJXsnWDy6pG1IsfEkIiJrsC7bmq33MqlDsXVLJxmiRE.cache +1 -0
  103. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/QCir7OmHGE_tMnrSwmJBVWKFPG4WYg07_PQFUcLms74.cache +2 -0
  104. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/QHwzLcPn2hM0HMsyBq1XUd0MAPJjOUygFDtGGwyojIc.cache +2 -0
  105. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/QI_33LGMJK5RZPFaiFDfEsWqPIUY6il3zOuRdah1gqI.cache +1 -0
  106. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/QJHO-ZaSuJDqLqMkfkp5t6B8hhkr5ESp-fFQOJzPUtw.cache +1 -0
  107. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/QRz3toc2mfCXY-L5P7y4xQY3BzOYakherHQETU2ZNAw.cache +0 -0
  108. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/Q_7K0_Rg7sFWpL2hPge3qspt5AxIxKA01si5Vn5Tp7E.cache +1 -0
  109. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/RGOcrHl4WVYjbmjVDFdFUIfwM0txg9Ucqg6_P3KQtKs.cache +0 -0
  110. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/S2P3NC_jxd9WZ17ivSCby6p6TB6ZP8DjGa9zATB92CE.cache +1 -0
  111. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/S8-X33f6SYZXrI9OmzbK8k8ilYcDAzqHFPpOKERe1aA.cache +1 -0
  112. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/SR8IkrpH6IMlTPcBbHqwo89mpra1teGCBlmv1fjfmC0.cache +1 -0
  113. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/Se0PLAYqAruFo62CQwHd8hxuywzb7VJp_jCx9DkY2zI.cache +44 -0
  114. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/SrahnmUY6Na5EfmnK-dPazNPAc3bkipeBs8hw7XNhRU.cache +2 -0
  115. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/SuCaEMp-4f0ctrwwgLBP-joh6fgSShlxCCaffKNVW-g.cache +0 -0
  116. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/T4A3QiY8rt9MULU3_Z0Hk7oRPHvLGgtpXJGgZ_r84FI.cache +1 -0
  117. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/TDnwOrSaUNTuDnnHfw_KEkzrTFIBat8ijuY7Bpwf8cg.cache +0 -0
  118. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/TZe_TAizejhnc-WnSa8qHbA_mmabvViPJcXOUAjrqsU.cache +35 -0
  119. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/U4rvgK1Y49UKTG7ZUwQDTcygmO9HRK-Swdr0qL2dVJQ.cache +0 -0
  120. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/UH3LkuNkjU6DQQsOtzAc1ICCZosrsxH_S18_ogxWg-c.cache +1 -0
  121. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/UL6X0Y7CUhFw40bHe2sQAAIlxNoz27yj-WLlvnhtUBs.cache +1 -0
  122. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/UeTIlny5byg_xlMHq_UROADq1JazpNVB4fTEVocqBV8.cache +0 -0
  123. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/Urkd9xpnHMKSf3fp9k6dSmTDTEZLZMIdrBA8Ovffh8E.cache +0 -0
  124. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/V61WpjDw2M0L_4qWaDP1UHdknFmeaJxf2458O7__hyc.cache +2 -0
  125. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/VMltu9epSo20qiPwrE86YJoT2pXfhRac1cuyYuRF0wo.cache +1 -0
  126. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/Vrm9PAL2FeTnWOgw5aYYN2DpMP1WY04ETYkGdvx9Dbg.cache +0 -0
  127. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/VzeHI-yFBy1fq2kA0auLI9efDjhDhlobL3E32RJCEDE.cache +44 -0
  128. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/W0H79_Up7X4b6ibyHsXz78fvQIPCp_2X0i952ORYZUM.cache +1 -0
  129. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/WAiVb-_T4YuqjG13TEp8lac6WWqWWWqoP4TTRf1RspE.cache +0 -0
  130. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/WVQZHQfA0Sbb_YO5NvHuJIhjKzv6dUG1FwOcpN3CHM4.cache +1 -0
  131. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/X-XasoI-dLYLxq86oPRev4bx6DisEjZSl6d0CZR5Sws.cache +2 -0
  132. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/XIIpi2NppMvza5ZEiZR_Khix7D8C-4FNo8wS_n-b89Q.cache +2 -0
  133. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/XbNmp2gwYCZboCQlXp-FgEdPa9ZHBcyCM2UNvYgF0qo.cache +0 -0
  134. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/XtBFY1-AMN-CJLpdhxuPmBk3PGsvQyX7-tBJoba1fio.cache +1 -0
  135. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/YUKaKgfC0kqTzt4PZhSPoqNfE6rNxL_GW5fXjfy0h5Q.cache +0 -0
  136. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/YfNI296YFiJkw9wcJo9oq2ZKbM2w8uaC8uQNXO5uZsw.cache +2 -0
  137. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/YrtBrx8uJytm8HLEZ6-fAvI72e1pJ-d2vmJ8jEcdw6Y.cache +1 -0
  138. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/YxQ2ygruq8PVFx8pwdFyxwLwZRPISVtYGxAeT4VvhpU.cache +0 -0
  139. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/ZA_49pS3v_P-lNyI0XWIOZ7rCClhUAM2Uc4EXFz8RvM.cache +0 -0
  140. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/ZYpySeXKbQRuZptwtXZnRa5OBxJJaP_-N3babEWluCU.cache +1 -0
  141. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/ZuOhmUwHmguX_54_oSgc3-00LsslulkdhUxtwEpsz04.cache +1 -0
  142. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/_-ZWzxIbNZMCx4RuvPuCv7KJfUlY12kRs5R8MwevqRw.cache +0 -0
  143. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/_33IckGaHOLvh0DVvBVL7X4iFfr8ncxIdBYs_fiJ_Os.cache +1 -0
  144. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/__2Wq8QGPOQ3W1pVmntwo128HOfa_17EaHWhYABSLNs.cache +0 -0
  145. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/_e3z1nxgsNF0rfZl4kH_MjdC2dYDvmBxAZhT8ljbdS8.cache +1 -0
  146. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/a5V2kYgIaCe-0b8aCijRI4gYaO2MYBpsKFVt73lqwzY.cache +1 -0
  147. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/a87YCTyEQvBw3wjORePjJLqVnHYM7QE4Pauakm9CaN8.cache +1 -0
  148. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/aPw98gYtVq2JI9Xukt6N3zxTIn6_n8AM93RyAGh1_3k.cache +2 -0
  149. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/adtgPOUjUI_pvPXICbnBd3jxkMuiXsiWaOWj7A_qiHg.cache +1 -0
  150. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/aicL6dKk8GoS8QfRDq-01o58tfAZu7AC4W01OgKG3RE.cache +1 -0
  151. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/asjJG7Rwx3GNsD8zshDMlcPJz_heKNqLRflocm4Dc-I.cache +1 -0
  152. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/avCLf6qdX4CTFqtdFB-xrth6EYVzXIWKcJ-KbizbG4A.cache +1 -0
  153. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/aviRhRkHs3Zmjq7KbI78AUdauKrkKvCT94Qa6EfciVM.cache +0 -0
  154. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/b9oVb6jiaKjW1GKNderNoKYdTHbO9cangmkQwmjYXZE.cache +0 -0
  155. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/bE4p8KSf5PnCr_oeHPc3Rmd7gS2acbUAYUZBg_IfUBA.cache +1 -0
  156. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/bG_aaeYWrwbBziQfpFhVwsnY30ekKRye4kXnfyEG0IA.cache +1 -0
  157. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/beytrqLrYGnGS-NMlSz_7sP8f_lO_bzWfv5qXG2mpiw.cache +1 -0
  158. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/bjSOSfj8j1DKf-_bebibg_mgClUUJYPb-nxY39NXmOc.cache +1 -0
  159. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/c7AxXLkoQtPZJD92kh2_NfRa03SgSw8LoYcYOaSITO8.cache +2 -0
  160. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/cHteR34qEbVqQCcSdekTQqE92OtI5Npobcs1w802RsI.cache +1 -0
  161. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/cl8GH3qb_MUT1SlcoG1McdPQAZ19KrfCzBCd6H9XQjs.cache +0 -0
  162. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/cpFtvcsVXwqljQ201lSHZ3P2YyuoLTgcQAMIKBH2Jmo.cache +2 -0
  163. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/dHxMmOg0uJo_9h9RbqNYAcY7F8ZRA0vc6345IAZ-gUg.cache +1 -0
  164. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/dqLCWN3co5CnUEmKbKWg41yg1FxJqr1m0Jr991-OCQE.cache +2 -0
  165. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/dtalhsUq7eu_p54murxPqG986EEQtlE9MvSnVPqf-dM.cache +1 -0
  166. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/eC2smRhNoujzMt40OhOqgWZN7xkSMP8yg-PuY6maryo.cache +0 -0
  167. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/eGwT7UuDdETzIJYyrKjJibgpngYLcySn-WSsyhCP7C0.cache +0 -0
  168. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/eJr9cGR4XjLJIDP9P2vewH5wunciS1VyacE3vSOP9FE.cache +2 -0
  169. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/eV8j-M3O3zr0fHcpDLre7zss8mYFoflGuTPNlKeVIoY.cache +1 -0
  170. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/eZpndDjLSASvwtPEFeRL384wL3xxdFIhi8898TdkMR0.cache +0 -0
  171. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/enIQHfUEbIX2iEDtBrCp2p-mTVwe8qgGYHte9rR7CoM.cache +2 -0
  172. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/erttoYRc7i3lZjo87UaK9bgbkXMORw50vhHmXDp7kPI.cache +1 -0
  173. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/fiIkteVEFJLaFg-WTOs3ft3UQKVKrRCKdHFn3fwR2I0.cache +1 -0
  174. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/fkjzAvg7EG-B3n-NaSGIyuis-EOlvDeCrRHpn68RMZg.cache +1 -0
  175. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/flZ7i6VaUiyEZcmXwVqJKmlty_lwnABmr013CrEv7mY.cache +0 -0
  176. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/fx2Rl-SWpk7l-8YL1aPrl_KAB71xwezgSd6JawhZcLc.cache +0 -0
  177. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/gJ-apkrYgWbHBBJxnTmKI49Cf4TvjtXw3qYf51y8oVo.cache +0 -0
  178. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/gKzLa4Mn_VsW1uzY4XSP0CjvHJeJq_eyFbCk4hlrXj8.cache +52 -0
  179. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/haDlisZ5TYDZYo3GXpelCeqgbCqwoJuMolmazVEGaQg.cache +1 -0
  180. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/huQYzOMWmY59WCXCbnFnMhohmxKxXWr9AkZDEinMSLo.cache +1 -0
  181. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/iJjYYJk0thA2Sr69BqFLswUD7L1yLlY-Bpb59veIqr8.cache +39 -0
  182. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/ibfNOO5ZDlYGt7IAAcnSbWgAxQNvmg1tFuga2Rp9DA8.cache +1 -0
  183. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/jeaSaDuZ1NyNcCYGTnh6ZLKPwuIigO1zxH3B5I2fcUs.cache +0 -0
  184. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/k1rrOiMpIaUrJp8gedCXg-kO9cNJHZrBxI_HxU-XJSo.cache +1 -0
  185. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/k37ROZghP45aFSJhRkyQOHzzNhM50g8d8I4RyJi0zt4.cache +1 -0
  186. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/kWiR8UDkuMAUMtL799Z_XJRFASOLiTBJbDq0HSjRtXU.cache +2 -0
  187. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/kXqpOb58wfwf09Q-3poSoc-v7y4NfJJ9xoz4N3Lbmc0.cache +0 -0
  188. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/k_sqQaCWg5QDxoq-kSbdLK_vGsNGPcG2OeA8o7mPxI0.cache +2 -0
  189. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/leNjOaOD2X72aaeaYmQ4heu3TTkU86tWDV2YRcvpQaM.cache +0 -0
  190. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/lgxM0bOmfFj7IJigELNAykpSP-m4_GJ3JE9vVnZm8bI.cache +1 -0
  191. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/lkr4zUog6zRTywbmSB9hIBDu2RektoCjc0mCalcgw5k.cache +1 -0
  192. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/miZ80WSVgAqyMAsV_RK3it6hBaYRvOk2ZYuzNH6kcl4.cache +1 -0
  193. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/nSubQFWK8wmuka0cXh29CVqelLkFp0ufaYyB16OnjPY.cache +2 -0
  194. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/nWdqrCQSP6coYbehOJNH_eWEJwb4463W4lLJ7GaQ0Rk.cache +1 -0
  195. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/neCE2CflnuQ4Pyf9YYycEWxmRTEWPUotF9LDnhE2M7Q.cache +2 -0
  196. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/nmv4KSAt8PJKvGZyA2NdKHBpJosg2_4LUsmpFQDnCnc.cache +1 -0
  197. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/o8KvI-Z87WT_Ulrpewwh7_Wunn8Tx9Hr6wZwq6_wvqE.cache +0 -0
  198. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/p9-yZGx_kSXdfZKVd_Sixzmy65zR9KY1CACVyRcvBpc.cache +2 -0
  199. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/pIfC4DKPO6bfB6-3l5B9eGDKXICPTCJ4vif84-kA8ao.cache +1 -0
  200. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/pMTgTNOGKiczCykyelqzCPYoB78Lz12FEbRgLAEfQF0.cache +1 -0
  201. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/pWoLWneLRjJFGG1DFml7AAy4716dGsmcbRB4SijF4mo.cache +44 -0
  202. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/pXbs5au8-9Bm-VQJ2TgJx5E2-9Id4DyuKhBtFOjRruc.cache +41 -0
  203. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/pg-kRiYIB4_M93P3XEis-5D5qH3JGb2OxuxVjNWgysU.cache +1 -0
  204. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/pn_hETPedZY35I1fPCfd2qdh4sOQo9q08pBjzAl_970.cache +0 -0
  205. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/qAbbtcA-t-enE__g3YTt0vpbq9q2NKbk9BHGMCVmTIY.cache +1 -0
  206. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/qZOCoyPwzILsRimyxRU6-BXdl5BhzEUvg0YS39PDgkg.cache +0 -0
  207. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/qlk63Aq6VNPfG8ziuutuD9h1h-uSjxX885kbZrW9sTA.cache +0 -0
  208. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/qokK1pM2lyeHAcaKINH5smVnCw0jgwwfjUjfqQeeuWE.cache +1 -0
  209. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/qwEL_zUFqHuLWOo4gkifLF9wh39dw38Vr8b3uHACnps.cache +0 -0
  210. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/rS0mgYwoRVqOwd6lJ6j_qjJNJ7SY3wKqfFGTL1HlV-8.cache +0 -0
  211. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/rbdjWhwkH7zfx0YZZIAyiKzhfIQXw6Q6In3gLEJ_LkI.cache +1 -0
  212. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/rcL8AkPKHPE-p6Kmgl_aJNXtQLZ4g71d06rFceWMxVg.cache +0 -0
  213. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/syZpq1s4xFwbmjkTZHvEhf_xNWtxiojdIBRVyTQmxVI.cache +3 -0
  214. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/t_u6ka8iFUn3a1B65F7aYqd6JIMoPj9LOu47s9VTUwo.cache +2 -0
  215. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/u2kqSGJFVI2p7nTzzDyNYZqIqdxg3lkknB3e9KVoPXM.cache +1 -0
  216. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/uXFfAv9Ujxov40UPKNkQXBDLF-FzKdchoi3-MO75ZCg.cache +39 -0
  217. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/udnHEpFxr8piFWBw5xAfdw00Sknj-NHtwN1ccjrj1WQ.cache +1 -0
  218. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/vAa4Pt5dWkcHXT-5GnlFZeUvFmQDvyKti6k7UEwsZFo.cache +44 -0
  219. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/w3eujGZxIMrX7VbVVuUs62PkAgcSzySK-nIPnJ8YJUk.cache +1 -0
  220. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/wIjs4KyUCWlyqhCUmHvml8UAlrJNPIgaaG3lQh2nk34.cache +1 -0
  221. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/wTEdob71di1KWd6_YPqlh3xVjcwBzYLcOqbRgpByJ28.cache +0 -0
  222. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/wUQyUhD6-jywkralJxoIk712aN2WtYKIV3nozk8WzG4.cache +0 -0
  223. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/wWxRRpV1InZtIu90x0vlVcfQpheWg0294bIyYg4Z8aI.cache +1 -0
  224. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/wiRhyHvGKoEtfIoREwXdvqZ88EruBeNG72hHsWKa_oE.cache +2 -0
  225. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/woWEEkTC855VeYHx2ZgZI9JjjxKc0T888Qz-7vafXMM.cache +0 -0
  226. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/x1dn8FfqUfq3nOfvx0NS1iK2TVMurgu052y7zd7m-bk.cache +0 -0
  227. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/x3w-41aj1z9JqqiSZcpmHVXvytYYx74weyLuVCqsD1g.cache +1 -0
  228. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/x6HXqpI0z4ihwxoM4eMgwuTXw58vOMsADCNEz-eg1L0.cache +0 -0
  229. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/xV2NiHdXwF68xS_G0l-xLH9_xczqxnCJyxygALHvkbA.cache +0 -0
  230. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/xgDntFm-0RlOtzGL4en4QAuWqk2HzGecclppulKhnfg.cache +1 -0
  231. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/xgXUmK_DNdb_ZyY8fkkdd2vwxQEN4IpLNU0-TS0-rL8.cache +0 -0
  232. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/yc1mceqXomLE2ia-O8EZJADMRPReJqoJPIKlGMYN3go.cache +1 -0
  233. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/yeHZFzDmNTZmwXeZVEWsk1GrtJOsMLnWG86qnyG4DHs.cache +0 -0
  234. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/ziEGPJGG0CawoqUYTQ5MGtDLw_w12wMcr91QsgxsKPo.cache +2 -0
  235. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/zoi1IkiM40sW4P03nGb-93ZsXawo7JMe-iv4bFglTSE.cache +0 -0
  236. metadata +478 -2
  237. data/app/assets/stylesheets/scaffold.css +0 -56
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 7249c867c2b38ebe0db142c5a2f40a34a31a3037
4
- data.tar.gz: 7c3491e2863c5d9413ec9862b51e08fed86ed120
3
+ metadata.gz: 81f8c3b611c471c16db356c1dcaf711c1e7e4753
4
+ data.tar.gz: 119bd8c8b0521e17d44d10471a98a95f54e14e04
5
5
  SHA512:
6
- metadata.gz: 40b9a85972ff97896d2e8f7855f7d21170058eb1f50e360362c0670cd3134a026f37dceb087838bb90ba1b60b43632ddee15a483980b760eabacc3c9c976209d
7
- data.tar.gz: d649be7a191c8846a3fe8a96b293ec9d48bd72a690c96108834365173a3bd6066c49c0a343f56895f6f332937a235dc4439e7448f1dde7ff7f190bf5b45f8a9d
6
+ metadata.gz: 202c885cdfb56d42ea6d127d81b4ebfb7174f85930cb532d2da739481b563a91aa0c0691e98368e93c5e62d8051053c16102fe8e92d81f1ad3f497f9d227203c
7
+ data.tar.gz: ff1c6d54bdb7d5092f6d706b86a1fc1b6145429d1365b05bafb9689d0f3a41a83cfd414540a14f05043e55c03098e8263836b8621c2acaa7a88790314cd1ce7b
@@ -4,13 +4,27 @@
4
4
 
5
5
 
6
6
  angular.module('todoRails.controllers').controller 'todoCtrl', [
7
- '$scope', 'Restangular'
8
- ($scope, Restangular) ->
7
+ '$scope', 'Restangular', '$mdDialog',
8
+ ($scope, Restangular, $mdDialog) ->
9
9
  todos = Restangular.all('tasks')
10
10
 
11
11
  $scope.saveTodo = (todo) ->
12
12
  todo.save()
13
13
 
14
+ $scope.deleteItem = (todo, ev) ->
15
+ confirm = $mdDialog.confirm()
16
+ .parent(angular.element(document.body))
17
+ .title('Вы действительно хотите удалить запись?')
18
+ .ariaLabel('Вы действительно хотите удалить запись')
19
+ .ok('Да')
20
+ .cancel('Отмена')
21
+ .targetEvent(ev)
22
+
23
+ $mdDialog.show(confirm).then ->
24
+ todo.archieved = true
25
+ todo.save()
26
+ $scope.reload()
27
+
14
28
  $scope.reload = ->
15
29
  $scope.todos = todos.getList().$object
16
30
 
@@ -18,7 +32,6 @@ angular.module('todoRails.controllers').controller 'todoCtrl', [
18
32
 
19
33
  $scope.addTodo = ->
20
34
  todo =
21
-
22
35
  title: $scope.todoText
23
36
  completed: false
24
37
  todos.post todo
@@ -28,6 +41,11 @@ angular.module('todoRails.controllers').controller 'todoCtrl', [
28
41
  $scope.remaining = ->
29
42
  count = 0
30
43
  angular.forEach $scope.todos, (todo) ->
31
- count += if todo.completed then 0 else 1
44
+ count += if todo.completed || todo.archieved then 0 else 1
45
+ count
46
+ $scope.count = ->
47
+ count = 0
48
+ angular.forEach $scope.todos, (todo) ->
49
+ count += if todo.archieved then 0 else 1
32
50
  count
33
51
  ]
@@ -4,210 +4,174 @@
4
4
 
5
5
  @import url(http://fonts.googleapis.com/css?family=Roboto:400,300,400italic,500,700&subset=latin,cyrillic);
6
6
 
7
-
8
7
  html,
9
- body
10
- {
11
- font-family: 'Roboto', sans-serif;
12
- font-size: 14px;
13
-
14
- height: 100%;
15
- margin: 0;
16
- padding: 0;
8
+ body {
9
+ font-family: 'Roboto', sans-serif;
10
+ font-size: 14px;
11
+ height: 100%;
12
+ margin: 0;
13
+ padding: 0;
17
14
  }
18
- ul
19
- {
20
- list-style: none;
21
- }
22
-
23
- /* Toolbar area */
24
-
25
- .menu
26
- {
27
- position: absolute;
28
- top: 0;
29
- left: 0;
30
15
 
31
- width: 36px;
32
- height: 38px;
33
- margin: 16px;
34
-
35
- border: none;
36
- background-color: transparent;
16
+ ul {
17
+ list-style: none;
37
18
  }
38
19
 
39
- md-toolbar h1
40
- {
41
- position: relative;
20
+ /* Toolbar area */
42
21
 
43
- margin: auto;
22
+ .menu {
23
+ position: absolute;
24
+ top: 0;
25
+ left: 0;
26
+ width: 36px;
27
+ height: 38px;
28
+ margin: 16px;
29
+ border: none;
30
+ background-color: transparent;
44
31
  }
45
32
 
46
- @media (min-width: 800px)
47
- {
48
- #mainBody
49
- {
50
- width: 800px;
51
- }
33
+ md-toolbar h1 {
34
+ position: relative;
35
+ margin: auto;
52
36
  }
53
37
 
54
- @media (max-width: 799px)
55
- {
56
- #mainBody
57
- {
58
- width: 100%;
59
- }
38
+ @media (min-width: 800px) {
39
+ #mainBody {
40
+ width: 800px;
41
+ }
60
42
  }
61
- #mainBody
62
- {
63
- min-width: 340px;
64
- }
65
-
66
43
 
67
- md-content
68
- {
44
+ @media (max-width: 799px) {
45
+ #mainBody {
69
46
  width: 100%;
47
+ }
70
48
  }
71
- .listHeader
72
- {
73
- color: grey;
49
+
50
+ #mainBody {
51
+ min-width: 340px;
74
52
  }
75
- /* Sidenav area */
76
53
 
77
- md-list .md-button
78
- {
79
- font-weight: 500;
54
+ md-content {
55
+ width: 100%;
56
+ }
80
57
 
81
- width: 100%;
58
+ .listHeader {
59
+ color: grey;
60
+ }
82
61
 
83
- text-align: left;
62
+ /* Sidenav area */
84
63
 
85
- color: inherit;
86
- }
87
- md-list .md-button.selected
88
- {
89
- color: #03a9f4;
64
+ md-list .md-button {
65
+ font-weight: 500;
66
+ width: 100%;
67
+ text-align: left;
68
+ color: inherit;
90
69
  }
91
70
 
92
- md-sidenav md-list
93
- {
94
- padding: 0 0 8px 0;
71
+ md-list .md-button.selected {
72
+ color: #03a9f4;
95
73
  }
96
74
 
75
+ md-sidenav md-list {
76
+ padding: 0 0 8px 0;
77
+ }
97
78
 
98
79
  /* Primary content area */
99
80
 
100
- #content
101
- {
102
- overflow: hidden;
81
+ #content {
82
+ overflow: hidden;
103
83
  }
104
84
 
105
- #content
106
- {
107
- padding-top: 5px;
108
- padding-right: 40px;
109
- padding-left: 40px;
85
+ #content {
86
+ padding-top: 5px;
87
+ padding-right: 40px;
88
+ padding-left: 40px;
110
89
  }
111
90
 
112
- #content .md-button.share
113
- {
114
- position: absolute;
115
- top: 10px;
116
- right: 25px;
117
-
118
- width: 48px;
119
- height: 48px;
120
- margin: 8px auto 16px 0;
121
-
122
- border: none;
123
- background-color: transparent;
91
+ #content .md-button.share {
92
+ position: absolute;
93
+ top: 10px;
94
+ right: 25px;
95
+ width: 48px;
96
+ height: 48px;
97
+ margin: 8px auto 16px 0;
98
+ border: none;
99
+ background-color: transparent;
124
100
  }
125
101
 
126
- #content md-icon.avatar
127
- {
128
- margin-top: 10px;
102
+ #content md-icon.avatar {
103
+ margin-top: 10px;
129
104
  }
130
105
 
131
- #content .md-button.share > md-icon
132
- {
133
- width: 36px;
134
- height: 36px;
135
-
136
- fill: black;
106
+ #content .md-button.share > md-icon {
107
+ width: 36px;
108
+ height: 36px;
109
+ fill: black;
137
110
  }
138
111
 
139
- md-button.menuBtn > md-icon
140
- {
141
- width: 24px;
142
- height: 24px;
143
-
144
- fill: white;
112
+ md-button.menuBtn > md-icon {
113
+ width: 24px;
114
+ height: 24px;
115
+ fill: white;
145
116
  }
146
117
 
147
- #content .md-button.share:active > md-icon
148
- {
149
- padding: 4px;
150
-
151
- transition: all 100ms ease-out 30ms;
152
-
153
- border-radius: 75%;
154
- background-color: #dadada;
118
+ #content .md-button.share:active > md-icon {
119
+ padding: 4px;
120
+ transition: all 100ms ease-out 30ms;
121
+ border-radius: 75%;
122
+ background-color: #dadada;
155
123
  }
156
124
 
157
- #content img
158
- {
159
- display: block;
160
-
161
- max-width: 500px;
162
- height: auto;
125
+ #content img {
126
+ display: block;
127
+ max-width: 500px;
128
+ height: auto;
163
129
  }
164
130
 
165
131
  /* Utils */
166
132
 
167
- .content-wrapper
168
- {
169
- position: relative;
133
+ .content-wrapper {
134
+ position: relative;
170
135
  }
171
136
 
172
137
  /* Typography support coming in 0.8.0 */
173
138
 
174
- md-toolbar h1
175
- {
176
- font-size: 1.250em;
177
- font-weight: 400;
139
+ md-toolbar h1 {
140
+ font-size: 1.250em;
141
+ font-weight: 400;
178
142
  }
179
143
 
180
- .avatar
181
- {
182
- position: relative;
183
-
184
- display: inline-block;
185
- overflow: hidden;
186
- zoom: .70;
187
-
188
- width: 128px;
189
- height: 128px;
190
- margin: 0;
191
-
192
- -webkit-transform: scale(.70);
193
- -moz-transform: scale(.70);
194
- transform: translateZ(0);
195
- vertical-align: middle;
196
-
197
- border: 1px solid #ddd;
198
- border-radius: 50%;
144
+ .avatar {
145
+ position: relative;
146
+ display: inline-block;
147
+ overflow: hidden;
148
+ zoom: .70;
149
+ width: 128px;
150
+ height: 128px;
151
+ margin: 0;
152
+ -webkit-transform: scale(0.7);
153
+ -moz-transform: scale(0.7);
154
+ transform: translateZ(0);
155
+ vertical-align: middle;
156
+ border: 1px solid #ddd;
157
+ border-radius: 50%;
199
158
  }
200
159
 
201
-
202
- md-bottom-sheet md-icon
203
- {
204
- margin-right: 20px;
160
+ .done-true {
161
+ text-decoration: line-through;
162
+ color: #808080;
205
163
  }
206
164
 
207
- span.name
208
- {
209
- font-size: 1.1em;
210
- font-weight: bold;
165
+ md-bottom-sheet md-icon {
166
+ margin-right: 20px;
167
+ }
211
168
 
212
- padding-left: 5px;
169
+ span.name {
170
+ font-size: 1.1em;
171
+ font-weight: bold;
172
+ padding-left: 5px;
213
173
  }
174
+
175
+ md-list .md-button.text-center {
176
+ text-align: center;
177
+ }
@@ -29,7 +29,7 @@ module TodoRails
29
29
  # PATCH/PUT /tasks/1
30
30
  def update
31
31
  if @task.update(task_params)
32
- head :no_content
32
+ render json: @task
33
33
  else
34
34
  render json: @task.errors, status: :unprocessable_entity
35
35
  end
@@ -49,7 +49,7 @@ module TodoRails
49
49
 
50
50
  # Only allow a trusted parameter "white list" through.
51
51
  def task_params
52
- params.permit(:title, :completed, :row_order, :priority, :comment)
52
+ params.permit(:title, :completed, :row_order, :priority, :comment, :archieved)
53
53
  end
54
54
  end
55
55
  end
@@ -10,6 +10,10 @@
10
10
  +
11
11
  %div
12
12
  .listHeader{ flex: '', layout: '', 'layout-align' => 'end end' }= @config['remaining_label']
13
- %ul
14
- %li{ 'ng-repeat' => 'todo in todos' }
15
- %md-checkbox{ 'aria-label' => 'Todo Checkbox', 'ng-model' => 'todo.completed', 'ng-change' => 'saveTodo(todo)' } {{todo.title}}
13
+ %md-list
14
+ %md-list-item{ 'ng-repeat' => 'todo in todos | filter:{"archieved": false}:true' }
15
+ %md-checkbox{ 'aria-label' => 'Todo Checkbox', 'ng-model' => 'todo.completed', 'ng-change' => 'saveTodo(todo)'}
16
+ %p{class: "done-{{todo.completed}}"} {{todo.title}}
17
+ .md-secondary
18
+ %md-button.md-raised.md-warn.text-center{'ng-click' => 'deleteItem(todo, $event)'} x
19
+ %md-divider{ 'ng-if' => '!$last' }
@@ -0,0 +1,5 @@
1
+ class AddArchievedToTasl < ActiveRecord::Migration
2
+ def change
3
+ add_column :todo_rails_tasks, :archieved, :boolean, null: false, default: false
4
+ end
5
+ end
@@ -2,7 +2,10 @@ module TodoRails
2
2
  class Engine < ::Rails::Engine
3
3
 
4
4
  require 'bower-rails'
5
-
5
+ require 'haml'
6
+ require 'haml-rails'
7
+ require 'sass-rails'
8
+ require 'coffee-rails'
6
9
 
7
10
  isolate_namespace TodoRails
8
11
 
@@ -1,3 +1,3 @@
1
1
  module TodoRails
2
- VERSION = "0.1.5"
2
+ VERSION = "0.1.6"
3
3
  end
@@ -0,0 +1,3 @@
1
+ title: 'TODO'
2
+ add_label: 'Add tasks'
3
+ remaining_label: '{{remaining()}} of {{count()}} remaining'
Binary file
@@ -11,7 +11,7 @@
11
11
  #
12
12
  # It's strongly recommended that you check this file into your version control system.
13
13
 
14
- ActiveRecord::Schema.define(version: 20150729111534) do
14
+ ActiveRecord::Schema.define(version: 20150729191440) do
15
15
 
16
16
  create_table "todo_rails_tasks", force: :cascade do |t|
17
17
  t.string "title"
@@ -19,8 +19,9 @@ ActiveRecord::Schema.define(version: 20150729111534) do
19
19
  t.integer "row_order"
20
20
  t.integer "priority"
21
21
  t.text "comment"
22
- t.datetime "created_at", null: false
23
- t.datetime "updated_at", null: false
22
+ t.datetime "created_at", null: false
23
+ t.datetime "updated_at", null: false
24
+ t.boolean "archieved", default: false, null: false
24
25
  end
25
26
 
26
27
  end