mirror of
https://github.com/XRPLF/xrpl-dev-portal.git
synced 2025-11-20 03:35:51 +00:00
- Set Bootstrap colors for background colors - Adjust button padding to work in more contexts - Removed unused tool CSS. Migrated some styles to SCSS. - Fix sticky overlap in faucets sidebar - Make 404 page inherit from base template
48 lines
1.6 KiB
HTML
48 lines
1.6 KiB
HTML
{% extends "template-base.html" %}
|
|
{% block head %}
|
|
|
|
|
|
<!-- 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();
|
|
make_code_expandable();
|
|
});
|
|
</script>
|
|
|
|
{% endblock %}
|
|
|
|
{% block main %}
|
|
<article class="pt-3 p-md-3">
|
|
{% if (target.lang != "en" and "en" in currentpage.targets) or currentpage.untranslated_warning %}
|
|
{# Add a "sorry this page isn't translated" banner. #}
|
|
<div class="devportal-callout note mb-5"><strong>{% trans %}Sorry, this page is not available in your language.{% endtrans %}</strong>
|
|
<p class="mb-0">{% trans %}We are making an effort to offer the XRP Ledger Dev Portal in a variety of languages, but not all pages are available in all languages. If you'd like to help, <a href="https://github.com/ripple/xrpl-dev-portal/blob/master/CONTRIBUTING.md">please contribute!</a>{% endtrans %}</p>
|
|
</div><!--/.devportal-callout-->
|
|
{% endif %}
|
|
<div class="content">
|
|
{{ content }}
|
|
</div>
|
|
</article>
|
|
{% endblock %}
|
|
|
|
{% block right_sidebar %}
|
|
<div class="card" id="page-toc-wrapper">
|
|
<div class="card-header">
|
|
<h4>{% trans %}In this document{% endtrans %}</h4>
|
|
</div>
|
|
<ul class="card-body page-toc">
|
|
{{ sidebar_content }}
|
|
</ul>
|
|
</div>
|
|
{% endblock %}
|
|
|
|
{% block endbody %}
|
|
<script type="application/javascript">
|
|
gtag('config', 'UA-157720658-3', {'content_group1': 'Content Docs'});
|
|
</script>
|
|
{% endblock %}
|