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.
- checksums.yaml +4 -4
- data/app/assets/javascripts/todo_rails/controllers/todoCtrl.coffee +22 -4
- data/app/assets/stylesheets/todo_rails/application.css.scss +115 -151
- data/app/controllers/todo_rails/tasks_controller.rb +2 -2
- data/app/views/todo_rails/index/index.haml +7 -3
- data/db/migrate/20150729191440_add_archieved_to_tasl.rb +5 -0
- data/lib/todo_rails/engine.rb +4 -1
- data/lib/todo_rails/version.rb +1 -1
- data/test/dummy/config/todo-rails.yml +3 -0
- data/test/dummy/db/development.sqlite3 +0 -0
- data/test/dummy/db/schema.rb +4 -3
- data/test/dummy/log/development.log +3563 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/-2HoDl0cMgAzlUjw-cPJfzSg-o3gjkT3sBUJWZ9E-Gk.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/-LKZ4ZMUszi1BAZniq5NHjLYnuU01FiWqvG9UKsLGTU.cache +44 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/-XxFkN_2_DBp2DVlmy4gf0kaaxeYdrDXmwT_pEUJIyQ.cache +2 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/-uhwfpY9pDRUodkYa9fzE0df-DixZiuLaBDabI04PGw.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/0Ou3IGnkCVcb95beBjcvMk0RI3LtlRPLHQSdYjafVro.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/0PbKIs-PfBMWjnR_83GtIXUzGhqf2lBhoVisnYdPQG0.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/0oO0sP9ngQ5HR7l5KK-HgWZ0CWdZ6iNVj8N2oLipycE.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/129TaJQL2WequeN5spXWbt4MoLZ1AIpEjz11vg7tZrU.cache +2 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/1_TzeO4nNjOAQVG-BZjPpUW5GbybUEP88fBdSWP_yFE.cache +2 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/1kjTvNpQdCHTVQcT5s2QLPkD16iaYKqukis_OxHNzEQ.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/2G7S6-AWI2nlfmYNn1NhGacikLAZCXpyGjKZ593uXW0.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/2LrhxLPaWQA-TbnjTlAUM7xCLnhpiuKhyiqpZeBIoUE.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/2_NDD_ncDI90DmmJk5VKTHw5hWi4wh-QYwTb2e2iorA.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/3mXBaBjqPAkj-42uGhQKVVgAUkBfKgJdSQ5cBjjBqws.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/3pM8PcrgbY_owIPEx6dW2D1BcQwS9pCPwtXGOClVJJA.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/40xEJflbR6N4NJerSck5_i1G4vaR4DwKaH_IA8qnXZw.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/45R23yR2VKiOdmXwmMec_Teo-NtAU2p6USrMbXdPS-s.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/4RL24DEe9IN9SFTfCtXB1hnPqG8rBhH6todE5H1Rocs.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/4u7AzlvwQpfBxhtS7wVqPjA_FajoV8oZbnbfmv1X1c0.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/52Jsj78XV1sgP4I6fnq9KAvPUiwWt1Pd6tWfqsiIOqY.cache +2 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/55luf1ZQY8MGoK82GjEhD0VWUgy2BlcoRQ1Eza4J7WY.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/5CK1g3Tks6ROx2l2VqyXZVab3sA5CiqSkzzd275zhCw.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/5SP1AgMzcFhKZyoUOridQmlQB4yxzrw4Zjej_tOQtDw.cache +2 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/5irEt9_0nfWO2KP9XbpfM6gVyih3I-pTzPjlO6AdeUA.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/61AqU-jRcqFj7uhpdp87XmUD9ehFbpxmBJ_hg4QHFU8.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/6K0AAM3Ag1M3V9qeceRRtatmBzlIuqPcb-q6RZvJDoU.cache +2 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/7KdmYefytbrqrNygv8ZbFq-zOO1YepajpT49SYWKlgw.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/7R1QXKq45le5CzPtPbTeVkIBIMVA4C5FCEXZsxa0AUM.cache +2 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/7Soje_AIFga4vtKqqj4LDs-lPis0csn-OFuSaOtn5Lg.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/7akj5vp8NXnm_g_POJQA7JMX0C2xWmFLctshH0YUpBQ.cache +2 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/7cehITYSmsa96xTjWOyDdEN7aAtjmRu9w163B5S6CGM.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/7hhcEAClnCVGOT0R8hWCCiyutQ2ZWMVHKFw2-wX91u8.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/8MdMF6rvTa3zXjoVzpetAxWs811K8A9XLR6lf4K6xOI.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/8SM_eh-SxJK8eLER2G8htRMapkh7CvzUi5GHZZtzIDU.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/8b0XU-3Q9J0Z9N4dCtvI7nVGk3YnN0XSm3iw6bkY-kM.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/9DJJVgvSf5q8GQ1rN93v1kLuMjyYYc4OEZ18GnYi1eQ.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/9i8bvLtnngY0YpGYqtr2mx8HgkQj6-Sq41nOrj75vCs.cache +2 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/ACxl0ovjcTNXyEY8TU-qWwcR5ZC8e5ZL5xLiB4Sah4U.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/AZd6zFGlPB5mJ0Q_TeWQbTa0_OocH5w6T6vAJdcB2hs.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/Ah666OllDBIkwQgZPRCttQ82chq2JNvIeCRv4hWFyM8.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/B-q__babxNsbsZLNtoBc1lEGBo-Fn4HWQ2JpN49zF0k.cache +2 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/B2l_WHdBeKQJSKyEe38wdR9g6hMTMWRbWSydAW2hfVk.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/Ba10Muwn1C4o_Ba3pEqqjf66GEi9jGr1KF5VfHANLPQ.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/C0-2U8unFKQdiuWmC5eAgxGRWpqs4UWgAqTcyDFM2aE.cache +2 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/ClIkSkf66blqVDMkVERF7mxjzxy7GmHjR7I0v5BCjl4.cache +15 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/E9S11GL7u8I1YJr_76HBWWv6tHMBikfuCq78YcS3FtQ.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/EBO5p2MlVh2M9LWmyOVXTivuHXkXfPX_MmoL3v2MEBA.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/EXzup3c2KIEviL3MEVE4DnrsOwgLveEyRzxjN1SCV2s.cache +2 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/Edf1Yya2Y2bGCimbTEpyI07miDlRc4x_1xovs1PxC20.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/F3AgbPP__8zjYANAof1LWYhVc4EVWIvIvjCMxjrmZdI.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/FLYZrk7Q76sOUsvuHA3rlFjP0LefZaDGEldqivHnZNg.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/Fdh5Fg4ypsyyD_dSQHcyGZt3HgaHYw1Q0rtR8LUCS9o.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/G1RQLh14LSR4zYDfLyUgFY0BR-9t4Hs3jfwZ5lK6LuQ.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/GOUJcdcamVV4c1ohah243JBfxkgcPVS2jIAnISESseY.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/GP54K50FqknnZb6CyGiaiByQmdA8wl1g5Ky61-d0RRk.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/GTSkabLpsawLDzEMX4mN5ySHMdetigmAy7fCzTPYNO0.cache +2 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/GZIlNYLG6DCVzPmptcHadQBETQ4Xr1pL45NPbFItEU8.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/GtYFUGQsG3GiTN0hwH9Eq51Ykni7iGLuC7_yTR4eUMI.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/H3afg7oNWUiB0wp9pcfxQPQRhsrcHKjlpMl9Uf5uX9E.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/HHMOGhWXSvXCl-EVYW-7KDHvPDtFFqCXuftS8EfK_js.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/HV2pN2xOb3ncSR3qm0PzO0C_rghLt4pw_Cj94z7kSfU.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/Hd-OhChgD8A3VO_JkyipVHZSHdEez2DNcPy99s57ruY.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/HmWUVN5u0U9wfoFUfFy1Q069EdeoWmstLU0S_S1JuNc.cache +2 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/I22zKQrNL-OjFqxmiEKQW2dhJW4XEVuepodIaXd565s.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/IH765ZL3RkMmCfiaSHaaw_GtAc9KqgDT199rrqBFn1Y.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/IbfYFwyxmDbZKKyJJCGV6w_ogUxyA4HHiIZH5YEbHZs.cache +2 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/IgwnTQKTDY868oojQ4aBhUYHvDn-679fEeMgPEhnVCQ.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/Ii87-3qdZvLI6tLTq8tDxVBlscauKYiMVru4S9pBID4.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/JMSLQUC7_TVK3uWvPyZmkTDQNEdITwDACCcrXOaknKE.cache +2 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/JREetgOxL6L6XfpzCKUci-oBTsaF_DpyRVLGJIKKc64.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/JdF5e7vQXKka9gR6KGlc0zg0b1k2Fh2-L3Z-jdMG3m0.cache +2 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/Jj25JTHjarPUq12QecnSr8Dpoa9kcKOC36HCY0CAYqw.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/KF2t-AIX3uBB6-WEhSiqX_vWvUZ4x9g5a0KcsdvMLGQ.cache +2 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/KfVu5H5rV4xf62frs1nqKuikXyBw9gBxj9YSUGZ9MYE.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/Kpj1OsM7Upm-P2oVW7mPiBeZdzGkMIPRQgDotCusC48.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/LohputwD6mqDRcovV1mIfBa3uzDY8Cv4DV9jBDgU4A4.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/MNMFhNP39bJDFt-0MqIMWC1fcaGOi_FEciJG0TKZKWs.cache +5 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/MQqyTwowqVVHEpK3Np_cfC4DjTMK7YA53A8kNSzBaMc.cache +44 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/MaDnt80NSXQYBny9Q5PkecyKpkKPFYUdOhz7LngpQjQ.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/Mb_J2XR9wwsTg454b-Ea9ts3YYB_t-F9N_IBjXwMUsg.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/Mvdjrpf9tUxVv5aBER9PkbeR4U4_WgP5v2svJ4H5bl0.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/MwM13clfPVK6q3FV5-X7YwKS4bNqF4NzoYGemQw4Mos.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/NficMaLniziZ0G2lKx9lqRxts_vY4G7e42mO9MxipbE.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/No9G_eF-MJclzC29kBtzTTrNyZXcWhDMMDf6YevER-Y.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/NyBUmdPP_W2BuG1Yb5q4yL6fxjn49zbrXmdVcZqGF64.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/OAeWH532taIXiXWeKWTm8O3YJWph1WZAelpi16owZ-0.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/OLT9XntAA4epGS37SpucHSpMoXg7S-3NgWcdlhkdEBY.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/OYX6ZIo2_Eyt0SVtaHmg4fD3sEOuztNa3xEgAPZVH1M.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/ObspaWz4j3PGy6frcmACxBC5ChWWgHSea0yz_urNlUo.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/PJXsnWDy6pG1IsfEkIiJrsC7bmq33MqlDsXVLJxmiRE.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/QCir7OmHGE_tMnrSwmJBVWKFPG4WYg07_PQFUcLms74.cache +2 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/QHwzLcPn2hM0HMsyBq1XUd0MAPJjOUygFDtGGwyojIc.cache +2 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/QI_33LGMJK5RZPFaiFDfEsWqPIUY6il3zOuRdah1gqI.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/QJHO-ZaSuJDqLqMkfkp5t6B8hhkr5ESp-fFQOJzPUtw.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/QRz3toc2mfCXY-L5P7y4xQY3BzOYakherHQETU2ZNAw.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/Q_7K0_Rg7sFWpL2hPge3qspt5AxIxKA01si5Vn5Tp7E.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/RGOcrHl4WVYjbmjVDFdFUIfwM0txg9Ucqg6_P3KQtKs.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/S2P3NC_jxd9WZ17ivSCby6p6TB6ZP8DjGa9zATB92CE.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/S8-X33f6SYZXrI9OmzbK8k8ilYcDAzqHFPpOKERe1aA.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/SR8IkrpH6IMlTPcBbHqwo89mpra1teGCBlmv1fjfmC0.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/Se0PLAYqAruFo62CQwHd8hxuywzb7VJp_jCx9DkY2zI.cache +44 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/SrahnmUY6Na5EfmnK-dPazNPAc3bkipeBs8hw7XNhRU.cache +2 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/SuCaEMp-4f0ctrwwgLBP-joh6fgSShlxCCaffKNVW-g.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/T4A3QiY8rt9MULU3_Z0Hk7oRPHvLGgtpXJGgZ_r84FI.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/TDnwOrSaUNTuDnnHfw_KEkzrTFIBat8ijuY7Bpwf8cg.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/TZe_TAizejhnc-WnSa8qHbA_mmabvViPJcXOUAjrqsU.cache +35 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/U4rvgK1Y49UKTG7ZUwQDTcygmO9HRK-Swdr0qL2dVJQ.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/UH3LkuNkjU6DQQsOtzAc1ICCZosrsxH_S18_ogxWg-c.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/UL6X0Y7CUhFw40bHe2sQAAIlxNoz27yj-WLlvnhtUBs.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/UeTIlny5byg_xlMHq_UROADq1JazpNVB4fTEVocqBV8.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/Urkd9xpnHMKSf3fp9k6dSmTDTEZLZMIdrBA8Ovffh8E.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/V61WpjDw2M0L_4qWaDP1UHdknFmeaJxf2458O7__hyc.cache +2 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/VMltu9epSo20qiPwrE86YJoT2pXfhRac1cuyYuRF0wo.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/Vrm9PAL2FeTnWOgw5aYYN2DpMP1WY04ETYkGdvx9Dbg.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/VzeHI-yFBy1fq2kA0auLI9efDjhDhlobL3E32RJCEDE.cache +44 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/W0H79_Up7X4b6ibyHsXz78fvQIPCp_2X0i952ORYZUM.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/WAiVb-_T4YuqjG13TEp8lac6WWqWWWqoP4TTRf1RspE.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/WVQZHQfA0Sbb_YO5NvHuJIhjKzv6dUG1FwOcpN3CHM4.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/X-XasoI-dLYLxq86oPRev4bx6DisEjZSl6d0CZR5Sws.cache +2 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/XIIpi2NppMvza5ZEiZR_Khix7D8C-4FNo8wS_n-b89Q.cache +2 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/XbNmp2gwYCZboCQlXp-FgEdPa9ZHBcyCM2UNvYgF0qo.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/XtBFY1-AMN-CJLpdhxuPmBk3PGsvQyX7-tBJoba1fio.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/YUKaKgfC0kqTzt4PZhSPoqNfE6rNxL_GW5fXjfy0h5Q.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/YfNI296YFiJkw9wcJo9oq2ZKbM2w8uaC8uQNXO5uZsw.cache +2 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/YrtBrx8uJytm8HLEZ6-fAvI72e1pJ-d2vmJ8jEcdw6Y.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/YxQ2ygruq8PVFx8pwdFyxwLwZRPISVtYGxAeT4VvhpU.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/ZA_49pS3v_P-lNyI0XWIOZ7rCClhUAM2Uc4EXFz8RvM.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/ZYpySeXKbQRuZptwtXZnRa5OBxJJaP_-N3babEWluCU.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/ZuOhmUwHmguX_54_oSgc3-00LsslulkdhUxtwEpsz04.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/_-ZWzxIbNZMCx4RuvPuCv7KJfUlY12kRs5R8MwevqRw.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/_33IckGaHOLvh0DVvBVL7X4iFfr8ncxIdBYs_fiJ_Os.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/__2Wq8QGPOQ3W1pVmntwo128HOfa_17EaHWhYABSLNs.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/_e3z1nxgsNF0rfZl4kH_MjdC2dYDvmBxAZhT8ljbdS8.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/a5V2kYgIaCe-0b8aCijRI4gYaO2MYBpsKFVt73lqwzY.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/a87YCTyEQvBw3wjORePjJLqVnHYM7QE4Pauakm9CaN8.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/aPw98gYtVq2JI9Xukt6N3zxTIn6_n8AM93RyAGh1_3k.cache +2 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/adtgPOUjUI_pvPXICbnBd3jxkMuiXsiWaOWj7A_qiHg.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/aicL6dKk8GoS8QfRDq-01o58tfAZu7AC4W01OgKG3RE.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/asjJG7Rwx3GNsD8zshDMlcPJz_heKNqLRflocm4Dc-I.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/avCLf6qdX4CTFqtdFB-xrth6EYVzXIWKcJ-KbizbG4A.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/aviRhRkHs3Zmjq7KbI78AUdauKrkKvCT94Qa6EfciVM.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/b9oVb6jiaKjW1GKNderNoKYdTHbO9cangmkQwmjYXZE.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/bE4p8KSf5PnCr_oeHPc3Rmd7gS2acbUAYUZBg_IfUBA.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/bG_aaeYWrwbBziQfpFhVwsnY30ekKRye4kXnfyEG0IA.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/beytrqLrYGnGS-NMlSz_7sP8f_lO_bzWfv5qXG2mpiw.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/bjSOSfj8j1DKf-_bebibg_mgClUUJYPb-nxY39NXmOc.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/c7AxXLkoQtPZJD92kh2_NfRa03SgSw8LoYcYOaSITO8.cache +2 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/cHteR34qEbVqQCcSdekTQqE92OtI5Npobcs1w802RsI.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/cl8GH3qb_MUT1SlcoG1McdPQAZ19KrfCzBCd6H9XQjs.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/cpFtvcsVXwqljQ201lSHZ3P2YyuoLTgcQAMIKBH2Jmo.cache +2 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/dHxMmOg0uJo_9h9RbqNYAcY7F8ZRA0vc6345IAZ-gUg.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/dqLCWN3co5CnUEmKbKWg41yg1FxJqr1m0Jr991-OCQE.cache +2 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/dtalhsUq7eu_p54murxPqG986EEQtlE9MvSnVPqf-dM.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/eC2smRhNoujzMt40OhOqgWZN7xkSMP8yg-PuY6maryo.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/eGwT7UuDdETzIJYyrKjJibgpngYLcySn-WSsyhCP7C0.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/eJr9cGR4XjLJIDP9P2vewH5wunciS1VyacE3vSOP9FE.cache +2 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/eV8j-M3O3zr0fHcpDLre7zss8mYFoflGuTPNlKeVIoY.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/eZpndDjLSASvwtPEFeRL384wL3xxdFIhi8898TdkMR0.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/enIQHfUEbIX2iEDtBrCp2p-mTVwe8qgGYHte9rR7CoM.cache +2 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/erttoYRc7i3lZjo87UaK9bgbkXMORw50vhHmXDp7kPI.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/fiIkteVEFJLaFg-WTOs3ft3UQKVKrRCKdHFn3fwR2I0.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/fkjzAvg7EG-B3n-NaSGIyuis-EOlvDeCrRHpn68RMZg.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/flZ7i6VaUiyEZcmXwVqJKmlty_lwnABmr013CrEv7mY.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/fx2Rl-SWpk7l-8YL1aPrl_KAB71xwezgSd6JawhZcLc.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/gJ-apkrYgWbHBBJxnTmKI49Cf4TvjtXw3qYf51y8oVo.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/gKzLa4Mn_VsW1uzY4XSP0CjvHJeJq_eyFbCk4hlrXj8.cache +52 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/haDlisZ5TYDZYo3GXpelCeqgbCqwoJuMolmazVEGaQg.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/huQYzOMWmY59WCXCbnFnMhohmxKxXWr9AkZDEinMSLo.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/iJjYYJk0thA2Sr69BqFLswUD7L1yLlY-Bpb59veIqr8.cache +39 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/ibfNOO5ZDlYGt7IAAcnSbWgAxQNvmg1tFuga2Rp9DA8.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/jeaSaDuZ1NyNcCYGTnh6ZLKPwuIigO1zxH3B5I2fcUs.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/k1rrOiMpIaUrJp8gedCXg-kO9cNJHZrBxI_HxU-XJSo.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/k37ROZghP45aFSJhRkyQOHzzNhM50g8d8I4RyJi0zt4.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/kWiR8UDkuMAUMtL799Z_XJRFASOLiTBJbDq0HSjRtXU.cache +2 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/kXqpOb58wfwf09Q-3poSoc-v7y4NfJJ9xoz4N3Lbmc0.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/k_sqQaCWg5QDxoq-kSbdLK_vGsNGPcG2OeA8o7mPxI0.cache +2 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/leNjOaOD2X72aaeaYmQ4heu3TTkU86tWDV2YRcvpQaM.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/lgxM0bOmfFj7IJigELNAykpSP-m4_GJ3JE9vVnZm8bI.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/lkr4zUog6zRTywbmSB9hIBDu2RektoCjc0mCalcgw5k.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/miZ80WSVgAqyMAsV_RK3it6hBaYRvOk2ZYuzNH6kcl4.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/nSubQFWK8wmuka0cXh29CVqelLkFp0ufaYyB16OnjPY.cache +2 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/nWdqrCQSP6coYbehOJNH_eWEJwb4463W4lLJ7GaQ0Rk.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/neCE2CflnuQ4Pyf9YYycEWxmRTEWPUotF9LDnhE2M7Q.cache +2 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/nmv4KSAt8PJKvGZyA2NdKHBpJosg2_4LUsmpFQDnCnc.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/o8KvI-Z87WT_Ulrpewwh7_Wunn8Tx9Hr6wZwq6_wvqE.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/p9-yZGx_kSXdfZKVd_Sixzmy65zR9KY1CACVyRcvBpc.cache +2 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/pIfC4DKPO6bfB6-3l5B9eGDKXICPTCJ4vif84-kA8ao.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/pMTgTNOGKiczCykyelqzCPYoB78Lz12FEbRgLAEfQF0.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/pWoLWneLRjJFGG1DFml7AAy4716dGsmcbRB4SijF4mo.cache +44 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/pXbs5au8-9Bm-VQJ2TgJx5E2-9Id4DyuKhBtFOjRruc.cache +41 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/pg-kRiYIB4_M93P3XEis-5D5qH3JGb2OxuxVjNWgysU.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/pn_hETPedZY35I1fPCfd2qdh4sOQo9q08pBjzAl_970.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/qAbbtcA-t-enE__g3YTt0vpbq9q2NKbk9BHGMCVmTIY.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/qZOCoyPwzILsRimyxRU6-BXdl5BhzEUvg0YS39PDgkg.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/qlk63Aq6VNPfG8ziuutuD9h1h-uSjxX885kbZrW9sTA.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/qokK1pM2lyeHAcaKINH5smVnCw0jgwwfjUjfqQeeuWE.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/qwEL_zUFqHuLWOo4gkifLF9wh39dw38Vr8b3uHACnps.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/rS0mgYwoRVqOwd6lJ6j_qjJNJ7SY3wKqfFGTL1HlV-8.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/rbdjWhwkH7zfx0YZZIAyiKzhfIQXw6Q6In3gLEJ_LkI.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/rcL8AkPKHPE-p6Kmgl_aJNXtQLZ4g71d06rFceWMxVg.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/syZpq1s4xFwbmjkTZHvEhf_xNWtxiojdIBRVyTQmxVI.cache +3 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/t_u6ka8iFUn3a1B65F7aYqd6JIMoPj9LOu47s9VTUwo.cache +2 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/u2kqSGJFVI2p7nTzzDyNYZqIqdxg3lkknB3e9KVoPXM.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/uXFfAv9Ujxov40UPKNkQXBDLF-FzKdchoi3-MO75ZCg.cache +39 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/udnHEpFxr8piFWBw5xAfdw00Sknj-NHtwN1ccjrj1WQ.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/vAa4Pt5dWkcHXT-5GnlFZeUvFmQDvyKti6k7UEwsZFo.cache +44 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/w3eujGZxIMrX7VbVVuUs62PkAgcSzySK-nIPnJ8YJUk.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/wIjs4KyUCWlyqhCUmHvml8UAlrJNPIgaaG3lQh2nk34.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/wTEdob71di1KWd6_YPqlh3xVjcwBzYLcOqbRgpByJ28.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/wUQyUhD6-jywkralJxoIk712aN2WtYKIV3nozk8WzG4.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/wWxRRpV1InZtIu90x0vlVcfQpheWg0294bIyYg4Z8aI.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/wiRhyHvGKoEtfIoREwXdvqZ88EruBeNG72hHsWKa_oE.cache +2 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/woWEEkTC855VeYHx2ZgZI9JjjxKc0T888Qz-7vafXMM.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/x1dn8FfqUfq3nOfvx0NS1iK2TVMurgu052y7zd7m-bk.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/x3w-41aj1z9JqqiSZcpmHVXvytYYx74weyLuVCqsD1g.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/x6HXqpI0z4ihwxoM4eMgwuTXw58vOMsADCNEz-eg1L0.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/xV2NiHdXwF68xS_G0l-xLH9_xczqxnCJyxygALHvkbA.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/xgDntFm-0RlOtzGL4en4QAuWqk2HzGecclppulKhnfg.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/xgXUmK_DNdb_ZyY8fkkdd2vwxQEN4IpLNU0-TS0-rL8.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/yc1mceqXomLE2ia-O8EZJADMRPReJqoJPIKlGMYN3go.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/yeHZFzDmNTZmwXeZVEWsk1GrtJOsMLnWG86qnyG4DHs.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/ziEGPJGG0CawoqUYTQ5MGtDLw_w12wMcr91QsgxsKPo.cache +2 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/zoi1IkiM40sW4P03nGb-93ZsXawo7JMe-iv4bFglTSE.cache +0 -0
- metadata +478 -2
- data/app/assets/stylesheets/scaffold.css +0 -56
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 81f8c3b611c471c16db356c1dcaf711c1e7e4753
|
4
|
+
data.tar.gz: 119bd8c8b0521e17d44d10471a98a95f54e14e04
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
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
|
-
|
32
|
-
|
33
|
-
margin: 16px;
|
34
|
-
|
35
|
-
border: none;
|
36
|
-
background-color: transparent;
|
16
|
+
ul {
|
17
|
+
list-style: none;
|
37
18
|
}
|
38
19
|
|
39
|
-
|
40
|
-
{
|
41
|
-
position: relative;
|
20
|
+
/* Toolbar area */
|
42
21
|
|
43
|
-
|
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
|
-
|
47
|
-
|
48
|
-
|
49
|
-
{
|
50
|
-
width: 800px;
|
51
|
-
}
|
33
|
+
md-toolbar h1 {
|
34
|
+
position: relative;
|
35
|
+
margin: auto;
|
52
36
|
}
|
53
37
|
|
54
|
-
@media (
|
55
|
-
{
|
56
|
-
|
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
|
-
|
68
|
-
{
|
44
|
+
@media (max-width: 799px) {
|
45
|
+
#mainBody {
|
69
46
|
width: 100%;
|
47
|
+
}
|
70
48
|
}
|
71
|
-
|
72
|
-
{
|
73
|
-
|
49
|
+
|
50
|
+
#mainBody {
|
51
|
+
min-width: 340px;
|
74
52
|
}
|
75
|
-
/* Sidenav area */
|
76
53
|
|
77
|
-
md-
|
78
|
-
|
79
|
-
|
54
|
+
md-content {
|
55
|
+
width: 100%;
|
56
|
+
}
|
80
57
|
|
81
|
-
|
58
|
+
.listHeader {
|
59
|
+
color: grey;
|
60
|
+
}
|
82
61
|
|
83
|
-
|
62
|
+
/* Sidenav area */
|
84
63
|
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
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-
|
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
|
-
|
108
|
-
|
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
|
-
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
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
|
-
|
134
|
-
|
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
|
-
|
142
|
-
|
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
|
-
|
150
|
-
|
151
|
-
|
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
|
-
|
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
|
-
|
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
|
-
|
183
|
-
|
184
|
-
|
185
|
-
|
186
|
-
|
187
|
-
|
188
|
-
|
189
|
-
|
190
|
-
|
191
|
-
|
192
|
-
|
193
|
-
|
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
|
-
|
203
|
-
|
204
|
-
margin-right: 20px;
|
160
|
+
.done-true {
|
161
|
+
text-decoration: line-through;
|
162
|
+
color: #808080;
|
205
163
|
}
|
206
164
|
|
207
|
-
|
208
|
-
|
209
|
-
|
210
|
-
font-weight: bold;
|
165
|
+
md-bottom-sheet md-icon {
|
166
|
+
margin-right: 20px;
|
167
|
+
}
|
211
168
|
|
212
|
-
|
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
|
-
|
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
|
-
%
|
14
|
-
%
|
15
|
-
%md-checkbox{ 'aria-label' => 'Todo Checkbox', 'ng-model' => 'todo.completed', 'ng-change' => 'saveTodo(todo)'
|
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' }
|
data/lib/todo_rails/engine.rb
CHANGED
data/lib/todo_rails/version.rb
CHANGED
Binary file
|
data/test/dummy/db/schema.rb
CHANGED
@@ -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:
|
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",
|
23
|
-
t.datetime "updated_at",
|
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
|