ideyabox 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (52) hide show
  1. data/lib/generators/ideyabox/admin/admin_generator.rb +25 -0
  2. data/lib/generators/ideyabox/admin/templates/.DS_Store +0 -0
  3. data/lib/generators/ideyabox/admin/templates/assets/.DS_Store +0 -0
  4. data/lib/generators/ideyabox/admin/templates/assets/images/.DS_Store +0 -0
  5. data/lib/generators/ideyabox/admin/templates/assets/images/admin/.DS_Store +0 -0
  6. data/lib/generators/ideyabox/admin/templates/assets/images/admin/addphoto.png +0 -0
  7. data/lib/generators/ideyabox/admin/templates/assets/images/admin/background-image.png +0 -0
  8. data/lib/generators/ideyabox/admin/templates/assets/images/admin/rdws_cat.png +0 -0
  9. data/lib/generators/ideyabox/admin/templates/assets/images/admin/search.png +0 -0
  10. data/lib/generators/ideyabox/admin/templates/assets/images/admin/search_button.png +0 -0
  11. data/lib/generators/ideyabox/admin/templates/assets/images/admin/small_button.png +0 -0
  12. data/lib/generators/ideyabox/admin/templates/assets/images/admin/uploadify/#swfobject.js +4 -0
  13. data/lib/generators/ideyabox/admin/templates/assets/images/admin/uploadify/cancel.png +0 -0
  14. data/lib/generators/ideyabox/admin/templates/assets/images/admin/uploadify/jquery.uploadify.min.js +26 -0
  15. data/lib/generators/ideyabox/admin/templates/assets/images/admin/uploadify/uploadify-cancel.png +0 -0
  16. data/lib/generators/ideyabox/admin/templates/assets/images/admin/uploadify/uploadify.css +66 -0
  17. data/lib/generators/ideyabox/admin/templates/assets/images/admin/uploadify/uploadify.swf +0 -0
  18. data/lib/generators/ideyabox/admin/templates/assets/javascripts/.DS_Store +0 -0
  19. data/lib/generators/ideyabox/admin/templates/assets/javascripts/admin.js +14 -0
  20. data/lib/generators/ideyabox/admin/templates/assets/javascripts/chosen.jquery.js +1018 -0
  21. data/lib/generators/ideyabox/admin/templates/assets/javascripts/jquery.ui.nestedSortable.js +390 -0
  22. data/lib/generators/ideyabox/admin/templates/assets/javascripts/jquery.uploadify.min.js +26 -0
  23. data/lib/generators/ideyabox/admin/templates/assets/javascripts/modernizr.js +4 -0
  24. data/lib/generators/ideyabox/admin/templates/assets/javascripts/swfobject.js +4 -0
  25. data/lib/generators/ideyabox/admin/templates/assets/stylesheets/.DS_Store +0 -0
  26. data/lib/generators/ideyabox/admin/templates/assets/stylesheets/admin.scss.erb +393 -0
  27. data/lib/generators/ideyabox/admin/templates/assets/stylesheets/chosen.scss.erb +398 -0
  28. data/lib/generators/ideyabox/admin/templates/assets/stylesheets/font-awesome.css +303 -0
  29. data/lib/generators/ideyabox/admin/templates/assets/stylesheets/font_awesome/.gitignore +29 -0
  30. data/lib/generators/ideyabox/admin/templates/assets/stylesheets/font_awesome/font/fontawesome-webfont.eot +0 -0
  31. data/lib/generators/ideyabox/admin/templates/assets/stylesheets/font_awesome/font/fontawesome-webfont.svg +255 -0
  32. data/lib/generators/ideyabox/admin/templates/assets/stylesheets/font_awesome/font/fontawesome-webfont.ttf +0 -0
  33. data/lib/generators/ideyabox/admin/templates/assets/stylesheets/font_awesome/font/fontawesome-webfont.woff +0 -0
  34. data/lib/generators/ideyabox/admin/templates/assets/stylesheets/normalize.css +500 -0
  35. data/lib/generators/ideyabox/admin/templates/controllers/.DS_Store +0 -0
  36. data/lib/generators/ideyabox/admin/templates/controllers/admin/.DS_Store +0 -0
  37. data/lib/generators/ideyabox/admin/templates/controllers/admin/application_controller.rb +8 -0
  38. data/lib/generators/ideyabox/admin/templates/helpers/.DS_Store +0 -0
  39. data/lib/generators/ideyabox/admin/templates/helpers/admin_helper.rb +104 -0
  40. data/lib/generators/ideyabox/admin/templates/tasks/reset_db.rake +9 -0
  41. data/lib/generators/ideyabox/admin/templates/tasks/seeds.rb +2 -0
  42. data/lib/generators/ideyabox/admin/templates/views/.DS_Store +0 -0
  43. data/lib/generators/ideyabox/admin/templates/views/admin/.DS_Store +0 -0
  44. data/lib/generators/ideyabox/admin/templates/views/admin/shared/_header.html.haml +11 -0
  45. data/lib/generators/ideyabox/admin/templates/views/admin/shared/_launchbar.html.haml +10 -0
  46. data/lib/generators/ideyabox/admin/templates/views/admin/shared/_topbar.html.haml +6 -0
  47. data/lib/generators/ideyabox/admin/templates/views/layouts/admin.html.haml +39 -0
  48. data/lib/generators/ideyabox/admin/templates/views/layouts/login.html.haml +32 -0
  49. data/lib/ideyabox/version.rb +1 -1
  50. data/lib/ideyabox.rb +1 -2
  51. metadata +49 -2
  52. data/lib/ideyabox/engine.rb +0 -4
