notee 0.4.0 → 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (246) hide show
  1. checksums.yaml +4 -4
  2. data/app/assets/javascripts/notee/application.js +19539 -17294
  3. data/app/controllers/notee/application_controller.rb +5 -0
  4. data/app/controllers/notee/categories_controller.rb +7 -3
  5. data/app/controllers/notee/comments_controller.rb +9 -4
  6. data/app/controllers/notee/images_controller.rb +2 -2
  7. data/app/controllers/notee/posts_controller.rb +11 -4
  8. data/app/controllers/notee/roles_controller.rb +1 -1
  9. data/app/controllers/notee/tokens_controller.rb +9 -15
  10. data/app/controllers/notee/trashes_controller.rb +60 -0
  11. data/app/controllers/notee/users_controller.rb +26 -6
  12. data/app/models/notee/application_record.rb +27 -0
  13. data/app/models/notee/authority.rb +377 -0
  14. data/app/models/notee/category.rb +15 -2
  15. data/app/models/notee/comment.rb +6 -0
  16. data/app/models/notee/image.rb +2 -2
  17. data/app/models/notee/post.rb +7 -5
  18. data/app/models/notee/user.rb +97 -41
  19. data/app/views/layouts/notee/application.html.erb +3 -1
  20. data/config/routes.rb +19 -9
  21. data/db/migrate/20160605141437_create_notee_posts.rb +1 -0
  22. data/db/migrate/20160605141510_create_notee_categories.rb +4 -1
  23. data/db/migrate/20160605141547_create_notee_images.rb +4 -2
  24. data/db/migrate/20160803154954_create_notee_comments.rb +2 -1
  25. data/db/migrate/20160809145754_create_notee_users.rb +1 -0
  26. data/lib/notee/helpers/notee_helper.rb +65 -46
  27. data/lib/notee/helpers/view_helper.rb +10 -2
  28. data/lib/notee/status.rb +1 -2
  29. data/lib/notee/version.rb +1 -1
  30. data/lib/tasks/config/notee.rb +26 -0
  31. data/lib/tasks/config/schedule.rb +7 -0
  32. data/lib/tasks/controllers/notee_controller.rb +65 -0
  33. data/lib/tasks/javascripts/notee/highlight.pack.js +2 -0
  34. data/lib/tasks/notee_tasks.rake +105 -51
  35. data/lib/tasks/stylesheets/notee/highlight/agate.css +108 -0
  36. data/lib/tasks/stylesheets/notee/highlight/androidstudio.css +66 -0
  37. data/lib/tasks/stylesheets/notee/highlight/arduino-light.css +88 -0
  38. data/lib/tasks/stylesheets/notee/highlight/arta.css +73 -0
  39. data/lib/tasks/stylesheets/notee/highlight/ascetic.css +45 -0
  40. data/lib/tasks/stylesheets/notee/highlight/atelier-cave-dark.css +83 -0
  41. data/lib/tasks/stylesheets/notee/highlight/atelier-cave-light.css +85 -0
  42. data/lib/tasks/stylesheets/notee/highlight/atelier-dune-dark.css +69 -0
  43. data/lib/tasks/stylesheets/notee/highlight/atelier-dune-light.css +69 -0
  44. data/lib/tasks/stylesheets/notee/highlight/atelier-estuary-dark.css +84 -0
  45. data/lib/tasks/stylesheets/notee/highlight/atelier-estuary-light.css +84 -0
  46. data/lib/tasks/stylesheets/notee/highlight/atelier-forest-dark.css +69 -0
  47. data/lib/tasks/stylesheets/notee/highlight/atelier-forest-light.css +69 -0
  48. data/lib/tasks/stylesheets/notee/highlight/atelier-heath-dark.css +69 -0
  49. data/lib/tasks/stylesheets/notee/highlight/atelier-heath-light.css +69 -0
  50. data/lib/tasks/stylesheets/notee/highlight/atelier-lakeside-dark.css +69 -0
  51. data/lib/tasks/stylesheets/notee/highlight/atelier-lakeside-light.css +69 -0
  52. data/lib/tasks/stylesheets/notee/highlight/atelier-plateau-dark.css +84 -0
  53. data/lib/tasks/stylesheets/notee/highlight/atelier-plateau-light.css +84 -0
  54. data/lib/tasks/stylesheets/notee/highlight/atelier-savanna-dark.css +84 -0
  55. data/lib/tasks/stylesheets/notee/highlight/atelier-savanna-light.css +84 -0
  56. data/lib/tasks/stylesheets/notee/highlight/atelier-seaside-dark.css +69 -0
  57. data/lib/tasks/stylesheets/notee/highlight/atelier-seaside-light.css +69 -0
  58. data/lib/tasks/stylesheets/notee/highlight/atelier-sulphurpool-dark.css +69 -0
  59. data/lib/tasks/stylesheets/notee/highlight/atelier-sulphurpool-light.css +69 -0
  60. data/lib/tasks/stylesheets/notee/highlight/atom-one-dark.css +96 -0
  61. data/lib/tasks/stylesheets/notee/highlight/atom-one-light.css +96 -0
  62. data/lib/tasks/stylesheets/notee/highlight/brown-paper.css +64 -0
  63. data/lib/tasks/stylesheets/notee/highlight/brown-papersq.png +0 -0
  64. data/lib/tasks/stylesheets/notee/highlight/codepen-embed.css +60 -0
  65. data/lib/tasks/stylesheets/notee/highlight/color-brewer.css +71 -0
  66. data/lib/tasks/stylesheets/notee/highlight/darcula.css +77 -0
  67. data/lib/tasks/stylesheets/notee/highlight/dark.css +63 -0
  68. data/lib/tasks/stylesheets/notee/highlight/darkula.css +6 -0
  69. data/lib/tasks/stylesheets/notee/highlight/default.css +99 -0
  70. data/lib/tasks/stylesheets/notee/highlight/docco.css +97 -0
  71. data/lib/tasks/stylesheets/notee/highlight/dracula.css +76 -0
  72. data/lib/tasks/stylesheets/notee/highlight/far.css +71 -0
  73. data/lib/tasks/stylesheets/notee/highlight/foundation.css +88 -0
  74. data/lib/tasks/stylesheets/notee/highlight/github-gist.css +71 -0
  75. data/lib/tasks/stylesheets/notee/highlight/github.css +99 -0
  76. data/lib/tasks/stylesheets/notee/highlight/googlecode.css +89 -0
  77. data/lib/tasks/stylesheets/notee/highlight/grayscale.css +101 -0
  78. data/lib/tasks/stylesheets/notee/highlight/gruvbox-dark.css +108 -0
  79. data/lib/tasks/stylesheets/notee/highlight/gruvbox-light.css +108 -0
  80. data/lib/tasks/stylesheets/notee/highlight/hopscotch.css +83 -0
  81. data/lib/tasks/stylesheets/notee/highlight/hybrid.css +102 -0
  82. data/lib/tasks/stylesheets/notee/highlight/idea.css +97 -0
  83. data/lib/tasks/stylesheets/notee/highlight/ir-black.css +73 -0
  84. data/lib/tasks/stylesheets/notee/highlight/kimbie.dark.css +74 -0
  85. data/lib/tasks/stylesheets/notee/highlight/kimbie.light.css +74 -0
  86. data/lib/tasks/stylesheets/notee/highlight/magula.css +70 -0
  87. data/lib/tasks/stylesheets/notee/highlight/mono-blue.css +59 -0
  88. data/lib/tasks/stylesheets/notee/highlight/monokai-sublime.css +83 -0
  89. data/lib/tasks/stylesheets/notee/highlight/monokai.css +70 -0
  90. data/lib/tasks/stylesheets/notee/highlight/obsidian.css +88 -0
  91. data/lib/tasks/stylesheets/notee/highlight/ocean.css +74 -0
  92. data/lib/tasks/stylesheets/notee/highlight/paraiso-dark.css +72 -0
  93. data/lib/tasks/stylesheets/notee/highlight/paraiso-light.css +72 -0
  94. data/lib/tasks/stylesheets/notee/highlight/pojoaque.css +83 -0
  95. data/lib/tasks/stylesheets/notee/highlight/pojoaque.jpg +0 -0
  96. data/lib/tasks/stylesheets/notee/highlight/purebasic.css +96 -0
  97. data/lib/tasks/stylesheets/notee/highlight/qtcreator_dark.css +83 -0
  98. data/lib/tasks/stylesheets/notee/highlight/qtcreator_light.css +83 -0
  99. data/lib/tasks/stylesheets/notee/highlight/railscasts.css +106 -0
  100. data/lib/tasks/stylesheets/notee/highlight/rainbow.css +85 -0
  101. data/lib/tasks/stylesheets/notee/highlight/school-book.css +72 -0
  102. data/lib/tasks/stylesheets/notee/highlight/school-book.png +0 -0
  103. data/lib/tasks/stylesheets/notee/highlight/solarized-dark.css +84 -0
  104. data/lib/tasks/stylesheets/notee/highlight/solarized-light.css +84 -0
  105. data/lib/tasks/stylesheets/notee/highlight/sunburst.css +102 -0
  106. data/lib/tasks/stylesheets/notee/highlight/tomorrow-night-blue.css +75 -0
  107. data/lib/tasks/stylesheets/notee/highlight/tomorrow-night-bright.css +74 -0
  108. data/lib/tasks/stylesheets/notee/highlight/tomorrow-night-eighties.css +74 -0
  109. data/lib/tasks/stylesheets/notee/highlight/tomorrow-night.css +75 -0
  110. data/lib/tasks/stylesheets/notee/highlight/tomorrow.css +72 -0
  111. data/lib/tasks/stylesheets/notee/highlight/vs.css +68 -0
  112. data/lib/tasks/stylesheets/notee/highlight/xcode.css +93 -0
  113. data/lib/tasks/stylesheets/notee/highlight/xt256.css +92 -0
  114. data/lib/tasks/stylesheets/notee/highlight/zenburn.css +80 -0
  115. data/lib/tasks/stylesheets/notee/normalize.css +427 -0
  116. data/lib/tasks/stylesheets/notee/notee_default.css +386 -0
  117. data/lib/tasks/views/notee/about.html.erb +43 -0
  118. data/lib/tasks/views/notee/archives.html.erb +16 -0
  119. data/lib/tasks/views/notee/categories.html.erb +15 -0
  120. data/lib/tasks/views/notee/partials/_foote.html.erb +3 -0
  121. data/lib/tasks/views/notee/partials/_header.html.erb +17 -0
  122. data/lib/tasks/views/notee/partials/_profile.html.erb +9 -0
  123. data/lib/tasks/views/notee/partials/_sidebar.html.erb +23 -0
  124. data/lib/tasks/views/notee/posts.html.erb +53 -0
  125. data/lib/tasks/views/notee/show.html.erb +42 -0
  126. data/lib/tasks/views/notee/writers.html.erb +11 -0
  127. metadata +115 -240
  128. data/lib/tasks/css/notee_default.css +0 -59
  129. data/test/dummy/db/development.sqlite3 +0 -0
  130. data/test/dummy/db/test.sqlite3 +0 -0
  131. data/test/dummy/log/development.log +0 -3087
  132. data/test/dummy/log/test.log +0 -872
  133. data/test/dummy/tmp/cache/assets/sprockets/v3.0/-t/-tdJTrCcY92VpiO_z6SIt_iHkHDtn1-8Vf__p-Ve9lU.cache +0 -1
  134. data/test/dummy/tmp/cache/assets/sprockets/v3.0/0K/0KQJQyRy3gQkymW0xnPhM4_OpLtoTcw9Rutx4F4IajE.cache +0 -1
  135. data/test/dummy/tmp/cache/assets/sprockets/v3.0/1B/1Bb2_fhXoTmM27WcuQJ2sr0UCMHh6TjrBIwd6Ks8qJ0.cache +0 -1
  136. data/test/dummy/tmp/cache/assets/sprockets/v3.0/1N/1NYje2ld9grEMpvxBFjocEWWMPi4jNPuPLdlkV1Wq5A.cache +0 -0
  137. data/test/dummy/tmp/cache/assets/sprockets/v3.0/1s/1sPuKGE0jImBtnCnczIk6NpOn9cYeyBZsXHvpXJ1tGA.cache +0 -2
  138. data/test/dummy/tmp/cache/assets/sprockets/v3.0/1s/1sRxHck-81_JSGvEidXPx2S86Cbe0UjizohTg5lkd-U.cache +0 -0
  139. data/test/dummy/tmp/cache/assets/sprockets/v3.0/3d/3dw9fS6dak9HSgJqviXZ6CCibFx8--QDKyWjrqKqraI.cache +0 -0
  140. data/test/dummy/tmp/cache/assets/sprockets/v3.0/4S/4SCYKO2aAiXfZPZF1vTYeIQegrrqvH-2jlfGl1I6juQ.cache +0 -1
  141. data/test/dummy/tmp/cache/assets/sprockets/v3.0/4z/4zE2reLAwChLIBivfo5JfQjRwOM2sBvlDLXftsA772o.cache +0 -1
  142. data/test/dummy/tmp/cache/assets/sprockets/v3.0/5L/5Lly_CA8DZvPhQV2jDQx-Y6P_y3Ygra9t5jfSlGhHDA.cache +0 -0
  143. data/test/dummy/tmp/cache/assets/sprockets/v3.0/5p/5pDjSjY69Pd-A64UKCqQ_yxQouHkmBElVBKf1IZT2HM.cache +0 -1
  144. data/test/dummy/tmp/cache/assets/sprockets/v3.0/5p/5pnvfhvSgahCnLPLbhB7dM8lSEhk2w39UTDXe83gYng.cache +0 -0
  145. data/test/dummy/tmp/cache/assets/sprockets/v3.0/5r/5r2K8e-LRVnmo3VUaNdNx3K1b_BgFMOboxlnTQC_Ckk.cache +0 -1
  146. data/test/dummy/tmp/cache/assets/sprockets/v3.0/5u/5ue4ZdF425UevYa9Danha84KDME2s4InW-zR-y-Y0SM.cache +0 -2
  147. data/test/dummy/tmp/cache/assets/sprockets/v3.0/6Q/6Qq8Rnvquz8oH8ojJlj79pSAhSHH_VoWRS0Cn-d-yLQ.cache +0 -1
  148. data/test/dummy/tmp/cache/assets/sprockets/v3.0/6Y/6Y--Gdy-iDkVFcgE3j660zOA3sf_osOedfJpeV_Kxh4.cache +0 -0
  149. data/test/dummy/tmp/cache/assets/sprockets/v3.0/7G/7GrmDrSvjAFvLUcaRN95cQLmvkzf8D_cvGlhRyL01HA.cache +0 -1
  150. data/test/dummy/tmp/cache/assets/sprockets/v3.0/83/83mXRYYdvGZS4tNS_IFZLa5P6e-fg9MSMqWG4MJ-Jks.cache +0 -1
  151. data/test/dummy/tmp/cache/assets/sprockets/v3.0/8H/8HKewCH2XL9errlVDVPK8QZg0LoH-_Q3zqQ1pjCYBEU.cache +0 -1
  152. data/test/dummy/tmp/cache/assets/sprockets/v3.0/8v/8vJIODLLCFZwV8yIF98dlb5_CQZlgBdCLiM8UA6WiSA.cache +0 -1
  153. data/test/dummy/tmp/cache/assets/sprockets/v3.0/9W/9WtQTxW8TE4CQvkem1QkHVjZFB93XAJo3ioPSt6U5wM.cache +0 -0
  154. data/test/dummy/tmp/cache/assets/sprockets/v3.0/AH/AHLaBPz-xNABgeh1V66iU7wJ6FCxvFIie5V05wRvI84.cache +0 -1
  155. data/test/dummy/tmp/cache/assets/sprockets/v3.0/C1/C1S3q8MtvUImrUe70fZPf9wxMfxdcWPSRXRrv4H6_lo.cache +0 -1
  156. data/test/dummy/tmp/cache/assets/sprockets/v3.0/D4/D4ftsVSRtZadejqqBmur8bfiHLhZFCaIjpsAdJT28Iw.cache +0 -1
  157. data/test/dummy/tmp/cache/assets/sprockets/v3.0/DS/DSOLSc6A5RVSmvM415eEWAWG_AgOvZcLZOXQjsXyWQA.cache +0 -2
  158. data/test/dummy/tmp/cache/assets/sprockets/v3.0/Fr/FrWiXIfDo2-fsKFSgef9Bs-0HjC7dOgBY8IVBLCq9ag.cache +0 -1
  159. data/test/dummy/tmp/cache/assets/sprockets/v3.0/Fz/FzjTR8U_FOgMIbfYBgJfzujyNBozRZd-3YYTkiAQTOg.cache +0 -1
  160. data/test/dummy/tmp/cache/assets/sprockets/v3.0/G6/G6nKI6E9cfkIZqH5EnbMJtS4DKHApFlNTKh__ZuK774.cache +0 -2
  161. data/test/dummy/tmp/cache/assets/sprockets/v3.0/HH/HHQp4rqJ3kx9sfFo3AAW2DS6zHl28lCqALB5YnKXeG8.cache +0 -0
  162. data/test/dummy/tmp/cache/assets/sprockets/v3.0/IN/INpQmG9J4AOUCg2YWypvnwq9ce01SFPnDGidI2qcU_8.cache +0 -1
  163. data/test/dummy/tmp/cache/assets/sprockets/v3.0/J0/J038M_TjhJBb-678LCin4jaJSkSaaXy7XHJbEp1Bo5I.cache +0 -2
  164. data/test/dummy/tmp/cache/assets/sprockets/v3.0/JI/JIHr2A9bWoln5XahhS15lRxvHSXdQZ7OrlbAW1IzayM.cache +0 -1
  165. data/test/dummy/tmp/cache/assets/sprockets/v3.0/JI/JId5JhtAhhN90V7z1OSItT9m4n4H_Nfk3IGtOW0mA_s.cache +0 -3
  166. data/test/dummy/tmp/cache/assets/sprockets/v3.0/JP/JPylOhsUjr9NtL1AViDe-Sz0-iLPZGPww463ChRqhEw.cache +0 -0
  167. data/test/dummy/tmp/cache/assets/sprockets/v3.0/JU/JUdbchVNMjz67zIvPztSzFfpU_VO4Rl9V86GzJH28_A.cache +0 -2
  168. data/test/dummy/tmp/cache/assets/sprockets/v3.0/K0/K0Ou5PNqxeODBFSEnIeg7EaidQVBRvPH-SPrTF1tRVA.cache +0 -1
  169. data/test/dummy/tmp/cache/assets/sprockets/v3.0/KS/KSTuVqjLw0xUGYH5WcnAloHDphCDQr4cFjXKKl5vW7M.cache +0 -0
  170. data/test/dummy/tmp/cache/assets/sprockets/v3.0/L-/L--JLWiCS6RZ0l_EciZOoY0eTEs6BGBED1YZ7hj13vQ.cache +0 -1
  171. data/test/dummy/tmp/cache/assets/sprockets/v3.0/ME/META30ksADpNoAnM_vlhKhlLOfxBlo5uJjJKSJa264o.cache +0 -1
  172. data/test/dummy/tmp/cache/assets/sprockets/v3.0/MH/MHQULHaqwmMfm67LLiF_ZDlM6Zix3aPput7pxTViWQ0.cache +0 -1
  173. data/test/dummy/tmp/cache/assets/sprockets/v3.0/NK/NKXg7894FsAVQJxXzYkUOgd131zYAeWOIxmegdT-LFk.cache +0 -2
  174. data/test/dummy/tmp/cache/assets/sprockets/v3.0/NW/NWx4g28WkpCPeRLdgMDaUuLO2e4UIw2bs-HKy-ixIlU.cache +0 -1
  175. data/test/dummy/tmp/cache/assets/sprockets/v3.0/Nj/NjPNj--fkweGPvPTHkDlefKtB5bpFaGG9X60M_goNUo.cache +0 -2
  176. data/test/dummy/tmp/cache/assets/sprockets/v3.0/OI/OI6uxGcnsKavdWTtwDAasU3wPx8QXhzBgV0X2n1KjMQ.cache +0 -0
  177. data/test/dummy/tmp/cache/assets/sprockets/v3.0/Oh/Ohok7uysixzjxK1FE7m-KJv6gqYQH4svN8nZyRBOgwA.cache +0 -1
  178. data/test/dummy/tmp/cache/assets/sprockets/v3.0/Ot/Ot7COhZjTueyAONhzjXiOOwv0uTS9EtXGgxYznVMIvs.cache +0 -3
  179. data/test/dummy/tmp/cache/assets/sprockets/v3.0/P4/P4KZGx6J2yGIq1PMq13fnsaXrS47R-S_sYrQrcUL59I.cache +0 -3
  180. data/test/dummy/tmp/cache/assets/sprockets/v3.0/Pn/Pn9eXmle4fRjakm_xgwyXs5YzlWELSuhbi3nnV2-Ink.cache +0 -0
  181. data/test/dummy/tmp/cache/assets/sprockets/v3.0/QY/QYNLSW9XctrfttzhOfkik5INswRo-qBjjwQvA7S_lyc.cache +0 -1
  182. data/test/dummy/tmp/cache/assets/sprockets/v3.0/Qb/Qbb4ATlvuCS0fudaTweqJoma2S99Mr2Q6ISbIpDoMso.cache +0 -0
  183. data/test/dummy/tmp/cache/assets/sprockets/v3.0/R6/R6E4Q8O1upT5p_U-ySDbO3dFY6SMeSwmubqJUfSJedo.cache +0 -0
  184. data/test/dummy/tmp/cache/assets/sprockets/v3.0/Rv/RvcRQ_I7meCLqBRooErlcPwcbH0tdDuvO5SQ_Xy45Qk.cache +0 -2
  185. data/test/dummy/tmp/cache/assets/sprockets/v3.0/Sz/SzRmx7uSmniNAGO1zMPd4qzEgM8eAaWBqaxestc32Jg.cache +0 -0
  186. data/test/dummy/tmp/cache/assets/sprockets/v3.0/Tk/TkRyIpbn-1DcVexPTWUljWQOek0D_q6yO_jYNGwKM_o.cache +0 -0
  187. data/test/dummy/tmp/cache/assets/sprockets/v3.0/U1/U1E_3Z4bItTBl9s8aX6O2rceqAD5GfoNzF8AqYs9Hig.cache +0 -0
  188. data/test/dummy/tmp/cache/assets/sprockets/v3.0/UC/UCe1qLwGTD6W2etoFOMln6E2DgTq8Xnm7eGvCs6YGEE.cache +0 -1
  189. data/test/dummy/tmp/cache/assets/sprockets/v3.0/UZ/UZhrzLOgNG132Xf1yJ7H7lSq4S3TyDoPphdzwKU8fqQ.cache +0 -3
  190. data/test/dummy/tmp/cache/assets/sprockets/v3.0/Ud/UdBXq-s3u32R-gjMCYZv9RJH4n1xSt8PnBpWxg-JzGE.cache +0 -1
  191. data/test/dummy/tmp/cache/assets/sprockets/v3.0/VD/VDaYJQJdErZ0zVg9KgvidORf7a13jqM72Uk97zzuUZU.cache +0 -2
  192. data/test/dummy/tmp/cache/assets/sprockets/v3.0/WT/WTExV_4iBOBS-SWMh6jqm61uSp83ezH5DPIkjfktls4.cache +0 -3
  193. data/test/dummy/tmp/cache/assets/sprockets/v3.0/Wi/Wia5tzg4hJNhNhKWgY7pkrxWbvr6n0YaKXl80wh6qPg.cache +0 -1
  194. data/test/dummy/tmp/cache/assets/sprockets/v3.0/Wl/WldqQqssrkJedTdiFt86Y6FDn5ww1MirVAAnOpRqeCE.cache +0 -3
  195. data/test/dummy/tmp/cache/assets/sprockets/v3.0/Wv/WvAZ72pGsB5VpmTmGBucm1eztH129yQ1YmrRMy-yS4g.cache +0 -0
  196. data/test/dummy/tmp/cache/assets/sprockets/v3.0/Wz/WzSkff9VUQsb0DJ5RB3m3SfxRTMU97qhyNCqiIHlJPw.cache +0 -1
  197. data/test/dummy/tmp/cache/assets/sprockets/v3.0/Yx/Yx6fZ9ju2qCb4Ps_0iEzNR7KgDNTE2gIRjcdOMFXNlo.cache +0 -2
  198. data/test/dummy/tmp/cache/assets/sprockets/v3.0/ZO/ZOUPFk5_ZB8Wtn42g9PiY6Qu7KSbipNG04Qa5YSP6sw.cache +0 -0
  199. data/test/dummy/tmp/cache/assets/sprockets/v3.0/ZT/ZT-4a7lIKMm0Swxyt7MdXMz5v6r5MaVvtHvqAT6T8Ts.cache +0 -0
  200. data/test/dummy/tmp/cache/assets/sprockets/v3.0/Zb/ZbvOW6HdEiql0zdGkCPG-EK8beJAmp1ovBR1Oy1V6Fw.cache +0 -1
  201. data/test/dummy/tmp/cache/assets/sprockets/v3.0/Zu/ZuAoFB2A_kFOIb19dNUzEU5jP-SzQLmauPCURINz2Fo.cache +0 -0
  202. data/test/dummy/tmp/cache/assets/sprockets/v3.0/_r/_rmEe1ir-igQN0twVhxrxngbLIFJkINITWVGNye4-MM.cache +0 -2
  203. data/test/dummy/tmp/cache/assets/sprockets/v3.0/aE/aEQNT9eY4cAc2ACQnD35BkLV5dEezB-drcCoF1SzjAc.cache +0 -0
  204. data/test/dummy/tmp/cache/assets/sprockets/v3.0/bK/bKPdLlYXb5ZZU8vrzCdKqLgCXyeiXHExSl9lwGIofU0.cache +0 -0
  205. data/test/dummy/tmp/cache/assets/sprockets/v3.0/br/brGLDCuoxhnIrvwsuWmzjnwDV7Bn_nezqOrXiI0oco0.cache +0 -3
  206. data/test/dummy/tmp/cache/assets/sprockets/v3.0/c3/c3Jo7UkNggNJH21U9HD-Y5Lipd68yZXcl6FGMbzFEeM.cache +0 -0
  207. data/test/dummy/tmp/cache/assets/sprockets/v3.0/c4/c4YjuvK4zQOjr5Q6N7A_-NHM59NF0kGApLBxSZ5JgqA.cache +0 -1
  208. data/test/dummy/tmp/cache/assets/sprockets/v3.0/c9/c9B4H9i5OvdAnZpel-KocssCcsd3TS2Gqe4uKAFjiKQ.cache +0 -1
  209. data/test/dummy/tmp/cache/assets/sprockets/v3.0/dM/dMJ_N4wD6R1wforGNMdyz6wec-5a7_H03vxu0pgPhLc.cache +0 -0
  210. data/test/dummy/tmp/cache/assets/sprockets/v3.0/dr/drYndmRIbBKroImntO4XhUYV5kqxE2q2qE_aYRwYj4Q.cache +0 -0
  211. data/test/dummy/tmp/cache/assets/sprockets/v3.0/du/dumQ6K8NP4rz74ofF4DxxFRetR-K07c75MhZrUQDbqY.cache +0 -3
  212. data/test/dummy/tmp/cache/assets/sprockets/v3.0/fn/fns6a_EwXvrlRyeQjB9lcYXHfIZi0guP75oUWPuz4Z0.cache +0 -0
  213. data/test/dummy/tmp/cache/assets/sprockets/v3.0/g3/g3NfArxOfOGHlWIGK-Znm2-gh1Oyud_f5ZEFuGrOv2g.cache +0 -0
  214. data/test/dummy/tmp/cache/assets/sprockets/v3.0/gF/gFErWaVWbjefUiSe3yI-bWCrUD3SsMHomSjTacMlSDM.cache +0 -2
  215. data/test/dummy/tmp/cache/assets/sprockets/v3.0/gG/gGCsoohK0vflREMUeOrfW4KZeI73jU9ld5t0pzfjh4U.cache +0 -0
  216. data/test/dummy/tmp/cache/assets/sprockets/v3.0/gZ/gZp3uXMHuYQC4hzCr7bQfetKNdJAtbQmg3so2KpW1Dw.cache +0 -2
  217. data/test/dummy/tmp/cache/assets/sprockets/v3.0/hZ/Hz6pNt28QsuyrFcIx0afHONIVEGdLBEC64cV2zh2xAM.cache +0 -2
  218. data/test/dummy/tmp/cache/assets/sprockets/v3.0/hZ/hZi1k6tpxxCGYxRe7zY74ItcOI8gZrREOpGuA8JSpGg.cache +0 -0
  219. data/test/dummy/tmp/cache/assets/sprockets/v3.0/hv/hvw4qAvufcLTOeT9ie13DTIDt3SOLih2iH9P603ZOFQ.cache +0 -0
  220. data/test/dummy/tmp/cache/assets/sprockets/v3.0/iZ/iZGxFM6U5PSEZmHGlksi8vAVBMlMiyjOBaL8HIGcOPE.cache +0 -0
  221. data/test/dummy/tmp/cache/assets/sprockets/v3.0/ig/iguUMDAVIm9pfM52njpM4hqpnNYkwKTWvNXQyolgR74.cache +0 -0
  222. data/test/dummy/tmp/cache/assets/sprockets/v3.0/jJ/jJTo0slnuZqKDbuFGjyBEkenWViH1MiTvb7gNjc4SL4.cache +0 -1
  223. data/test/dummy/tmp/cache/assets/sprockets/v3.0/jN/jNM9mSzc6sg9yU7srXH0l2_bPIXbqLtJVBML2umXb9w.cache +0 -0
  224. data/test/dummy/tmp/cache/assets/sprockets/v3.0/jh/jhx8TAOiUaenqesmOiahNzaVcnpiciOE8VKZdrxGerc.cache +0 -1
  225. data/test/dummy/tmp/cache/assets/sprockets/v3.0/kT/kTif4yPNd0vB6fWie0kxsN5Gwubl8sqAOyydwpiyHzo.cache +0 -1
  226. data/test/dummy/tmp/cache/assets/sprockets/v3.0/m3/m3lSeIbfcyVVkENoCOiz_6LvNubosVesCJBkdI88aNk.cache +0 -1
  227. data/test/dummy/tmp/cache/assets/sprockets/v3.0/m6/m6kJHQNOyyMHxod8TObJKAp8iV_noMwYPWsBh-CCG0k.cache +0 -1
  228. data/test/dummy/tmp/cache/assets/sprockets/v3.0/mX/mXJ655Gxgvg2C08jNcMFB9OQ2G6HrtGc_MfVIpYycsg.cache +0 -3
  229. data/test/dummy/tmp/cache/assets/sprockets/v3.0/mr/MrG8zKUbpqoyxO2GdEOuWmFBUIpOKL3upEtfOWsYluQ.cache +0 -0
  230. data/test/dummy/tmp/cache/assets/sprockets/v3.0/mr/mr-hjupF6Lf8wABiaoi8L9823j20yjhhTnrn4FNsEZI.cache +0 -1
  231. data/test/dummy/tmp/cache/assets/sprockets/v3.0/n2/n2T4JbhKpnbSE5uhnXyPzu4WnDOkMu78BrJ-Huhn7YU.cache +0 -2
  232. data/test/dummy/tmp/cache/assets/sprockets/v3.0/nC/nCuKY2iJdzgSyWS09dThZ5T57F8vGBo0w-ycyuEidUk.cache +0 -1
  233. data/test/dummy/tmp/cache/assets/sprockets/v3.0/og/ogVEMp7SPQ-wAJz4mNXdRrx52GXFvHKpSx3bS7dr_t8.cache +0 -1
  234. data/test/dummy/tmp/cache/assets/sprockets/v3.0/pE/pEhaat2KBd5SrT7szC_8R1_6hK17FTpvoRFkmCRSD3M.cache +0 -0
  235. data/test/dummy/tmp/cache/assets/sprockets/v3.0/pO/pOOGu7nAdun08PmdiHZas85h5Kqbgs6_M5vHQQKJgW8.cache +0 -1
  236. data/test/dummy/tmp/cache/assets/sprockets/v3.0/pX/pXIDW5zCrR8MxxTON9elPRDkMBEefpa-fWViSmyJGns.cache +0 -2
  237. data/test/dummy/tmp/cache/assets/sprockets/v3.0/qF/qFG1ZnUOHTHsxMxvN1iTKNCA05nrecKPlygtJzvMdSs.cache +0 -2
  238. data/test/dummy/tmp/cache/assets/sprockets/v3.0/sS/sS00IDFTJ19zoTjrB2-Sypybo0I1qXoTtW8JabBMoAo.cache +0 -0
  239. data/test/dummy/tmp/cache/assets/sprockets/v3.0/sb/sbB7Wbcww5hxA8e-5K0oBKQDnlNNnY90t0YUIdYE138.cache +0 -1
  240. data/test/dummy/tmp/cache/assets/sprockets/v3.0/xX/xXo4fouecqy2oZpxsgtkqL6uyIDuKLwBUwmzddno9hw.cache +0 -0
  241. data/test/dummy/tmp/cache/assets/sprockets/v3.0/x_/x_WcnsWyMV1QzLUnFW5J4gZHs0gACREYGaSom7xcaBQ.cache +0 -1
  242. data/test/dummy/tmp/cache/assets/sprockets/v3.0/yC/yCp-2wuXWORHGqxfwG37-mb00X8GpHiRjrlo2QQX3lU.cache +0 -1
  243. data/test/dummy/tmp/cache/assets/sprockets/v3.0/yW/yWtPpcB-kB8_hw5k0prtaOvTW5A5PaCT0ZaJSdh8Zkw.cache +0 -0
  244. data/test/dummy/tmp/cache/assets/sprockets/v3.0/ys/ysFM6FIJniGme1T62LOmRFt3h7g0scd6o6BFIjS5Ppg.cache +0 -0
  245. data/test/dummy/tmp/cache/assets/sprockets/v3.0/z4/z4i9WzpZRzFXynWsqewNMikNdcZ9f9mGFdlrIP5N6Gs.cache +0 -1
  246. data/test/dummy/tmp/cache/assets/sprockets/v3.0/zN/zNfQXfFXMTyOoz3HbVM-_4m-46rWO7XrZPvGs4aJCQc.cache +0 -2
