lay_me_out 1.2.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (52) hide show
  1. checksums.yaml +7 -0
  2. data/README.md +172 -0
  3. data/Rakefile +89 -0
  4. data/app/assets/images/lay_me_out/crumb-arrows.png +0 -0
  5. data/app/assets/images/lay_me_out/favicon.ico +0 -0
  6. data/app/assets/images/lay_me_out/header-background.png +0 -0
  7. data/app/assets/images/lay_me_out/main-background.png +0 -0
  8. data/app/assets/images/lay_me_out/missing_profile.png +0 -0
  9. data/app/assets/images/lay_me_out/payroll-hero-logo-light.png +0 -0
  10. data/app/assets/images/lay_me_out/ph-logo.png +0 -0
  11. data/app/assets/javascripts/lay_me_out.js +18 -0
  12. data/app/assets/javascripts/lay_me_out/application-config.js +3 -0
  13. data/app/assets/javascripts/lay_me_out/navigation.js +29 -0
  14. data/app/assets/javascripts/lay_me_out/user_profile.js +25 -0
  15. data/app/assets/javascripts/lay_me_out/utils/flash-message.js +68 -0
  16. data/app/assets/javascripts/lay_me_out/utils/namespace.js +17 -0
  17. data/app/assets/stylesheets/lay_me_out.css +15 -0
  18. data/app/assets/stylesheets/lay_me_out/buttons.css.scss +55 -0
  19. data/app/assets/stylesheets/lay_me_out/colors.css.scss +31 -0
  20. data/app/assets/stylesheets/lay_me_out/flash.css.scss +40 -0
  21. data/app/assets/stylesheets/lay_me_out/flash_mobile.css.scss +7 -0
  22. data/app/assets/stylesheets/lay_me_out/forms.css.scss +79 -0
  23. data/app/assets/stylesheets/lay_me_out/headers.css.scss +50 -0
  24. data/app/assets/stylesheets/lay_me_out/layout.css.scss +377 -0
  25. data/app/assets/stylesheets/lay_me_out/mixins.css.scss +5 -0
  26. data/app/assets/stylesheets/lay_me_out/reset.css.scss +37 -0
  27. data/app/assets/stylesheets/lay_me_out/side_menu.css.scss +32 -0
  28. data/app/assets/stylesheets/lay_me_out/simple.css.scss +96 -0
  29. data/app/assets/stylesheets/lay_me_out/simple_mobile.css.scss +112 -0
  30. data/app/assets/stylesheets/lay_me_out/tables.css.scss +39 -0
  31. data/app/assets/stylesheets/lay_me_out/text.css.scss +3 -0
  32. data/app/controllers/lay_me_out/styleguide_controller.rb +11 -0
  33. data/app/helpers/lay_me_out/application_helper.rb +49 -0
  34. data/app/models/lay_me_out/user_details.rb +20 -0
  35. data/app/views/lay_me_out/common/_flash.html.haml +14 -0
  36. data/app/views/lay_me_out/common/_flash.mustache.haml +3 -0
  37. data/app/views/lay_me_out/common/_navigation.html.haml +12 -0
  38. data/app/views/lay_me_out/common/_segment_io.html.haml +3 -0
  39. data/app/views/lay_me_out/common/_user_profile.html.haml +12 -0
  40. data/app/views/lay_me_out/styleguide/index.html.haml +1786 -0
  41. data/app/views/layouts/lay_me_out/application.html.haml +47 -0
  42. data/app/views/layouts/lay_me_out/simple.html.haml +42 -0
  43. data/config/routes.rb +3 -0
  44. data/lib/lay_me_out.rb +18 -0
  45. data/lib/lay_me_out/breadcrumb_builder.rb +46 -0
  46. data/lib/lay_me_out/controllers/layout.rb +13 -0
  47. data/lib/lay_me_out/controllers/navigation.rb +36 -0
  48. data/lib/lay_me_out/engine.rb +12 -0
  49. data/lib/lay_me_out/segment_io.rb +20 -0
  50. data/lib/lay_me_out/version.rb +3 -0
  51. data/lib/tasks/lay_me_out_tasks.rake +4 -0
  52. metadata +276 -0
