mirror of
https://github.com/XRPLF/xrpl-dev-portal.git
synced 2025-11-21 04:05:49 +00:00
Spacing fixes for Docs, References landing pages; switch from header links to view all buttons
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
<nav class="breadcrumbs-wrap {% if currentpage.sidebar == 'disabled' %}p-3 px-sm-5{% else %}p-3{% endif %}" aria-label="breacrumb">
|
<nav class="breadcrumbs-wrap {% if currentpage.sidebar == 'disabled' %}p-3 px-sm-4{% else %}p-3{% endif %}" aria-label="breacrumb">
|
||||||
<ul class="breadcrumb bg-white">
|
<ul class="breadcrumb bg-white">
|
||||||
<li class="breadcrumb-item"><a href="index.html">Home</a></li>
|
<li class="breadcrumb-item"><a href="index.html">Home</a></li>
|
||||||
{% if currentpage.funnel and currentpage != pages|selectattr('funnel', 'equalto', currentpage.funnel)|first %}
|
{% if currentpage.funnel and currentpage != pages|selectattr('funnel', 'equalto', currentpage.funnel)|first %}
|
||||||
|
|||||||
@@ -3,15 +3,13 @@
|
|||||||
{% block mainclasses %}landing{% endblock %}
|
{% block mainclasses %}landing{% endblock %}
|
||||||
|
|
||||||
{% block main %}
|
{% block main %}
|
||||||
<section class="container-fluid bg-white p-3 px-sm-5">
|
<section class="container-fluid bg-white p-3 p-sm-4">
|
||||||
<h1 class="main-page-header">XRP Ledger Documentation</h1>
|
<h1 class="main-page-header">XRP Ledger Documentation</h1>
|
||||||
<div class="blurb">
|
<p class="blurb">Dive into our documentation and start integrating with the XRP Ledger.</p>
|
||||||
<p>Dive into our documentation and start integrating with the XRP Ledger.</p>
|
|
||||||
</div>
|
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
<section class="container-fluid bg-light p-3 px-sm-5">
|
<section class="container-fluid bg-light p-3 p-sm-4">
|
||||||
<div class="card-deck p-2">
|
<div class="card-deck">
|
||||||
{% set doc_types = [] %}
|
{% set doc_types = [] %}
|
||||||
{% for page in pages %}
|
{% for page in pages %}
|
||||||
{% if page.doc_type is defined and page.doc_type not in doc_types %}
|
{% if page.doc_type is defined and page.doc_type not in doc_types %}
|
||||||
@@ -19,7 +17,7 @@
|
|||||||
|
|
||||||
<div class="card">
|
<div class="card">
|
||||||
<div class="card-header bg-dark">
|
<div class="card-header bg-dark">
|
||||||
<h3 class="card-title"><a href="{{doc_type_top.html}}">{{doc_type_top.name}} <i class="fa fa-arrow-right" aria-hidden="true"></i></a></h3>
|
<h3 class="card-title">{{doc_type_top.name}}</h3>
|
||||||
</div><!--/.card-header-->
|
</div><!--/.card-header-->
|
||||||
<div class="card-body">
|
<div class="card-body">
|
||||||
{% if page.blurb is defined %}
|
{% if page.blurb is defined %}
|
||||||
@@ -29,13 +27,18 @@
|
|||||||
{% set depth = 1.5 %}
|
{% set depth = 1.5 %}
|
||||||
{% include 'template-page-children.html' %}
|
{% include 'template-page-children.html' %}
|
||||||
</div><!--/.card-body-->
|
</div><!--/.card-body-->
|
||||||
|
<div class="card-footer">
|
||||||
|
<div class="readmore">
|
||||||
|
<a class="btn btn-secondary" href="{{doc_type_top.html}}">View All {{doc_type_top.name}} <i class="fa fa-arrow-right" aria-hidden="true"></i></a>
|
||||||
|
</div>
|
||||||
|
</div><!--/.card-footer-->
|
||||||
</div><!--/.card-->
|
</div><!--/.card-->
|
||||||
|
|
||||||
{% set _ = doc_types.append(page.doc_type) %}
|
{% set _ = doc_types.append(page.doc_type) %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</div><!--/.card-deck-->
|
</div><!--/.card-deck-->
|
||||||
<div class="card-deck p-2">
|
<div class="card-deck pt-3 pt-sm-4">
|
||||||
|
|
||||||
<div class="card">
|
<div class="card">
|
||||||
<div class="card-header bg-dark">
|
<div class="card-header bg-dark">
|
||||||
@@ -87,7 +90,7 @@
|
|||||||
</div><!--/.card-deck-->
|
</div><!--/.card-deck-->
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
<section class="container-fluid p-3 p-lg-5">
|
<section class="container-fluid p-3 p-sm-4">
|
||||||
<h2 id="full-doc-index">Full Documentation Index</h2>
|
<h2 id="full-doc-index">Full Documentation Index</h2>
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-md-8">
|
<div class="col-md-8">
|
||||||
|
|||||||
@@ -3,38 +3,38 @@
|
|||||||
{% block mainclasses %}landing{% endblock %}
|
{% block mainclasses %}landing{% endblock %}
|
||||||
|
|
||||||
{% block main %}
|
{% block main %}
|
||||||
<section class="container-fluid bg-white p-3 px-sm-5">
|
<section class="container-fluid bg-white p-3 px-sm-4 pb-sm-4">
|
||||||
<h1 class="main-page-header">References</h1>
|
<h1 class="main-page-header">References</h1>
|
||||||
<p class="blurb">{{currentpage.blurb}}</p>
|
<p class="blurb">{{currentpage.blurb}}</p>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
<section class="container-fluid bg-light p-3 px-sm-5">
|
<section class="container-fluid bg-light p-3 px-sm-4 pb-sm-4">
|
||||||
|
|
||||||
<h2><a href="rippled-api.html">rippled API Reference</a></h2>
|
<h2><a href="rippled-api.html">rippled API Reference</a></h2>
|
||||||
<div class="blurb">
|
<p class="blurb">Use the <code>rippled</code> API to communicate with a <code>rippled</code> server, the core peer-to-peer server that manages the XRP Ledger.</p>
|
||||||
<p>Use the <code>rippled</code> API to communicate with a <code>rippled</code> server, the core peer-to-peer server that manages the XRP Ledger.</p>
|
<div class="card-deck pt-3 pt-sm-4">
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="card-deck p-2">
|
|
||||||
|
|
||||||
{% for page in pages|selectattr("supercategory", "equalto", "rippled API")|list %}
|
{% for page in pages|selectattr("supercategory", "equalto", "rippled API")|list %}
|
||||||
{% if loop.index != 1 and page == pages|selectattr("category", "equalto", page.category)|first %}
|
{% if loop.index != 1 and page == pages|selectattr("category", "equalto", page.category)|first %}
|
||||||
<div class="card">
|
<div class="card">
|
||||||
<div class="card-header bg-dark">
|
<div class="card-header bg-dark">
|
||||||
<h3 class="card-title"><a href="{{page.html}}">{{page.name}} <i class="fa fa-arrow-right" aria-hidden="true"></i></a></h3>
|
<h3 class="card-title">{{page.name}}</h3>
|
||||||
</div><!--/.card-header-->
|
</div><!--/.card-header-->
|
||||||
<div class="card-body">
|
<div class="card-body">
|
||||||
<p class="ref-blurb">{{page.blurb}}</p>
|
<p class="blurb">{{page.blurb}}</p>
|
||||||
{% set depth = 1 %}
|
{% set depth = 1 %}
|
||||||
{% set parent_page = page %}
|
{% set parent_page = page %}
|
||||||
{% include 'template-page-children.html' %}
|
{% include 'template-page-children.html' %}
|
||||||
</div><!--/.card-body-->
|
</div><!--/.card-body-->
|
||||||
|
<div class="card-footer">
|
||||||
|
<div class="readmore">
|
||||||
|
<a class="btn btn-secondary" href="{{page.html}}">View All {{page.name}} <i class="fa fa-arrow-right" aria-hidden="true"></i></a>
|
||||||
|
</div>
|
||||||
|
</div><!--/.card-footer-->
|
||||||
</div><!--/.card-->
|
</div><!--/.card-->
|
||||||
|
|
||||||
{# go to new row after admin methods #}
|
{# go to new row after admin methods #}
|
||||||
{% if page.html == "admin-rippled-methods.html" %}
|
{% if page.html == "admin-rippled-methods.html" %}
|
||||||
</div><!--/.card-deck-->
|
</div><!--/.card-deck-->
|
||||||
<div class="card-deck p-2">
|
<div class="card-deck pt-3 pt-sm-4">
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
@@ -43,13 +43,11 @@
|
|||||||
|
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
<section class="container-fluid bg-white p-5">
|
<section class="container-fluid bg-white p-3 px-sm-4 pb-sm-4">
|
||||||
|
|
||||||
<h2>Other XRP Ledger Interfaces</h2>
|
<h2>Other XRP Ledger Interfaces</h2>
|
||||||
<div class="blurb col-sm-12">
|
<p class="blurb">Here are a few other ways to interact with the XRP Ledger.</p>
|
||||||
<p>Here are a few other ways to interact with the XRP Ledger.</p>
|
<div class="card-deck pt-3 pt-sm-4">
|
||||||
</div>
|
|
||||||
<div class="card-deck p-2">
|
|
||||||
|
|
||||||
{% for page in pages|selectattr("doc_type", "equalto", "References")|selectattr("supercategory", "ne", "rippled API") %}
|
{% for page in pages|selectattr("doc_type", "equalto", "References")|selectattr("supercategory", "ne", "rippled API") %}
|
||||||
{% if loop.index != 1 and page == pages|selectattr("category", "equalto", page.category)|first %}
|
{% if loop.index != 1 and page == pages|selectattr("category", "equalto", page.category)|first %}
|
||||||
@@ -58,7 +56,7 @@
|
|||||||
<h3 class="card-title"><a href="{{page.html}}">{{page.name}}</a></h3>
|
<h3 class="card-title"><a href="{{page.html}}">{{page.name}}</a></h3>
|
||||||
</div><!--/.card-header-->
|
</div><!--/.card-header-->
|
||||||
<div class="card-body">
|
<div class="card-body">
|
||||||
<p class="ref-blurb">{{page.blurb}}</p>
|
<p class="blurb">{{page.blurb}}</p>
|
||||||
{% if page.curated_anchors is defined %}
|
{% if page.curated_anchors is defined %}
|
||||||
<div class="curated-links">
|
<div class="curated-links">
|
||||||
<ul>
|
<ul>
|
||||||
|
|||||||
Reference in New Issue
Block a user