AspNetCore.Docs/common/_templates/page.html

56 lines
1.9 KiB
HTML

{% extends "!page.html" %}
{#########################}
{# for disqus commenting #}
{#########################}
{%- block body %}
{{ super() }}
{% if 'index' not in pagename %}
<!-- Helpfulness -->
<div id="helpful-position"></div>
<div id="helpful" class="helpfulness-container" style="display:none;">
<div class="helpfulness">
<div class="helpfulness-form">
<h2>Is this page helpful?</h2>
<a id="helpfulness-btn-yes" href="javascript:;" class="common-btn first">Yes</a>
<a id="helpfulness-btn-no" href="javascript:;" class="common-btn">No</a>
</div>
<div class="helpfulness-form-no" style="display:none;">
<h2>Is this page helpful?</h2>
Sorry this wasn't helpful.
<input type="text" id="txt-helpfulness" placeholder="Please let us know why this wasn't helpful">
<span id="helpfulness-characters-left">characters remaining</span>
<a id="helpfulness-btn-submit" href="javascript:;" class="common-btn">Submit</a>
<a id="helpfulness-btn-skip" href="javascript:;" class="common-btn secondary">Skip this</a>
</div>
<a href="javascript:;" class="helpfulness-close"></a>
<div class="messages processing" style="display:none;">
Sending feedback...
</div>
<div class="messages success" style="display:none;">
Thank you for your feedback!
</div>
<div class="messages helpfulness-error" style="display:none;">
Error during submission!
</div>
</div>
</div>
{% endif %}
<!-- wedc -->
<noscript>
<img alt="" width="1" height="1" src="https://c.microsoft.com/trans_pixel.aspx"/>
</noscript>
{% if 'index' not in pagename %}
<!-- disqus -->
<button id="showComments" type="button" class="btn btn-neutral"><i class="fa fa-comment"></i> Show comments</button>
<div id="disqus_thread"></div>
<hr/>
{% endif %}
{%- endblock %}