mirror of
https://github.com/XRPLF/xrpl-dev-portal.git
synced 2025-12-01 00:55:50 +00:00
merged and fixed branch conflicts
This commit is contained in:
@@ -174,11 +174,11 @@
|
||||
</div>
|
||||
</section>
|
||||
<section class="min-vh100 mb-40 section2 clearfix">
|
||||
<h4>{% trans %}C02 Emissions from Airline Flights{% endtrans %}</h4>
|
||||
<h4>{% trans %}CO<sub>2</sub> Emissions from Airline Flights{% endtrans %}</h4>
|
||||
|
||||
<p class="grey-400 text-small my-4">{% trans %}Comparing <span class="slider-amt"></span> Million Transactions in 2019{% endtrans %}</p>
|
||||
|
||||
<p class="calculator-section-description">{% trans %}A 12-hour flight from London to Hong Kong releases 3 tons of Carbon dioxide (C02). Discover how much C02 different forms of currency release in comparison to emissions from airline flights.{% endtrans %}</p>
|
||||
<p class="calculator-section-description">{% trans %}A 12-hour flight from London to Hong Kong releases 3 tons of carbon dioxide (CO<sub>2</sub>). Discover how much CO<sub>2</sub> different forms of currency release in comparison to emissions from airline flights.{% endtrans %}</p>
|
||||
|
||||
<div class="mt-10" id="co2Animation"></div>
|
||||
|
||||
@@ -186,32 +186,32 @@
|
||||
<li class="d-output d-crypto active" data-comp="tons" data-type="btc">
|
||||
<p class="h6 mt-3 mb-1">Bitcoin</p>
|
||||
<h5 class="h4 normal mb-0" id="tons-btc"></h5>
|
||||
<p class="text-small black-90">{% trans %}metric tons of CO2{% endtrans %}</p>
|
||||
<p class="text-small black-90">{% trans %}metric tons of CO<sub>2</sub>{% endtrans %}</p>
|
||||
</li>
|
||||
<li class="d-output d-crypto active" data-comp="tons" data-type="eth">
|
||||
<p class="h6 mt-3 mb-1">Ethereum</p>
|
||||
<h5 class="h4 normal mb-0" id="tons-eth"></h5>
|
||||
<p class="text-small black-90">{% trans %}metric tons of CO2{% endtrans %}</p>
|
||||
<p class="text-small black-90">{% trans %}metric tons of CO<sub>2</sub>{% endtrans %}</p>
|
||||
</li>
|
||||
<li class="d-output d-cash" data-comp="tons" data-type="pap">
|
||||
<p class="h6 mt-3 mb-1">Cash</p>
|
||||
<h5 class="h4 normal mb-0" id="tons-pap"></h5>
|
||||
<p class="text-small black-90">{% trans %}metric tons of CO2{% endtrans %}</p>
|
||||
<p class="text-small black-90">{% trans %}metric tons of CO<sub>2</sub>{% endtrans %}</p>
|
||||
</li>
|
||||
<li class="d-output d-crypto d-credit d-cash active" data-comp="tons" data-type="xrp">
|
||||
<p class="h6 mt-3 mb-1">XRP</p>
|
||||
<h5 class="h4 normal mb-0" id="tons-xrp"></h5>
|
||||
<p class="text-small black-90">{% trans %}metric tons of CO2{% endtrans %}</p>
|
||||
<p class="text-small black-90">{% trans %}metric tons of CO<sub>2</sub>{% endtrans %}</p>
|
||||
</li>
|
||||
<li class="d-output d-credit" data-comp="tons" data-type="vsa">
|
||||
<p class="h6 mt-3 mb-1">Visa</p>
|
||||
<h5 class="h4 normal mb-0" id="tons-vsa"></h5>
|
||||
<p class="text-small black-90">{% trans %}metric tons of CO2{% endtrans %}</p>
|
||||
<p class="text-small black-90">{% trans %}metric tons of CO<sub>2</sub>{% endtrans %}</p>
|
||||
</li>
|
||||
<li class="d-output d-credit" data-comp="tons" data-type="mst">
|
||||
<p class="h6 mt-3 mb-1">Mastercard</p>
|
||||
<h5 class="h4 normal mb-0" id="tons-mst"></h5>
|
||||
<p class="text-small black-90">{% trans %}metric tons of CO2{% endtrans %}</p>
|
||||
<p class="text-small black-90">{% trans %}metric tons of CO<sub>2</sub>{% endtrans %}</p>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
@@ -267,7 +267,7 @@
|
||||
<section class="row last-section">
|
||||
<div class="col-sm-7 col-sm-offset-5">
|
||||
<h4>{% trans %}Breaking Down Individual Transactions{% endtrans %}</h4>
|
||||
<p>{% trans %}Looking at individual transactions below, compare how a single transaction across each form of currency equates to KWh, gallons of gas and C02 emissions.{% endtrans %}</p>
|
||||
<p>{% trans %}Looking at individual transactions below, compare how a single transaction across each form of currency equates to KWh, gallons of gas and CO<sub>2</sub> emissions.{% endtrans %}</p>
|
||||
</div>
|
||||
<div class="col-sm-12 mt-14 overflow-x-xs">
|
||||
<table id="calculator-table">
|
||||
@@ -311,14 +311,14 @@
|
||||
<td class="fs-6 text-right">0.00005<span class="ratio"> gal/tx</span></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="fs-5-5 bold"><div class="w48 mr-3 text-center d-inline-block"><img class="w40" src="assets/img/icons/paper-money@2x.png"></div>Paper</td>
|
||||
<td class="fs-5-5 bold"><div class="w48 mr-3 text-center d-inline-block"><img class="w40" src="assets/img/icons/paper-money@2x.png"></div>{% trans %}Paper Currency{% endtrans %}</td>
|
||||
<td class="fs-6 text-right">0.044<span class="dblue">0</span><span class="ratio"> KWh/tx</span></td>
|
||||
<td class="fs-6 text-right">2.32<sup>-11</sup><span class="ratio"> Mt/tx</span></td>
|
||||
<td class="fs-6 text-right">0.0035<span class="dblue">0</span><span class="ratio"> gal/tx</span></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<p class="text-smallest mt-10">*Calculations in million tonne (Mt)</p>
|
||||
<p class="text-smallest mt-10">{% trans %}*Calculations in million tonne (Mt){% endtrans %}</p>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
|
||||
@@ -5,9 +5,9 @@
|
||||
{% block main %}
|
||||
<section class="container-fluid card-grid card-grid-2x2">
|
||||
<div class="section-hero card">
|
||||
<h1 class="main-page-header">XRP Ledger Documentation</h1>
|
||||
<p class="blurb">Dive into our documentation and start integrating with the XRP Ledger.</p>
|
||||
<p class="blurb">Browse by category, or skip straight to the <a href="#full-doc-index">full documentation index</a>.</p>
|
||||
<h1 class="main-page-header">{% trans %}XRP Ledger Documentation{% endtrans %}</h1>
|
||||
<p class="blurb">{% trans %}Dive into our documentation and start integrating with the XRP Ledger.{% endtrans %}</p>
|
||||
<p class="blurb">{% trans %}Browse by category, or skip straight to the <a href="#full-doc-index">full documentation index</a>.{% endtrans %}</p>
|
||||
</div>
|
||||
|
||||
{% set doc_types = [] %}
|
||||
@@ -15,10 +15,10 @@
|
||||
{% for page in pages %}
|
||||
{% if page.doc_type is defined and page.doc_type not in doc_types %}
|
||||
{% set doc_type_top = pages|selectattr('doc_type', 'defined_and_equalto', page.doc_type)|first %}
|
||||
|
||||
{% set doc_type_name = doc_type_top.name %}
|
||||
<div class="card">
|
||||
<div class="card-header">
|
||||
<h3 class="card-title"><a href="{{doc_type_top.html}}">{{doc_type_top.name}}</a></h3>
|
||||
<h3 class="card-title"><a href="{{doc_type_top.html}}">{{doc_type_name}}</a></h3>
|
||||
</div><!--/.card-header-->
|
||||
<div class="card-body">
|
||||
{% if page.blurb is defined %}
|
||||
@@ -30,7 +30,7 @@
|
||||
</div><!--/.card-body-->
|
||||
<div class="card-footer">
|
||||
<div class="readmore">
|
||||
<a class="btn btn-outline-secondary" href="{{doc_type_top.html}}">View All {{doc_type_top.name}}</a>
|
||||
<a class="btn btn-outline-secondary" href="{{doc_type_top.html}}">{% trans %}View All {{doc_type_name}}{% endtrans %}</a>
|
||||
</div>
|
||||
</div><!--/.card-footer-->
|
||||
</div><!--/.card-->
|
||||
@@ -42,7 +42,7 @@
|
||||
</section>
|
||||
|
||||
<section class="container-fluid doc-index">
|
||||
<h2 id="full-doc-index">Full Documentation Index</h2>
|
||||
<h2 id="full-doc-index">{% trans %}Full Documentation Index{% endtrans %}</h2>
|
||||
<div class="row">
|
||||
<div class="col-md-8">
|
||||
{% set parent_page = currentpage %}
|
||||
|
||||
@@ -4,9 +4,9 @@
|
||||
|
||||
{% block main %}
|
||||
<section class="container-fluid section-hero">
|
||||
<h1 class="main-page-header">References</h1>
|
||||
<h1 class="main-page-header">{{currentpage.name}}</h1>
|
||||
<p class="blurb">{{currentpage.blurb}}</p>
|
||||
<p class="blurb">Or, skip ahead to the <a href="#full-reference-index">Full Reference Index</a>.</p>
|
||||
<p class="blurb">{% trans %}Or, skip ahead to the <a href="#full-reference-index">Full Reference Index</a>.{% endtrans %}</p>
|
||||
</section>
|
||||
|
||||
{% set flag_n = cycler(* range(1,99)) %}
|
||||
@@ -59,7 +59,7 @@
|
||||
</section>
|
||||
|
||||
<section class="container-fluid doc-index">
|
||||
<h2 id="full-reference-index">Full Reference Index</h2>
|
||||
<h2 id="full-reference-index">{% trans %}Full Reference Index{% endtrans %}</h2>
|
||||
<div class="row">
|
||||
<div class="col-md-8">
|
||||
{% set parent_page = currentpage %}
|
||||
|
||||
@@ -1,37 +1,35 @@
|
||||
<div class="container">
|
||||
<div class="container-fluid">
|
||||
<nav class="top-nav navbar navbar-expand-lg navbar-dark row">
|
||||
<a href="{% if target.prefix %}{{target.prefix}}{% else %}/{% endif %}" class="navbar-brand"><img src="{{currentpage.prefix}}assets/img/XRPLedger_DevPortal-white.svg" class="logo" height="44" alt="{{target.display_name}}" /></a>
|
||||
<button class="navbar-toggler collapsed" type="button" data-toggle="collapse" data-target="#navbarHolder" aria-controls="navbarHolder" aria-expanded="false" aria-label="Toggle navigation">
|
||||
<span class="navbar-toggler-icon"></span>
|
||||
</button>
|
||||
<div class="collapse navbar-collapse justify-content-center" id="navbarHolder">
|
||||
<div class="collapse navbar-collapse justify-content-end" id="navbarHolder">
|
||||
<ul class="nav navbar-nav">
|
||||
{% macro dropdown(links) %}
|
||||
{% macro dropdown(funnel, appendpages=[]) %}
|
||||
<li class="nav-item dropdown">
|
||||
{% set funnelhead = links|first %}
|
||||
<a class="nav-link dropdown-toggle" href="#" id="topnav_{{funnelhead.html}}" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">{{funnelhead.name}}</a>
|
||||
<div class="dropdown-menu" aria-labelledby="topnav_{{funnelhead.html}}">
|
||||
{% for link in links %}{% if not loop.first %}
|
||||
<a class="dropdown-item{% if currentpage == link %} active{% endif %}" href="{{link.html}}">{% if link.name_in_top_nav is defined %}{{link.name_in_top_nav}}{% else %}{{link.name}}{% endif %}</a>
|
||||
{% endif %}{% endfor %}
|
||||
{% set links = pages|selectattr('funnel','defined_and_equalto',funnel)|
|
||||
selectattr('top_nav_level', 'defined')|list +
|
||||
appendpages %}
|
||||
{% set funneltop = pages|selectattr('funnel','defined_and_equalto',funnel)|first %}
|
||||
<a class="nav-link dropdown-toggle" href="#" id="topnav_{{funneltop.html}}" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">{{funneltop.name}}</a>
|
||||
<div class="dropdown-menu" aria-labelledby="topnav_{{funneltop.html}}">
|
||||
{% for link in links %}
|
||||
<a class="dropdown-item {% if link.top_nav_level is undefined %}top-level-1{% else %}top-level-{{link.top_nav_level}}{% endif %}{% if currentpage == link %} active{% endif %}" href="{{link.html}}">{% if link.top_nav_name is defined %}{{link.top_nav_name}}{% else %}{{link.name}}{% endif %}</a>
|
||||
{% endfor %}
|
||||
</div>
|
||||
</li>
|
||||
{% endmacro %}
|
||||
|
||||
{% set learn_links = [{"name":"Learn", "html": "learn.html"}] + pages|selectattr('funnel', 'defined_and_equalto','Learn')|list %}
|
||||
{{ dropdown(learn_links) }}
|
||||
{{ dropdown("Learn") }}
|
||||
|
||||
{% set explore_links = pages|selectattr('funnel', 'defined_and_equalto','Explore')|list + [{"name":"Ledger Explorer", "html": "https://livenet.xrpl.org/"}] %}
|
||||
{{ dropdown(explore_links) }}
|
||||
{{ dropdown("Explore", [{"name":"Ledger Explorer", "html": "https://livenet.xrpl.org/"}]) }}
|
||||
|
||||
{% set build_links = [
|
||||
{"name": "Build", "html": "docs.html"},
|
||||
{"name": "Get Started", "html":"get-started.html"},
|
||||
{"name": "Docs", "html": "docs.html"},
|
||||
{"name": "Tools", "html": "dev-tools.html"},
|
||||
{"name": "Dev Blog", "html": "/blog/"}
|
||||
] %}
|
||||
{{ dropdown(build_links) }}
|
||||
{% if target.lang == "ja" %}
|
||||
{{ dropdown("Build", [{"name": "ブログ", "html": "/blog/"}]) }}
|
||||
{% else %}
|
||||
{{ dropdown("Build", [{"name": "Dev Blog", "html": "/blog/"}]) }}
|
||||
{% endif %}
|
||||
|
||||
<li class="nav-item">
|
||||
<a class="nav-link" href="contribute.html">{% trans %}Contribute{% endtrans %}</a>
|
||||
|
||||
Reference in New Issue
Block a user