jinda 0.7.7.4 → 0.8.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (54) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +39 -25
  3. data/app/assets/config/manifest.js +4 -1
  4. data/lib/generators/jinda/config_generator.rb +1 -1
  5. data/lib/generators/jinda/install_generator.rb +3 -4
  6. data/lib/generators/jinda/templates/app/assets/config/manifest.js +4 -0
  7. data/lib/generators/jinda/templates/config/mongoid.yml +3 -3
  8. data/lib/generators/jinda/templates/config/mongoid.yml-docker +3 -3
  9. data/lib/generators/jinda/templates/config/mongoid.yml-localhost +3 -3
  10. data/lib/generators/jinda/templates/spec/features/userlogins_spec.rb +1 -1
  11. data/lib/jinda/version.rb +1 -1
  12. data/test/dummy/Dockerfile +2 -4
  13. data/test/dummy/Gemfile +6 -8
  14. data/test/dummy/Gemfile.lock +205 -189
  15. data/test/dummy/README.md.bak +24 -0
  16. data/test/dummy/app/assets/config/manifest.js +4 -0
  17. data/test/dummy/app/assets/javascripts/application.js +8 -8
  18. data/test/dummy/app/assets/stylesheets/application.css.bak +15 -0
  19. data/test/dummy/app/assets/stylesheets/{application.scss → application.css.scss} +4 -12
  20. data/test/dummy/app/assets/stylesheets/jinda_jqm.css.scss +32 -0
  21. data/test/dummy/app/mailers/application_mailer.rb +2 -2
  22. data/test/dummy/app/mailers/application_mailer.rb-org +4 -0
  23. data/test/dummy/app/views/identities/new.html.haml +0 -13
  24. data/test/dummy/app/views/layouts/application.haml +4 -51
  25. data/test/dummy/app/views/sessions/new.html.haml +0 -13
  26. data/test/dummy/config/credentials.yml.enc +1 -1
  27. data/test/dummy/config/environments/test.rb +1 -1
  28. data/test/dummy/config/initializers/content_security_policy.rb +5 -4
  29. data/test/dummy/config/initializers/filter_parameter_logging.rb +1 -3
  30. data/test/dummy/config/mongoid.yml +54 -40
  31. data/test/dummy/config/mongoid.yml-docker +3 -3
  32. data/test/dummy/config/mongoid.yml-localhost +3 -3
  33. data/test/dummy/docker-compose.yml +0 -4
  34. data/test/dummy/log/development.log +2 -2331
  35. data/test/dummy/spec/features/userlogins_spec.rb +1 -1
  36. data/test/dummy/tmp/development_secret.txt +1 -1
  37. data/test/integration/config_generator_test.rb +28 -0
  38. metadata +9 -19
  39. data/test/dummy/Guardfile +0 -96
  40. data/test/dummy/app/assets/stylesheets/jinda.scss +0 -253
  41. data/test/dummy/app/controllers/adminltes_controller.rb +0 -2
  42. data/test/dummy/app/views/adminltes/dashboard1.haml +0 -461
  43. data/test/dummy/app/views/adminltes/dashboard2.haml +0 -656
  44. data/test/dummy/app/views/identities/new-bak.html.haml +0 -32
  45. data/test/dummy/app/views/layouts/application.haml.bak +0 -4
  46. data/test/dummy/app/views/layouts/lte/_flash.haml +0 -9
  47. data/test/dummy/app/views/layouts/lte/_footer.haml +0 -7
  48. data/test/dummy/app/views/layouts/lte/_header.haml +0 -111
  49. data/test/dummy/app/views/layouts/lte/_menu.haml +0 -42
  50. data/test/dummy/app/views/layouts/lte/_menu_mm.haml +0 -36
  51. data/test/dummy/app/views/layouts/lte/_rightbar.haml +0 -123
  52. data/test/dummy/app/views/layouts/lte/_sidebar.haml +0 -154
  53. data/test/dummy/app/views/sessions/new-bak.html.haml +0 -22
  54. /data/lib/generators/jinda/templates/app/mailers/{application_mailer.rb → application_mailer.rb-org} +0 -0
@@ -1,656 +0,0 @@
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
@@ -1,32 +0,0 @@
1
- .container
2
- .signup-form
3
- - @title= 'Sign Up'
4
- = form_tag "/auth/identity/register", {'data-ajax'=>'false'} do
5
- %h1.h3.mb-3.font-weight-normal{:style => "text-align: center"} Sign Up
6
- .sign_in
7
- .label-warning
8
- = flash[:alert]
9
- - if @identity && @identity.errors.any?
10
- .error_messages
11
- %h3
12
- = pluralize(@identity.errors.count, "error")
13
- prohibited this account from being saved:
14
- %ul
15
- - @identity.errors.full_messages.each do |msg|
16
- %li= msg
17
- .form-group.form-control
18
- = label_tag :code, 'Username'
19
- = text_field_tag :code, @identity.try(:code)
20
- .form-group.form-control
21
- = label_tag :email
22
- = text_field_tag :email, @identity.try(:email)
23
- .form-group.form-control
24
- = label_tag :password, 'Password'
25
- = password_field_tag :password
26
- .form-group.form-control
27
- = label_tag :password_confirmation, 'Confirm password'
28
- = password_field_tag :password_confirmation
29
- %button.btn.btn-success.btn-block.actions{:type => "submit"}
30
- %i.fas.fa-sign-up-alt
31
- Sign Up
32
-
@@ -1,4 +0,0 @@
1
- - if request.accept=="text/html, */*; q=0.01"
2
- = render "layouts/jqm/page"
3
- - else
4
- = render "layouts/jqm/full"