github.com/hyperledger/burrow@v0.34.5-0.20220512172541-77f09336001d/docs/example/basic-app-website/views/index.ejs (about) 1 <!DOCTYPE html> 2 <!--Website originally created by https://github.com/bmorelli25--> 3 <html> 4 <head> 5 <meta charset="utf-8"> 6 <title>Test</title> 7 <link rel="stylesheet" type="text/css" href="/css/style.css"> 8 9 </head> 10 <body> 11 <div class="container"> 12 <fieldset> 13 <form action="/" method="post"> 14 <input name="valueNum" type="number" class="ghost-input" placeholder="Enter a new value" required> 15 <input type="submit" class="ghost-button" value="Set Value"> 16 </form> 17 </fieldset> 18 <fieldset> 19 <form action="/getValue" method="get"> 20 <input type="submit" class="ghost-button" value="Get Value"> 21 </form> 22 <% if(valueIs !== null){ %> 23 <p><%= valueIs %></p> 24 <% } %> 25 26 <% if(valueIs !== null){ %> 27 <p><%= error %></p> 28 <% } %> 29 </fieldset> 30 </div> 31 </body> 32 </html>