|
| 1 | +{% assign repo = repo | default: site.repo.this -%} |
| 2 | +{% capture pageSource -%} {{repo}}/tree/{{site.branch}}/{{page.inputPath | replace: './', ''}} {%- endcapture -%} |
| 3 | +{% assign url = site.url | append: page.url -%} |
| 4 | + |
| 5 | +<div id="trailing-content"> |
| 6 | + <div id="page-feedback"> |
| 7 | + <div class="feedback initial-feedback"> |
| 8 | + <div>Was this page's content helpful?</div> |
| 9 | + <div class="feedback-buttons"> |
| 10 | + <button id="feedback-up-button" class="icon-button" aria-label="Yes, this page was helpful" title="Helpful"> |
| 11 | + <span class="material-symbols" aria-hidden="true">thumb_up</span> |
| 12 | + </button> |
| 13 | + <button id="feedback-down-button" class="icon-button" aria-label="No, this page was not helpful or had an issue" title="Not helpful or had issue"> |
| 14 | + <span class="material-symbols" aria-hidden="true">thumb_down</span> |
| 15 | + </button> |
| 16 | + </div> |
| 17 | + </div> |
| 18 | + <div class="feedback good-feedback"> |
| 19 | + <div>Thank you for your feedback!</div> |
| 20 | + <a href="{{repo}}/issues/new?labels=from.page-feedback" class="text-button" aria-label="Provide feedback"> |
| 21 | + <span class="material-symbols" aria-hidden="true">feedback</span> |
| 22 | + <span>Provide details</span> |
| 23 | + </a> |
| 24 | + </div> |
| 25 | + <div class="feedback bad-feedback"> |
| 26 | + <div>Thank you for your feedback! Please let us know what we can do to improve.</div> |
| 27 | + <a href="{{repo}}/issues/new?labels=from.page-feedback" class="text-button" aria-label="Provide feedback or report an issue"> |
| 28 | + <span class="material-symbols" aria-hidden="true">bug_report</span> |
| 29 | + <span>Provide details</span> |
| 30 | + </a> |
| 31 | + </div> |
| 32 | + </div> |
| 33 | + |
| 34 | + <p id="page-github-links"> |
| 35 | + <span>Unless stated otherwise, the documentation on this site reflects the latest stable version of Flutter. Page last updated on {{page.date | toSimpleDate}}.</span> |
| 36 | + <a href="{{pageSource}}" target="_blank" rel="noopener">View source</a> |
| 37 | + <span> or </span> |
| 38 | + <a href="{{repo}}/issues/new?template=1_page_issue.yml&&page-url={{url}}&page-source={{pageSource}}" title="Report an issue with this page" target="_blank" rel="noopener">report an issue</a>. |
| 39 | + </p> |
| 40 | +</div> |
0 commit comments