Files
xrpl-dev-portal/tool/template-doc.html
Jennifer Hasegawa c0dc7a3099 helpful-survey-spike
2019-04-16 09:59:28 -07:00

45 lines
1.7 KiB
HTML

{% extends "template-base.html" %}
{% block head %}
<!-- syntax highlighting -->
<link rel="stylesheet" href="assets/vendor/docco.min.css" />
<script src="assets/vendor/highlight.min.js"></script>
<!-- expandable code samples -->
<script src="assets/js/expandcode.js"></script>
<!-- multi-code selection tabs -->
<script src="assets/js/multicodetab.js"></script>
<script>
$(document).ready(function() {
$(".multicode").minitabs();
hljs.initHighlighting();
make_code_expandable();
});
</script>
{% endblock %}
{% block main %}
<article class="p-3">
<div class="content">
{{ content }}
</div>
</article>
{% endblock %}
{% block right_sidebar %}
<div class="card" id="page-toc-wrapper">
<p class="in-this-doc card-header">In this document:</p>
<ul class="dev_nav_sidebar card-body" id="dactyl_toc_sidebar">
{{ sidebar_content }}
</ul>
<hr>
<!--{# embeds the typeform survey widget. #}-->
<!--{# TODO: On smaller screens, the survey displays before the content - turn off the survey for mobile screens? #}-->
<div id="typeform-survey" class="typeform-widget" data-url="" style="width: 100%; height: 300px;"></div>
<script> $('#typeform-survey').attr('data-url', 'https://ryan1106.typeform.com/to/CROjck?source=' + window.location.pathname); </script>
<script> (function() { var qs,js,q,s,d=document, gi=d.getElementById, ce=d.createElement, gt=d.getElementsByTagName, id="typef_orm", b="https://embed.typeform.com/"; if(!gi.call(d,id)) { js=ce.call(d,"script"); js.id=id; js.src=b+"embed.js"; q=gt.call(d,"script")[0]; q.parentNode.insertBefore(js,q) } })() </script>
</div>
{% endblock %}