| <!DOCTYPE html> |
| <html> |
| <head> |
| <title>corpus-selector-sk</title> |
| <meta charset="utf-8"/> |
| <meta http-equiv="X-UA-Compatible" content="IE=edge"> |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> |
| </head> |
| <body> |
| <gold-scaffold-sk app_title="Skia Public" testing_offline> |
| <h2>Default corpus renderer function:</h2> |
| <div id="default-fn-corpus-selector-placeholder"> |
| <!-- A corpus-selector-sk element will be inserted here dynamically. --> |
| </div> |
| <small>Does not update automatically.</small> |
| |
| <h2>Custom corpus renderer function:</h2> |
| <div id="custom-fn-corpus-selector-placeholder"> |
| <!-- A corpus-selector-sk element will be inserted here dynamically. --> |
| </div> |
| <small> |
| Updates automatically every 3 seconds. |
| For demonstration purposes, all negative counts increase by 1 at each update |
| cycle. |
| </small> |
| |
| <h2>Custom corpus renderer function (long):</h2> |
| <div id="custom-fn-long-corpus-selector-placeholder"> |
| <!-- A corpus-selector-sk element will be inserted here dynamically. --> |
| </div> |
| <small> |
| Long corpus labels to demonstrate wrapping. |
| </small> |
| |
| </gold-scaffold-sk> |
| |
| <div style="margin: 5em 1em 1em; padding: 1em; border: 1px solid lightgrey"> |
| <p><strong>Event log</strong></p> |
| <textarea id="event-log" readonly rows="10" cols="80"></textarea> |
| </div> |
| |
| <div style="margin: 5em 1em 1em; padding: 1em; border: 1px solid lightgrey"> |
| <p><strong>DEBUGGING</strong></p> |
| <p> |
| <input type="checkbox" id="simulate-rpc-failure"/> |
| <label for="simulate-rpc-failure"> |
| Simulate RPC internal server error on subsequent roundtrips. |
| </label> |
| </p> |
| </div> |
| </body> |
| </html> |