mirror of
https://gitlab.silvrtree.co.uk/martind2000/nci.git
synced 2025-01-12 11:45:07 +00:00
31 lines
620 B
Plaintext
31 lines
620 B
Plaintext
|
|
- var buildId = this.props.params.buildId;
|
|
- var total = this.state.data.total;
|
|
- var output = this.state.data.output;
|
|
|
|
div
|
|
| build:
|
|
span= buildId
|
|
|
|
div
|
|
| lines in total:
|
|
span= total
|
|
|
|
div
|
|
| from:
|
|
input(type="text", value=this.state.from, onChange=this.onFromChange)
|
|
|
|
br
|
|
.terminal(style="width: 900px; float: left;")
|
|
.terminal_code(ref="code")!= output
|
|
|
|
div.terminal-virtual-scroll(
|
|
style="width: 15px; height: 320px; overflow: scroll; float: clear;",
|
|
onScroll=this.onVirtualScroll
|
|
)
|
|
- var height = total * 15;
|
|
div(style="height: #{height}px;")
|
|
div
|
|
| virtual scroll top:
|
|
span= this.state.virtualScrollTop
|