@@ -0,0 +1,32 @@
1
+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2
+ %html.login{:xmlns => "http://www.w3.org/1999/xhtml", "xml:lang" => "en"}
3
+ %head
4
+ %meta{"http-equiv" => "Content-Type", :content => "text/html;charset=UTF-8"}
5
+ %title= ("Вход на сайт")+" | Хиконикс"
6
+ = stylesheet_link_tag 'admin'
7
+ = javascript_include_tag "admin"
8
+ = csrf_meta_tag
9
+ %body
10
+ %table.login
11
+ %tr.login
12
+ %td.login
13
+ #main
14
+ #page-header
15
+ %h2 Административная панель
16
+ #page
17
+ #content
18
+ = form_for(resource, :as => resource_name, :url => session_path(resource_name)) do |f|
19
+ .fields
20
+ = f.label :email, "Логин"
21
+ %br
22
+ = f.text_field :email
23
+ .fields
24
+ = f.label :password, "Пароль"
25
+ %br
26
+ = f.password_field :password, :size => 34
27
+ .actions
28
+ -#
29
+ - if devise_mapping.rememberable?
30
+ = f.check_box :remember_me
31
+ = f.label :remember_me, "Оставаться в системе"
32
+ = f.submit "Войти"
@@ -1,3 +1,3 @@
1
1
  module Ideyabox
2
- VERSION = "0.0.1"
2
+ VERSION = "0.0.2"
3
3
  end
data/lib/ideyabox.rb CHANGED
@@ -1,6 +1,5 @@
1
1
  require "ideyabox/version"
2
2
 
3
3
  module Ideyabox
4
- require "ideyabox/engine"
5
4
  # Your code goes here...
6
- end
5
+ end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ideyabox
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -24,8 +24,55 @@ files:
24
24
  - README.md
25
25
  - Rakefile
26
26
  - ideyabox.gemspec