@@ -0,0 +1,3 @@
1
+ :javascript
2
+ var analytics=analytics||[];(function(){var e=["identify","track","trackLink","trackForm","trackClick","trackSubmit","page","pageview","ab","alias","ready","group"],t=function(e){return function(){analytics.push([e].concat(Array.prototype.slice.call(arguments,0)))}};for(var n=0;n<e.length;n++)analytics[e[n]]=t(e[n])})(),analytics.load=function(e){var t=document.createElement("script");t.type="text/javascript",t.async=!0,t.src=("https:"===document.location.protocol?"https://":"http://")+"d2dq2ahtl5zl1z.cloudfront.net/analytics.js/v1/"+e+"/analytics.min.js";var n=document.getElementsByTagName("script")[0];n.parentNode.insertBefore(t,n)};
3
+ analytics.load("#{SegmentIO.config.api_key}");
@@ -0,0 +1,12 @@
1
+ .user-profile
2
+ %div
3
+ = image_tag user.profile_picture
4
+ %div
5
+ .drop-down
6
+ = link_to user.name, "#"
7
+ -#span is for drop down arrow
8
+ %span
9
+ %ul.user-nav
10
+ - user.links.each do |key, value|
11
+ %li= link_to key, value
12
+ %p= user.position
@@ -0,0 +1,1786 @@
1
+ - content_for :side_menu do
2
+ %h3 Core Settings
3
+ %ul
4
+ %li
5
+ = link_to "Account", "#"
6
+ %li
7
+ = link_to "Role (System Permissions)", "#"
8
+ %li
9
+ = link_to "Time of Day Bonus Rules", "#"
10
+ %li
11
+ = link_to "Termination Codes", "#"
12
+ %li
13
+ = link_to "Email Templates", "#"
14
+ %li
15
+ = link_to "Documents", "#"
16
+ %h3 Scheduling
17
+ %ul
18
+ %li
19
+ = link_to "Day Types", "#"
20
+ %li.active
21
+ = link_to "Shared Calendar", "#"
22
+ %li
23
+ = link_to "Compensation", "#"
24
+ %li
25
+ = link_to "Shifts", "#"
26
+ %li
27
+ = link_to "Schedule Templates", "#"
28
+ %h3 Multipliers
29
+ %h3 Undertime Rules
30
+ %h3 Finances
31
+ %h3 Compensation
32
+ %h3 Employees
33
+
34
+ %section
35
+ %h4 Introduction - Chrome Only
36
+ %p Welcome to PayrollHero Style Guide.
37
+ %p Here you can inspect every element that you can use for the site. Our aim here is to make css styles as general as possible, and could be reusable on any tag by just adding its required class. There are some classes that are targetted though (mostly on forms and calendar). Its because we'll be using them on special cases, in which there are only needed.
38
+ / Layout
39
+ %h1.bold Layout
40
+ .box
41
+ %section.sidebox
42
+ %h4 Side Bar
43
+ %p This has the sidebox class.
44
+ %p The sidebox was made for menus and/or supporting details for the main content.
45
+ %p Our sidebox class has a width of 25% and a right margin of 40px. Right now this has 275px, which is 25% of 1100px.
46
+ %p
47
+ Its what makes up the left part of our 2-column layout. Just add a class
48
+ %span.bold.blue sidebox
49
+ to your chosen left part container, and that's it!
50
+ .contents.move-30-bottom
51
+ %h4 Contents Area
52
+ .move-20-bottom
53
+ %p This is where our main content goes -- presenting the contents box. It works by putting this container below the sidebox on the code. This uses -webkit-box-flex: 1; to occupy the remaining right part of the column.
54
+ %p
55
+ This would not work alone, too. It needs to be enclosed inside the
56
+ %span.blue.bold .box
57
+ class for it to work properly.
58
+ .move-10-bottom
59
+ %h5 Loading indicators
60
+ %p Just add a div with a class of .spinner-large or .spinner-small
61
+ .spinner-container
62
+ .spinner-large.move-10-right
63
+ .spinner-small
64
+ %p.move-10-top Add class .light to use the light version
65
+ .spinner-container.light
66
+ .spinner-large.light.move-10-right
67
+ .spinner-small.light
68
+ .box
69
+ .contents
70
+ %h4 Forms
71
+ .infobox
72
+ This is an example of helping text or a hint or an instruction. We can put call to action
73
+ %a.blue.showup{"data-content" => "Hey, how you doin' there?", "data-original-title" => "", "data-placement" => "below", :href => "#"} link here
74
+ , or even a
75
+ %input{:type => "button", :value => "button"}
76
+ %h5 Active
77
+ %form.forms-normal.move-20-bottom.validate{:action => "http://test.payrollhero.dev/styleguide#", "data-confirm" => "Howdy! Nice to see you there, mate!", "data-method" => "delete", "data-remote" => "true", :method => "post"}
78
+ %label Enter your name
79
+ .popover-info
80
+ %input{:placeholder => "eg. Ozzy Osbourne", :type => "text", :required => "required", "data-errormessage" => "Please enter something"}
81
+ %label
82
+ Your email
83
+ %span.helper-text Required
84
+ %input{:placeholder => "your@email.com", :required => "", :type => "email"}
85
+ .popover-info
86
+ %label Choose a day type
87
+ %select{:required => "required"}
88
+ %option{:value => ""}
89
+ Choose
90
+ %option{:value => "Secondary Day Type"}
91
+ Secondary Day Type
92
+ %label
93
+ Describe yourself
94
+ %span.helper-text Required
95
+ %textarea{:required => "required"}
96
+ %label
97
+ Pick a date
98
+ %input.datepicker{:placeholder => "mm/dd/yy", :type => "text", :required => "required"}
99
+ %fieldset
100
+ %div
101
+ %label List Options - Checkbox
102
+ %input{:type => "checkbox", :required => "required"}
103
+ %span I agree to the terms & conditions.
104
+ %div
105
+ %input{:type => "checkbox"}
106
+ %span This is unchecked.
107
+ %fieldset
108
+ %label List Options - Radio
109
+ %div
110
+ %input{:name => "option-radios", :type => "radio", :required => "required"}
111
+ %span I agree to the terms & conditions.
112
+ %div
113
+ %input{:name => "option-radios", :type => "radio", :required => "required"}
114
+ %span I disagree.
115
+ %input.load{"data-loading-text" => "Loading something ..", :type => "submit", :value => "Submit", :class => "validate-button"}
116
+ :javascript
117
+ $('.validate-button').click(function() {
118
+ $('.validate').addClass('submitted');
119
+ });
120
+ %h5.move-40-top Disabled
121
+ .infobox
122
+ This is an example of helping text or a hint or an instruction. We can put call to action
123
+ = succeed "," do
124
+ %a.blue{:href => "#"} link here
125
+ or even a
126
+ %input{:type => "button", :value => "button"}
127
+ %form.forms-normal.move-20-bottom{:action => "http://test.payrollhero.dev/styleguide#", "data-confirm" => "Howdy! Nice to see you there, mate!", "data-method" => "delete", "data-remote" => "true", :method => "post"}
128
+ %label What's my name?
129
+ %input{:disabled => "", :placeholder => "eg. Big Daddy", :type => "text"}
130
+ %label
131
+ Your email
132
+ %span Required
133
+ %input{:disabled => "", :placeholder => "your@email.com", :required => "", :type => "email"}
134
+ %label Choose a day type
135
+ %select{:disabled => "disabled", :required => "required"}
136
+ %option
137
+ Default Day Type
138
+ %option
139
+ Secondary Day Type
140
+ %label
141
+ Describe yourself please
142
+ %span Optional
143
+ %textarea{:disabled => "disabled"}
144
+ %label A textarea with no resize -- add a class in the textarea tag: not-resizable
145
+ %textarea.not-resizable{:disabled => ""}
146
+ %fieldset
147
+ %div
148
+ %label List Options - Checkbox
149
+ %input{:checked => "", :disabled => "disabled", :type => "checkbox"}
150
+ %span I agree to the terms & conditions.
151
+ %div
152
+ %input{:disabled => "disabled", :type => "checkbox"}
153
+ %span This is unchecked.
154
+ %fieldset
155
+ %label List Options - Radio
156
+ %div
157
+ %input{:disabled => "disabled", :name => "option-radios", :type => "radio"}
158
+ %span I agree to the terms & conditions.
159
+ %div
160
+ %input{:disabled => "disabled", :name => "option-radios", :type => "radio"}
161
+ %span This is unchecked.
162
+ %input{:disabled => "disabled", :type => "submit", :value => "Submit"}
163
+ / Buttons
164
+ %h4.move-60-bottom
165
+ .box
166
+ .sidebox
167
+ %section.contents
168
+ %h4 Buttons
169
+ %div.move-20-bottom
170
+ %input{:type => "button", :value => "Input Button"}
171
+ %input{:type => "submit", :value => "Input Submit"}
172
+ %button Button Tag
173
+ %a.nice-button.no-icon{:href => "#"} Link Button
174
+ %a.nice-button{:href => "#"}
175
+ %span.icon.add_person_link>
176
+ Button with Icon
177
+ %div.move-20-bottom
178
+ %button.test Default
179
+ %button.primary-button Primary
180
+ %button.danger-button Danger
181
+ %button.success-button Finish
182
+ .move-20-bottom
183
+ %button.test{:disabled => ""} Default
184
+ %button.primary-button{:disabled => ""} Primary
185
+ %button.danger-button{:disabled => ""} Danger
186
+ %button.success-button{:disabled => ""} Finish
187
+ .move-20-bottom
188
+ %span.bold Share this on:
189
+ %a.nice-button.no-icon.nomargin.facebook{:href => "#"} Facebook
190
+ %a.nice-button.no-icon.nomargin.twitter{:href => "#"} Twitter
191
+ .move-20-bottom
192
+ .move-10-bottom.bold Buttons with dropdown:
193
+ .dropdown
194
+ %a.nice-button.small.icon-user{:href => "#"} Add new employee
195
+ %div.dropdown-menu
196
+ %div
197
+ %a{:href => "#"} Wizard
198
+ %div
199
+ %a{:href => "#"} Manually Add
200
+ %div
201
+ %a{:href => "#"} Mass Import
202
+ / Tables
203
+ %h1.bold More Styles
204
+ .box
205
+ %section.contents
206
+ %h5 Graphs
207
+ .move-20-bottom
208
+ %h5 Normal Tabular Data
209
+ %p.move-20-bottom
210
+ All tables will be automatically styled by adding
211
+ %span.blue.bold table
212
+ class with only the essential borders to ensure readability and maintain structure. No need to add extra classes or attributes.
213
+ %table.table.move-30-bottom
214
+ %thead
215
+ %tr
216
+ %th
217
+ Name
218
+ %th
219
+ Kind
220
+ %th
221
+ Work Day?
222
+ %th
223
+ Actions
224
+ %tbody
225
+ %tr
226
+ %td
227
+ Regular
228
+ %td
229
+ Day Type
230
+ %td
231
+ Yes
232
+ %td
233
+ %a> Edit
234
+ ,
235
+ %a Delete
236
+ or
237
+ %a Set as Default
238
+ %tr
239
+ %td
240
+ Special Holiday
241
+ %td
242
+ Secondary Day Type
243
+ %td
244
+ No
245
+ %td
246
+ %a> Edit
247
+ ,
248
+ %a Delete
249
+ or
250
+ %a Set as Default
251
+ %h5.move-30-top Large Tabular Data
252
+ %p.move-20-bottom
253
+ If the tabular data is too large, inclose it with
254
+ %span.blue.bold div
255
+ tag and then add a
256
+ %span.blue.bold scroller
257
+ class.
258
+ .scroller
259
+ %table.table.move-30-bottom
260
+ %thead
261
+ %tr
262
+ %th
263
+ Column A
264
+ %th
265
+ Column B
266
+ %th
267
+ Column C
268
+ %th
269
+ Column D
270
+ %th
271
+ Column E
272
+ %th
273
+ Column F
274
+ %th
275
+ Column G
276
+ %th
277
+ Column H
278
+ %th
279
+ Column H
280
+ %tbody
281
+ %tr
282
+ %td
283
+ Data A
284
+ %td
285
+ Data B
286
+ %td
287
+ Data C
288
+ %td
289
+ Data D
290
+ %td
291
+ Data E
292
+ %td
293
+ Data F
294
+ %td
295
+ Data G
296
+ %td
297
+ Data H
298
+ %td
299
+ Data H
300
+ %tr
301
+ %td
302
+ Data A.1
303
+ %td
304
+ Data B.1
305
+ %td
306
+ Data C.1
307
+ %td
308
+ Data D.1
309
+ %td
310
+ Data E.1
311
+ %td
312
+ Data F.1
313
+ %td
314
+ Data G.1
315
+ %td
316
+ Data H.1
317
+ %td
318
+ Data H.1
319
+ %tr
320
+ %td
321
+ Data A.1.2
322
+ %td
323
+ Data B.1.2
324
+ %td
325
+ Data C.1.2
326
+ %td
327
+ Data D.1.2
328
+ %td
329
+ Data E.1.2
330
+ %td
331
+ Data F.1.2
332
+ %td
333
+ Data G.1.2
334
+ %td
335
+ Data H.1.2
336
+ %td
337
+ Data H.1.2
338
+ %tr
339
+ %td
340
+ Data A.1.2
341
+ %td
342
+ Data B.1.2
343
+ %td
344
+ Data C.1.2
345
+ %td
346
+ Data D.1.2
347
+ %td
348
+ Data E.1.2
349
+ %td
350
+ Data F.1.2
351
+ %td
352
+ Data G.1.2
353
+ %td
354
+ Data H.1.2
355
+ %td
356
+ Data H.1.2
357
+ %tr
358
+ %td
359
+ Data A.1.2
360
+ %td
361
+ Data B.1.2
362
+ %td
363
+ Data C.1.2
364
+ %td
365
+ Data D.1.2
366
+ %td
367
+ Data E.1.2
368
+ %td
369
+ Data F.1.2
370
+ %td
371
+ Data G.1.2
372
+ %td
373
+ Data H.1.2
374
+ %td
375
+ Data H.1.2
376
+ %tr
377
+ %td
378
+ Data A.1.2
379
+ %td
380
+ Data B.1.2
381
+ %td
382
+ Data C.1.2
383
+ %td
384
+ Data D.1.2
385
+ %td
386
+ Data E.1.2
387
+ %td
388
+ Data F.1.2
389
+ %td
390
+ Data G.1.2
391
+ %td
392
+ Data H.1.2
393
+ %td
394
+ Data H.1.2
395
+ %h5.move-30-top Collpsable Tabular Data
396
+ %details{:open => ""}
397
+ %summary{:category_name => ""}
398
+ Uncategorized
399
+ %table.table
400
+ %thead
401
+ %tr
402
+ %th
403
+ Start time
404
+ %th
405
+ End time
406
+ %th
407
+ Total hours
408
+ %th
409
+ Actions
410
+ %tbody
411
+ %tr
412
+ %td
413
+ 05:30
414
+ %td
415
+ 15:00
416
+ %td
417
+ 9.5
418
+ %td
419
+ %a.icon_link.edit_link{:href => "/setup/shifts/4/edit", :title => "Edit"} Edit
420
+ %a.icon_link.destroy_link{"data-confirm" => "Are you sure", "data-method" => "delete", :href => "/setup/shifts/4", :rel => "nofollow", :title => "Delete"} Destroy
421
+ %tr
422
+ %td
423
+ 14:00
424
+ %td
425
+ 22:00
426
+ %td
427
+ 8
428
+ %td
429
+ %a.icon_link.edit_link{:href => "/setup/shifts/5/edit", :title => "Edit"} Edit
430
+ %a.icon_link.destroy_link{"data-confirm" => "Are you sure", "data-method" => "delete", :href => "/setup/shifts/5", :rel => "nofollow", :title => "Delete"} Destroy
431
+ %tr
432
+ %td
433
+ 22:00
434
+ %td
435
+ 06:00
436
+ %td
437
+ 8
438
+ %td
439
+ %a.icon_link.edit_link{:href => "/setup/shifts/6/edit", :title => "Edit"} Edit
440
+ %a.icon_link.destroy_link{"data-confirm" => "Are you sure", "data-method" => "delete", :href => "/setup/shifts/6", :rel => "nofollow", :title => "Delete"} Destroy
441
+ / Content Tabs
442
+ %h4 Content Tabs
443
+ %section.box
444
+ %section.sidebox
445
+ %p For sub-sections of content like sub-pages settings pages for toggling between pages of like content.
446
+ %section.contents
447
+ %p.move-30-bottom
448
+ Tabs can be used as regular navigation (loading external pages in the same tab) or as tabbable content
449
+ areas for swapping out panes of content. Just add
450
+ %span.blue.bold content_tabs
451
+ class.
452
+ %ul.content_tabs.clearfix
453
+ %li
454
+ %a{:href => "http://test.payrollhero.dev/styleguide#"} Time Clock
455
+ %li
456
+ %a{:href => "http://test.payrollhero.dev/styleguide#"} Time Card & Accruals
457
+ %li.active
458
+ %a{:href => "http://test.payrollhero.dev/styleguide#"} Scheduling
459
+ / Light Boxes
460
+ %h4 Light Boxes
461
+ %section.box
462
+ %section.sidebox
463
+ %section.contents
464
+ %a#opener2.nice-button.no-icon{:href => "#"} Default Lightbox
465
+ %a#opener.nice-button.no-icon{:href => "#"} Light Box with Calendar
466
+ .dialog2
467
+ .move-20-bottom
468
+ .bold.block.move-10-bottom
469
+ Normal title of a paragraph
470
+ %p
471
+ Normal paragraph explaining something or instructions for something.
472
+ .dialog.inline-data
473
+ .boxed-content.move-20-bottom
474
+ .move-10-bottom
475
+ %label Date
476
+ %span.bold February 1, 2012
477
+ .move-20-bottom
478
+ %label Shift
479
+ .inline.bold
480
+ %span 08:00 - 15:00
481
+ %br
482
+ %span 08:00 - 15:00
483
+ %label.move-10-bottom Select days
484
+ .lb-datepicker
485
+ #date
486
+ .action.align-right
487
+ %a.nice-button.no-icon.nomargin{:href => "#"} Cancel
488
+ %input.primary-button{:type => "submit", :value => "Copy schedule"}
489
+ / Pagination
490
+ %h4 Pagination
491
+ %section.box
492
+ %section.sidebox
493
+ %p
494
+ For paginations, inclose it with a div an put a class of
495
+ %span.bold.blue pagination
496
+ %section.contents
497
+ .pagination.move-20-bottom
498
+ %span.previous_page.disabled ← Previous
499
+ %em.current 1
500
+ %a{:href => "", :rel => "next"} 2
501
+ %a{:href => ""} 3
502
+ %a{:href => ""} 4
503
+ %a{:href => ""} 5
504
+ %a{:href => ""} 6
505
+ %a{:href => ""} 7
506
+ %a.next_page{:href => "", :rel => "next"} Next →
507
+ / Pagination
508
+ %h4 Icons
509
+ %section
510
+ %h4 Icons in link buttons
511
+ %ul.iconset
512
+ %li= link_to "Employee Wizard", "#", :class => "nice-button icon-magic"
513
+ %li= link_to "Manual Employee Input", "#", :class => "nice-button icon-pencil"
514
+ %li= link_to "Mass import / Excel files", "#", :class => "nice-button icon-table"
515
+ %li= link_to "Share", "#", :class => "nice-button icon-share"
516
+ %li= link_to "Generate", "#", :class => "nice-button icon-list-alt"
517
+ %li= link_to "Lock", "#", :class => "nice-button icon-lock"
518
+ %li= link_to "CSV / PDF icon", "#", :class => "nice-button icon-file"
519
+ %li= link_to "Submit / Okay sign", "#", :class => "nice-button icon-ok"
520
+ %li= link_to "Bookmark", "#", :class => "nice-button icon-bookmark"
521
+ %li= link_to "Previous", "#", :class => "nice-button icon-chevron-left"
522
+ %li= link_to "Multipliers", "#", :class => "nice-button icon-asterisk"
523
+
524
+ %ul.iconset
525
+ %li= link_to "Edit", "#", :class => "nice-button icon-edit"
526
+ %li= link_to "Search / Preview", "#", :class => "nice-button icon-search"
527
+ %li= link_to "Delete", "#", :class => "nice-button icon-trash"
528
+ %li= link_to "Refresh / Reset", "#", :class => "nice-button icon-refresh"
529
+ %li= link_to "Remove sign", "#", :class => "nice-button icon-remove-sign"
530
+ %li= link_to "Clone / Duplicate", "#", :class => "nice-button icon-copy"
531
+ %li= link_to "Download", "#", :class => "nice-button icon-download-alt"
532
+ %li= link_to "Core Settings", "#", :class => "nice-button icon-cog"
533
+ %li= link_to "Upload", "#", :class => "nice-button icon-upload-alt"
534
+ %li= link_to "Next", "#", :class => "nice-button icon-chevron-right"
535
+ %li= link_to "Attach files", "#", :class => "nice-button icon-paper-clip"
536
+
537
+ %ul.iconset
538
+ %li= link_to "Revoke / Undo changes?", "#", :class => "nice-button icon-undo"
539
+ %li= link_to "Map / Location", "#", :class => "nice-button icon-map-marker"
540
+ %li= link_to "ID Card / Picture", "#", :class => "nice-button icon-picture"
541
+ %li= link_to "Override", "#", :class => "nice-button icon-pencil"
542
+ %li= link_to "Disable", "#", :class => "nice-button icon-minus-sign"
543
+ %li= link_to "Unlock", "#", :class => "nice-button icon-unlock"
544
+ %li= link_to "Use current location", "#", :class => "nice-button icon-screenshot"
545
+ %li= link_to "Move / Sort", "#", :class => "nice-button icon-move"
546
+ %li= link_to "Month View", "#", :class => "nice-button icon-th"
547
+ %li= link_to "List View", "#", :class => "nice-button icon-th-list"
548
+ %li= link_to "Add", "#", :class => "nice-button icon-plus-sign"
549
+ %h4 Icons in button tags
550
+ %ul.iconset
551
+ %li
552
+ %button.nice-button.icon-magic Employee Wizard
553
+ %li
554
+ %button.nice-button.icon-pencil Manual Employee Input
555
+ %li
556
+ %button.nice-button.icon-table Mass Importing
557
+ %li
558
+ %button.nice-button.icon-share Share
559
+ %li
560
+ %button.nice-button.icon-list-alt Generate
561
+ %li
562
+ %button.nice-button.icon-lock Lock
563
+ %li
564
+ %button.nice-button.icon-file CSV / PDF icon
565
+ %li
566
+ %button.nice-button.icon-ok Submit / Okay
567
+ %li
568
+ %button.nice-button.icon-bookmark Bookmark
569
+ %li
570
+ %button.nice-button.icon-chevron-left Previous / Back
571
+ %li
572
+ %button.nice-button.icon-asterisk Multipliers
573
+
574
+ %ul.iconset
575
+ %li
576
+ %button.nice-button.icon-edit Edit
577
+ %li
578
+ %button.nice-button.icon-search Search / Preview
579
+ %li
580
+ %button.nice-button.icon-trash Delete / Trash
581
+ %li
582
+ %button.nice-button.icon-refresh Refresh / Reset
583
+ %li
584
+ %button.nice-button.icon-remove-sign Remove
585
+ %li
586
+ %button.nice-button.icon-copy Clone / Duplicate
587
+ %li
588
+ %button.nice-button.icon-download-alt Download
589
+ %li
590
+ %button.nice-button.icon-cog Core Settings
591
+ %li
592
+ %button.nice-button.icon-upload-alt Upload
593
+ %li
594
+ %button.nice-button.icon-chevron-right Next
595
+ %li
596
+ %button.nice-button.icon-paper-clip Attach files
597
+
598
+ %ul.iconset
599
+ %li
600
+ %button.nice-button.icon-undo Revoke / Undo
601
+ %li
602
+ %button.nice-button.icon-map-marker Map marker / Location
603
+ %li
604
+ %button.nice-button.icon-picture ID Card / Picture
605
+ %li
606
+ %button.nice-button.icon-pencil Override
607
+ %li
608
+ %button.nice-button.icon-minus-sign Disable
609
+ %li
610
+ %button.nice-button.icon-unlock Unlock
611
+ %li
612
+ %button.nice-button.icon-screenshot Use current location
613
+ %li
614
+ %button.nice-button.icon-move Move / Sort
615
+ %li
616
+ %button.nice-button.icon-th Month view
617
+ %li
618
+ %button.nice-button.icon-th-list List view
619
+ %li
620
+ %button.nice-button.icon-plus-sign Add
621
+ %h4.nomargin Icons without the text link
622
+ %p Hover on the icons
623
+
624
+ %p
625
+ = link_to "Wizard", "#", :class => "font-icon icon-magic", :title => "Add employee wizard"
626
+ = link_to "Manual input / Override", "#", :class => "font-icon icon-pencil", :title => "Manual input / Override"
627
+ = link_to "Mass importing", "#", :class => "font-icon icon-table", :title => "Mass importing"
628
+ = link_to "Calendar", "#", :class => "font-icon icon-calendar", :title => "Calendar icon"
629
+ = link_to "Share", "#", :class => "font-icon icon-share", :title => "Share"
630
+ = link_to "Generate", "#", :class => "font-icon icon-list-alt", :title => "Generate something"
631
+ = link_to "Lock something", "#", :class => "font-icon icon-lock", :title => "Lock something"
632
+ = link_to "PDF / CSV files", "#", :class => "font-icon icon-file", :title => "CSV / PDF files"
633
+ = link_to "Okay / Check", "#", :class => "font-icon icon-ok", :title => "Okay / Check"
634
+ = link_to "Bookmark", "#", :class => "font-icon icon-bookmark", :title => "Bookmark"
635
+ = link_to "Previous / Back", "#", :class => "font-icon icon-chevron-left", :title => "Previous / Back"
636
+ = link_to "Edit something", "#", :class => "font-icon icon-edit", :title => "Edit something"
637
+ = link_to "Search / Preview", "#", :class => "font-icon icon-search", :title => "Search / Preview"
638
+ = link_to "Delete / Trash", "#", :class => "font-icon icon-trash", :title => "Delete / Trash"
639
+ = link_to "Remove something", "#", :class => "font-icon icon-remove-sign", :title => "Remove something"
640
+ = link_to "Clone / Duplicate", "#", :class => "font-icon icon-copy", :title => "Clone / Duplicate"
641
+ = link_to "Download this", "#", :class => "font-icon icon-download", :title => "Download this"
642
+ = link_to "Core Settings", "#", :class => "font-icon icon-cog", :title => "Core Settings"
643
+ = link_to "Upload something", "#", :class => "font-icon icon-upload-alt", :title => "Upload something"
644
+ = link_to "Next", "#", :class => "font-icon icon-chevron-right", :title => "Next"
645
+ = link_to "Attach something", "#", :class => "font-icon icon-paper-clip", :title => "Attach something"
646
+
647
+ = link_to "Revoke / Undo", "#", :class => "font-icon icon-undo", :title => "Revoke / Undo"
648
+ = link_to "Map marker / location", "#", :class => "font-icon icon-map-marker", :title => "Map marker / location"
649
+ = link_to "ID Card / Picture", "#", :class => "font-icon icon-picture", :title => "ID Card / Picture"
650
+ = link_to "Disable something", "#", :class => "font-icon icon-minus-sign", :title => "Disable something"
651
+ = link_to "Unlock something", "#", :class => "font-icon icon-unlock", :title => "Unlock something"
652
+ = link_to "Use current location", "#", :class => "font-icon icon-screenshot", :title => "Use current location"
653
+ = link_to "Drag / Move", "#", :class => "font-icon icon-move", :title => "Drag / Move"
654
+ = link_to "Month view", "#", :class => "font-icon icon-th", :title => "Month view"
655
+ = link_to "List view", "#", :class => "font-icon icon-th-list", :title => "List view"
656
+ = link_to "Add something", "#", :class => "font-icon icon-plus-sign", :title => "Add something"
657
+
658
+ %h4 Icons with the text link
659
+ %ul.iconset
660
+ %li= link_to "New Employee Wizard", "#", :class => "icon-text icon-magic"
661
+ %li
662
+ %a.icon_text{:href => ""}
663
+ %span.icon-pencil
664
+ Manual Input
665
+ %li
666
+ %a.icon_text{:href => ""}
667
+ %span.icon-table
668
+ Mass importing
669
+ %li
670
+ %a.icon_text{:href => ""}
671
+ %span.icon-share
672
+ Share
673
+ %li
674
+ %a.icon_text{:href => ""}
675
+ %span.icon-list-alt
676
+ Generate something
677
+ %li
678
+ %a.icon_text{:href => ""}
679
+ %span.icon-lock
680
+ Lock something
681
+ %li
682
+ %a.icon_text{:href => ""}
683
+ %span.icon-file
684
+ CSV /PDF icon
685
+ %li
686
+ %a.icon_text{:href => ""}
687
+ %span.icon-ok
688
+ Okay / Submit
689
+ %li
690
+ %a.icon_text{:href => ""}
691
+ %span.icon-bookmark
692
+ Bookmark
693
+ %li
694
+ %a.icon_text{:href => ""}
695
+ %span.icon-asterisk
696
+ Multipliers
697
+ %ul.iconset
698
+ %li
699
+ %a.icon_text{:href => ""}
700
+ %span.icon-edit
701
+ Edit something
702
+ %li
703
+ %a.icon_text{:href => ""}
704
+ %span.icon-search
705
+ Search / Preview
706
+ %li
707
+ %a.icon_text{:href => ""}
708
+ %span.icon-trash
709
+ Delete something
710
+ %li
711
+ %a.icon_text{:href => ""}
712
+ %span.icon-refresh
713
+ Refresh / Reset
714
+ %li
715
+ %a.icon_text{:href => ""}
716
+ %span.icon-copy
717
+ Duplicate / Clone
718
+ %li
719
+ %a.icon_text{:href => ""}
720
+ %span.icon-download-alt
721
+ Download
722
+ %li
723
+ %a.icon_text{:href => ""}
724
+ %span.icon-cog
725
+ Settings
726
+ %li
727
+ %a.icon_text{:href => ""}
728
+ %span.icon-upload-alt
729
+ Upload
730
+ %li
731
+ %a.icon_text{:href => ""}
732
+ %span.icon-chevron-left
733
+ Previous / Back
734
+ %li
735
+ %a.icon_text{:href => ""}
736
+ %span.icon-paper-clip
737
+ Attach something
738
+ %ul.iconset
739
+ %li
740
+ %a.icon_text{:href => ""}
741
+ %span.icon-undo
742
+ Revoke / Undo
743
+ %li
744
+ %a.icon_text{:href => ""}
745
+ %span.icon-map-marker
746
+ Map marker / Location
747
+ %li
748
+ %a.icon_text{:href => ""}
749
+ %span.icon-pencil
750
+ Override
751
+ %li
752
+ %a.icon_text{:href => ""}
753
+ %span.icon-minus-sign
754
+ Disable
755
+ %li
756
+ %a.icon_text{:href => ""}
757
+ %span.icon-unlock
758
+ Unlock
759
+ %li
760
+ %a.icon_text{:href => ""}
761
+ %span.icon-screenshot
762
+ Use current location
763
+ %li
764
+ %a.icon_text{:href => ""}
765
+ %span.icon-move
766
+ Sort / Drag / Move
767
+ %li
768
+ %a.icon_text{:href => ""}
769
+ %span.icon-th
770
+ Month view
771
+ %li
772
+ %a.icon_text{:href => ""}
773
+ %span.icon-th-list
774
+ List view
775
+ %li
776
+ %a.icon_text{:href => ""}
777
+ %span.icon-plus-sign
778
+ Add something
779
+ / Positions Hierarchy
780
+ %h4 Positions Hierarchy
781
+ %section.box
782
+ %section.sidebox
783
+ %section.contents
784
+ %section
785
+ %h4 Org Chart
786
+ %ul.org-chart.move-40-bottom
787
+ %li
788
+ %a.c-position{:href => "#"} CEO / President
789
+ %ul.primary-p
790
+ %li.c-parent
791
+ .vline
792
+ %a.c-position{:href => "#"} District Manager
793
+ %ul
794
+ %li.c-parent
795
+ .vline
796
+ %a.c-position{:href => "#"} Senior Store Managers / Team Leaders
797
+ %ul
798
+ %li
799
+ .vline
800
+ %a.c-position{:href => "#"} Agents
801
+ %li
802
+ .vline
803
+ %a.c-position{:href => "#"} Baristas
804
+ %li
805
+ .vline
806
+ %a.c-position{:href => "#"} Employee
807
+ %li
808
+ .vline.last-p
809
+ %a.c-position{:href => "#"} Janitor
810
+ %li
811
+ .vline.last-p
812
+ %a.c-position{:href => "#"} Team Leader
813
+ / Flash Messages
814
+ %h4 Flash Messages
815
+ %section.box
816
+ %section.sidebox
817
+ %p
818
+ Use
819
+ %span.blue.bold .alert-message
820
+ for flash messages. Add
821
+ %span.blue.bold .error
822
+ for errors,
823
+ %span.blue.bold .success
824
+ for success and
825
+ %span.blue.bold .warning
826
+ for warning messages.
827
+ %section.contents
828
+ .flashes
829
+ .item.error
830
+ %div
831
+ Oh snap! Change this and that and
832
+ = succeed "." do
833
+ %a{:href => "#"} try again
834
+ .flashes
835
+ .item.success
836
+ %div
837
+ Wohoo! You have successfully generate that stuff!
838
+ = succeed "." do
839
+ %a{:href => "#"} Wanna try again?
840
+ .flashes
841
+ .item.warning
842
+ %div
843
+ Got some info you should know.
844
+ = succeed "." do
845
+ %a{:href => "#"} Click here
846
+ #errorExplanation.errorExplanation
847
+ %h2 1 error prohibited this rollcall day from being saved
848
+ %p There were problems with the following fields:
849
+ %ul
850
+ %li Please select how you want to resolve this.
851
+ %li
852
+ There were problems with the following fields. Oh snap! Change this and that and
853
+ = succeed "." do
854
+ %a{:href => "#"} try again
855
+ #successExplanation.successExplanation
856
+ %h2 Nice! There were no problems occurred in processing the payroll. Congratulations!
857
+ %p You have successfully, do this without any error:
858
+ %ul
859
+ %li Process the payroll
860
+ %li Generate Attendance for 232 employees
861
+ %li Publish the payroll
862
+ #warningExplanation.warningExplanation
863
+ %h2 Nice! There were no problems occurred in processing the payroll. Congratulations!
864
+ %p You have successfully, do this without any error:
865
+ %ul
866
+ %li Process the payroll
867
+ %li Generate Attendance for 232 employees
868
+ %li Publish the payroll
869
+ .infobox
870
+ %h2 Nice! There were no problems occurred in processing the payroll. Congratulations!
871
+ %p You have successfully, do this without any error:
872
+ %ul
873
+ %li Process the payroll
874
+ %li Generate Attendance for 232 employees
875
+ %li Publish the payroll
876
+ / Review Attendance Calendar
877
+ %h4 Review Attendance Calendar
878
+ %section.box
879
+ %section.sidebox
880
+ .boxed-title
881
+ Legend
882
+ .boxed-content
883
+ %ul.legend-list
884
+ %li
885
+ %span.legend.missing_out
886
+ Missing In / Out
887
+ %li
888
+ %span.legend.in_late
889
+ Early / Late
890
+ %li
891
+ %span.legend.overtime
892
+ Overtime / Undertime
893
+ %li
894
+ %span.legend.perfect
895
+ Perfect / Payroll Ready / Publishing to Payroll
896
+ %li
897
+ %span.legend.published_to_payroll
898
+ Published to Payroll
899
+ %section.contents
900
+ .calendar_header
901
+ %h3.bold.align-center.calendar_header
902
+ %a{:href => "/rollcall/attendance?month=1&year=2012"} ← January 2012
903
+ February 2012
904
+ %a{:href => "/rollcall/attendance?month=3&year=2012"} March 2012 →
905
+ %ul.boxed-content.gradient-bg.move-20-top.month-traverse-menu.move-20-bottom
906
+ %li.prev-year.relative.calendar-controls
907
+ %a{:href => "#"} ← 2011
908
+ %li
909
+ %a{:href => "#"} Jan
910
+ %li.active
911
+ %span Feb
912
+ %li
913
+ %a{:href => "#"} Mar
914
+ %li
915
+ %a{:href => "#"} Apr
916
+ %li
917
+ %a{:href => "#"} May
918
+ %li
919
+ %a{:href => "#"} Jun
920
+ %li
921
+ %a{:href => "#"} Jul
922
+ %li
923
+ %a{:href => "#"} Aug
924
+ %li
925
+ %a{:href => "#"} Sep
926
+ %li
927
+ %a{:href => "#"} Oct
928
+ %li
929
+ %a{:href => "#"} Nov
930
+ %li
931
+ %a{:href => "#"} Dec
932
+ %li.next-year.relative.calendar-controls
933
+ %a{:href => "#"} 2013 →
934
+ %table.calendar
935
+ %thead
936
+ %tr
937
+ %th Sunday
938
+ %th Monday
939
+ %th Tuesday
940
+ %th Wednesday
941
+ %th Thursday
942
+ %th Friday
943
+ %th Saturday
944
+ %tbody
945
+ %tr
946
+ %td#day_01.weekend
947
+ .day.relative
948
+ .day_heading
949
+ 1
950
+ %td#day_02
951
+ .day.relative
952
+ .day_heading
953
+ 2
954
+ %div
955
+ .day-item.timeclock-status.missing_out.missing_out Missing Clock Out: 1
956
+ .day-item.timeclock-status.missing_in.missing_in Missing Clock In: 1
957
+ .day-item.timeclock-status.in_late.in_late In Late: 3
958
+ .day-item.timeclock-status.out_late.out_late Out Late: 1
959
+ .day-item.timeclock-status.overtime.overtime Overtime: 3
960
+ .day-item.timeclock-status.perfect.perfect Perfect: 3
961
+ %td#day_03
962
+ .day.relative
963
+ .day_heading
964
+ 3
965
+ %div
966
+ .day-item.timeclock-status.published_to_payroll Published to Payroll: 20
967
+ %td#day_04
968
+ .day.relative
969
+ .day_heading
970
+ 4
971
+ %div
972
+ .day-item.timeclock-status.missing_out.missing_out Missing Clock Out: 1
973
+ .day-item.timeclock-status.missing_in.missing_in Missing Clock In: 1
974
+ .day-item.timeclock-status.in_late.in_late In Late: 3
975
+ .day-item.timeclock-status.out_late.out_late Out Late: 1
976
+ .day-item.timeclock-status.overtime.overtime Undertime: 3
977
+ .day-item.timeclock-status.sent_to_payroll.sent_to_payroll Payroll Ready: 3
978
+ %td#day_05
979
+ .day.relative
980
+ .day_heading
981
+ 5
982
+ %div
983
+ .day-item.timeclock-status.overtime.overtime Overtime: 3
984
+ .day-item.timeclock-status.undertime.undertime Undertime: 3
985
+ .day-item.timeclock-status.perfect.perfect Perfect: 3
986
+ %td#day_06
987
+ .day.relative
988
+ .day_heading
989
+ 6
990
+ %div
991
+ .day-item.timeclock-status.in_late.in_late In Late: 3
992
+ .day-item.timeclock-status.out_late.out_late Out Late: 1
993
+ .day-item.timeclock-status.perfect.perfect Perfect: 3
994
+ %td#day_07.weekend
995
+ .day.relative
996
+ .day_heading
997
+ 7
998
+ %tr
999
+ %td#day_08.weekend
1000
+ .day.relative
1001
+ .day_heading
1002
+ 8
1003
+ %td#day_09
1004
+ .day.relative
1005
+ .day_heading
1006
+ 9
1007
+ %div
1008
+ .day-item.timeclock-status.published_to_payroll Published to Payroll: 20
1009
+ %td#day_10
1010
+ .day.relative
1011
+ .day_heading
1012
+ 10
1013
+ %div
1014
+ .day-item.timeclock-status.published_to_payroll Published to Payroll: 23
1015
+ %td#day_11
1016
+ .day.relative
1017
+ .day_heading
1018
+ 11
1019
+ %div
1020
+ .day-item.timeclock-status.published_to_payroll Published to Payroll: 12
1021
+ %td#day_12
1022
+ .day.relative
1023
+ .day_heading
1024
+ 12
1025
+ %div
1026
+ .day-item.timeclock-status.published_to_payroll Published to Payroll: 34
1027
+ %td#day_13
1028
+ .day.relative
1029
+ .day_heading
1030
+ 13
1031
+ %div
1032
+ .day-item.timeclock-status.published_to_payroll Published to Payroll: 23
1033
+ %td#day_14.weekend
1034
+ .day.relative
1035
+ .day_heading
1036
+ 14
1037
+ %tr
1038
+ %td#day_15.weekend
1039
+ .day.relative
1040
+ .day_heading
1041
+ 15
1042
+ %td#day_16
1043
+ .day.relative
1044
+ .day_heading
1045
+ 16
1046
+ %div
1047
+ .day-item.timeclock-status.missing_out.missing_out Missing Clock Out: 1
1048
+ .day-item.timeclock-status.missing_in.missing_in Missing Clock In: 1
1049
+ .day-item.timeclock-status.in_late.in_late In Late: 3
1050
+ .day-item.timeclock-status.out_late.out_late Out Late: 1
1051
+ .day-item.timeclock-status.perfect.perfect Perfect: 3
1052
+ %td#day_17
1053
+ .day.relative
1054
+ .day_heading
1055
+ 17
1056
+ %div
1057
+ .day-item.timeclock-status.missing_out.missing_out Missing Clock Out: 1
1058
+ .day-item.timeclock-status.missing_in.missing_in Missing Clock In: 1
1059
+ .day-item.timeclock-status.in_late.in_late In Late: 3
1060
+ .day-item.timeclock-status.out_late.out_late Out Late: 1
1061
+ .day-item.timeclock-status.perfect.perfect Perfect: 3
1062
+ %td#day_18
1063
+ .day.relative
1064
+ .day_heading
1065
+ 18
1066
+ %td#day_19
1067
+ .day.relative
1068
+ .day_heading
1069
+ 19
1070
+ %td#day_20
1071
+ .day.relative
1072
+ .day_heading
1073
+ 20
1074
+ %td#day_21.weekend
1075
+ .day.relative
1076
+ .day_heading
1077
+ 21
1078
+ %tr
1079
+ %td#day_22.weekend
1080
+ .day.relative
1081
+ .day_heading
1082
+ 22
1083
+ %td#day_23
1084
+ .day.relative
1085
+ .day_heading
1086
+ 23
1087
+ %td#day_24
1088
+ .day.relative
1089
+ .day_heading
1090
+ 24
1091
+ %td#day_25
1092
+ .day.relative
1093
+ .day_heading
1094
+ 25
1095
+ %td#day_26
1096
+ .day.relative
1097
+ .day_heading
1098
+ 26
1099
+ %td#day_27
1100
+ .day.relative
1101
+ .day_heading
1102
+ 27
1103
+ %td#day_28.weekend
1104
+ .day.relative
1105
+ .day_heading
1106
+ 28
1107
+ %tr
1108
+ %td#day_29.weekend
1109
+ .day.relative
1110
+ .day_heading
1111
+ 29
1112
+ %td#day_30
1113
+ .day.relative
1114
+ .day_heading
1115
+ 30
1116
+ %td#day_31
1117
+ .day.relative
1118
+ .day_heading
1119
+ 31
1120
+ %td#day_01.notmonth
1121
+ .day.relative
1122
+ .day_heading
1123
+ 1
1124
+ %td#day_02.notmonth
1125
+ .day.relative
1126
+ .day_heading
1127
+ 2
1128
+ %td#day_03.notmonth
1129
+ .day.relative
1130
+ .day_heading
1131
+ 3
1132
+ %td#day_04.notmonth.weekend
1133
+ .day.relative
1134
+ .day_heading
1135
+ 4
1136
+ / Attendance - Scheduling Calendar
1137
+ %h4 Attendance - Scheduling Calendar
1138
+ %section.box
1139
+ %section.sidebox
1140
+ .boxed-title
1141
+ Legend
1142
+ .boxed-content
1143
+ %ul.legend-list
1144
+ %li
1145
+ %span.legend.schedule
1146
+ Schedule
1147
+ %li
1148
+ %span.legend.restday
1149
+ Rest Day
1150
+ %li
1151
+ %span.legend.holiday
1152
+ Holiday
1153
+ %li
1154
+ %span.legend.override
1155
+ Overriden
1156
+ %section.contents
1157
+ .calendar_header.with-actions
1158
+ %h3.bold.calendar_header
1159
+ February 2012
1160
+ .actions-container
1161
+ %button.nomargin Today
1162
+ #calendar_menu.dropdown
1163
+ %a.dropdown-toggle.actions{"data-toggle" => "dropdown", :href => "#calendar_menu"}
1164
+ Actions
1165
+ %b.caret
1166
+ %ul.dropdown-menu
1167
+ %li
1168
+ %a{:href => "#"} Custom Schedule
1169
+ %li
1170
+ %a{:href => "#"} Day Off - Paid
1171
+ %li
1172
+ %a{:href => "#"} Day Off - Unpaid
1173
+ %li
1174
+ %a{:href => "#"} Unselect All
1175
+ .btn-group{"data-toggle" => "buttons-radio"}
1176
+ %button.thumb.btn.active
1177
+ %button.list.btn
1178
+ %ul.boxed-content.gradient-bg.move-20-top.month-traverse-menu.move-20-bottom
1179
+ %li.prev-year.relative.calendar-controls
1180
+ %a{:href => "#"} ← 2011
1181
+ %li
1182
+ %a{:href => "#"} Jan
1183
+ %li.active
1184
+ %span Feb
1185
+ %li
1186
+ %a{:href => "#"} Mar
1187
+ %li
1188
+ %a{:href => "#"} Apr
1189
+ %li
1190
+ %a{:href => "#"} May
1191
+ %li
1192
+ %a{:href => "#"} Jun
1193
+ %li
1194
+ %a{:href => "#"} Jul
1195
+ %li
1196
+ %a{:href => "#"} Aug
1197
+ %li
1198
+ %a{:href => "#"} Sep
1199
+ %li
1200
+ %a{:href => "#"} Oct
1201
+ %li
1202
+ %a{:href => "#"} Nov
1203
+ %li
1204
+ %a{:href => "#"} Dec
1205
+ %li.next-year.relative.calendar-controls
1206
+ %a{:href => "#"} 2013 →
1207
+ %table.calendar.with-toolbar
1208
+ %thead
1209
+ %tr
1210
+ %th Sunday
1211
+ %th Monday
1212
+ %th Tuesday
1213
+ %th Wednesday
1214
+ %th Thursday
1215
+ %th Friday
1216
+ %th Saturday
1217
+ %tbody
1218
+ %tr
1219
+ %td#day_29.notmonth.weekend
1220
+ .day
1221
+ .day_heading
1222
+ 29
1223
+ %div
1224
+ %td#day_30.notmonth
1225
+ .day
1226
+ .day_heading
1227
+ 30
1228
+ %div
1229
+ %td#day_31.notmonth
1230
+ .day
1231
+ .day_heading
1232
+ 31
1233
+ %div
1234
+ %td#day_01.btn{"data-toggle" => "buttons-checkbox"}
1235
+ .day
1236
+ .day_heading
1237
+ 1
1238
+ %div
1239
+ .day-item.timeclock-schedule
1240
+ Morning - 9.00h
1241
+ %br
1242
+ 05:30 - 11:30
1243
+ %br
1244
+ 12:00 - 15:00
1245
+ %br
1246
+ %td#day_02.btn{"data-toggle" => "buttons-checkbox"}
1247
+ .day
1248
+ .day_heading
1249
+ 2
1250
+ %div
1251
+ .day-item.timeclock-schedule
1252
+ Morning - 9.00h
1253
+ %br
1254
+ 05:30 - 11:30
1255
+ %br
1256
+ 12:00 - 15:00
1257
+ %br
1258
+ %td#day_03.btn{"data-toggle" => "buttons-checkbox"}
1259
+ .day
1260
+ .day_heading
1261
+ 3
1262
+ %div
1263
+ .day-item.timeclock-schedule
1264
+ Morning - 9.00h
1265
+ %br
1266
+ 05:30 - 11:30
1267
+ %br
1268
+ 12:00 - 15:00
1269
+ %br
1270
+ %td#day_04.weekend.btn{"data-toggle" => "buttons-checkbox"}
1271
+ .day
1272
+ .day_heading
1273
+ 4
1274
+ %div
1275
+ .day-item.timeclock-schedule.restday
1276
+ Rest Day
1277
+ %br
1278
+ %tr
1279
+ %td#day_05.weekend.btn{"data-toggle" => "buttons-checkbox"}
1280
+ .day
1281
+ .day_heading
1282
+ 5
1283
+ %div
1284
+ .day-item.timeclock-schedule.restday
1285
+ Rest Day
1286
+ %br
1287
+ %td#day_06.btn{"data-toggle" => "buttons-checkbox"}
1288
+ .day
1289
+ .day_heading
1290
+ 6
1291
+ %div
1292
+ .day-item.timeclock-schedule
1293
+ Morning - 9.00h
1294
+ %br
1295
+ 05:30 - 11:30
1296
+ %br
1297
+ 12:00 - 15:00
1298
+ %br
1299
+ %td#day_07.btn{"data-toggle" => "buttons-checkbox"}
1300
+ .day
1301
+ .day_heading
1302
+ 7
1303
+ %div
1304
+ .holiday-category-label
1305
+ PAID
1306
+ .day-item.timeclock-schedule.holiday
1307
+ Holiday: Noname Holiday
1308
+ %br
1309
+ %td#day_08.btn{"data-toggle" => "buttons-checkbox"}
1310
+ .day
1311
+ .day_heading
1312
+ 8
1313
+ %div
1314
+ .day-item.timeclock-schedule.override
1315
+ %span#event_2282202400
1316
+ Day Off - Paid - 9.0h
1317
+ %td#day_09.btn{"data-toggle" => "buttons-checkbox"}
1318
+ .day
1319
+ .day_heading
1320
+ 9
1321
+ %div
1322
+ .day-item.timeclock-schedule
1323
+ Morning - 9.00h
1324
+ %br
1325
+ 05:30 - 11:30
1326
+ %br
1327
+ 12:00 - 15:00
1328
+ %br
1329
+ %td#day_10.btn{"data-toggle" => "buttons-checkbox"}
1330
+ .day
1331
+ .day_heading
1332
+ 10
1333
+ %div
1334
+ .day-item.timeclock-schedule
1335
+ Morning - 9.00h
1336
+ %br
1337
+ 05:30 - 11:30
1338
+ %br
1339
+ 12:00 - 15:00
1340
+ %br
1341
+ %td#day_11.weekend.btn{"data-toggle" => "buttons-checkbox"}
1342
+ .day
1343
+ .day_heading
1344
+ 11
1345
+ %div
1346
+ .day-item.timeclock-schedule.restday
1347
+ Rest Day
1348
+ %br
1349
+ %tr
1350
+ %td#day_12.weekend.btn{"data-toggle" => "buttons-checkbox"}
1351
+ .day
1352
+ .day_heading
1353
+ 12
1354
+ %div
1355
+ .day-item.timeclock-schedule.restday
1356
+ Rest Day
1357
+ %br
1358
+ %td#day_13.btn{"data-toggle" => "buttons-checkbox"}
1359
+ .day
1360
+ .day_heading
1361
+ 13
1362
+ %div
1363
+ .day-item.timeclock-schedule
1364
+ Morning - 9.00h
1365
+ %br
1366
+ 05:30 - 11:30
1367
+ %br
1368
+ 12:00 - 15:00
1369
+ %br
1370
+ %td#day_14.btn{"data-toggle" => "buttons-checkbox"}
1371
+ .day
1372
+ .day_heading
1373
+ 14
1374
+ %div
1375
+ .day-item.timeclock-schedule
1376
+ Morning - 9.00h
1377
+ %br
1378
+ 05:30 - 11:30
1379
+ %br
1380
+ 12:00 - 15:00
1381
+ %br
1382
+ %td#day_15.btn{"data-toggle" => "buttons-checkbox"}
1383
+ .day
1384
+ .day_heading
1385
+ 15
1386
+ %div
1387
+ .day-item.timeclock-schedule
1388
+ Morning - 9.00h
1389
+ %br
1390
+ 05:30 - 11:30
1391
+ %br
1392
+ 12:00 - 15:00
1393
+ %br
1394
+ %td#day_16.btn{"data-toggle" => "buttons-checkbox"}
1395
+ .day
1396
+ .day_heading
1397
+ 16
1398
+ %div
1399
+ .day-item.timeclock-schedule
1400
+ Morning - 9.00h
1401
+ %br
1402
+ 05:30 - 11:30
1403
+ %br
1404
+ 12:00 - 15:00
1405
+ %br
1406
+ %td#day_17.btn{"data-toggle" => "buttons-checkbox"}
1407
+ .day
1408
+ .day_heading
1409
+ 17
1410
+ %div
1411
+ .day-item.timeclock-schedule
1412
+ Morning - 9.00h
1413
+ %br
1414
+ 05:30 - 11:30
1415
+ %br
1416
+ 12:00 - 15:00
1417
+ %br
1418
+ %td#day_18.weekend.btn{"data-toggle" => "buttons-checkbox"}
1419
+ .day
1420
+ .day_heading
1421
+ 18
1422
+ %div
1423
+ .day-item.timeclock-schedule.restday
1424
+ Rest Day
1425
+ %br
1426
+ %tr
1427
+ %td#day_19.weekend.btn{"data-toggle" => "buttons-checkbox"}
1428
+ .day
1429
+ .day_heading
1430
+ 19
1431
+ %div
1432
+ .day-item.timeclock-schedule.restday
1433
+ Rest Day
1434
+ %br
1435
+ %td#day_20.btn{"data-toggle" => "buttons-checkbox"}
1436
+ .day
1437
+ .day_heading
1438
+ 20
1439
+ %div
1440
+ .day-item.timeclock-schedule
1441
+ Morning - 9.00h
1442
+ %br
1443
+ 05:30 - 11:30
1444
+ %br
1445
+ 12:00 - 15:00
1446
+ %br
1447
+ %td#day_21.today.btn{"data-toggle" => "buttons-checkbox"}
1448
+ .day
1449
+ .day_heading
1450
+ 21
1451
+ %div
1452
+ .day-item.timeclock-schedule
1453
+ Morning - 9.00h
1454
+ %br
1455
+ 05:30 - 11:30
1456
+ %br
1457
+ 12:00 - 15:00
1458
+ %br
1459
+ %td#day_22.future.btn{"data-toggle" => "buttons-checkbox"}
1460
+ .day
1461
+ .day_heading
1462
+ 22
1463
+ %div
1464
+ .day-item.timeclock-schedule
1465
+ Morning - 9.00h
1466
+ %br
1467
+ 05:30 - 11:30
1468
+ %br
1469
+ 12:00 - 15:00
1470
+ %br
1471
+ %td#day_23.future.btn{"data-toggle" => "buttons-checkbox"}
1472
+ .day
1473
+ .day_heading
1474
+ 23
1475
+ %div
1476
+ .day-item.timeclock-schedule
1477
+ Morning - 9.00h
1478
+ %br
1479
+ 05:30 - 11:30
1480
+ %br
1481
+ 12:00 - 15:00
1482
+ %br
1483
+ %td#day_24.future.btn{"data-toggle" => "buttons-checkbox"}
1484
+ .day
1485
+ .day_heading
1486
+ 24
1487
+ %div
1488
+ .day-item.timeclock-schedule
1489
+ Morning - 9.00h
1490
+ %br
1491
+ 05:30 - 11:30
1492
+ %br
1493
+ 12:00 - 15:00
1494
+ %br
1495
+ %td#day_25.weekend.future.btn{"data-toggle" => "buttons-checkbox"}
1496
+ .day
1497
+ .day_heading
1498
+ 25
1499
+ %div
1500
+ .day-item.timeclock-schedule.restday
1501
+ Rest Day
1502
+ %br
1503
+ %tr
1504
+ %td#day_26.weekend.future.btn{"data-toggle" => "buttons-checkbox"}
1505
+ .day
1506
+ .day_heading
1507
+ 26
1508
+ %div
1509
+ .day-item.timeclock-schedule.restday
1510
+ Rest Day
1511
+ %br
1512
+ %td#day_27.future.btn{"data-toggle" => "buttons-checkbox"}
1513
+ .day
1514
+ .day_heading
1515
+ 27
1516
+ %div
1517
+ .day-item.timeclock-schedule
1518
+ Morning - 9.00h
1519
+ %br
1520
+ 05:30 - 11:30
1521
+ %br
1522
+ 12:00 - 15:00
1523
+ %br
1524
+ %td#day_28.future.btn{"data-toggle" => "buttons-checkbox"}
1525
+ .day
1526
+ .day_heading
1527
+ 28
1528
+ %div
1529
+ .day-item.timeclock-schedule
1530
+ Morning - 9.00h
1531
+ %br
1532
+ 05:30 - 11:30
1533
+ %br
1534
+ 12:00 - 15:00
1535
+ %br
1536
+ %td#day_29.future.btn{"data-toggle" => "buttons-checkbox"}
1537
+ .day
1538
+ .day_heading
1539
+ 29
1540
+ %div
1541
+ .day-item.timeclock-schedule
1542
+ Morning - 9.00h
1543
+ %br
1544
+ 05:30 - 11:30
1545
+ %br
1546
+ 12:00 - 15:00
1547
+ %br
1548
+ %td#day_01.notmonth.future
1549
+ .day
1550
+ .day_heading
1551
+ 1
1552
+ %div
1553
+ %td#day_02.notmonth.future
1554
+ .day
1555
+ .day_heading
1556
+ 2
1557
+ %div
1558
+ %td#day_03.notmonth.weekend.future
1559
+ .day
1560
+ .day_heading
1561
+ 3
1562
+ %div
1563
+ / CALENDAR LIST VIEW: Sidebar
1564
+ .box
1565
+ / CALENDAR LIST VIEW: Content
1566
+ %section.contents
1567
+ .calendar_header.with-actions
1568
+ %h3.bold.calendar_header
1569
+ January 2012
1570
+ .actions-container
1571
+ %a.nice-button.move-10-right{:href => "#"}
1572
+ %span.icon.add_link>
1573
+ Add a New Calendar Item
1574
+ .btn-group{"data-toggle" => "buttons-radio"}
1575
+ %button.thumb.btn
1576
+ %button.list.btn.active
1577
+ %ul.boxed-content.gradient-bg.move-20-top.month-traverse-menu.move-20-bottom
1578
+ %li.prev-year.relative.calendar-controls
1579
+ %a{:href => "#"} ← 2011
1580
+ %li.active
1581
+ %span Jan
1582
+ %li
1583
+ %a{:href => "#"} Feb
1584
+ %li
1585
+ %a{:href => "#"} Mar
1586
+ %li
1587
+ %a{:href => "#"} Apr
1588
+ %li
1589
+ %a{:href => "#"} May
1590
+ %li
1591
+ %a{:href => "#"} Jun
1592
+ %li
1593
+ %a{:href => "#"} Jul
1594
+ %li
1595
+ %a{:href => "#"} Aug
1596
+ %li
1597
+ %a{:href => "#"} Sep
1598
+ %li
1599
+ %a{:href => "#"} Oct
1600
+ %li
1601
+ %a{:href => "#"} Nov
1602
+ %li
1603
+ %a{:href => "#"} Dec
1604
+ %li.next-year.relative.calendar-controls
1605
+ %a{:href => "#"} 2013 →
1606
+ / List View
1607
+ .cal-list-view
1608
+ .left.scroller{"data-toggle" => "buttons-radio"}
1609
+ .item.btn.active
1610
+ .date
1611
+ %span Jan 1
1612
+ %span Sunday
1613
+ .details
1614
+ %span New Year's Eve
1615
+ %span Regular
1616
+ .item.btn
1617
+ .date
1618
+ %span Jan 23
1619
+ %span Monday
1620
+ .details
1621
+ %span Chinese New Year
1622
+ %span Special
1623
+ .item.btn
1624
+ .date
1625
+ %span Apr 5
1626
+ %span Thursday
1627
+ .details
1628
+ %span Maunday Thursday
1629
+ %span Regular
1630
+ .item.btn
1631
+ .date
1632
+ %span Apr 6
1633
+ %span Friday
1634
+ .details
1635
+ %span Good Friday
1636
+ %span Regular
1637
+ .item.btn
1638
+ .date
1639
+ %span Apr 9
1640
+ %span Monday
1641
+ .details
1642
+ %span Araw ng Kagitingan
1643
+ %span Regular
1644
+ .item.btn
1645
+ .date
1646
+ %span May 1
1647
+ %span Tuesday
1648
+ .details
1649
+ %span Labour Day
1650
+ %span Regular
1651
+ .item.btn
1652
+ .date
1653
+ %span Jun 12
1654
+ %span Tuesday
1655
+ .details
1656
+ %span Independence Day
1657
+ %span Regular
1658
+ .item.btn
1659
+ .date
1660
+ %span Jan 1
1661
+ %span Monday
1662
+ .details
1663
+ %span New Year's Eve
1664
+ %span Regular
1665
+ .right
1666
+ .title
1667
+ %span January 1, 2012
1668
+ %span Sunday
1669
+ .container
1670
+ %form
1671
+ %label
1672
+ %span Name
1673
+ %input{:type => "text", :value => "New Year's Eve"}
1674
+ %label
1675
+ %span Date
1676
+ %input.datepicker{:type => "text"}
1677
+ %label
1678
+ %span Type
1679
+ %select
1680
+ %option Regular
1681
+ %option Special
1682
+ %label
1683
+ %span More info
1684
+ %textarea{:placeholder => "optional"}
1685
+ .button-set
1686
+ %input.primary-button{:type => "submit", :value => "Update"}
1687
+ %input{:type => "button", :value => "Delete"}
1688
+ %section.contents
1689
+ .tabularized-data
1690
+ .left
1691
+ %ul
1692
+ %li.table-row.list-header
1693
+ %ul
1694
+ %li.table-cell
1695
+ %span Name
1696
+ %li.table-row
1697
+ %ul
1698
+ %li.table-cell
1699
+ %span Billy Bob
1700
+ %li.table-cell
1701
+ %span Text Mate
1702
+ .right
1703
+ %ul
1704
+ %li.table-row.list-header
1705
+ %ul
1706
+ %li.table-cell
1707
+ %a{:href => "javascript:void(0)", :class => "arrow position-left", :direction => "previous"} Previous week
1708
+ %span
1709
+ .regular Sunday
1710
+ %div 2012-10-14
1711
+ %div Regular
1712
+ %li.table-cell
1713
+ %span
1714
+ .holiday Monday
1715
+ %div 2012-10-14
1716
+ %div Good luck day
1717
+ %li.table-cell
1718
+ %span
1719
+ .holiday Tuesday
1720
+ %div 2012-10-14
1721
+ %div Good luck day 2
1722
+ %li.table-cell
1723
+ %span
1724
+ .regular Wednesday
1725
+ %div 2012-10-14
1726
+ %div Regular
1727
+ %li.table-cell
1728
+ %span
1729
+ .regular Thursday
1730
+ %div 2012-10-14
1731
+ %div Regular
1732
+ %li.table-cell
1733
+ %span
1734
+ .regular Friday
1735
+ %div 2012-10-14
1736
+ %div Regular
1737
+ %li.table-cell
1738
+ %span
1739
+ .regular Saturday
1740
+ %div 2012-10-14
1741
+ %div Regular
1742
+ %li.table-row
1743
+ %ul
1744
+ %li.table-cell
1745
+ %li.table-cell
1746
+ %span.sched.dayoff Day off - Unpaid
1747
+ .offset
1748
+ .offset-title.bold
1749
+ Offset to
1750
+ .blue Oct 13, 2012
1751
+ .icon-set
1752
+ .icon-circle-arrow-right{:title => "View October 13, 2012"}
1753
+ .icon-comment
1754
+ .offset-popup
1755
+ .name
1756
+ %span By:
1757
+ %span Flint Beastwood
1758
+ .reason
1759
+ %span Reason
1760
+ %span He is going to a conference at SF.
1761
+ %li.table-cell
1762
+ %span.sched.dayoff Day off - Unpaid
1763
+ %li.table-cell
1764
+ %span.sched 05:30 - 11:30 (6h)
1765
+ %li.table-cell
1766
+ %span.sched 05:30 - 11:30 (6h)
1767
+ %li.table-cell
1768
+ %span.sched 05:30 - 11:30 (6h)
1769
+ %li.table-cell
1770
+ %span.sched 05:30 - 11:30 (6h)
1771
+ %span.sched 15:00 - 18:00 (3h)
1772
+ %li.table-row
1773
+ %ul
1774
+ %li.table-cell
1775
+ %li.table-cell
1776
+ %span.sched.dayoff Day off - Unpaid
1777
+ %li.table-cell
1778
+ %span.sched.dayoff Day off - Unpaid
1779
+ %li.table-cell
1780
+ %span.sched 05:30 - 11:30 (6h)
1781
+ %li.table-cell
1782
+ %span.sched 05:30 - 11:30 (6h)
1783
+ %li.table-cell
1784
+ %span.sched 05:30 - 11:30 (6h)
1785
+ %li.table-cell
1786
+ %span.sched 05:30 - 11:30 (6h)