mirror of
https://github.com/tabler/tabler.git
synced 2025-12-21 17:34:25 +04:00
bootstrap docs fixes
This commit is contained in:
@@ -10,7 +10,7 @@ indent_style=tab
|
|||||||
tab_width=3
|
tab_width=3
|
||||||
|
|
||||||
[*.html]
|
[*.html]
|
||||||
indent_style=space
|
indent_style=tab
|
||||||
indent_size=3
|
indent_size=3
|
||||||
|
|
||||||
[*.md]
|
[*.md]
|
||||||
|
|||||||
@@ -7,48 +7,51 @@ page-title: Documentation
|
|||||||
|
|
||||||
|
|
||||||
<div class="row justify-content-center">
|
<div class="row justify-content-center">
|
||||||
<div class="col-lg-3 order-lg-1 mb-4">
|
<div class="col-lg-3 order-lg-1 mb-4">
|
||||||
<a href="{{ site.github_url }}" class="btn btn-block btn-primary mb-4" target="_blank">
|
<a href="{{ site.github_url }}" class="btn btn-block btn-primary mb-4" target="_blank">
|
||||||
{% include_cached ui/icon.html icon="github" class="mr-2" %}Browse source code
|
{% include_cached ui/icon.html icon="github" class="mr-2" %}Browse source code
|
||||||
</a>
|
</a>
|
||||||
|
|
||||||
<div class="list-group list-group-transparent mb-0">
|
<div class="list-group list-group-transparent mb-0">
|
||||||
{% for p in site.data.docs %}
|
{% for p in site.data.docs %}
|
||||||
{% assign doc = site.docs | where: "slug", p.page | first %}
|
{% assign doc = site.docs | where: "slug", p.page | first %}
|
||||||
<a href="{{ site.base }}{{ doc.url | relative_url }}" class="list-group-item list-group-item-action{% if page.url == doc.url %} active{% endif %}">
|
<a href="{{ site.base }}{{ doc.url | relative_url }}"
|
||||||
{{ doc.title }}{% if doc.done %} {% include_cached ui/icon.html icon="check" color="green" %}{% endif %}
|
class="list-group-item list-group-item-action{% if page.url == doc.url %} active{% endif %}">
|
||||||
</a>
|
{{ doc.title }}{% if doc.done %} {% include_cached ui/icon.html icon="check" color="green" %}{% endif %}
|
||||||
{% endfor %}
|
</a>
|
||||||
</div>
|
{% endfor %}
|
||||||
</div>
|
</div>
|
||||||
|
</div>
|
||||||
<div class="col-lg-9">
|
<div class="col-lg-9">
|
||||||
<div class="card">
|
<div class="card">
|
||||||
<div class="card-body p-md-6 p-xl-7">
|
<div class="card-body p-md-6 p-xl-7">
|
||||||
|
|
||||||
<div class="markdown">
|
<div class="markdown">
|
||||||
<h2 class="h1 mt-0 mb-2 align-middle d-inline-flex" style="align-items: center;">{{ page.title }}{% if page.done %} {% include_cached ui/icon.html icon="check" color="green" %}{% endif %}
|
{% if page.bootstrap-link %}
|
||||||
{% if page.bootstrap-link %}
|
<p class="mb-4 float-right">
|
||||||
<a class="text-decoration-none text-blue {% if page.done %}ml-2{% else %}ml-3{% endif %}" href="{{page.bootstrap-link}}" target="_blank" style="font-size:medium">
|
<a href="{{ page.bootstrap-link }}" target="_blank">
|
||||||
<i class="pr-1">{% include_cached ui/icon.html icon="external-link" color="blue" %}</i>
|
{% include_cached ui/icon.html icon="external-link" color="blue" class="pr-1" %}
|
||||||
Bootstrap documentation
|
Bootstrap documentation
|
||||||
</a>
|
</a>
|
||||||
{% endif %}
|
</p>
|
||||||
</h2>
|
|
||||||
|
|
||||||
{% if page.plugin %}
|
|
||||||
<div class="alert alert-info">This module is available in <code>tabler-{{ page.plugin }}</code> plugin.</div>
|
|
||||||
{% endif %}
|
|
||||||
|
|
||||||
{% if page.description %}
|
|
||||||
<p>{{ page.description }}</p>
|
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% if page.in_progress %}
|
<h2 class="h1 mt-0 mb-3">{{ page.title }}
|
||||||
<div class="alert alert-primary mt-5 mb-6">
|
{% if page.done %} {% include_cached ui/icon.html icon="check" color="green" %}{% endif %}
|
||||||
<div><strong>Work in progress!</strong> More detailed documentation is coming soon.</div>
|
</h2>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
{% if page.plugin %}
|
||||||
|
<div class="alert alert-info">This module is available in <code>tabler-{{ page.plugin }}</code>
|
||||||
|
plugin.
|
||||||
</div>
|
</div>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
|
{% if page.description %}
|
||||||
|
<p>{{ page.description }}</p>
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
{% if page.toc %}
|
{% if page.toc %}
|
||||||
{{ content | toc_only }}
|
{{ content | toc_only }}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|||||||
Reference in New Issue
Block a user