jinda_adminbsb 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/lib/generators/jinda_adminbsb/install_generator.rb +42 -0
- data/lib/generators/jinda_adminbsb/templates/adminbsbs_controller.rb +2 -0
- data/lib/generators/jinda_adminbsb/templates/app/assets/jinda_assets/admin.js +458 -0
- data/lib/generators/jinda_adminbsb/templates/app/assets/jinda_assets/all-themes.css +900 -0
- data/lib/generators/jinda_adminbsb/templates/app/assets/jinda_assets/animate.min.css +11 -0
- data/lib/generators/jinda_adminbsb/templates/app/assets/jinda_assets/bootstrap-select.js +1735 -0
- data/lib/generators/jinda_adminbsb/templates/app/assets/jinda_assets/bootstrap.css +6760 -0
- data/lib/generators/jinda_adminbsb/templates/app/assets/jinda_assets/bootstrap.js +2363 -0
- data/lib/generators/jinda_adminbsb/templates/app/assets/jinda_assets/images/animation-bg.jpg +0 -0
- data/lib/generators/jinda_adminbsb/templates/app/assets/jinda_assets/images/image-gallery/1.jpg +0 -0
- data/lib/generators/jinda_adminbsb/templates/app/assets/jinda_assets/images/image-gallery/10.jpg +0 -0
- data/lib/generators/jinda_adminbsb/templates/app/assets/jinda_assets/images/image-gallery/11.jpg +0 -0
- data/lib/generators/jinda_adminbsb/templates/app/assets/jinda_assets/images/image-gallery/12.jpg +0 -0
- data/lib/generators/jinda_adminbsb/templates/app/assets/jinda_assets/images/image-gallery/13.jpg +0 -0
- data/lib/generators/jinda_adminbsb/templates/app/assets/jinda_assets/images/image-gallery/14.jpg +0 -0
- data/lib/generators/jinda_adminbsb/templates/app/assets/jinda_assets/images/image-gallery/15.jpg +0 -0
- data/lib/generators/jinda_adminbsb/templates/app/assets/jinda_assets/images/image-gallery/16.jpg +0 -0
- data/lib/generators/jinda_adminbsb/templates/app/assets/jinda_assets/images/image-gallery/17.jpg +0 -0
- data/lib/generators/jinda_adminbsb/templates/app/assets/jinda_assets/images/image-gallery/18.jpg +0 -0
- data/lib/generators/jinda_adminbsb/templates/app/assets/jinda_assets/images/image-gallery/19.jpg +0 -0
- data/lib/generators/jinda_adminbsb/templates/app/assets/jinda_assets/images/image-gallery/2.jpg +0 -0
- data/lib/generators/jinda_adminbsb/templates/app/assets/jinda_assets/images/image-gallery/20.jpg +0 -0
- data/lib/generators/jinda_adminbsb/templates/app/assets/jinda_assets/images/image-gallery/3.jpg +0 -0
- data/lib/generators/jinda_adminbsb/templates/app/assets/jinda_assets/images/image-gallery/4.jpg +0 -0
- data/lib/generators/jinda_adminbsb/templates/app/assets/jinda_assets/images/image-gallery/5.jpg +0 -0
- data/lib/generators/jinda_adminbsb/templates/app/assets/jinda_assets/images/image-gallery/6.jpg +0 -0
- data/lib/generators/jinda_adminbsb/templates/app/assets/jinda_assets/images/image-gallery/7.jpg +0 -0
- data/lib/generators/jinda_adminbsb/templates/app/assets/jinda_assets/images/image-gallery/8.jpg +0 -0
- data/lib/generators/jinda_adminbsb/templates/app/assets/jinda_assets/images/image-gallery/9.jpg +0 -0
- data/lib/generators/jinda_adminbsb/templates/app/assets/jinda_assets/images/image-gallery/thumb/thumb-1.jpg +0 -0
- data/lib/generators/jinda_adminbsb/templates/app/assets/jinda_assets/images/image-gallery/thumb/thumb-10.jpg +0 -0
- data/lib/generators/jinda_adminbsb/templates/app/assets/jinda_assets/images/image-gallery/thumb/thumb-11.jpg +0 -0
- data/lib/generators/jinda_adminbsb/templates/app/assets/jinda_assets/images/image-gallery/thumb/thumb-12.jpg +0 -0
- data/lib/generators/jinda_adminbsb/templates/app/assets/jinda_assets/images/image-gallery/thumb/thumb-13.jpg +0 -0
- data/lib/generators/jinda_adminbsb/templates/app/assets/jinda_assets/images/image-gallery/thumb/thumb-14.jpg +0 -0
- data/lib/generators/jinda_adminbsb/templates/app/assets/jinda_assets/images/image-gallery/thumb/thumb-15.jpg +0 -0
- data/lib/generators/jinda_adminbsb/templates/app/assets/jinda_assets/images/image-gallery/thumb/thumb-16.jpg +0 -0
- data/lib/generators/jinda_adminbsb/templates/app/assets/jinda_assets/images/image-gallery/thumb/thumb-17.jpg +0 -0
- data/lib/generators/jinda_adminbsb/templates/app/assets/jinda_assets/images/image-gallery/thumb/thumb-18.jpg +0 -0
- data/lib/generators/jinda_adminbsb/templates/app/assets/jinda_assets/images/image-gallery/thumb/thumb-19.jpg +0 -0
- data/lib/generators/jinda_adminbsb/templates/app/assets/jinda_assets/images/image-gallery/thumb/thumb-2.jpg +0 -0
- data/lib/generators/jinda_adminbsb/templates/app/assets/jinda_assets/images/image-gallery/thumb/thumb-20.jpg +0 -0
- data/lib/generators/jinda_adminbsb/templates/app/assets/jinda_assets/images/image-gallery/thumb/thumb-3.jpg +0 -0
- data/lib/generators/jinda_adminbsb/templates/app/assets/jinda_assets/images/image-gallery/thumb/thumb-4.jpg +0 -0
- data/lib/generators/jinda_adminbsb/templates/app/assets/jinda_assets/images/image-gallery/thumb/thumb-5.jpg +0 -0
- data/lib/generators/jinda_adminbsb/templates/app/assets/jinda_assets/images/image-gallery/thumb/thumb-6.jpg +0 -0
- data/lib/generators/jinda_adminbsb/templates/app/assets/jinda_assets/images/image-gallery/thumb/thumb-7.jpg +0 -0
- data/lib/generators/jinda_adminbsb/templates/app/assets/jinda_assets/images/image-gallery/thumb/thumb-8.jpg +0 -0
- data/lib/generators/jinda_adminbsb/templates/app/assets/jinda_assets/images/image-gallery/thumb/thumb-9.jpg +0 -0
- data/lib/generators/jinda_adminbsb/templates/app/assets/jinda_assets/images/screenshot.png +0 -0
- data/lib/generators/jinda_adminbsb/templates/app/assets/jinda_assets/images/thumbs-up.png +0 -0
- data/lib/generators/jinda_adminbsb/templates/app/assets/jinda_assets/images/user-img-background.jpg +0 -0
- data/lib/generators/jinda_adminbsb/templates/app/assets/jinda_assets/images/user.jpg +0 -0
- data/lib/generators/jinda_adminbsb/templates/app/assets/jinda_assets/images/user.png +0 -0
- data/lib/generators/jinda_adminbsb/templates/app/assets/jinda_assets/javascripts/images/ajax-loader.gif +0 -0
- data/lib/generators/jinda_adminbsb/templates/app/assets/jinda_assets/javascripts/images/bootstrap-stack.png +0 -0
- data/lib/generators/jinda_adminbsb/templates/app/assets/jinda_assets/javascripts/images/bootstrap-themes.png +0 -0
- data/lib/generators/jinda_adminbsb/templates/app/assets/jinda_assets/javascripts/images/button_black.png +0 -0
- data/lib/generators/jinda_adminbsb/templates/app/assets/jinda_assets/javascripts/images/button_blue.png +0 -0
- data/lib/generators/jinda_adminbsb/templates/app/assets/jinda_assets/javascripts/images/button_red.png +0 -0
- data/lib/generators/jinda_adminbsb/templates/app/assets/jinda_assets/javascripts/images/favicons/android-chrome-192x192.png +0 -0
- data/lib/generators/jinda_adminbsb/templates/app/assets/jinda_assets/javascripts/images/favicons/android-chrome-512x512.png +0 -0
- data/lib/generators/jinda_adminbsb/templates/app/assets/jinda_assets/javascripts/images/favicons/apple-touch-icon.png +0 -0
- data/lib/generators/jinda_adminbsb/templates/app/assets/jinda_assets/javascripts/images/favicons/browserconfig.xml +11 -0
- data/lib/generators/jinda_adminbsb/templates/app/assets/jinda_assets/javascripts/images/favicons/favicon-16x16.png +0 -0
- data/lib/generators/jinda_adminbsb/templates/app/assets/jinda_assets/javascripts/images/favicons/favicon-32x32.png +0 -0
- data/lib/generators/jinda_adminbsb/templates/app/assets/jinda_assets/javascripts/images/favicons/manifest.json +22 -0
- data/lib/generators/jinda_adminbsb/templates/app/assets/jinda_assets/javascripts/images/favicons/mstile-144x144.png +0 -0
- data/lib/generators/jinda_adminbsb/templates/app/assets/jinda_assets/javascripts/images/favicons/mstile-150x150.png +0 -0
- data/lib/generators/jinda_adminbsb/templates/app/assets/jinda_assets/javascripts/images/favicons/mstile-310x150.png +0 -0
- data/lib/generators/jinda_adminbsb/templates/app/assets/jinda_assets/javascripts/images/favicons/mstile-310x310.png +0 -0
- data/lib/generators/jinda_adminbsb/templates/app/assets/jinda_assets/javascripts/images/favicons/mstile-70x70.png +0 -0
- data/lib/generators/jinda_adminbsb/templates/app/assets/jinda_assets/javascripts/images/favicons/safari-pinned-tab.svg +20 -0
- data/lib/generators/jinda_adminbsb/templates/app/assets/jinda_assets/javascripts/images/icons-18-black.png +0 -0
- data/lib/generators/jinda_adminbsb/templates/app/assets/jinda_assets/javascripts/images/icons-18-white.png +0 -0
- data/lib/generators/jinda_adminbsb/templates/app/assets/jinda_assets/javascripts/images/icons-36-black.png +0 -0
- data/lib/generators/jinda_adminbsb/templates/app/assets/jinda_assets/javascripts/images/icons-36-white.png +0 -0
- data/lib/generators/jinda_adminbsb/templates/app/assets/jinda_assets/javascripts/popper.min.js +4 -0
- data/lib/generators/jinda_adminbsb/templates/app/assets/jinda_assets/jquery.min.js +5 -0
- data/lib/generators/jinda_adminbsb/templates/app/assets/jinda_assets/jquery.slimscroll.js +443 -0
- data/lib/generators/jinda_adminbsb/templates/app/assets/jinda_assets/materialize.css +416 -0
- data/lib/generators/jinda_adminbsb/templates/app/assets/jinda_assets/popper.min.js +4 -0
- data/lib/generators/jinda_adminbsb/templates/app/assets/jinda_assets/style.css +8042 -0
- data/lib/generators/jinda_adminbsb/templates/app/assets/jinda_assets/stylesheets/images/ajax-loader.gif +0 -0
- data/lib/generators/jinda_adminbsb/templates/app/assets/jinda_assets/stylesheets/images/button_black.png +0 -0
- data/lib/generators/jinda_adminbsb/templates/app/assets/jinda_assets/stylesheets/images/button_blue.png +0 -0
- data/lib/generators/jinda_adminbsb/templates/app/assets/jinda_assets/stylesheets/images/button_red.png +0 -0
- data/lib/generators/jinda_adminbsb/templates/app/assets/jinda_assets/stylesheets/images/icons-18-black.png +0 -0
- data/lib/generators/jinda_adminbsb/templates/app/assets/jinda_assets/stylesheets/images/icons-18-white.png +0 -0
- data/lib/generators/jinda_adminbsb/templates/app/assets/jinda_assets/stylesheets/images/icons-36-black.png +0 -0
- data/lib/generators/jinda_adminbsb/templates/app/assets/jinda_assets/stylesheets/images/icons-36-white.png +0 -0
- data/lib/generators/jinda_adminbsb/templates/app/assets/jinda_assets/waves.css +136 -0
- data/lib/generators/jinda_adminbsb/templates/app/assets/jinda_assets/waves.js +582 -0
- data/lib/generators/jinda_adminbsb/templates/app/views/adminbsbs/content-bsb.haml +241 -0
- data/lib/generators/jinda_adminbsb/templates/app/views/layouts/application.haml +47 -0
- data/lib/generators/jinda_adminbsb/templates/app/views/layouts/bsb/_footer.haml +7 -0
- data/lib/generators/jinda_adminbsb/templates/app/views/layouts/bsb/_header.haml +147 -0
- data/lib/generators/jinda_adminbsb/templates/app/views/layouts/bsb/_menu.haml +47 -0
- data/lib/generators/jinda_adminbsb/templates/app/views/layouts/bsb/_menu_mm.haml +34 -0
- data/lib/generators/jinda_adminbsb/templates/app/views/layouts/bsb/_rightbar.haml +123 -0
- data/lib/generators/jinda_adminbsb/templates/app/views/layouts/bsb/_sidebar.haml +155 -0
- data/lib/generators/jinda_adminbsb/templates/app/views/layouts/bsb/application-org.haml +47 -0
- data/lib/generators/jinda_adminbsb/templates/application.haml +47 -0
- data/lib/generators/jinda_adminbsb/templates/application.js +20 -0
- data/lib/generators/jinda_adminbsb/templates/application.scss +17 -0
- data/lib/generators/jinda_adminbsb/templates/index.mm +183 -0
- data/lib/generators/jinda_adminbsb/templates/jindabsb.css.scss +24 -0
- data/lib/generators/jinda_adminbsb/templates/jindabsb.js +7 -0
- data/lib/jinda_adminbsb.rb +6 -0
- data/lib/jinda_adminbsb/version.rb +3 -0
- metadata +196 -0
@@ -0,0 +1,34 @@
|
|
1
|
+
%li.treeview
|
2
|
+
- process_services
|
3
|
+
- Jinda::Module.all.asc(:seq).each do |m|
|
4
|
+
- unless m.role.blank?
|
5
|
+
- next unless login?
|
6
|
+
- next unless current_ma_user.role
|
7
|
+
- next unless current_ma_user.role.upcase.split(',').include?(m.role.upcase)
|
8
|
+
%li
|
9
|
+
%a.menu-toggle{:href => "javascript:void(0);"}
|
10
|
+
%i.material-icons.col-light-blue donut_small
|
11
|
+
%span
|
12
|
+
= m.name
|
13
|
+
%ul.ml-menu
|
14
|
+
%li
|
15
|
+
- m.services.asc(:seq).each do |s|
|
16
|
+
- next unless s.list
|
17
|
+
- xml= REXML::Document.new(s.xml).root
|
18
|
+
- unless s.rule.blank?
|
19
|
+
- next if (!eval(s.rule))
|
20
|
+
- unless s.role.blank?
|
21
|
+
- next unless login?
|
22
|
+
- next unless current_ma_user.role
|
23
|
+
- next unless current_ma_user.role.upcase.split(',').include?(s.role.upcase)
|
24
|
+
- if s.code.downcase=="link"
|
25
|
+
- name, url = s.name.split(":", 2)
|
26
|
+
- url.strip!
|
27
|
+
- else
|
28
|
+
- name= s.name; url= "/jinda/init?s=#{s.module_code}:#{s.code}"
|
29
|
+
- if s.confirm
|
30
|
+
%li
|
31
|
+
%a{"data-panel"=>"main", :onclick=>"if (confirm('Please Confirm')) {location.hash='#{url}'};"}= name
|
32
|
+
- else
|
33
|
+
%li
|
34
|
+
%a{"data-panel"=>"main", :href=> url}= name
|
@@ -0,0 +1,123 @@
|
|
1
|
+
%aside.control-sidebar.control-sidebar-dark
|
2
|
+
/ Create the tabs
|
3
|
+
%ul.nav.nav-tabs.nav-justified.control-sidebar-tabs
|
4
|
+
%li
|
5
|
+
%a{"data-toggle" => "tab", :href => "#control-sidebar-home-tab"}
|
6
|
+
%i.fa.fa-home
|
7
|
+
%li
|
8
|
+
%a{"data-toggle" => "tab", :href => "#control-sidebar-settings-tab"}
|
9
|
+
%i.fa.fa-gears
|
10
|
+
/ Tab panes
|
11
|
+
.tab-content
|
12
|
+
/ Home tab content
|
13
|
+
#control-sidebar-home-tab.tab-pane
|
14
|
+
%h3.control-sidebar-heading Recent Activity
|
15
|
+
%ul.control-sidebar-menu
|
16
|
+
%li
|
17
|
+
%a{:href => "javascript:void(0)"}
|
18
|
+
%i.menu-icon.fa.fa-birthday-cake.bg-red
|
19
|
+
.menu-info
|
20
|
+
%h4.control-sidebar-subheading Langdon's Birthday
|
21
|
+
%p Will be 23 on April 24th
|
22
|
+
%li
|
23
|
+
%a{:href => "javascript:void(0)"}
|
24
|
+
%i.menu-icon.fa.fa-user.bg-yellow
|
25
|
+
.menu-info
|
26
|
+
%h4.control-sidebar-subheading Frodo Updated His Profile
|
27
|
+
%p New phone +1(800)555-1234
|
28
|
+
%li
|
29
|
+
%a{:href => "javascript:void(0)"}
|
30
|
+
%i.menu-icon.fa.fa-envelope-o.bg-light-blue
|
31
|
+
.menu-info
|
32
|
+
%h4.control-sidebar-subheading Nora Joined Mailing List
|
33
|
+
%p nora@example.com
|
34
|
+
%li
|
35
|
+
%a{:href => "javascript:void(0)"}
|
36
|
+
%i.menu-icon.fa.fa-file-code-o.bg-green
|
37
|
+
.menu-info
|
38
|
+
%h4.control-sidebar-subheading Cron Job 254 Executed
|
39
|
+
%p Execution time 5 seconds
|
40
|
+
/ /.control-sidebar-menu
|
41
|
+
%h3.control-sidebar-heading Tasks Progress
|
42
|
+
%ul.control-sidebar-menu
|
43
|
+
%li
|
44
|
+
%a{:href => "javascript:void(0)"}
|
45
|
+
%h4.control-sidebar-subheading
|
46
|
+
Custom Template Design
|
47
|
+
%span.label.label-danger.pull-right 70%
|
48
|
+
.progress.progress-xxs
|
49
|
+
.progress-bar.progress-bar-danger{:style => "width: 70%"}
|
50
|
+
%li
|
51
|
+
%a{:href => "javascript:void(0)"}
|
52
|
+
%h4.control-sidebar-subheading
|
53
|
+
Update Resume
|
54
|
+
%span.label.label-success.pull-right 95%
|
55
|
+
.progress.progress-xxs
|
56
|
+
.progress-bar.progress-bar-success{:style => "width: 95%"}
|
57
|
+
%li
|
58
|
+
%a{:href => "javascript:void(0)"}
|
59
|
+
%h4.control-sidebar-subheading
|
60
|
+
Laravel Integration
|
61
|
+
%span.label.label-warning.pull-right 50%
|
62
|
+
.progress.progress-xxs
|
63
|
+
.progress-bar.progress-bar-warning{:style => "width: 50%"}
|
64
|
+
%li
|
65
|
+
%a{:href => "javascript:void(0)"}
|
66
|
+
%h4.control-sidebar-subheading
|
67
|
+
Back End Framework
|
68
|
+
%span.label.label-primary.pull-right 68%
|
69
|
+
.progress.progress-xxs
|
70
|
+
.progress-bar.progress-bar-primary{:style => "width: 68%"}
|
71
|
+
/ /.control-sidebar-menu
|
72
|
+
/ /.tab-pane
|
73
|
+
/ Stats tab content
|
74
|
+
#control-sidebar-stats-tab.tab-pane Stats Tab Content
|
75
|
+
/ /.tab-pane
|
76
|
+
/ Settings tab content
|
77
|
+
#control-sidebar-settings-tab.tab-pane
|
78
|
+
%form{:method => "post"}
|
79
|
+
%h3.control-sidebar-heading General Settings
|
80
|
+
.form-group
|
81
|
+
%label.control-sidebar-subheading
|
82
|
+
Report panel usage
|
83
|
+
%input.pull-right{:checked => "checked", :type => "checkbox"}/
|
84
|
+
%p
|
85
|
+
Some information about this general settings option
|
86
|
+
/ /.form-group
|
87
|
+
.form-group
|
88
|
+
%label.control-sidebar-subheading
|
89
|
+
Allow mail redirect
|
90
|
+
%input.pull-right{:checked => "checked", :type => "checkbox"}/
|
91
|
+
%p
|
92
|
+
Other sets of options are available
|
93
|
+
/ /.form-group
|
94
|
+
.form-group
|
95
|
+
%label.control-sidebar-subheading
|
96
|
+
Expose author name in posts
|
97
|
+
%input.pull-right{:checked => "checked", :type => "checkbox"}/
|
98
|
+
%p
|
99
|
+
Allow the user to show his name in blog posts
|
100
|
+
/ /.form-group
|
101
|
+
%h3.control-sidebar-heading Chat Settings
|
102
|
+
.form-group
|
103
|
+
%label.control-sidebar-subheading
|
104
|
+
Show me as online
|
105
|
+
%input.pull-right{:checked => "checked", :type => "checkbox"}/
|
106
|
+
/ /.form-group
|
107
|
+
.form-group
|
108
|
+
%label.control-sidebar-subheading
|
109
|
+
Turn off notifications
|
110
|
+
%input.pull-right{:type => "checkbox"}/
|
111
|
+
/ /.form-group
|
112
|
+
.form-group
|
113
|
+
%label.control-sidebar-subheading
|
114
|
+
Delete chat history
|
115
|
+
%a.text-red.pull-right{:href => "javascript:void(0)"}
|
116
|
+
%i.fa.fa-trash-o
|
117
|
+
/ /.form-group
|
118
|
+
/ /.tab-pane
|
119
|
+
/ /.control-sidebar
|
120
|
+
/
|
121
|
+
Add the sidebar's background. This div must be placed
|
122
|
+
immediately after the control sidebar
|
123
|
+
.control-sidebar-bg
|
@@ -0,0 +1,155 @@
|
|
1
|
+
%section
|
2
|
+
/ Left Sidebar
|
3
|
+
%aside#leftsidebar.sidebar
|
4
|
+
/ User Info
|
5
|
+
.user-info
|
6
|
+
.image
|
7
|
+
%img{:alt => "User", :height => "48", :src => asset_url("user.png", :width => "48")}/
|
8
|
+
.info-container
|
9
|
+
.name{"aria-expanded" => "false", "aria-haspopup" => "true", "data-toggle" => "dropdown"} John Doe
|
10
|
+
.email john.doe@example.com
|
11
|
+
.btn-group.user-helper-dropdown
|
12
|
+
%i.material-icons{"aria-expanded" => "true", "aria-haspopup" => "true", "data-toggle" => "dropdown"} keyboard_arrow_down
|
13
|
+
%ul.dropdown-menu.pull-right
|
14
|
+
%li
|
15
|
+
%a{:href => "javascript:void(0);"}
|
16
|
+
%i.material-icons> person
|
17
|
+
Profile
|
18
|
+
%li.divider{:role => "seperator"}
|
19
|
+
%li
|
20
|
+
%a{:href => "javascript:void(0);"}
|
21
|
+
%i.material-icons> group
|
22
|
+
Followers
|
23
|
+
%li
|
24
|
+
%a{:href => "javascript:void(0);"}
|
25
|
+
%i.material-icons> shopping_cart
|
26
|
+
Sales
|
27
|
+
%li
|
28
|
+
%a{:href => "javascript:void(0);"}
|
29
|
+
%i.material-icons> favorite
|
30
|
+
Likes
|
31
|
+
%li.divider{:role => "seperator"}
|
32
|
+
%li
|
33
|
+
%a{:href => "javascript:void(0);"}
|
34
|
+
%i.material-icons> input
|
35
|
+
Sign Out
|
36
|
+
/ #User Info
|
37
|
+
/ Menu
|
38
|
+
= render "layouts/bsb/menu"
|
39
|
+
|
40
|
+
/ #Footer
|
41
|
+
/ #END# Left Sidebar
|
42
|
+
/ Right Sidebar
|
43
|
+
%aside#rightsidebar.right-sidebar
|
44
|
+
%ul.nav.nav-tabs.tab-nav-right{:role => "tablist"}
|
45
|
+
%li.active{:role => "presentation"}
|
46
|
+
%a{"data-toggle" => "tab", :href => "#skins"} SKINS
|
47
|
+
%li{:role => "presentation"}
|
48
|
+
%a{"data-toggle" => "tab", :href => "#settings"} SETTINGS
|
49
|
+
.tab-content
|
50
|
+
#skins.tab-pane.fade.in.active.in.active{:role => "tabpanel"}
|
51
|
+
%ul.demo-choose-skin
|
52
|
+
%li.active{"data-theme" => "red"}
|
53
|
+
.red
|
54
|
+
%span Red
|
55
|
+
%li{"data-theme" => "pink"}
|
56
|
+
.pink
|
57
|
+
%span Pink
|
58
|
+
%li{"data-theme" => "purple"}
|
59
|
+
.purple
|
60
|
+
%span Purple
|
61
|
+
%li{"data-theme" => "deep-purple"}
|
62
|
+
.deep-purple
|
63
|
+
%span Deep Purple
|
64
|
+
%li{"data-theme" => "indigo"}
|
65
|
+
.indigo
|
66
|
+
%span Indigo
|
67
|
+
%li{"data-theme" => "blue"}
|
68
|
+
.blue
|
69
|
+
%span Blue
|
70
|
+
%li{"data-theme" => "light-blue"}
|
71
|
+
.light-blue
|
72
|
+
%span Light Blue
|
73
|
+
%li{"data-theme" => "cyan"}
|
74
|
+
.cyan
|
75
|
+
%span Cyan
|
76
|
+
%li{"data-theme" => "teal"}
|
77
|
+
.teal
|
78
|
+
%span Teal
|
79
|
+
%li{"data-theme" => "green"}
|
80
|
+
.green
|
81
|
+
%span Green
|
82
|
+
%li{"data-theme" => "light-green"}
|
83
|
+
.light-green
|
84
|
+
%span Light Green
|
85
|
+
%li{"data-theme" => "lime"}
|
86
|
+
.lime
|
87
|
+
%span Lime
|
88
|
+
%li{"data-theme" => "yellow"}
|
89
|
+
.yellow
|
90
|
+
%span Yellow
|
91
|
+
%li{"data-theme" => "amber"}
|
92
|
+
.amber
|
93
|
+
%span Amber
|
94
|
+
%li{"data-theme" => "orange"}
|
95
|
+
.orange
|
96
|
+
%span Orange
|
97
|
+
%li{"data-theme" => "deep-orange"}
|
98
|
+
.deep-orange
|
99
|
+
%span Deep Orange
|
100
|
+
%li{"data-theme" => "brown"}
|
101
|
+
.brown
|
102
|
+
%span Brown
|
103
|
+
%li{"data-theme" => "grey"}
|
104
|
+
.grey
|
105
|
+
%span Grey
|
106
|
+
%li{"data-theme" => "blue-grey"}
|
107
|
+
.blue-grey
|
108
|
+
%span Blue Grey
|
109
|
+
%li{"data-theme" => "black"}
|
110
|
+
.black
|
111
|
+
%span Black
|
112
|
+
#settings.tab-pane.fade{:role => "tabpanel"}
|
113
|
+
.demo-settings
|
114
|
+
%p GENERAL SETTINGS
|
115
|
+
%ul.setting-list
|
116
|
+
%li
|
117
|
+
%span Report Panel Usage
|
118
|
+
.switch
|
119
|
+
%label
|
120
|
+
%input{:checked => "checked", :type => "checkbox"}/
|
121
|
+
%span.lever
|
122
|
+
%li
|
123
|
+
%span Email Redirect
|
124
|
+
.switch
|
125
|
+
%label
|
126
|
+
%input{:type => "checkbox"}/
|
127
|
+
%span.lever
|
128
|
+
%p SYSTEM SETTINGS
|
129
|
+
%ul.setting-list
|
130
|
+
%li
|
131
|
+
%span Notifications
|
132
|
+
.switch
|
133
|
+
%label
|
134
|
+
%input{:checked => "checked", :type => "checkbox"}/
|
135
|
+
%span.lever
|
136
|
+
%li
|
137
|
+
%span Auto Updates
|
138
|
+
.switch
|
139
|
+
%label
|
140
|
+
%input{:checked => "checked", :type => "checkbox"}/
|
141
|
+
%span.lever
|
142
|
+
%p ACCOUNT SETTINGS
|
143
|
+
%ul.setting-list
|
144
|
+
%li
|
145
|
+
%span Offline
|
146
|
+
.switch
|
147
|
+
%label
|
148
|
+
%input{:type => "checkbox"}/
|
149
|
+
%span.lever
|
150
|
+
%li
|
151
|
+
%span Location Permission
|
152
|
+
.switch
|
153
|
+
%label
|
154
|
+
%input{:checked => "checked", :type => "checkbox"}/
|
155
|
+
%span.lever
|
@@ -0,0 +1,47 @@
|
|
1
|
+
!!!
|
2
|
+
%html
|
3
|
+
%head
|
4
|
+
%meta{:content => "text/html; charset=UTF-8", "http-equiv" => "Content-Type"}/
|
5
|
+
%meta{:charset => "UTF-8"}/
|
6
|
+
%meta{:content => "IE=Edge", "http-equiv" => "X-UA-Compatible"}/
|
7
|
+
%meta{:content => "width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no", :name => "viewport"}/
|
8
|
+
%title Standup App2
|
9
|
+
/ Favicon
|
10
|
+
%link{:href => "favicon.ico", :rel => "icon", :type => "image/x-icon"}/
|
11
|
+
= csrf_meta_tags
|
12
|
+
|
13
|
+
%title Jinda Title | AdminLTE
|
14
|
+
|
15
|
+
%link{:href => "https://fonts.googleapis.com/css?family=Roboto:400,700&subset=latin,cyrillic-ext", :rel => "stylesheet", :type => "text/css"}/
|
16
|
+
%link{:href => "https://fonts.googleapis.com/icon?family=Material+Icons", :rel => "stylesheet", :type => "text/css"}/
|
17
|
+
|
18
|
+
= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track': 'reload'
|
19
|
+
= javascript_include_tag "application", 'data-turbolinks-track': 'reload'
|
20
|
+
|
21
|
+
|
22
|
+
%body.theme-red
|
23
|
+
.page-loader-wrapper
|
24
|
+
.loader
|
25
|
+
.preloader
|
26
|
+
.spinner-layer.pl-red
|
27
|
+
.circle-clipper.left
|
28
|
+
.circle
|
29
|
+
.circle-clipper.right
|
30
|
+
.circle
|
31
|
+
%p Please wait...
|
32
|
+
/ Overlay For Sidebars
|
33
|
+
.overlay
|
34
|
+
.search-bar
|
35
|
+
.search-icon
|
36
|
+
%i.material-icons search
|
37
|
+
%input{:placeholder => "START TYPING...", :type => "text"}/
|
38
|
+
.close-search
|
39
|
+
%i.material-icons close
|
40
|
+
= render "layouts/bsb/header"
|
41
|
+
= render "layouts/bsb/sidebar"
|
42
|
+
.content-header
|
43
|
+
%h1= @title || DEFAULT_TITLE
|
44
|
+
= yield
|
45
|
+
|
46
|
+
|
47
|
+
|
@@ -0,0 +1,47 @@
|
|
1
|
+
!!!
|
2
|
+
%html
|
3
|
+
%head
|
4
|
+
%meta{:content => "text/html; charset=UTF-8", "http-equiv" => "Content-Type"}/
|
5
|
+
%meta{:charset => "UTF-8"}/
|
6
|
+
%meta{:content => "IE=Edge", "http-equiv" => "X-UA-Compatible"}/
|
7
|
+
%meta{:content => "width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no", :name => "viewport"}/
|
8
|
+
%title Standup App2
|
9
|
+
/ Favicon
|
10
|
+
%link{:href => "favicon.ico", :rel => "icon", :type => "image/x-icon"}/
|
11
|
+
= csrf_meta_tags
|
12
|
+
|
13
|
+
%title Jinda Title | AdminLTE
|
14
|
+
|
15
|
+
%link{:href => "https://fonts.googleapis.com/css?family=Roboto:400,700&subset=latin,cyrillic-ext", :rel => "stylesheet", :type => "text/css"}/
|
16
|
+
%link{:href => "https://fonts.googleapis.com/icon?family=Material+Icons", :rel => "stylesheet", :type => "text/css"}/
|
17
|
+
|
18
|
+
= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track': 'reload'
|
19
|
+
= javascript_include_tag "application", 'data-turbolinks-track': 'reload'
|
20
|
+
|
21
|
+
|
22
|
+
%body.theme-red
|
23
|
+
.page-loader-wrapper
|
24
|
+
.loader
|
25
|
+
.preloader
|
26
|
+
.spinner-layer.pl-red
|
27
|
+
.circle-clipper.left
|
28
|
+
.circle
|
29
|
+
.circle-clipper.right
|
30
|
+
.circle
|
31
|
+
%p Please wait...
|
32
|
+
/ Overlay For Sidebars
|
33
|
+
.overlay
|
34
|
+
.search-bar
|
35
|
+
.search-icon
|
36
|
+
%i.material-icons search
|
37
|
+
%input{:placeholder => "START TYPING...", :type => "text"}/
|
38
|
+
.close-search
|
39
|
+
%i.material-icons close
|
40
|
+
= render "layouts/bsb/header"
|
41
|
+
= render "layouts/bsb/sidebar"
|
42
|
+
.content-header
|
43
|
+
%h1= @title || DEFAULT_TITLE
|
44
|
+
= yield
|
45
|
+
|
46
|
+
|
47
|
+
|
@@ -0,0 +1,20 @@
|
|
1
|
+
// This is a manifest file that'll be compiled into application.js, which will include all the files
|
2
|
+
// listed below.
|
3
|
+
//
|
4
|
+
// Any JavaScript/Coffee file within this directory, lib/assets/javascripts, vendor/assets/javascripts,
|
5
|
+
// or vendor/assets/javascripts of plugins, if any, can be referenced here using a relative path.
|
6
|
+
//
|
7
|
+
// It's not advisable to add code directly here, but if you do, it'll appear at the bottom of the
|
8
|
+
// the compiled file.
|
9
|
+
//
|
10
|
+
// WARNING: THE FIRST BLANK LINE MARKS THE END OF WHAT'S TO BE PROCESSED, ANY BLANK LINE SHOULD
|
11
|
+
// GO AFTER THE REQUIRES BELOW.
|
12
|
+
//
|
13
|
+
//= require jquery
|
14
|
+
//= require jquery.turbolinks
|
15
|
+
//= require jquery_ujs
|
16
|
+
//= require turbolinks
|
17
|
+
//= require jindabsb.js
|
18
|
+
//= require ckeditor/init
|
19
|
+
|
20
|
+
|
@@ -0,0 +1,17 @@
|
|
1
|
+
/*
|
2
|
+
* This is a manifest file that'll be compiled into application.css, which will include all the files
|
3
|
+
* listed below.
|
4
|
+
*
|
5
|
+
* Any CSS and SCSS file within this directory, lib/assets/stylesheets, vendor/assets/stylesheets,
|
6
|
+
* or vendor/assets/stylesheets of plugins, if any, can be referenced here using a relative path.
|
7
|
+
*
|
8
|
+
* You're free to add application-wide styles to this file and they'll appear at the top of the
|
9
|
+
* compiled file, but it's generally better to create a new file per style scope.
|
10
|
+
*
|
11
|
+
*= require_self
|
12
|
+
*= require jindabsb.css.scss
|
13
|
+
*/
|
14
|
+
|
15
|
+
|
16
|
+
|
17
|
+
|