diff --git a/webui/assets/style.css b/webui/assets/style.css index 515335ef9..5fec5b5c6 100644 --- a/webui/assets/style.css +++ b/webui/assets/style.css @@ -295,4 +295,42 @@ td{ .expand { text-align: center; -} \ No newline at end of file +} + +.query h2 { + display: inline-block; +} + +.query-tooltip { + position: relative; + display: inline; + color: #1db598; + margin-left: 5px; +} + +.query-tooltip-content { + visibility: hidden; + background-color: rgb(250, 250, 250); + border: solid 1.5px #e4eff4; + color: #102445; + border-radius: 2px; + padding: 15px; + margin-bottom: 15px; + + /* Position the tooltip */ + position: absolute; + /* + left: 423px; + top: 100px; + */ + z-index: 1; +} + +.query-tooltip:hover+.query-tooltip-content { + visibility: visible; +} + +.code{ + font-family: monospace; +} + diff --git a/webui/index.html b/webui/index.html index 8422d4c45..53feb0b7a 100644 --- a/webui/index.html +++ b/webui/index.html @@ -34,10 +34,39 @@
-

Query

+

Query

? +
+
PQL
+
+ SetBit(frame=foo, row=0, column=0)
+ ClearBit(frame=foo, row=0, column=0)
+ SetRowAttrs(frame=foo, row=0, color="blue")
+ SetColumnAttrs(frame=foo, column=0, shape="circle")
+ Bitmap(frame=foo, row=0)
+ Range(frame=foo, row=0, start="2010-01-01T00:00", end="2017-03-02T03:00")
+ Count(<BITMAP_CALL>)
+ TopN([BITMAP_CALL], frame=foo, n=20)
+ Union([BITMAP_CALL, ...])
+ Intersect(<BITMAP_CALL>, [BITMAP_CALL, ...])
+ Difference(<BITMAP_CALL>, <BITMAP_CALL>) +
+
+
Special commands
+
+ :create index test [columnLabel=column]
+ :use index test
+ :create frame foo [rowLabel=row]
+ :delete index test
+ :delete frame foo +
+
+ <tab>: autocomplete
+ <up>/<down>: history
+
-
- +
+
+