|
| 1 | +--- |
| 2 | +title: Basic search page for Governement of Canada using Headless |
| 3 | +description: Demo page for the Canada.ca Search UI Basic |
| 4 | +lang: en |
| 5 | +altLangPage: srb-fr.html |
| 6 | +nositesearch: true |
| 7 | +pageclass: page-type-search |
| 8 | +pageType: recherche |
| 9 | +share: false |
| 10 | +deptfeature: false |
| 11 | +dateModified: 2024-06-05 |
| 12 | +css: "../src/connector.css" |
| 13 | +mscript: "../src/connector.js" |
| 14 | +--- |
| 15 | +<script src="../src/connector.js" type="module"></script> |
| 16 | +<!--FORM--> |
| 17 | +<form id="gc-searchbox" class="mrgn-tp-sm"> |
| 18 | + <div class="input-group mrgn-tp-lg"> |
| 19 | + <label class="wb-inv" for="sch-inp-ac">Search Government of Canada websites</label> |
| 20 | + <input id="sch-inp-ac" class="form-control" value="" name="q" autocomplete="off" spellcheck="false" type="search" aria-describedby="gc-pi"> |
| 21 | + <span class="input-group-btn"> |
| 22 | + <button class="btn btn-primary btn-small" type="submit"> <span class="glyphicon-search glyphicon" aria-hidden="true"></span> <span class="wb-inv">Search</span> </button> |
| 23 | + </span> |
| 24 | + </div> |
| 25 | + <p id="gc-pi" class="mrgn-tp-md">Don’t include personal information (telephone, email, SIN, financial, medical, or work details).</p> |
| 26 | +</form> |
| 27 | + |
| 28 | +<!--RESULTS--> |
| 29 | +<div data-gc-search='{ |
| 30 | + "searchHub": "canada-gouv-public-websites", |
| 31 | + "organizationId": "employmentandsocialdevelopmentcanadanonproduction14o5d9wry", |
| 32 | + "accessToken":"xx20998bcf-96df-4d67-b61e-6460b26651b9", |
| 33 | + "originLevel3": "/en/sr/srb.html" |
| 34 | +}'></div> |
| 35 | +<p class="text-center small"><a href="sra-en.html">Perform an advanced search</a></p> |
| 36 | + |
| 37 | +<!--DEMO-EXPECTATIONS--> |
| 38 | +<h2>Expected output for the result section</h2> |
| 39 | +<details> |
| 40 | + <summary>Output for Results section</summary> |
| 41 | + [To be completed, see Connector.js for reference until then] |
| 42 | +</details> |
0 commit comments