kore

Kore is a web application platform for writing scalable, concurrent web based processes in C or Python.
Commits | Files | Refs | README | LICENSE | git clone https://git.kore.io/kore.git

params.html (1209B)



      1 <!DOCTYPE>
      2 <html>
      3 <head>
      4 	<link rel="stylesheet" href="/css/style.css" type="text/css">
      5 	<title>Kore params test</title>
      6 </head>
      7 
      8 <body style="overflow: auto">
      9 
     10 <div class="content" style="font-size: 12px; font-weight: normal">
     11 	<p>You can pass one GET parameter (arg1), any other GET parameter will
     12 	   be filtered out</p>
     13 	<p>Only two out of the three input fields will be visible to Kore.</p>
     14 	<p>The first field accepts the input "test"</p>
     15 	<p>The second field accepts anything like /test/[a-z]*</p>
     16 	<p>The third field will be removed by Kore, as it is not in the params
     17 	   block configured for this page.</p>
     18 	<form method="POST">
     19 		<input type="input" name="test1" value="$test1$">
     20 		<input type="input" name="test2" value="$test2$">
     21 		<input type="input" name="test3" value="$test3$">
     22 		<input type="submit">
     23 	</form>
     24 
     25 	<p style="font-size: 12px; font-weight: normal">GET param arg1: $arg1$</p>
     26 	<p style="font-size: 12px; font-weight: normal">GET param arg2: $arg2$</p>
     27 	<p style="font-size: 12px; font-weight: normal">test1: $test1$</p>
     28 	<p style="font-size: 12px; font-weight: normal">test2: $test2$</p>
     29 	<p style="font-size: 12px; font-weight: normal">test3: $test3$</p>
     30 </div>
     31 
     32 </body>
     33 </html>