File tree Expand file tree Collapse file tree 1 file changed +42
-9
lines changed Expand file tree Collapse file tree 1 file changed +42
-9
lines changed Original file line number Diff line number Diff line change 66
66
}
67
67
}
68
68
</ script >
69
+ < style type ="text/css ">
70
+ .output {
71
+ position : relative;
72
+ width : 49% ;
73
+ display : inline-block;
74
+ }
75
+ .output > textarea {
76
+ width : 100% ;
77
+
78
+ }
79
+ .output > .label {
80
+ position : absolute;
81
+ top : 1ex ;
82
+ right : 1ex ;
83
+ padding : 3px ;
84
+ margin : 0px ;
85
+ color : # 0000005e ;
86
+ border : 1px solid # 0000005e ;
87
+ border-radius : 3px ;
88
+ pointer-events : none;
89
+ }
90
+ </ style >
69
91
< title > CQL parser</ title >
70
92
</ head >
71
93
< body >
72
94
< div >
73
95
< form name ="test " onsubmit ="parseInput(this.q.value); return false; ">
74
96
Query:
75
97
< input type ="text " name ="q " size ="160 " onkeyup ="parseInput(this.value); return false; "> </ input >
76
- < br >
77
- < br >
78
- XCQL:
79
- < br >
80
98
</ form >
81
- < textarea id ="output " rows ="80 " cols ="80 "> </ textarea >
82
- < textarea id ="output2 " rows ="80 " cols ="80 "> </ textarea >
83
- < textarea id ="output3 " rows ="80 " cols ="80 "> </ textarea >
84
- < textarea id ="output4 " rows ="80 " cols ="80 "> </ textarea >
85
- < textarea id ="output5 " rows ="80 " cols ="80 "> </ textarea >
99
+ < div class ="output ">
100
+ < div class ="label "> XCQL</ div >
101
+ < textarea id ="output " rows ="10 " cols ="80 " readonly > </ textarea >
102
+ </ div >
103
+ < div class ="output ">
104
+ < div class ="label "> String</ div >
105
+ < textarea id ="output2 " rows ="10 " cols ="80 " readonly > </ textarea >
106
+ </ div >
107
+ < div class ="output ">
108
+ < div class ="label "> FQ</ div >
109
+ < textarea id ="output3 " rows ="10 " cols ="80 " readonly > </ textarea >
110
+ </ div >
111
+ < div class ="output ">
112
+ < div class ="label "> String (FQ-parsed)</ div >
113
+ < textarea id ="output4 " rows ="10 " cols ="80 " readonly > </ textarea >
114
+ </ div >
115
+ < div class ="output ">
116
+ < div class ="label "> Annotated< br /> (original input)</ div >
117
+ < textarea id ="output5 " rows ="8 " cols ="80 " readonly > </ textarea >
118
+ </ div >
86
119
</ div >
87
120
</ body >
88
121
</ html >
You can’t perform that action at this time.
0 commit comments