jinda_adminlte 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_adminlte/install_generator.rb +44 -0
- data/lib/generators/jinda_adminlte/templates/adminltes_controller.rb +2 -0
- data/lib/generators/jinda_adminlte/templates/app/assets/bootstrap.css.map +1 -0
- data/lib/generators/jinda_adminlte/templates/app/assets/javascripts/popper.min.js +4 -0
- data/lib/generators/jinda_adminlte/templates/app/assets/jinda_assets/AdminLTE.min.css +7 -0
- data/lib/generators/jinda_adminlte/templates/app/assets/jinda_assets/adminlte.min.js +14 -0
- data/lib/generators/jinda_adminlte/templates/app/assets/jinda_assets/bootstrap.min.css +6 -0
- data/lib/generators/jinda_adminlte/templates/app/assets/jinda_assets/bootstrap.min.css.map +1 -0
- data/lib/generators/jinda_adminlte/templates/app/assets/jinda_assets/bootstrap.min.js +7 -0
- data/lib/generators/jinda_adminlte/templates/app/assets/jinda_assets/dist/css/AdminLTE.css +5673 -0
- data/lib/generators/jinda_adminlte/templates/app/assets/jinda_assets/dist/css/AdminLTE.min.css +7 -0
- data/lib/generators/jinda_adminlte/templates/app/assets/jinda_assets/dist/css/adminlte.css.map +140 -0
- data/lib/generators/jinda_adminlte/templates/app/assets/jinda_assets/dist/css/adminlte.min.css.map +140 -0
- data/lib/generators/jinda_adminlte/templates/app/assets/jinda_assets/dist/css/alt/AdminLTE-bootstrap-social.css +760 -0
- data/lib/generators/jinda_adminlte/templates/app/assets/jinda_assets/dist/css/alt/AdminLTE-bootstrap-social.min.css +1 -0
- data/lib/generators/jinda_adminlte/templates/app/assets/jinda_assets/dist/css/alt/AdminLTE-fullcalendar.css +93 -0
- data/lib/generators/jinda_adminlte/templates/app/assets/jinda_assets/dist/css/alt/AdminLTE-fullcalendar.min.css +1 -0
- data/lib/generators/jinda_adminlte/templates/app/assets/jinda_assets/dist/css/alt/AdminLTE-select2.css +100 -0
- data/lib/generators/jinda_adminlte/templates/app/assets/jinda_assets/dist/css/alt/AdminLTE-select2.min.css +1 -0
- data/lib/generators/jinda_adminlte/templates/app/assets/jinda_assets/dist/css/alt/AdminLTE-without-plugins.css +4002 -0
- data/lib/generators/jinda_adminlte/templates/app/assets/jinda_assets/dist/css/alt/AdminLTE-without-plugins.min.css +7 -0
- data/lib/generators/jinda_adminlte/templates/app/assets/jinda_assets/dist/css/skins/_all-skins.css +1781 -0
- data/lib/generators/jinda_adminlte/templates/app/assets/jinda_assets/dist/css/skins/_all-skins.min.css +1 -0
- data/lib/generators/jinda_adminlte/templates/app/assets/jinda_assets/dist/css/skins/skin-black-light.css +171 -0
- data/lib/generators/jinda_adminlte/templates/app/assets/jinda_assets/dist/css/skins/skin-black-light.min.css +1 -0
- data/lib/generators/jinda_adminlte/templates/app/assets/jinda_assets/dist/css/skins/skin-black.css +161 -0
- data/lib/generators/jinda_adminlte/templates/app/assets/jinda_assets/dist/css/skins/skin-black.min.css +1 -0
- data/lib/generators/jinda_adminlte/templates/app/assets/jinda_assets/dist/css/skins/skin-blue-light.css +163 -0
- data/lib/generators/jinda_adminlte/templates/app/assets/jinda_assets/dist/css/skins/skin-blue-light.min.css +1 -0
- data/lib/generators/jinda_adminlte/templates/app/assets/jinda_assets/dist/css/skins/skin-blue.css +142 -0
- data/lib/generators/jinda_adminlte/templates/app/assets/jinda_assets/dist/css/skins/skin-blue.min.css +1 -0
- data/lib/generators/jinda_adminlte/templates/app/assets/jinda_assets/dist/css/skins/skin-green-light.css +152 -0
- data/lib/generators/jinda_adminlte/templates/app/assets/jinda_assets/dist/css/skins/skin-green-light.min.css +1 -0
- data/lib/generators/jinda_adminlte/templates/app/assets/jinda_assets/dist/css/skins/skin-green.css +134 -0
- data/lib/generators/jinda_adminlte/templates/app/assets/jinda_assets/dist/css/skins/skin-green.min.css +1 -0
- data/lib/generators/jinda_adminlte/templates/app/assets/jinda_assets/dist/css/skins/skin-purple-light.css +152 -0
- data/lib/generators/jinda_adminlte/templates/app/assets/jinda_assets/dist/css/skins/skin-purple-light.min.css +1 -0
- data/lib/generators/jinda_adminlte/templates/app/assets/jinda_assets/dist/css/skins/skin-purple.css +134 -0
- data/lib/generators/jinda_adminlte/templates/app/assets/jinda_assets/dist/css/skins/skin-purple.min.css +1 -0
- data/lib/generators/jinda_adminlte/templates/app/assets/jinda_assets/dist/css/skins/skin-red-light.css +152 -0
- data/lib/generators/jinda_adminlte/templates/app/assets/jinda_assets/dist/css/skins/skin-red-light.min.css +1 -0
- data/lib/generators/jinda_adminlte/templates/app/assets/jinda_assets/dist/css/skins/skin-red.css +134 -0
- data/lib/generators/jinda_adminlte/templates/app/assets/jinda_assets/dist/css/skins/skin-red.min.css +1 -0
- data/lib/generators/jinda_adminlte/templates/app/assets/jinda_assets/dist/css/skins/skin-yellow-light.css +152 -0
- data/lib/generators/jinda_adminlte/templates/app/assets/jinda_assets/dist/css/skins/skin-yellow-light.min.css +1 -0
- data/lib/generators/jinda_adminlte/templates/app/assets/jinda_assets/dist/css/skins/skin-yellow.css +134 -0
- data/lib/generators/jinda_adminlte/templates/app/assets/jinda_assets/dist/css/skins/skin-yellow.min.css +1 -0
- data/lib/generators/jinda_adminlte/templates/app/assets/jinda_assets/dist/img/avatar.png +0 -0
- data/lib/generators/jinda_adminlte/templates/app/assets/jinda_assets/dist/img/avatar04.png +0 -0
- data/lib/generators/jinda_adminlte/templates/app/assets/jinda_assets/dist/img/avatar2.png +0 -0
- data/lib/generators/jinda_adminlte/templates/app/assets/jinda_assets/dist/img/avatar3.png +0 -0
- data/lib/generators/jinda_adminlte/templates/app/assets/jinda_assets/dist/img/avatar5.png +0 -0
- data/lib/generators/jinda_adminlte/templates/app/assets/jinda_assets/dist/img/boxed-bg.jpg +0 -0
- data/lib/generators/jinda_adminlte/templates/app/assets/jinda_assets/dist/img/boxed-bg.png +0 -0
- data/lib/generators/jinda_adminlte/templates/app/assets/jinda_assets/dist/img/credit/american-express.png +0 -0
- data/lib/generators/jinda_adminlte/templates/app/assets/jinda_assets/dist/img/credit/cirrus.png +0 -0
- data/lib/generators/jinda_adminlte/templates/app/assets/jinda_assets/dist/img/credit/mastercard.png +0 -0
- data/lib/generators/jinda_adminlte/templates/app/assets/jinda_assets/dist/img/credit/mestro.png +0 -0
- data/lib/generators/jinda_adminlte/templates/app/assets/jinda_assets/dist/img/credit/paypal.png +0 -0
- data/lib/generators/jinda_adminlte/templates/app/assets/jinda_assets/dist/img/credit/paypal2.png +0 -0
- data/lib/generators/jinda_adminlte/templates/app/assets/jinda_assets/dist/img/credit/visa.png +0 -0
- data/lib/generators/jinda_adminlte/templates/app/assets/jinda_assets/dist/img/default-50x50.gif +0 -0
- data/lib/generators/jinda_adminlte/templates/app/assets/jinda_assets/dist/img/icons.png +0 -0
- data/lib/generators/jinda_adminlte/templates/app/assets/jinda_assets/dist/img/photo1.png +0 -0
- data/lib/generators/jinda_adminlte/templates/app/assets/jinda_assets/dist/img/photo2.png +0 -0
- data/lib/generators/jinda_adminlte/templates/app/assets/jinda_assets/dist/img/photo3.jpg +0 -0
- data/lib/generators/jinda_adminlte/templates/app/assets/jinda_assets/dist/img/photo4.jpg +0 -0
- data/lib/generators/jinda_adminlte/templates/app/assets/jinda_assets/dist/img/user1-128x128.jpg +0 -0
- data/lib/generators/jinda_adminlte/templates/app/assets/jinda_assets/dist/img/user2-160x160.jpg +0 -0
- data/lib/generators/jinda_adminlte/templates/app/assets/jinda_assets/dist/img/user3-128x128.jpg +0 -0
- data/lib/generators/jinda_adminlte/templates/app/assets/jinda_assets/dist/img/user4-128x128.jpg +0 -0
- data/lib/generators/jinda_adminlte/templates/app/assets/jinda_assets/dist/img/user5-128x128.jpg +0 -0
- data/lib/generators/jinda_adminlte/templates/app/assets/jinda_assets/dist/img/user6-128x128.jpg +0 -0
- data/lib/generators/jinda_adminlte/templates/app/assets/jinda_assets/dist/img/user7-128x128.jpg +0 -0
- data/lib/generators/jinda_adminlte/templates/app/assets/jinda_assets/dist/img/user8-128x128.jpg +0 -0
- data/lib/generators/jinda_adminlte/templates/app/assets/jinda_assets/dist/js/adminlte.js +1127 -0
- data/lib/generators/jinda_adminlte/templates/app/assets/jinda_assets/dist/js/adminlte.min.js +14 -0
- data/lib/generators/jinda_adminlte/templates/app/assets/jinda_assets/dist/js/demo.js +349 -0
- data/lib/generators/jinda_adminlte/templates/app/assets/jinda_assets/dist/js/pages/dashboard.js +210 -0
- data/lib/generators/jinda_adminlte/templates/app/assets/jinda_assets/dist/js/pages/dashboard2.js +274 -0
- data/lib/generators/jinda_adminlte/templates/app/assets/jinda_assets/ionicons.min.css +11 -0
- data/lib/generators/jinda_adminlte/templates/app/assets/jinda_assets/jquery-ui.min.js +13 -0
- data/lib/generators/jinda_adminlte/templates/app/assets/jinda_assets/popper.min.js +4 -0
- data/lib/generators/jinda_adminlte/templates/app/assets/jinda_assets/skins/_all-skins.min.css +1 -0
- data/lib/generators/jinda_adminlte/templates/app/controllers/adminltes_controller.rb +6 -0
- data/lib/generators/jinda_adminlte/templates/app/index.mm +180 -0
- data/lib/generators/jinda_adminlte/templates/app/views/adminltes/dashboard1.haml +461 -0
- data/lib/generators/jinda_adminlte/templates/app/views/adminltes/dashboard2.haml +656 -0
- data/lib/generators/jinda_adminlte/templates/app/views/articles/edit.haml +12 -0
- data/lib/generators/jinda_adminlte/templates/app/views/articles/edit_article/edit_article.html.erb +13 -0
- data/lib/generators/jinda_adminlte/templates/app/views/articles/edit_article/select_article.html.erb +12 -0
- data/lib/generators/jinda_adminlte/templates/app/views/articles/index.haml +23 -0
- data/lib/generators/jinda_adminlte/templates/app/views/articles/my.haml +55 -0
- data/lib/generators/jinda_adminlte/templates/app/views/articles/new_article/form_article.html.erb +15 -0
- data/lib/generators/jinda_adminlte/templates/app/views/articles/show.html.haml +24 -0
- data/lib/generators/jinda_adminlte/templates/app/views/articles/xedit_article/edit_article.html.erb +13 -0
- data/lib/generators/jinda_adminlte/templates/app/views/articles/xedit_article/xedit_article.html.erb +11 -0
- data/lib/generators/jinda_adminlte/templates/app/views/layouts/lte/_footer.haml +7 -0
- data/lib/generators/jinda_adminlte/templates/app/views/layouts/lte/_header.haml +100 -0
- data/lib/generators/jinda_adminlte/templates/app/views/layouts/lte/_layout.haml +2 -0
- data/lib/generators/jinda_adminlte/templates/app/views/layouts/lte/_menu.haml +45 -0
- data/lib/generators/jinda_adminlte/templates/app/views/layouts/lte/_menu_mm.haml +36 -0
- data/lib/generators/jinda_adminlte/templates/app/views/layouts/lte/_rightbar.haml +123 -0
- data/lib/generators/jinda_adminlte/templates/app/views/layouts/lte/_sidebar.haml +152 -0
- data/lib/generators/jinda_adminlte/templates/application.css.scss +22 -0
- data/lib/generators/jinda_adminlte/templates/application.haml +65 -0
- data/lib/generators/jinda_adminlte/templates/application.js +15 -0
- data/lib/generators/jinda_adminlte/templates/index.mm +184 -0
- data/lib/generators/jinda_adminlte/templates/jindalte.css.scss +30 -0
- data/lib/generators/jinda_adminlte/templates/jindalte.js +30 -0
- data/lib/jinda_adminlte/version.rb +3 -0
- data/lib/jinda_adminlte.rb +6 -0
- metadata +198 -0
@@ -0,0 +1,656 @@
|
|
1
|
+
%section.content
|
2
|
+
/ Info boxes
|
3
|
+
.row
|
4
|
+
.col-md-3.col-sm-6.col-xs-12
|
5
|
+
.info-box
|
6
|
+
%span.info-box-icon.bg-aqua
|
7
|
+
%i.ion.ion-ios-gear-outline
|
8
|
+
.info-box-content
|
9
|
+
%span.info-box-text CPU Traffic
|
10
|
+
%span.info-box-number
|
11
|
+
90
|
12
|
+
%small %
|
13
|
+
/ /.info-box-content
|
14
|
+
/ /.info-box
|
15
|
+
/ /.col
|
16
|
+
.col-md-3.col-sm-6.col-xs-12
|
17
|
+
.info-box
|
18
|
+
%span.info-box-icon.bg-red
|
19
|
+
%i.fa.fa-google-plus
|
20
|
+
.info-box-content
|
21
|
+
%span.info-box-text Likes
|
22
|
+
%span.info-box-number 41,410
|
23
|
+
/ /.info-box-content
|
24
|
+
/ /.info-box
|
25
|
+
/ /.col
|
26
|
+
/ fix for small devices only
|
27
|
+
.clearfix.visible-sm-block
|
28
|
+
.col-md-3.col-sm-6.col-xs-12
|
29
|
+
.info-box
|
30
|
+
%span.info-box-icon.bg-green
|
31
|
+
%i.ion.ion-ios-cart-outline
|
32
|
+
.info-box-content
|
33
|
+
%span.info-box-text Sales
|
34
|
+
%span.info-box-number 760
|
35
|
+
/ /.info-box-content
|
36
|
+
/ /.info-box
|
37
|
+
/ /.col
|
38
|
+
.col-md-3.col-sm-6.col-xs-12
|
39
|
+
.info-box
|
40
|
+
%span.info-box-icon.bg-yellow
|
41
|
+
%i.ion.ion-ios-people-outline
|
42
|
+
.info-box-content
|
43
|
+
%span.info-box-text New Members
|
44
|
+
%span.info-box-number 2,000
|
45
|
+
/ /.info-box-content
|
46
|
+
/ /.info-box
|
47
|
+
/ /.col
|
48
|
+
/ /.row
|
49
|
+
.row
|
50
|
+
.col-md-12
|
51
|
+
.box
|
52
|
+
.box-header.with-border
|
53
|
+
%h3.box-title Monthly Recap Report
|
54
|
+
.box-tools.pull-right
|
55
|
+
%button.btn.btn-box-tool{"data-widget" => "collapse", :type => "button"}
|
56
|
+
%i.fa.fa-minus
|
57
|
+
.btn-group
|
58
|
+
%button.btn.btn-box-tool.dropdown-toggle{"data-toggle" => "dropdown", :type => "button"}
|
59
|
+
%i.fa.fa-wrench
|
60
|
+
%ul.dropdown-menu{:role => "menu"}
|
61
|
+
%li
|
62
|
+
%a{:href => "#"} Action
|
63
|
+
%li
|
64
|
+
%a{:href => "#"} Another action
|
65
|
+
%li
|
66
|
+
%a{:href => "#"} Something else here
|
67
|
+
%li.divider
|
68
|
+
%li
|
69
|
+
%a{:href => "#"} Separated link
|
70
|
+
%button.btn.btn-box-tool{"data-widget" => "remove", :type => "button"}
|
71
|
+
%i.fa.fa-times
|
72
|
+
/ /.box-header
|
73
|
+
.box-body
|
74
|
+
.row
|
75
|
+
.col-md-8
|
76
|
+
%p.text-center
|
77
|
+
%strong Sales: 1 Jan, 2014 - 30 Jul, 2014
|
78
|
+
.chart
|
79
|
+
/ Sales Chart Canvas
|
80
|
+
%canvas#salesChart{:style => "height: 180px;"}
|
81
|
+
/ /.chart-responsive
|
82
|
+
/ /.col
|
83
|
+
.col-md-4
|
84
|
+
%p.text-center
|
85
|
+
%strong Goal Completion
|
86
|
+
.progress-group
|
87
|
+
%span.progress-text Add Products to Cart
|
88
|
+
%span.progress-number
|
89
|
+
%b> 160
|
90
|
+
\/200
|
91
|
+
.progress.sm
|
92
|
+
.progress-bar.progress-bar-aqua{:style => "width: 80%"}
|
93
|
+
/ /.progress-group
|
94
|
+
.progress-group
|
95
|
+
%span.progress-text Complete Purchase
|
96
|
+
%span.progress-number
|
97
|
+
%b> 310
|
98
|
+
\/400
|
99
|
+
.progress.sm
|
100
|
+
.progress-bar.progress-bar-red{:style => "width: 80%"}
|
101
|
+
/ /.progress-group
|
102
|
+
.progress-group
|
103
|
+
%span.progress-text Visit Premium Page
|
104
|
+
%span.progress-number
|
105
|
+
%b> 480
|
106
|
+
\/800
|
107
|
+
.progress.sm
|
108
|
+
.progress-bar.progress-bar-green{:style => "width: 80%"}
|
109
|
+
/ /.progress-group
|
110
|
+
.progress-group
|
111
|
+
%span.progress-text Send Inquiries
|
112
|
+
%span.progress-number
|
113
|
+
%b> 250
|
114
|
+
\/500
|
115
|
+
.progress.sm
|
116
|
+
.progress-bar.progress-bar-yellow{:style => "width: 80%"}
|
117
|
+
/ /.progress-group
|
118
|
+
/ /.col
|
119
|
+
/ /.row
|
120
|
+
/ ./box-body
|
121
|
+
.box-footer
|
122
|
+
.row
|
123
|
+
.col-sm-3.col-xs-6
|
124
|
+
.description-block.border-right
|
125
|
+
%span.description-percentage.text-green
|
126
|
+
%i.fa.fa-caret-up
|
127
|
+
17%
|
128
|
+
%h5.description-header $35,210.43
|
129
|
+
%span.description-text TOTAL REVENUE
|
130
|
+
/ /.description-block
|
131
|
+
/ /.col
|
132
|
+
.col-sm-3.col-xs-6
|
133
|
+
.description-block.border-right
|
134
|
+
%span.description-percentage.text-yellow
|
135
|
+
%i.fa.fa-caret-left
|
136
|
+
0%
|
137
|
+
%h5.description-header $10,390.90
|
138
|
+
%span.description-text TOTAL COST
|
139
|
+
/ /.description-block
|
140
|
+
/ /.col
|
141
|
+
.col-sm-3.col-xs-6
|
142
|
+
.description-block.border-right
|
143
|
+
%span.description-percentage.text-green
|
144
|
+
%i.fa.fa-caret-up
|
145
|
+
20%
|
146
|
+
%h5.description-header $24,813.53
|
147
|
+
%span.description-text TOTAL PROFIT
|
148
|
+
/ /.description-block
|
149
|
+
/ /.col
|
150
|
+
.col-sm-3.col-xs-6
|
151
|
+
.description-block
|
152
|
+
%span.description-percentage.text-red
|
153
|
+
%i.fa.fa-caret-down
|
154
|
+
18%
|
155
|
+
%h5.description-header 1200
|
156
|
+
%span.description-text GOAL COMPLETIONS
|
157
|
+
/ /.description-block
|
158
|
+
/ /.row
|
159
|
+
/ /.box-footer
|
160
|
+
/ /.box
|
161
|
+
/ /.col
|
162
|
+
/ /.row
|
163
|
+
/ Main row
|
164
|
+
.row
|
165
|
+
/ Left col
|
166
|
+
.col-md-8
|
167
|
+
/ MAP & BOX PANE
|
168
|
+
.box.box-success
|
169
|
+
.box-header.with-border
|
170
|
+
%h3.box-title Visitors Report
|
171
|
+
.box-tools.pull-right
|
172
|
+
%button.btn.btn-box-tool{"data-widget" => "collapse", :type => "button"}
|
173
|
+
%i.fa.fa-minus
|
174
|
+
%button.btn.btn-box-tool{"data-widget" => "remove", :type => "button"}
|
175
|
+
%i.fa.fa-times
|
176
|
+
/ /.box-header
|
177
|
+
.box-body.no-padding
|
178
|
+
.row
|
179
|
+
.col-md-9.col-sm-8
|
180
|
+
.pad
|
181
|
+
/ Map will be created here
|
182
|
+
#world-map-markers{:style => "height: 325px;"}
|
183
|
+
/ /.col
|
184
|
+
.col-md-3.col-sm-4
|
185
|
+
.pad.box-pane-right.bg-green{:style => "min-height: 280px"}
|
186
|
+
.description-block.margin-bottom
|
187
|
+
.sparkbar.pad{"data-color" => "#fff"} 90,70,90,70,75,80,70
|
188
|
+
%h5.description-header 8390
|
189
|
+
%span.description-text Visits
|
190
|
+
/ /.description-block
|
191
|
+
.description-block.margin-bottom
|
192
|
+
.sparkbar.pad{"data-color" => "#fff"} 90,50,90,70,61,83,63
|
193
|
+
%h5.description-header 30%
|
194
|
+
%span.description-text Referrals
|
195
|
+
/ /.description-block
|
196
|
+
.description-block
|
197
|
+
.sparkbar.pad{"data-color" => "#fff"} 90,50,90,70,61,83,63
|
198
|
+
%h5.description-header 70%
|
199
|
+
%span.description-text Organic
|
200
|
+
/ /.description-block
|
201
|
+
/ /.col
|
202
|
+
/ /.row
|
203
|
+
/ /.box-body
|
204
|
+
/ /.box
|
205
|
+
.row
|
206
|
+
.col-md-6
|
207
|
+
/ DIRECT CHAT
|
208
|
+
.box.box-warning.direct-chat.direct-chat-warning
|
209
|
+
.box-header.with-border
|
210
|
+
%h3.box-title Direct Chat
|
211
|
+
.box-tools.pull-right
|
212
|
+
%span.badge.bg-yellow{"data-toggle" => "tooltip", :title => "3 New Messages"} 3
|
213
|
+
%button.btn.btn-box-tool{"data-widget" => "collapse", :type => "button"}
|
214
|
+
%i.fa.fa-minus
|
215
|
+
%button.btn.btn-box-tool{"data-toggle" => "tooltip", "data-widget" => "chat-pane-toggle", :title => "Contacts", :type => "button"}
|
216
|
+
%i.fa.fa-comments
|
217
|
+
%button.btn.btn-box-tool{"data-widget" => "remove", :type => "button"}
|
218
|
+
%i.fa.fa-times
|
219
|
+
/ /.box-header
|
220
|
+
.box-body
|
221
|
+
/ Conversations are loaded here
|
222
|
+
.direct-chat-messages
|
223
|
+
/ Message. Default to the left
|
224
|
+
.direct-chat-msg
|
225
|
+
.direct-chat-info.clearfix
|
226
|
+
%span.direct-chat-name.pull-left Alexander Pierce
|
227
|
+
%span.direct-chat-timestamp.pull-right 23 Jan 2:00 pm
|
228
|
+
/ /.direct-chat-info
|
229
|
+
%img.direct-chat-img{:alt => "message user image", :src => asset_url("dist/img/user1-128x128.jpg")}/
|
230
|
+
/ /.direct-chat-img
|
231
|
+
.direct-chat-text
|
232
|
+
Is this template really for free? That's unbelievable!
|
233
|
+
/ /.direct-chat-text
|
234
|
+
/ /.direct-chat-msg
|
235
|
+
/ Message to the right
|
236
|
+
.direct-chat-msg.right
|
237
|
+
.direct-chat-info.clearfix
|
238
|
+
%span.direct-chat-name.pull-right Sarah Bullock
|
239
|
+
%span.direct-chat-timestamp.pull-left 23 Jan 2:05 pm
|
240
|
+
/ /.direct-chat-info
|
241
|
+
%img.direct-chat-img{:alt => "message user image", :src => asset_url("dist/img/user3-128x128.jpg")}/
|
242
|
+
/ /.direct-chat-img
|
243
|
+
.direct-chat-text
|
244
|
+
You better believe it!
|
245
|
+
/ /.direct-chat-text
|
246
|
+
/ /.direct-chat-msg
|
247
|
+
/ Message. Default to the left
|
248
|
+
.direct-chat-msg
|
249
|
+
.direct-chat-info.clearfix
|
250
|
+
%span.direct-chat-name.pull-left Alexander Pierce
|
251
|
+
%span.direct-chat-timestamp.pull-right 23 Jan 5:37 pm
|
252
|
+
/ /.direct-chat-info
|
253
|
+
%img.direct-chat-img{:alt => "message user image", :src => asset_url("dist/img/user1-128x128.jpg")}/
|
254
|
+
/ /.direct-chat-img
|
255
|
+
.direct-chat-text
|
256
|
+
Working with AdminLTE on a great new app! Wanna join?
|
257
|
+
/ /.direct-chat-text
|
258
|
+
/ /.direct-chat-msg
|
259
|
+
/ Message to the right
|
260
|
+
.direct-chat-msg.right
|
261
|
+
.direct-chat-info.clearfix
|
262
|
+
%span.direct-chat-name.pull-right Sarah Bullock
|
263
|
+
%span.direct-chat-timestamp.pull-left 23 Jan 6:10 pm
|
264
|
+
/ /.direct-chat-info
|
265
|
+
%img.direct-chat-img{:alt => "message user image", :src => asset_url("dist/img/user3-128x128.jpg")}/
|
266
|
+
/ /.direct-chat-img
|
267
|
+
.direct-chat-text
|
268
|
+
I would love to.
|
269
|
+
/ /.direct-chat-text
|
270
|
+
/ /.direct-chat-msg
|
271
|
+
/ /.direct-chat-messages
|
272
|
+
/ Contacts are loaded here
|
273
|
+
.direct-chat-contacts
|
274
|
+
%ul.contacts-list
|
275
|
+
%li
|
276
|
+
%a{:href => "#"}
|
277
|
+
%img.contacts-list-img{:alt => "User Image", :src => asset_url("dist/img/user1-128x128.jpg")}/
|
278
|
+
.contacts-list-info
|
279
|
+
%span.contacts-list-name
|
280
|
+
Count Dracula
|
281
|
+
%small.contacts-list-date.pull-right 2/28/2015
|
282
|
+
%span.contacts-list-msg How have you been? I was...
|
283
|
+
/ /.contacts-list-info
|
284
|
+
/ End Contact Item
|
285
|
+
%li
|
286
|
+
%a{:href => "#"}
|
287
|
+
%img.contacts-list-img{:alt => "User Image", :src => asset_url("dist/img/user7-128x128.jpg")}/
|
288
|
+
.contacts-list-info
|
289
|
+
%span.contacts-list-name
|
290
|
+
Sarah Doe
|
291
|
+
%small.contacts-list-date.pull-right 2/23/2015
|
292
|
+
%span.contacts-list-msg I will be waiting for...
|
293
|
+
/ /.contacts-list-info
|
294
|
+
/ End Contact Item
|
295
|
+
%li
|
296
|
+
%a{:href => "#"}
|
297
|
+
%img.contacts-list-img{:alt => "User Image", :src => asset_url("dist/img/user3-128x128.jpg")}/
|
298
|
+
.contacts-list-info
|
299
|
+
%span.contacts-list-name
|
300
|
+
Nadia Jolie
|
301
|
+
%small.contacts-list-date.pull-right 2/20/2015
|
302
|
+
%span.contacts-list-msg I'll call you back at...
|
303
|
+
/ /.contacts-list-info
|
304
|
+
/ End Contact Item
|
305
|
+
%li
|
306
|
+
%a{:href => "#"}
|
307
|
+
%img.contacts-list-img{:alt => "User Image", :src => asset_url("dist/img/user5-128x128.jpg")}/
|
308
|
+
.contacts-list-info
|
309
|
+
%span.contacts-list-name
|
310
|
+
Nora S. Vans
|
311
|
+
%small.contacts-list-date.pull-right 2/10/2015
|
312
|
+
%span.contacts-list-msg Where is your new...
|
313
|
+
/ /.contacts-list-info
|
314
|
+
/ End Contact Item
|
315
|
+
%li
|
316
|
+
%a{:href => "#"}
|
317
|
+
%img.contacts-list-img{:alt => "User Image", :src => asset_url("dist/img/user6-128x128.jpg")}/
|
318
|
+
.contacts-list-info
|
319
|
+
%span.contacts-list-name
|
320
|
+
John K.
|
321
|
+
%small.contacts-list-date.pull-right 1/27/2015
|
322
|
+
%span.contacts-list-msg Can I take a look at...
|
323
|
+
/ /.contacts-list-info
|
324
|
+
/ End Contact Item
|
325
|
+
%li
|
326
|
+
%a{:href => "#"}
|
327
|
+
%img.contacts-list-img{:alt => "User Image", :src => asset_url("dist/img/user8-128x128.jpg")}/
|
328
|
+
.contacts-list-info
|
329
|
+
%span.contacts-list-name
|
330
|
+
Kenneth M.
|
331
|
+
%small.contacts-list-date.pull-right 1/4/2015
|
332
|
+
%span.contacts-list-msg Never mind I found...
|
333
|
+
/ /.contacts-list-info
|
334
|
+
/ End Contact Item
|
335
|
+
/ /.contatcts-list
|
336
|
+
/ /.direct-chat-pane
|
337
|
+
/ /.box-body
|
338
|
+
.box-footer
|
339
|
+
%form{:action => "#", :method => "post"}
|
340
|
+
.input-group
|
341
|
+
%input.form-control{:name => "message", :placeholder => "Type Message ...", :type => "text"}/
|
342
|
+
%span.input-group-btn
|
343
|
+
%button.btn.btn-warning.btn-flat{:type => "button"} Send
|
344
|
+
/ /.box-footer
|
345
|
+
/ /.direct-chat
|
346
|
+
/ /.col
|
347
|
+
.col-md-6
|
348
|
+
/ USERS LIST
|
349
|
+
.box.box-danger
|
350
|
+
.box-header.with-border
|
351
|
+
%h3.box-title Latest Members
|
352
|
+
.box-tools.pull-right
|
353
|
+
%span.label.label-danger 8 New Members
|
354
|
+
%button.btn.btn-box-tool{"data-widget" => "collapse", :type => "button"}
|
355
|
+
%i.fa.fa-minus
|
356
|
+
%button.btn.btn-box-tool{"data-widget" => "remove", :type => "button"}
|
357
|
+
%i.fa.fa-times
|
358
|
+
/ /.box-header
|
359
|
+
.box-body.no-padding
|
360
|
+
%ul.users-list.clearfix
|
361
|
+
%li
|
362
|
+
%img{:alt => "User Image", :src => asset_url("dist/img/user1-128x128.jpg")}/
|
363
|
+
%a.users-list-name{:href => "#"} Alexander Pierce
|
364
|
+
%span.users-list-date Today
|
365
|
+
%li
|
366
|
+
%img{:alt => "User Image", :src => asset_url("dist/img/user8-128x128.jpg")}/
|
367
|
+
%a.users-list-name{:href => "#"} Norman
|
368
|
+
%span.users-list-date Yesterday
|
369
|
+
%li
|
370
|
+
%img{:alt => "User Image", :src => asset_url("dist/img/user7-128x128.jpg")}/
|
371
|
+
%a.users-list-name{:href => "#"} Jane
|
372
|
+
%span.users-list-date 12 Jan
|
373
|
+
%li
|
374
|
+
%img{:alt => "User Image", :src => asset_url("dist/img/user6-128x128.jpg")}/
|
375
|
+
%a.users-list-name{:href => "#"} John
|
376
|
+
%span.users-list-date 12 Jan
|
377
|
+
%li
|
378
|
+
%img{:alt => "User Image", :src => asset_url("dist/img/user2-160x160.jpg")}/
|
379
|
+
%a.users-list-name{:href => "#"} Alexander
|
380
|
+
%span.users-list-date 13 Jan
|
381
|
+
%li
|
382
|
+
%img{:alt => "User Image", :src => asset_url("dist/img/user5-128x128.jpg")}/
|
383
|
+
%a.users-list-name{:href => "#"} Sarah
|
384
|
+
%span.users-list-date 14 Jan
|
385
|
+
%li
|
386
|
+
%img{:alt => "User Image", :src => asset_url("dist/img/user4-128x128.jpg")}/
|
387
|
+
%a.users-list-name{:href => "#"} Nora
|
388
|
+
%span.users-list-date 15 Jan
|
389
|
+
%li
|
390
|
+
%img{:alt => "User Image", :src => asset_url("dist/img/user3-128x128.jpg")}/
|
391
|
+
%a.users-list-name{:href => "#"} Nadia
|
392
|
+
%span.users-list-date 15 Jan
|
393
|
+
/ /.users-list
|
394
|
+
/ /.box-body
|
395
|
+
.box-footer.text-center
|
396
|
+
%a.uppercase{:href => "javascript:void(0)"} View All Users
|
397
|
+
/ /.box-footer
|
398
|
+
/ /.box
|
399
|
+
/ /.col
|
400
|
+
/ /.row
|
401
|
+
/ TABLE: LATEST ORDERS
|
402
|
+
.box.box-info
|
403
|
+
.box-header.with-border
|
404
|
+
%h3.box-title Latest Orders
|
405
|
+
.box-tools.pull-right
|
406
|
+
%button.btn.btn-box-tool{"data-widget" => "collapse", :type => "button"}
|
407
|
+
%i.fa.fa-minus
|
408
|
+
%button.btn.btn-box-tool{"data-widget" => "remove", :type => "button"}
|
409
|
+
%i.fa.fa-times
|
410
|
+
/ /.box-header
|
411
|
+
.box-body
|
412
|
+
.table-responsive
|
413
|
+
%table.table.no-margin
|
414
|
+
%thead
|
415
|
+
%tr
|
416
|
+
%th Order ID
|
417
|
+
%th Item
|
418
|
+
%th Status
|
419
|
+
%th Popularity
|
420
|
+
%tbody
|
421
|
+
%tr
|
422
|
+
%td
|
423
|
+
%a{:href => "pages/examples/invoice.html"} OR9842
|
424
|
+
%td Call of Duty IV
|
425
|
+
%td
|
426
|
+
%span.label.label-success Shipped
|
427
|
+
%td
|
428
|
+
.sparkbar{"data-color" => "#00a65a", "data-height" => "20"} 90,80,90,-70,61,-83,63
|
429
|
+
%tr
|
430
|
+
%td
|
431
|
+
%a{:href => "pages/examples/invoice.html"} OR1848
|
432
|
+
%td Samsung Smart TV
|
433
|
+
%td
|
434
|
+
%span.label.label-warning Pending
|
435
|
+
%td
|
436
|
+
.sparkbar{"data-color" => "#f39c12", "data-height" => "20"} 90,80,-90,70,61,-83,68
|
437
|
+
%tr
|
438
|
+
%td
|
439
|
+
%a{:href => "pages/examples/invoice.html"} OR7429
|
440
|
+
%td iPhone 6 Plus
|
441
|
+
%td
|
442
|
+
%span.label.label-danger Delivered
|
443
|
+
%td
|
444
|
+
.sparkbar{"data-color" => "#f56954", "data-height" => "20"} 90,-80,90,70,-61,83,63
|
445
|
+
%tr
|
446
|
+
%td
|
447
|
+
%a{:href => "pages/examples/invoice.html"} OR7429
|
448
|
+
%td Samsung Smart TV
|
449
|
+
%td
|
450
|
+
%span.label.label-info Processing
|
451
|
+
%td
|
452
|
+
.sparkbar{"data-color" => "#00c0ef", "data-height" => "20"} 90,80,-90,70,-61,83,63
|
453
|
+
%tr
|
454
|
+
%td
|
455
|
+
%a{:href => "pages/examples/invoice.html"} OR1848
|
456
|
+
%td Samsung Smart TV
|
457
|
+
%td
|
458
|
+
%span.label.label-warning Pending
|
459
|
+
%td
|
460
|
+
.sparkbar{"data-color" => "#f39c12", "data-height" => "20"} 90,80,-90,70,61,-83,68
|
461
|
+
%tr
|
462
|
+
%td
|
463
|
+
%a{:href => "pages/examples/invoice.html"} OR7429
|
464
|
+
%td iPhone 6 Plus
|
465
|
+
%td
|
466
|
+
%span.label.label-danger Delivered
|
467
|
+
%td
|
468
|
+
.sparkbar{"data-color" => "#f56954", "data-height" => "20"} 90,-80,90,70,-61,83,63
|
469
|
+
%tr
|
470
|
+
%td
|
471
|
+
%a{:href => "pages/examples/invoice.html"} OR9842
|
472
|
+
%td Call of Duty IV
|
473
|
+
%td
|
474
|
+
%span.label.label-success Shipped
|
475
|
+
%td
|
476
|
+
.sparkbar{"data-color" => "#00a65a", "data-height" => "20"} 90,80,90,-70,61,-83,63
|
477
|
+
/ /.table-responsive
|
478
|
+
/ /.box-body
|
479
|
+
.box-footer.clearfix
|
480
|
+
%a.btn.btn-sm.btn-info.btn-flat.pull-left{:href => "javascript:void(0)"} Place New Order
|
481
|
+
%a.btn.btn-sm.btn-default.btn-flat.pull-right{:href => "javascript:void(0)"} View All Orders
|
482
|
+
/ /.box-footer
|
483
|
+
/ /.box
|
484
|
+
/ /.col
|
485
|
+
.col-md-4
|
486
|
+
/ Info Boxes Style 2
|
487
|
+
.info-box.bg-yellow
|
488
|
+
%span.info-box-icon
|
489
|
+
%i.ion.ion-ios-pricetag-outline
|
490
|
+
.info-box-content
|
491
|
+
%span.info-box-text Inventory
|
492
|
+
%span.info-box-number 5,200
|
493
|
+
.progress
|
494
|
+
.progress-bar{:style => "width: 50%"}
|
495
|
+
%span.progress-description
|
496
|
+
50% Increase in 30 Days
|
497
|
+
/ /.info-box-content
|
498
|
+
/ /.info-box
|
499
|
+
.info-box.bg-green
|
500
|
+
%span.info-box-icon
|
501
|
+
%i.ion.ion-ios-heart-outline
|
502
|
+
.info-box-content
|
503
|
+
%span.info-box-text Mentions
|
504
|
+
%span.info-box-number 92,050
|
505
|
+
.progress
|
506
|
+
.progress-bar{:style => "width: 20%"}
|
507
|
+
%span.progress-description
|
508
|
+
20% Increase in 30 Days
|
509
|
+
/ /.info-box-content
|
510
|
+
/ /.info-box
|
511
|
+
.info-box.bg-red
|
512
|
+
%span.info-box-icon
|
513
|
+
%i.ion.ion-ios-cloud-download-outline
|
514
|
+
.info-box-content
|
515
|
+
%span.info-box-text Downloads
|
516
|
+
%span.info-box-number 114,381
|
517
|
+
.progress
|
518
|
+
.progress-bar{:style => "width: 70%"}
|
519
|
+
%span.progress-description
|
520
|
+
70% Increase in 30 Days
|
521
|
+
/ /.info-box-content
|
522
|
+
/ /.info-box
|
523
|
+
.info-box.bg-aqua
|
524
|
+
%span.info-box-icon
|
525
|
+
%i.ion-ios-chatbubble-outline
|
526
|
+
.info-box-content
|
527
|
+
%span.info-box-text Direct Messages
|
528
|
+
%span.info-box-number 163,921
|
529
|
+
.progress
|
530
|
+
.progress-bar{:style => "width: 40%"}
|
531
|
+
%span.progress-description
|
532
|
+
40% Increase in 30 Days
|
533
|
+
/ /.info-box-content
|
534
|
+
/ /.info-box
|
535
|
+
.box.box-default
|
536
|
+
.box-header.with-border
|
537
|
+
%h3.box-title Browser Usage
|
538
|
+
.box-tools.pull-right
|
539
|
+
%button.btn.btn-box-tool{"data-widget" => "collapse", :type => "button"}
|
540
|
+
%i.fa.fa-minus
|
541
|
+
%button.btn.btn-box-tool{"data-widget" => "remove", :type => "button"}
|
542
|
+
%i.fa.fa-times
|
543
|
+
/ /.box-header
|
544
|
+
.box-body
|
545
|
+
.row
|
546
|
+
.col-md-8
|
547
|
+
.chart-responsive
|
548
|
+
%canvas#pieChart{:height => "150"}
|
549
|
+
/ ./chart-responsive
|
550
|
+
/ /.col
|
551
|
+
.col-md-4
|
552
|
+
%ul.chart-legend.clearfix
|
553
|
+
%li
|
554
|
+
%i.fa.fa-circle-o.text-red
|
555
|
+
Chrome
|
556
|
+
%li
|
557
|
+
%i.fa.fa-circle-o.text-green
|
558
|
+
IE
|
559
|
+
%li
|
560
|
+
%i.fa.fa-circle-o.text-yellow
|
561
|
+
FireFox
|
562
|
+
%li
|
563
|
+
%i.fa.fa-circle-o.text-aqua
|
564
|
+
Safari
|
565
|
+
%li
|
566
|
+
%i.fa.fa-circle-o.text-light-blue
|
567
|
+
Opera
|
568
|
+
%li
|
569
|
+
%i.fa.fa-circle-o.text-gray
|
570
|
+
Navigator
|
571
|
+
/ /.col
|
572
|
+
/ /.row
|
573
|
+
/ /.box-body
|
574
|
+
.box-footer.no-padding
|
575
|
+
%ul.nav.nav-pills.nav-stacked
|
576
|
+
%li
|
577
|
+
%a{:href => "#"}
|
578
|
+
United States of America
|
579
|
+
%span.pull-right.text-red
|
580
|
+
%i.fa.fa-angle-down
|
581
|
+
12%
|
582
|
+
%li
|
583
|
+
%a{:href => "#"}
|
584
|
+
India
|
585
|
+
%span.pull-right.text-green
|
586
|
+
%i.fa.fa-angle-up
|
587
|
+
4%
|
588
|
+
%li
|
589
|
+
%a{:href => "#"}
|
590
|
+
China
|
591
|
+
%span.pull-right.text-yellow
|
592
|
+
%i.fa.fa-angle-left
|
593
|
+
0%
|
594
|
+
/ /.footer
|
595
|
+
/ /.box
|
596
|
+
/ PRODUCT LIST
|
597
|
+
.box.box-primary
|
598
|
+
.box-header.with-border
|
599
|
+
%h3.box-title Recently Added Products
|
600
|
+
.box-tools.pull-right
|
601
|
+
%button.btn.btn-box-tool{"data-widget" => "collapse", :type => "button"}
|
602
|
+
%i.fa.fa-minus
|
603
|
+
%button.btn.btn-box-tool{"data-widget" => "remove", :type => "button"}
|
604
|
+
%i.fa.fa-times
|
605
|
+
/ /.box-header
|
606
|
+
.box-body
|
607
|
+
%ul.products-list.product-list-in-box
|
608
|
+
%li.item
|
609
|
+
.product-img
|
610
|
+
%img{:alt => "Product Image", :src => asset_url("dist/img/default-50x50.gif")}/
|
611
|
+
.product-info
|
612
|
+
%a.product-title{:href => "javascript:void(0)"}
|
613
|
+
Samsung TV
|
614
|
+
%span.label.label-warning.pull-right $1800
|
615
|
+
%span.product-description
|
616
|
+
Samsung 32" 1080p 60Hz LED Smart HDTV.
|
617
|
+
/ /.item
|
618
|
+
%li.item
|
619
|
+
.product-img
|
620
|
+
%img{:alt => "Product Image", :src => asset_url("dist/img/default-50x50.gif")}/
|
621
|
+
.product-info
|
622
|
+
%a.product-title{:href => "javascript:void(0)"}
|
623
|
+
Bicycle
|
624
|
+
%span.label.label-info.pull-right $700
|
625
|
+
%span.product-description
|
626
|
+
26" Mongoose Dolomite Men's 7-speed, Navy Blue.
|
627
|
+
/ /.item
|
628
|
+
%li.item
|
629
|
+
.product-img
|
630
|
+
%img{:alt => "Product Image", :src => asset_url("dist/img/default-50x50.gif")}/
|
631
|
+
.product-info
|
632
|
+
%a.product-title{:href => "javascript:void(0)"}
|
633
|
+
Xbox One
|
634
|
+
%span.label.label-danger.pull-right $350
|
635
|
+
%span.product-description
|
636
|
+
Xbox One Console Bundle with Halo Master Chief Collection.
|
637
|
+
/ /.item
|
638
|
+
%li.item
|
639
|
+
.product-img
|
640
|
+
%img{:alt => "Product Image", :src => asset_url("dist/img/default-50x50.gif")}/
|
641
|
+
.product-info
|
642
|
+
%a.product-title{:href => "javascript:void(0)"}
|
643
|
+
PlayStation 4
|
644
|
+
%span.label.label-success.pull-right $399
|
645
|
+
%span.product-description
|
646
|
+
PlayStation 4 500GB Console (PS4)
|
647
|
+
/ /.item
|
648
|
+
/ /.box-body
|
649
|
+
.box-footer.text-center
|
650
|
+
%a.uppercase{:href => "javascript:void(0)"} View All Products
|
651
|
+
/ /.box-footer
|
652
|
+
/ /.box
|
653
|
+
/ /.col
|
654
|
+
/ /.row
|
655
|
+
/ /.content
|
656
|
+
/ /.content-wrapper
|
@@ -0,0 +1,12 @@
|
|
1
|
+
|
2
|
+
%h1= @article.title
|
3
|
+
%h1= title 'Member Login'
|
4
|
+
.content= @article.text
|
5
|
+
%div= markdown(@article.body)
|
6
|
+
|
7
|
+
= form_for @article, url: "/jinda/init?s=articles:edit_article" do |f|
|
8
|
+
= f.label :title, "Title"
|
9
|
+
= f.text_field :title
|
10
|
+
= f.label :body, "Body Content"
|
11
|
+
= f.cktext_area :body, rows: 10
|
12
|
+
= f.submit
|
data/lib/generators/jinda_adminlte/templates/app/views/articles/edit_article/edit_article.html.erb
ADDED
@@ -0,0 +1,13 @@
|
|
1
|
+
<%
|
2
|
+
article = Article.find_by :id=> $xvars["select_article"]["title"]
|
3
|
+
%>
|
4
|
+
<%= fields_for article do |f| %>
|
5
|
+
<%= f.label :title, "Title" %>
|
6
|
+
<%= f.text_field :title %>
|
7
|
+
<%= f.label :text, "Text" %>
|
8
|
+
<%= f.text_field :text %>
|
9
|
+
<%= f.label :text, "Keywords" %>
|
10
|
+
<%= f.text_field :keywords %>
|
11
|
+
<%= f.label :body, "Body Content" %>
|
12
|
+
<%= f.cktext_area :body %>
|
13
|
+
<% end %>
|