Merge pull request #589 from alanbernstein/webui-fixes

Webui fixes
This commit is contained in:
alanbernstein 2017-05-30 13:19:55 -05:00 committed by GitHub
commit f4466f97e4
3 changed files with 15 additions and 24 deletions

View file

@ -161,10 +161,10 @@ class REPL {
output_string += `<br />
<br />
Just getting started? Try this:<br />
$ curl -XPOST "http://127.0.0.1:10101/index/test" -d '{"options": {"columnLabel": "col"}}' # create index "test"<br />
$ curl -XPOST "http://127.0.0.1:10101/index/test/frame/foo" -d '{"options": {"rowLabel": "row"}}' # create frame "foo"<br />
# Select "test" in the index dropdown above<br />
SetBit(row=0, col=0, frame=foo) # Use PQL to set a bit
:create index test<br />
:use test<br />
:create frame foo<br />
SetBit(rowID=0, columnID=0, frame=foo) # Use PQL to set a bit
`
}
}

View file

@ -287,12 +287,6 @@ td{
padding: 21px 30px;
}
.string { color: green; }
.number { color: darkorange; }
.boolean { color: blue; }
.null { color: magenta; }
.key { color: red; }
.expand {
text-align: center;
}

View file

@ -56,7 +56,7 @@
<h5>Special commands</h5>
<div class="code">
:create index test [columnLabel=column]<br />
:use index test<br />
:use test<br />
:create frame foo [rowLabel=row]<br />
:delete index test<br />
:delete frame foo
@ -76,19 +76,15 @@
<button id='query-btn'>Run Query</button>
</div>
</div>
<div class="output-container">
<h2>Output</h2>
<div id="outputs">
<!-- results -->
</div>
</div>
</div>
<div class="output-container">
<h2>Output</h2>
<div id="outputs">
<!-- results -->
</div>
</div>
</div>
<div class="interface" id="interface-cluster">
@ -103,10 +99,11 @@
</div>
</div>
<div class="status-container">
<!--
<h2>Slice Distribution</h2>
<div class="status-table-container" id="status-slices">
...
</div>
-->
</div>
</div>