Skip to content
This repository was archived by the owner on Feb 1, 2019. It is now read-only.

wip styles #31

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
40 changes: 40 additions & 0 deletions assets/style/main.styl
Original file line number Diff line number Diff line change
@@ -1,6 +1,46 @@
@import 'jeet'
@import url(https://fonts.googleapis.com/css?family=Inconsolata:400,700);

normalize-css()

*
box-sizing border-box

body
color #3C3A31
center(1024px)
padding 1em
max-width 50em

table, tr, td, th
border 1px solid #fff
word-break break-word

table
width 100%
background #F8F8F8
font-family Inconsolata, monospace
td, th
padding .5em

.two-column
td, th
width: 50%;

.three-column
td, th
width: 33.33%;

td:first-child
font-weight bold

.plugins > div
display none

.plugins > :target + div
display block

.hide-children
display none
:target ~ .hide-children
display block
54 changes: 32 additions & 22 deletions assets/views/connections.jade
Original file line number Diff line number Diff line change
Expand Up @@ -10,37 +10,47 @@ each connection in connections || []
span Labels
span [#{connection.labels}]
h4 Routes
div
table.three-column
tr
th HTTP Verb
th Path
th Plugin
each route in connection.routes || []
div
div
span HTTP verb
spab #{route.method}
div
span Path
span #{route.path}
div
span Plugin
span #{route.plugin}
tr
td= route.method
td= route.path
td= route.plugin

h4 Plugins
div
div.plugins
each plug, name in connection.plugins || {}
h5(id='#{name}')
a(href='##{name}') #{name}
div
h5 #{name}
div
span Version
span #{plug.version}
div
span Multiple
span #{plug.multiple}
table.two-column
tr
th Version
th Multiple
tr
td= plug.version
td= plug.multiple
div
h6 Options
+keyvalue(plug.options || {})
table.two-column
each key, value in plug.options || {}
tr
td= value
td= key
if plug.attributes.pkg
div
h6 Package
+keyvalue(plug.attributes.pkg)
else
table.two-column
each key, value in plug.attributes.pkg || {}
tr
td= value
td= key

else
div
h6 Attributes
+keyvalue(plug.attributes || {})
53 changes: 34 additions & 19 deletions assets/views/runtime.jade
Original file line number Diff line number Diff line change
@@ -1,20 +1,35 @@
h2 Runtime
h2#runtime
a(href='#runtime') Runtime
div.hide-children
table.two-column
tr
td Execution Path
td= runtime.execPath
tr
td Command Line Arguments
td= runtime.argv
tr
td Node Command Line Arguments
td= runtime.execArgv
div
h3 Versions
table.two-column
tr
th Name
th Version
each value, key in runtime.versions
tr
td= key
td= value
div
span Execution Path
span #{runtime.execPath}
div
span Command Line Arguments
span [#{runtime.argv}]
div
span Node Command Line Arguments
span #{runtime.execArgv}
div
h3 Versions
ul
each value, key in runtime.versions
li= key + ' version: ' + value
div
h3 Environment
ul
each value, key in runtime.env
li= key + ' = ' + value
h2#environment
a(href='#environment') Environment
div.hide-children
table.two-column
tr
th Variable
th Value
each value, key in runtime.env
tr
td= key
td= value