Unified · Split
| @@ -27,6 +27,8 @@ templates.sidebarLabel = (doc, options = {}) -> · 26 unmodified lines | ||
| 27 | 27 | label += 'checked' if options.checked |
| 28 | 28 | label + ">#{doc.name}</label>" |
| 29 | 29 | |
| 30 | +templates.sidebarDisabled = '<h6 class="_list-title">Disabled</h6>' | |
| 31 | + | |
| 30 | 32 | templates.sidebarVote = '<a href="https://trello.com/b/6BmTulfx/devdocs-documentation" class="_list-link" target="_blank">Vote for new documentation</a>' |
| 31 | 33 | |
| 32 | 34 | sidebarFooter = (html) -> """<div class="_sidebar-footer">#{html}</div>""" |
| @@ -32,7 +32,8 @@ class app.views.DocList extends app.View · 31 unmodified lines | ||
| 32 | 32 | render: => |
| 33 | 33 | @html @tmpl('sidebarDoc', app.docs.all()) |
| 34 | 34 | unless app.isSingleDoc() or app.settings.hasDocs() |
| 35 | − @append @tmpl('sidebarDoc', app.disabledDocs.all(), disabled: true) | |
| 35 | + @append @tmpl('sidebarDisabled') + | |
| 36 | + @tmpl('sidebarDoc', app.disabledDocs.all(), disabled: true) | |
| 36 | 37 | return |
| 37 | 38 | |
| 38 | 39 | reset: -> |
| @@ -56,6 +56,13 @@ · 55 unmodified lines | ||
| 56 | 56 | } |
| 57 | 57 | } |
| 58 | 58 | |
| 59 | +._list-title { | |
| 60 | + margin: 1rem 0 .5rem 2.25rem; | |
| 61 | + font-size: .75rem; | |
| 62 | + color: $textColorLight; | |
| 63 | + text-transform: uppercase; | |
| 64 | +} | |
| 65 | + | |
| 59 | 66 | ._list-item { |
| 60 | 67 | display: block; |
| 61 | 68 | position: relative; |