File tree Expand file tree Collapse file tree 4 files changed +30
-19
lines changed
Expand file tree Collapse file tree 4 files changed +30
-19
lines changed Original file line number Diff line number Diff line change 55 margin-bottom : 6px ;
66}
77
8- # parse-view textarea {
9- width : 600px ;
10- height : 220px ;
8+ # parse-form {
9+ width : 100% ;
10+
11+ & fieldset {
12+ width : 100% ;
13+
14+ & fieldset {
15+ width : auto;
16+ }
17+
18+ & textarea {
19+ width : 100% ;
20+ max-width : 450px ;
21+ height : 220px ;
22+ }
23+ }
1124}
1225
1326# parse-submit-btn {
14- width : 610px ;
27+ width : 100% ;
28+ max-width : 450px ;
1529 padding : 10px ;
1630}
1731
5367 & input ,
5468 & textarea ,
5569 & select {
56- margin-left : 0.3rem ;
5770 padding : 0.25rem 0.4rem ;
5871 border : 1px solid var (--border );
5972 border-radius : 4px ;
Original file line number Diff line number Diff line change 88
99 & table {
1010 margin-top : 10px ;
11- min- width: 850 px ;
11+ width : 100 % ;
1212 max-width : var (--view-width );
1313 }
1414
Original file line number Diff line number Diff line change 11<!-- templates/partials/parse_form_partial.html -->
22
3- < form action ="/ " method ="POST ">
3+ < form id =" parse-form " action ="/ " method ="POST ">
44 < fieldset >
5- < div class ="inline-block ">
6- {{ if .Logs.Textinput -}}
7- < textarea id ="logsInput " name ="logs " placeholder ="Paste varnishlog logs here "> {{ .Logs.Textinput }}</ textarea >
8- {{ else }}
9- < textarea id ="logsInput " name ="logs " placeholder ="Paste varnishlog logs here "> </ textarea >
10- {{ end }}
11- </ div >
5+ {{ if .Logs.Textinput -}}
6+ < textarea id ="logsInput " name ="logs " placeholder ="Paste varnishlog logs here "> {{ .Logs.Textinput }}</ textarea >
7+ {{ else }}
8+ < textarea id ="logsInput " name ="logs " placeholder ="Paste varnishlog logs here "> </ textarea >
9+ {{ end }}
1210
1311 < div class ="inline-block ">
1412 <!-- Sequence settings -->
Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ <h1>Request Builder</h1>
1919 < fieldset >
2020 < div class ="form-row ">
2121 < label >
22- Scheme
22+ Scheme:
2323 < select name ="scheme ">
2424 < option value ="auto "> -- Auto --</ option >
2525 < option value ="http:// "> HTTP</ option >
@@ -28,7 +28,7 @@ <h1>Request Builder</h1>
2828 </ label >
2929
3030 < label >
31- Headers
31+ Headers:
3232 < select name ="headers ">
3333 < option value ="received "> Received</ option >
3434 < option value ="processed "> After VCL Processing</ option >
@@ -38,7 +38,7 @@ <h1>Request Builder</h1>
3838
3939 < div class ="form-row ">
4040 < label >
41- Excluded headers
41+ Excluded headers:
4242 < input type ="text " name ="excluded " value ="Via, X-Forwarded-For ">
4343 </ label >
4444 </ div >
@@ -48,7 +48,7 @@ <h1>Request Builder</h1>
4848 < div class ="form-row ">
4949 < label >
5050 < input type ="radio " name ="connectTo " value ="backend " checked >
51- Backend
51+ Backend:
5252 < select id ="backend " name ="backend ">
5353 < option value ="auto "> -- Auto --</ option >
5454 < option value ="none "> -- None --</ option >
@@ -64,7 +64,7 @@ <h1>Request Builder</h1>
6464 < div class ="form-row ">
6565 < label >
6666 < input type ="radio " name ="connectTo " value ="custom ">
67- Custom backend
67+ Custom backend:
6868 < input type ="text " name ="custom " pattern ="^.+:[0-9]+$ " placeholder ="<HOST/IP>:<PORT> ">
6969 </ label >
7070 </ div >
You can’t perform that action at this time.
0 commit comments