@@ -0,0 +1,386 @@
1
+
2
+ body {
3
+ background-color: #EAEAEA;
4
+ }
5
+
6
+ a {
7
+ color: #1EAEDB;
8
+ text-decoration: none;
9
+ }
10
+ a:hover { color: #0FA0CE; }
11
+
12
+ /* Lists
13
+ –––––––––––––––––––––––––––––––––––––––––––––––––– */
14
+
15
+ ul { list-style: circle inside; }
16
+ ol { list-style: decimal inside; }
17
+ ol, ul {
18
+ padding-left: 0;
19
+ margin-top: 0; }
20
+ ul ul,
21
+ ul ol,
22
+ ol ol,
23
+ ol ul {
24
+ margin: 1.5rem 0 1.5rem 3rem;
25
+ font-size: 90%; }
26
+ li { margin-bottom: 1rem; }
27
+ ul.li_none , ol.li_none { list-style: none; }
28
+
29
+ /* common */
30
+
31
+ /* notee utils */
32
+
33
+ .notee_wrapper {
34
+ width: 100%;
35
+ max-width: 1080px;
36
+ margin: 0 auto;
37
+ }
38
+
39
+ /* notee header */
40
+
41
+ .notee_header {
42
+ width: 100%;
43
+ height: 300px;
44
+ float: left;
45
+ margin-top: 0;
46
+ background-color: #2E2F30;
47
+ border-bottom: 3px solid #F7F7F7;
48
+ }
49
+
50
+ .notee_header h1{
51
+ text-align: left;
52
+ font-size: 20px;
53
+ margin-top: 80px;
54
+ }
55
+
56
+ .notee_header h1 a{
57
+ color: #F7F7F7;
58
+ }
59
+
60
+ .notee_header_desc{
61
+ font-size: 12px;
62
+ color: #F7F7F7;
63
+ margin-top: -10px;
64
+ }
65
+
66
+ .notee_header_meta {
67
+ width: 90%;
68
+ margin-left: 20px;
69
+ float: left;
70
+ }
71
+
72
+ .notee_header_nav li{
73
+ min-width: 150px;
74
+ text-align: center;
75
+ float: right;
76
+ list-style: none;
77
+ font-size: 12px;
78
+ }
79
+
80
+ .notee_header_nav ul a{
81
+ color: #F7F7F7;
82
+ }
83
+
84
+ /* notee_lists */
85
+
86
+ .notee_list {
87
+ width: 95%;
88
+ height: auto;
89
+ padding: 2.5%;
90
+ float: left;
91
+ border: 2px solid #F7F7F7;
92
+ background-color: #fff;
93
+ margin-bottom: 20px;
94
+ word-wrap: break-word;
95
+ }
96
+
97
+ .notee_list_meta {
98
+ width: 100%;
99
+ font-size: 12px;
100
+ margin-top: 10px;
101
+ color: #333333;
102
+ }
103
+
104
+ .notee_list_meta_content {
105
+ width: auto;
106
+ padding: 5px;
107
+ text-align: center;
108
+ }
109
+
110
+ .notee_list_category {
111
+ background-color: #337C99;
112
+ }
113
+
114
+ .notee_list_category a{
115
+ color: #fff;
116
+ }
117
+
118
+ .notee_list_a_tag {
119
+ width: 100%;
120
+ float: left;
121
+ }
122
+
123
+ .notee_list h3{
124
+ font-size: 20px;
125
+ margin: 0;
126
+ }
127
+
128
+ .notee_list_content {
129
+ width: 100%;
130
+ float: left;
131
+ margin-top: 20px;
132
+ margin-bottom: 20px;
133
+ }
134
+
135
+ .notee_list_content img{
136
+ width: 30%;
137
+ float: left;
138
+ }
139
+
140
+ .notee_list_content_p{
141
+ width: 65%;
142
+ float: left;
143
+ margin-left: 5%;
144
+ word-wrap: break-word;
145
+ }
146
+
147
+ .notee_list_content_p a{
148
+ color: #333333;
149
+ }
150
+
151
+
152
+ /* notee_main_content */
153
+
154
+ .notee_main_content {
155
+ width: 95%;
156
+ height: auto;
157
+ padding: 2.5%;
158
+ float: left;
159
+ border: 2px solid #F7F7F7;
160
+ background-color: #fff;
161
+ margin-bottom: 20px;
162
+ word-wrap: break-word;
163
+ }
164
+
165
+ .notee_main_content img{
166
+ width: 95%;
167
+ height: auto;
168
+ padding: 2.5%;
169
+ padding-left: 0;
170
+ }
171
+
172
+ .notee_main_content h2{
173
+ width: 95%;
174
+ height: auto;
175
+ margin-top: 50px;
176
+ margin-bottom: 30px;
177
+ padding: 1%;
178
+ padding-left: 0;
179
+ border-bottom: 1px solid #dcdcdc;
180
+ }
181
+
182
+ .notee_main_content h3{
183
+ margin-top: 50px;
184
+ }
185
+
186
+ .notee_main_content ul {
187
+ margin-top: 10px;
188
+ margin-bottom: 10px;
189
+ }
190
+
191
+ .notee_main_content li{
192
+ margin-top: 5px;
193
+ margin-bottom: 5px;
194
+ }
195
+
196
+
197
+ /* notee_sidebar */
198
+
199
+ .notee_sidebar_content {
200
+ width: 95%;
201
+ height: auto;
202
+ padding: 2.5%;
203
+ float: left;
204
+ border: 2px solid #F7F7F7;
205
+ background-color: #fff;
206
+ margin-bottom: 20px;
207
+ word-wrap: break-word;
208
+ }
209
+
210
+ .notee_sidebar_ul {
211
+ list-style: none;
212
+ font-size: 12px;
213
+ margin: 0;
214
+ margin-left: 7px;
215
+ }
216
+
217
+ .notee_sidebar_ul li {
218
+ height: 15px;
219
+ line-height: 15px;
220
+ margin: 0;
221
+ margin-top: 7px;
222
+ margin-bottom: 7px;
223
+ }
224
+
225
+ /* notee_footer */
226
+
227
+ .notee_footer {
228
+ width: 100%;
229
+ height: 60px;
230
+ line-height: 60px;
231
+ float: left;
232
+ background-color: #2E2F30;
233
+ border-top: 3px solid #F7F7F7;
234
+ text-align: center;
235
+ color: #F7F7F7;
236
+ font-size: 12px;
237
+ }
238
+
239
+ .notee_footer p{
240
+ margin: 0;
241
+ }
242
+
243
+
244
+ /* notee_comment_box */
245
+
246
+ .notee_comment_box {
247
+ width: 100%;
248
+ margin: 30px auto;
249
+ float: left;
250
+ }
251
+
252
+ .notee_comments {
253
+ width: 94%;
254
+ padding: 3%;
255
+ margin_bottom: 20px;
256
+ float: left;
257
+ }
258
+
259
+ .notee_comment {
260
+ width: 98%;
261
+ padding: 1%;
262
+ margin_bottom: 10px;
263
+ border-bottom: 1px solid #dcdcdc;
264
+ float: left;
265
+ }
266
+ .notee_comment_form {
267
+ width: 60%;
268
+ padding: 4%;
269
+ margin_bottom: 20px;
270
+ float: left;
271
+ }
272
+
273
+ .notee_label {
274
+ width: 60%;
275
+ margin-bottom: 15px;
276
+ float: left;
277
+ }
278
+
279
+ .notee_text_field {
280
+ width: 60%;
281
+ height: 26px;
282
+ min-width: 300px;
283
+ margin-bottom: 15px;
284
+ float: left;
285
+ font-size: 14px;
286
+ }
287
+
288
+ .notee_text_area {
289
+ width: 100%;
290
+ height: 78px;
291
+ margin-bottom: 15px;
292
+ float: left;
293
+ font-size: 14px;
294
+ }
295
+
296
+ .notee_submit {
297
+ width: 100%;
298
+ margin-bottom: 15px;
299
+ float: left;
300
+ font-size: 30px;
301
+ }
302
+
303
+ /* pc */
304
+
305
+ @media all and (min-width: 680px) {
306
+
307
+ .notee_sp {
308
+ display: none !important;
309
+ }
310
+
311
+ .notee_main {
312
+ width: 65%;
313
+ height: auto;
314
+ float: left;
315
+ margin: 2.5%;
316
+ margin-top: 20px;
317
+ }
318
+
319
+ .notee_header_nav {
320
+ width: 100%;
321
+ height: 80px;
322
+ line-height: 80px;
323
+ float: left;
324
+ margin-top: 30px;
325
+ border-right: 1px solid #F7F7F7;
326
+ border-top: 1px solid #F7F7F7;
327
+ }
328
+
329
+ .notee_sidebar {
330
+ width: 30%;
331
+ height: auto;
332
+ float: left;
333
+ margin-top: 30px;
334
+ }
335
+
336
+ }
337
+
338
+ /* tablet & sp */
339
+
340
+
341
+ @media all and (max-width: 679px) {
342
+
343
+ .notee_pc {
344
+ display: none !important;
345
+ }
346
+
347
+ .notee_main {
348
+ width: 94%;
349
+ height: auto;
350
+ float: left;
351
+ margin: 3%;
352
+ margin-top: 20px;
353
+ }
354
+
355
+ .notee_main_content p{
356
+ width:93%;
357
+ margin: 3%;
358
+ }
359
+
360
+ .notee_header_nav {
361
+ width: 100%;
362
+ float: left;
363
+ margin-top: 30px;
364
+ border-top: 1px solid #F7F7F7;
365
+ }
366
+
367
+ .notee_header_nav li{
368
+ width: 50%;
369
+ height: 63px;
370
+ line-height: 63px;
371
+ float: left;
372
+ margin: 0;
373
+ }
374
+
375
+ /* notee_sidebar */
376
+
377
+ .notee_sidebar {
378
+ width: 95%;
379
+ height: auto;
380
+ float: left;
381
+ margin: 2.5%;
382
+ margin-top: 20px;
383
+ }
384
+
385
+
386
+ }
@@ -0,0 +1,43 @@
1
+ <%= render :partial => "notee/partials/header.html.erb" %>
2
+ <div class="notee_wrapper">
3
+ <div class="notee_main">
4
+ <div class="notee_main_content">
5
+ <h1>Hello World</h1>
6
+ <p>
7
+ Lorem ipsum dolor sit amet,
8
+ consectetuer adipiscing elit.
9
+ Aenean commodo ligula eget dolor.
10
+ Aenean massa.
11
+ Cum sociis natoque penatibus et magnis dis parturient montes,
12
+ nascetur ridiculus mus.
13
+ Donec quam felis, ultricies nec, pellentesque eu,
14
+ pretium quis, sem. Nulla consequat massa quis enim.
15
+ Donec pede justo, fringilla vel, aliquet nec,
16
+ vulputate eget, arcu. In enim justo, rhoncus ut,
17
+ imperdiet a, venenatis vitae, justo.
18
+ Nullam dictum felis eu pede mollis pretium. Integer tincidunt.
19
+ Cras dapibus. Vivamus elementum semper nisi.
20
+ Aenean vulputate eleifend tellus.
21
+ Aenean leo ligula, porttitor eu,
22
+ consequat vitae, eleifend ac, enim.
23
+ Aliquam lorem ante,
24
+ dapibus in, viverra quis, feugiat a, tellus.
25
+ Phasellus viverra nulla ut metus varius laoreet.
26
+ Quisque rutrum. Aenean imperdiet. Etiam ultricies nisi vel augue.
27
+ Curabitur ullamcorper ultricies nisi. Nam eget dui. Etiam rhoncus.
28
+ Maecenas tempus, tellus eget condimentum rhoncus,
29
+ sem quam semper libero, sit amet adipiscing sem neque sed ipsum.
30
+ Nam quam nunc, blandit vel, luctus pulvinar, hendrerit id, lorem.
31
+ Maecenas nec odio et ante tincidunt tempus.
32
+ Donec vitae sapien ut libero venenatis faucibus.
33
+ Nullam quis ante. Etiam sit amet orci eget eros faucibus tincidunt.
34
+ Duis leo. Sed fringilla mauris sit amet nibh.
35
+ Donec sodales sagittis magna. Sed consequat,
36
+ leo eget bibendum sodales,
37
+ augue velit cursus nunc.
38
+ </p>
39
+ </div>
40
+ </div>
41
+ <%= render :partial => "notee/partials/sidebar.html.erb" %>
42
+ </div>
43
+ <%= render :partial => "notee/partials/footer.html.erb" %>
@@ -0,0 +1,16 @@
1
+ <%= render :partial => "notee/partials/header.html.erb" %>
2
+ <div class="notee_wrapper">
3
+ <div class="notee_main">
4
+ <h2>Archive List</h2>
5
+ <% @archives.each do |archive| %>
6
+ <% slash_time = archive.time.gsub("-","/") %>
7
+ <div class="notee_list">
8
+ <a href="/archives/<%= slash_time %>">
9
+ <h3><%= slash_time %> (<%= archive.count %>)</h3>
10
+ </a>
11
+ </div>
12
+ <% end %>
13
+ </div>
14
+ <%= render :partial => "notee/partials/sidebar.html.erb" %>
15
+ </div>
16
+ <%= render :partial => "notee/partials/footer.html.erb" %>
@@ -0,0 +1,15 @@
1
+ <%= render :partial => "notee/partials/header.html.erb" %>
2
+ <div class="notee_wrapper">
3
+ <div class="notee_main">
4
+ <h2>Category List</h2>
5
+ <% @categories.each do |category| %>
6
+ <div class="notee_list">
7
+ <a href="/categories/<%= category.category.name %>">
8
+ <h3><%= category.category.name %> (<%= category.count %>)</h3>
9
+ </a>
10
+ </div>
11
+ <% end %>
12
+ </div>
13
+ <%= render :partial => "notee/partials/sidebar.html.erb" %>
14
+ </div>
15
+ <%= render :partial => "notee/partials/footer.html.erb" %>