27
+ - lib/generators/ideyabox/admin/admin_generator.rb
28
+ - lib/generators/ideyabox/admin/templates/.DS_Store
29
+ - lib/generators/ideyabox/admin/templates/assets/.DS_Store
30
+ - lib/generators/ideyabox/admin/templates/assets/images/.DS_Store
31
+ - lib/generators/ideyabox/admin/templates/assets/images/admin/.DS_Store
32
+ - lib/generators/ideyabox/admin/templates/assets/images/admin/addphoto.png
33
+ - lib/generators/ideyabox/admin/templates/assets/images/admin/background-image.png
34
+ - lib/generators/ideyabox/admin/templates/assets/images/admin/rdws_cat.png
35
+ - lib/generators/ideyabox/admin/templates/assets/images/admin/search.png
36
+ - lib/generators/ideyabox/admin/templates/assets/images/admin/search_button.png
37
+ - lib/generators/ideyabox/admin/templates/assets/images/admin/small_button.png
38
+ - lib/generators/ideyabox/admin/templates/assets/images/admin/uploadify/#swfobject.js
39
+ - lib/generators/ideyabox/admin/templates/assets/images/admin/uploadify/cancel.png
40
+ - lib/generators/ideyabox/admin/templates/assets/images/admin/uploadify/jquery.uploadify.min.js
41
+ - lib/generators/ideyabox/admin/templates/assets/images/admin/uploadify/uploadify-cancel.png
42
+ - lib/generators/ideyabox/admin/templates/assets/images/admin/uploadify/uploadify.css
43
+ - lib/generators/ideyabox/admin/templates/assets/images/admin/uploadify/uploadify.swf
44
+ - lib/generators/ideyabox/admin/templates/assets/javascripts/.DS_Store
45
+ - lib/generators/ideyabox/admin/templates/assets/javascripts/admin.js
46
+ - lib/generators/ideyabox/admin/templates/assets/javascripts/chosen.jquery.js
47
+ - lib/generators/ideyabox/admin/templates/assets/javascripts/jquery.ui.nestedSortable.js
48
+ - lib/generators/ideyabox/admin/templates/assets/javascripts/jquery.uploadify.min.js
49
+ - lib/generators/ideyabox/admin/templates/assets/javascripts/modernizr.js
50
+ - lib/generators/ideyabox/admin/templates/assets/javascripts/swfobject.js
51
+ - lib/generators/ideyabox/admin/templates/assets/stylesheets/.DS_Store
52
+ - lib/generators/ideyabox/admin/templates/assets/stylesheets/admin.scss.erb
53
+ - lib/generators/ideyabox/admin/templates/assets/stylesheets/chosen.scss.erb
54
+ - lib/generators/ideyabox/admin/templates/assets/stylesheets/font-awesome.css
55
+ - lib/generators/ideyabox/admin/templates/assets/stylesheets/font_awesome/.gitignore
56
+ - lib/generators/ideyabox/admin/templates/assets/stylesheets/font_awesome/font/fontawesome-webfont.eot
57
+ - lib/generators/ideyabox/admin/templates/assets/stylesheets/font_awesome/font/fontawesome-webfont.svg
58
+ - lib/generators/ideyabox/admin/templates/assets/stylesheets/font_awesome/font/fontawesome-webfont.ttf
59
+ - lib/generators/ideyabox/admin/templates/assets/stylesheets/font_awesome/font/fontawesome-webfont.woff
60
+ - lib/generators/ideyabox/admin/templates/assets/stylesheets/normalize.css
61
+ - lib/generators/ideyabox/admin/templates/controllers/.DS_Store
62
+ - lib/generators/ideyabox/admin/templates/controllers/admin/.DS_Store
63
+ - lib/generators/ideyabox/admin/templates/controllers/admin/application_controller.rb
64
+ - lib/generators/ideyabox/admin/templates/helpers/.DS_Store
65
+ - lib/generators/ideyabox/admin/templates/helpers/admin_helper.rb
66
+ - lib/generators/ideyabox/admin/templates/tasks/reset_db.rake
67
+ - lib/generators/ideyabox/admin/templates/tasks/seeds.rb
68
+ - lib/generators/ideyabox/admin/templates/views/.DS_Store
69
+ - lib/generators/ideyabox/admin/templates/views/admin/.DS_Store
70
+ - lib/generators/ideyabox/admin/templates/views/admin/shared/_header.html.haml
71
+ - lib/generators/ideyabox/admin/templates/views/admin/shared/_launchbar.html.haml
72
+ - lib/generators/ideyabox/admin/templates/views/admin/shared/_topbar.html.haml
73
+ - lib/generators/ideyabox/admin/templates/views/layouts/admin.html.haml
74
+ - lib/generators/ideyabox/admin/templates/views/layouts/login.html.haml
27
75
  - lib/ideyabox.rb
28
- - lib/ideyabox/engine.rb
29
76
  - lib/ideyabox/version.rb
30
77
  homepage: ''
31
78
  licenses: []
@@ -1,4 +0,0 @@
1
- module Ideyabox
2
- class Engine < Rails::Engine
3
- end
4
- end