1
0
mirror of https://github.com/tabler/tabler.git synced 2026-07-29 14:34:37 +04:00

page title fixes

This commit is contained in:
codecalm
2019-10-17 22:15:53 +02:00
parent e2d8fe08b8
commit b54ecdb4f6
5 changed files with 13 additions and 8 deletions
+8
View File
@@ -1,21 +1,29 @@
{% if page.page-title or layout.page-title %}
<!-- Page title -->
<div class="page-title-box">
<div class="row align-items-center">
<div class="col">
{% if page.page-subtitle %}
<!-- Page pre-title -->
<div class="page-pretitle">
Overview
</div>
{% endif %}
<h2 class="page-title">
{{ page.page-title | default: layout.page-title }}
</h2>
</div>
{% if page.page-title-actions %}
<!-- Page title actions -->
<div class="col-auto">
<span class="d-none d-sm-inline">
{% include ui/button.html text="New view" color="secondary" icon="plus" %}
</span>
{% include ui/button.html text="Create new report" color="primary" class="ml-3" %}
</div>
{% endif %}
</div>
</div>
{% endif %}
+2 -3
View File
@@ -1,13 +1,12 @@
---
title: Homepage
page-title: Homepage
page-subtitle: Overview
page-title-actions: home
---
<div class="row">
<div class="col-md-4">
{% include cards/project-summary.html %}
{% include cards/social-traffic.html %}