ideyabox 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/generators/ideyabox/admin/admin_generator.rb +25 -0
- data/lib/generators/ideyabox/admin/templates/.DS_Store +0 -0
- data/lib/generators/ideyabox/admin/templates/assets/.DS_Store +0 -0
- data/lib/generators/ideyabox/admin/templates/assets/images/.DS_Store +0 -0
- data/lib/generators/ideyabox/admin/templates/assets/images/admin/.DS_Store +0 -0
- data/lib/generators/ideyabox/admin/templates/assets/images/admin/addphoto.png +0 -0
- data/lib/generators/ideyabox/admin/templates/assets/images/admin/background-image.png +0 -0
- data/lib/generators/ideyabox/admin/templates/assets/images/admin/rdws_cat.png +0 -0
- data/lib/generators/ideyabox/admin/templates/assets/images/admin/search.png +0 -0
- data/lib/generators/ideyabox/admin/templates/assets/images/admin/search_button.png +0 -0
- data/lib/generators/ideyabox/admin/templates/assets/images/admin/small_button.png +0 -0
- data/lib/generators/ideyabox/admin/templates/assets/images/admin/uploadify/#swfobject.js +4 -0
- data/lib/generators/ideyabox/admin/templates/assets/images/admin/uploadify/cancel.png +0 -0
- data/lib/generators/ideyabox/admin/templates/assets/images/admin/uploadify/jquery.uploadify.min.js +26 -0
- data/lib/generators/ideyabox/admin/templates/assets/images/admin/uploadify/uploadify-cancel.png +0 -0
- data/lib/generators/ideyabox/admin/templates/assets/images/admin/uploadify/uploadify.css +66 -0
- data/lib/generators/ideyabox/admin/templates/assets/images/admin/uploadify/uploadify.swf +0 -0
- data/lib/generators/ideyabox/admin/templates/assets/javascripts/.DS_Store +0 -0
- data/lib/generators/ideyabox/admin/templates/assets/javascripts/admin.js +14 -0
- data/lib/generators/ideyabox/admin/templates/assets/javascripts/chosen.jquery.js +1018 -0
- data/lib/generators/ideyabox/admin/templates/assets/javascripts/jquery.ui.nestedSortable.js +390 -0
- data/lib/generators/ideyabox/admin/templates/assets/javascripts/jquery.uploadify.min.js +26 -0
- data/lib/generators/ideyabox/admin/templates/assets/javascripts/modernizr.js +4 -0
- data/lib/generators/ideyabox/admin/templates/assets/javascripts/swfobject.js +4 -0
- data/lib/generators/ideyabox/admin/templates/assets/stylesheets/.DS_Store +0 -0
- data/lib/generators/ideyabox/admin/templates/assets/stylesheets/admin.scss.erb +393 -0
- data/lib/generators/ideyabox/admin/templates/assets/stylesheets/chosen.scss.erb +398 -0
- data/lib/generators/ideyabox/admin/templates/assets/stylesheets/font-awesome.css +303 -0
- data/lib/generators/ideyabox/admin/templates/assets/stylesheets/font_awesome/.gitignore +29 -0
- data/lib/generators/ideyabox/admin/templates/assets/stylesheets/font_awesome/font/fontawesome-webfont.eot +0 -0
- data/lib/generators/ideyabox/admin/templates/assets/stylesheets/font_awesome/font/fontawesome-webfont.svg +255 -0
- data/lib/generators/ideyabox/admin/templates/assets/stylesheets/font_awesome/font/fontawesome-webfont.ttf +0 -0
- data/lib/generators/ideyabox/admin/templates/assets/stylesheets/font_awesome/font/fontawesome-webfont.woff +0 -0
- data/lib/generators/ideyabox/admin/templates/assets/stylesheets/normalize.css +500 -0
- data/lib/generators/ideyabox/admin/templates/controllers/.DS_Store +0 -0
- data/lib/generators/ideyabox/admin/templates/controllers/admin/.DS_Store +0 -0
- data/lib/generators/ideyabox/admin/templates/controllers/admin/application_controller.rb +8 -0
- data/lib/generators/ideyabox/admin/templates/helpers/.DS_Store +0 -0
- data/lib/generators/ideyabox/admin/templates/helpers/admin_helper.rb +104 -0
- data/lib/generators/ideyabox/admin/templates/tasks/reset_db.rake +9 -0
- data/lib/generators/ideyabox/admin/templates/tasks/seeds.rb +2 -0
- data/lib/generators/ideyabox/admin/templates/views/.DS_Store +0 -0
- data/lib/generators/ideyabox/admin/templates/views/admin/.DS_Store +0 -0
- data/lib/generators/ideyabox/admin/templates/views/admin/shared/_header.html.haml +11 -0
- data/lib/generators/ideyabox/admin/templates/views/admin/shared/_launchbar.html.haml +10 -0
- data/lib/generators/ideyabox/admin/templates/views/admin/shared/_topbar.html.haml +6 -0
- data/lib/generators/ideyabox/admin/templates/views/layouts/admin.html.haml +39 -0
- data/lib/generators/ideyabox/admin/templates/views/layouts/login.html.haml +32 -0
- data/lib/ideyabox/version.rb +1 -1
- data/lib/ideyabox.rb +1 -2
- metadata +49 -2
- 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 "Войти"
|
data/lib/ideyabox/version.rb
CHANGED
data/lib/ideyabox.rb
CHANGED
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.
|
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: []
|
data/lib/ideyabox/engine.rb
DELETED