mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2025-05-02 00:43:34 -04:00
commit
cfeb6c34a4
3 changed files with 28 additions and 13 deletions
app
|
@ -3,16 +3,23 @@
|
||||||
|
|
||||||
.row
|
.row
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
.index-column, .documentation-column
|
.index-column, .documentation-column
|
||||||
overflow-y: scroll
|
|
||||||
overflow-x: hidden
|
overflow-x: hidden
|
||||||
min-height: 600px
|
min-height: 600px
|
||||||
|
|
||||||
> ul
|
> ul
|
||||||
padding: 0px 20px 20px 20px
|
padding: 0px 20px 20px 20px
|
||||||
|
|
||||||
|
.doc-name
|
||||||
|
color: rgb(139, 69, 19)
|
||||||
|
|
||||||
|
|
||||||
.documentation-column
|
.documentation-column
|
||||||
|
|
||||||
.specialList
|
.specialList
|
||||||
list-style-type: none
|
list-style-type: none
|
||||||
|
|
||||||
|
.doc-description
|
||||||
|
list-style-type: none
|
||||||
|
|
|
@ -6,18 +6,25 @@ block content
|
||||||
.col-xs-3.index-column.nano
|
.col-xs-3.index-column.nano
|
||||||
ul.nav.nav-list.list-group.nano-content
|
ul.nav.nav-list.list-group.nano-content
|
||||||
for component in components
|
for component in components
|
||||||
li= component.get('name')
|
a.doc-name(href="##{component.get('name')}")
|
||||||
ul
|
li= component.get('name')
|
||||||
each doc in component.attributes.propertyDocumentation
|
ul
|
||||||
a(href="##{component.get('name')}#{doc.name}")
|
each doc in component.attributes.propertyDocumentation
|
||||||
li
|
a(href="##{component.get('name')}#{doc.name}")
|
||||||
| #{doc.name}
|
li
|
||||||
|
| #{doc.name}
|
||||||
.col-xs-9.documentation-column.nano
|
.col-xs-9.documentation-column.nano
|
||||||
ul.nano-content
|
ul.nano-content
|
||||||
for component in components
|
for component in components
|
||||||
each doc in component.attributes.propertyDocumentation
|
li(id="#{component.get('name')}")
|
||||||
li(id="#{component.get('name')}#{doc.name}")
|
| #{component.get('name')}
|
||||||
| #{doc.name}
|
ul
|
||||||
ul.specialList
|
li.doc-description
|
||||||
li=doc.description
|
| #{component.get('description')}
|
||||||
|
ul
|
||||||
|
each doc in component.attributes.propertyDocumentation
|
||||||
|
li(id="#{component.get('name')}#{doc.name}")
|
||||||
|
| #{doc.name}
|
||||||
|
ul.specialList
|
||||||
|
li!=marked(doc.description)
|
||||||
|
|
|
@ -24,4 +24,5 @@ module.exports = class UnnamedView extends RootView
|
||||||
getRenderData: ->
|
getRenderData: ->
|
||||||
c = super()
|
c = super()
|
||||||
c.components = @componentDocs.models
|
c.components = @componentDocs.models
|
||||||
|
c.marked = marked
|
||||||
c
|
c
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue