Skip to content

Commit fb3367e

Browse files
committed
docs: add links to documentation
1 parent 9602454 commit fb3367e

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

60 files changed

+330
-0
lines changed

src/pug/_layout/default.pug

+1
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ include ../_partials/banner.pug
44
include ../_mixins/breadcrumb.pug
55
include ../_mixins/callout.pug
66
include ../_mixins/callout-custom.pug
7+
include ../_mixins/docs.pug
78
include ../_mixins/example.pug
89

910
html(lang='en')

src/pug/_mixins/docs.pug

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
mixin docs(href)
2+
.bg-primary.bg-opacity-10.border.border-2.border-primary.rounded.mb-4
3+
.row.d-flex.align-items-center.p-3.px-xl-4.flex-xl-nowrap
4+
.col-xl-auto.col-12.d-none.d-xl-block.p-0
5+
img.img-fluid(src='https://coreui.io/images/frameworks/core_blue_960px.png' width='160px' height='160px' alt='CoreUI PRO hexagon')
6+
.col-md.col-12.px-lg-4
7+
| Our Admin Panel isn’t just a mix of third-party components. It’s <strong>the only open-source Bootstrap dashboard built on a professional, enterprise-grade UI Components Library</strong>.
8+
| This component is part of this library, and we present only the basic usage of it here. To explore extended examples, detailed API documentation, and customization options, refer to our docs.
9+
.col-md-auto.col-12.mt-3.mt-lg-0
10+
a.btn.btn-primary.text-nowrap.text-white(href=href target="_blank") Explore CoreUI Documentation

src/pug/views/base/accordion.pug

+1
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ block breadcrumb
1414
)
1515

1616
block view
17+
+docs('https://coreui.io/docs/components/accordion/')
1718
.row
1819
.col-12
1920
.card.mb-4

src/pug/views/base/breadcrumb.pug

+1
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ block breadcrumb
1414
)
1515

1616
block view
17+
+docs('https://coreui.io/docs/components/breadcrumb/')
1718
.row
1819
.col-lg-12
1920
.card.mb-4

src/pug/views/base/cards.pug

+1
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ block breadcrumb
1414
)
1515

1616
block view
17+
+docs('https://coreui.io/docs/components/card/')
1718
.card.mb-4
1819
.card-header
1920
strong Card

src/pug/views/base/carousel.pug

+1
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ block breadcrumb
1414
)
1515

1616
block view
17+
+docs('https://coreui.io/docs/components/carousel/')
1718
.card.mb-4
1819
.card-header
1920
strong Carousel

src/pug/views/base/collapse.pug

+1
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ block breadcrumb
1414
)
1515

1616
block view
17+
+docs('https://coreui.io/docs/components/collapse/')
1718
.card.mb-4
1819
.card-header
1920
strong Collapse

src/pug/views/base/list-group.pug

+1
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ block breadcrumb
1414
)
1515

1616
block view
17+
+docs('https://coreui.io/docs/components/list-group/')
1718
.row
1819
.col-12
1920
.card.mb-4

src/pug/views/base/navs-tabs.pug

+1
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ block breadcrumb
1414
)
1515

1616
block view
17+
+docs('https://coreui.io/docs/components/navs-tabs/')
1718
.row
1819
.col-12
1920
.card.mb-4

src/pug/views/base/pagination.pug

+1
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ block breadcrumb
1414
)
1515

1616
block view
17+
+docs('https://coreui.io/docs/components/pagination/')
1718
.row
1819
.col-12
1920
.card.mb-4

src/pug/views/base/placeholders.pug

+1
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ block breadcrumb
1414
)
1515

1616
block view
17+
+docs('https://coreui.io/docs/components/placeholders/')
1718
.row
1819
.col-lg-12
1920
.card.mb-4

src/pug/views/base/popovers.pug

+1
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ block breadcrumb
1818
)
1919

2020
block view
21+
+docs('https://coreui.io/docs/components/popovers/')
2122
.row
2223
.col-12
2324
.card.mb-4

src/pug/views/base/progress.pug

+1
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ block breadcrumb
1414
)
1515

1616
block view
17+
+docs('https://coreui.io/docs/components/progress/')
1718
.row
1819
.col-12
1920
.card.mb-4

src/pug/views/base/spinners.pug

+1
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ block breadcrumb
1414
)
1515

1616
block view
17+
+docs('https://coreui.io/docs/components/spinners/')
1718
.row
1819
.col-12
1920
.card.mb-4

src/pug/views/base/tables.pug

+1
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ block breadcrumb
1414
)
1515

1616
block view
17+
+docs('https://coreui.io/docs/components/tables/')
1718
.card.mb-4
1819
.card-header
1920
strong Tables

src/pug/views/base/tooltips.pug

+1
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ block breadcrumb
1818
)
1919

2020
block view
21+
+docs('https://coreui.io/docs/components/tooltips/')
2122
.row
2223
.col-12
2324
.card.mb-4

src/pug/views/buttons/button-group.pug

+1
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ block breadcrumb
1414
)
1515

1616
block view
17+
+docs('https://coreui.io/docs/components/button-group/')
1718
.row
1819
.col-12
1920
.card.mb-4

src/pug/views/buttons/buttons.pug

+1
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ block breadcrumb
1414
)
1515

1616
block view
17+
+docs('https://coreui.io/docs/components/buttons/')
1718
.card.mb-4
1819
.card-header
1920
strong Buttons

src/pug/views/buttons/dropdowns.pug

+1
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ block breadcrumb
1414
)
1515

1616
block view
17+
+docs('https://coreui.io/docs/components/dropdowns/')
1718
.row
1819
.col-12
1920
.card.mb-4

src/pug/views/forms/checks-radios.pug

+1
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ block js
1919
| })
2020

2121
block view
22+
+docs('https://coreui.io/docs/forms/checks-radios/')
2223
.row
2324
.col-12
2425
.card.mb-4

src/pug/views/forms/floating-labels.pug

+1
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ block breadcrumb
1414
)
1515

1616
block view
17+
+docs('https://coreui.io/docs/forms/floating-labels/')
1718
.row
1819
.col-12
1920
.card.mb-4

src/pug/views/forms/form-control.pug

+1
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ block breadcrumb
1414
)
1515

1616
block view
17+
+docs('https://coreui.io/docs/forms/form-control/')
1718
.row
1819
.col-12
1920
.card.mb-4

src/pug/views/forms/input-group.pug

+1
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ block breadcrumb
1414
)
1515

1616
block view
17+
+docs('https://coreui.io/docs/forms/input-group/')
1718
.row
1819
.col-12
1920
.card.mb-4

src/pug/views/forms/layout.pug

+1
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ block breadcrumb
1414
)
1515

1616
block view
17+
+docs('https://coreui.io/docs/forms/layout/')
1718
.row
1819
.col-12
1920
.card.mb-4

src/pug/views/forms/range.pug

+1
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ block breadcrumb
1414
)
1515

1616
block view
17+
+docs('https://coreui.io/docs/forms/range/')
1718
.row
1819
.col-12
1920
.card.mb-4

src/pug/views/forms/select.pug

+1
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ block breadcrumb
1414
)
1515

1616
block view
17+
+docs('https://coreui.io/docs/forms/select/')
1718
.row
1819
.col-12
1920
.card.mb-4

src/pug/views/forms/validation.pug

+1
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ block js
3232
| })()
3333

3434
block view
35+
+docs('https://coreui.io/docs/forms/validation/')
3536
.row
3637
.col-12
3738
.card.mb-4

src/pug/views/notifications/alerts.pug

+1
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ block breadcrumb
1414
)
1515

1616
block view
17+
+docs('https://coreui.io/docs/components/alerts/')
1718
.row
1819
.col-lg-6
1920
.card.mb-4

src/pug/views/notifications/badge.pug

+1
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ block breadcrumb
1414
)
1515

1616
block view
17+
+docs('https://coreui.io/docs/components/badge/')
1718
.row
1819
.col-lg-6
1920
.card.mb-4

src/pug/views/notifications/modals.pug

+1
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ block breadcrumb
1919
)
2020

2121
block view
22+
+docs('https://coreui.io/docs/components/modal/')
2223
.row
2324
.col-12
2425
.card.mb-4

src/pug/views/notifications/toasts.pug

+1
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ block breadcrumb
1818
)
1919

2020
block view
21+
+docs('https://coreui.io/docs/components/toasts/')
2122
.card.mb-4
2223
.card-header
2324
strong Toast

src/views/base/accordion.html

+10
Original file line numberDiff line numberDiff line change
@@ -338,6 +338,16 @@
338338
</header>
339339
<div class="body flex-grow-1">
340340
<div class="container-lg px-4">
341+
<div class="bg-primary bg-opacity-10 border border-2 border-primary rounded mb-4">
342+
<div class="row d-flex align-items-center p-3 px-xl-4 flex-xl-nowrap">
343+
<div class="col-xl-auto col-12 d-none d-xl-block p-0"><img class="img-fluid" src="https://coreui.io/images/frameworks/core_blue_960px.png" width="160px" height="160px" alt="CoreUI PRO hexagon"></div>
344+
<div class="col-md col-12 px-lg-4">
345+
Our Admin Panel isn’t just a mix of third-party components. It’s <strong>the only open-source Bootstrap dashboard built on a professional, enterprise-grade UI Components Library</strong>.
346+
This component is part of this library, and we present only the basic usage of it here. To explore extended examples, detailed API documentation, and customization options, refer to our docs.
347+
</div>
348+
<div class="col-md-auto col-12 mt-3 mt-lg-0"><a class="btn btn-primary text-nowrap text-white" href="https://coreui.io/docs/components/accordion/" target="_blank">Explore CoreUI Documentation</a></div>
349+
</div>
350+
</div>
341351
<div class="row">
342352
<div class="col-12">
343353
<div class="card mb-4">

src/views/base/breadcrumb.html

+10
Original file line numberDiff line numberDiff line change
@@ -338,6 +338,16 @@
338338
</header>
339339
<div class="body flex-grow-1">
340340
<div class="container-lg px-4">
341+
<div class="bg-primary bg-opacity-10 border border-2 border-primary rounded mb-4">
342+
<div class="row d-flex align-items-center p-3 px-xl-4 flex-xl-nowrap">
343+
<div class="col-xl-auto col-12 d-none d-xl-block p-0"><img class="img-fluid" src="https://coreui.io/images/frameworks/core_blue_960px.png" width="160px" height="160px" alt="CoreUI PRO hexagon"></div>
344+
<div class="col-md col-12 px-lg-4">
345+
Our Admin Panel isn’t just a mix of third-party components. It’s <strong>the only open-source Bootstrap dashboard built on a professional, enterprise-grade UI Components Library</strong>.
346+
This component is part of this library, and we present only the basic usage of it here. To explore extended examples, detailed API documentation, and customization options, refer to our docs.
347+
</div>
348+
<div class="col-md-auto col-12 mt-3 mt-lg-0"><a class="btn btn-primary text-nowrap text-white" href="https://coreui.io/docs/components/breadcrumb/" target="_blank">Explore CoreUI Documentation</a></div>
349+
</div>
350+
</div>
341351
<div class="row">
342352
<div class="col-lg-12">
343353
<div class="card mb-4">

src/views/base/cards.html

+10
Original file line numberDiff line numberDiff line change
@@ -338,6 +338,16 @@
338338
</header>
339339
<div class="body flex-grow-1">
340340
<div class="container-lg px-4">
341+
<div class="bg-primary bg-opacity-10 border border-2 border-primary rounded mb-4">
342+
<div class="row d-flex align-items-center p-3 px-xl-4 flex-xl-nowrap">
343+
<div class="col-xl-auto col-12 d-none d-xl-block p-0"><img class="img-fluid" src="https://coreui.io/images/frameworks/core_blue_960px.png" width="160px" height="160px" alt="CoreUI PRO hexagon"></div>
344+
<div class="col-md col-12 px-lg-4">
345+
Our Admin Panel isn’t just a mix of third-party components. It’s <strong>the only open-source Bootstrap dashboard built on a professional, enterprise-grade UI Components Library</strong>.
346+
This component is part of this library, and we present only the basic usage of it here. To explore extended examples, detailed API documentation, and customization options, refer to our docs.
347+
</div>
348+
<div class="col-md-auto col-12 mt-3 mt-lg-0"><a class="btn btn-primary text-nowrap text-white" href="https://coreui.io/docs/components/card/" target="_blank">Explore CoreUI Documentation</a></div>
349+
</div>
350+
</div>
341351
<div class="card mb-4">
342352
<div class="card-header"><strong>Card</strong><span class="small ms-1">Example</span></div>
343353
<div class="card-body">

src/views/base/carousel.html

+10
Original file line numberDiff line numberDiff line change
@@ -338,6 +338,16 @@
338338
</header>
339339
<div class="body flex-grow-1">
340340
<div class="container-lg px-4">
341+
<div class="bg-primary bg-opacity-10 border border-2 border-primary rounded mb-4">
342+
<div class="row d-flex align-items-center p-3 px-xl-4 flex-xl-nowrap">
343+
<div class="col-xl-auto col-12 d-none d-xl-block p-0"><img class="img-fluid" src="https://coreui.io/images/frameworks/core_blue_960px.png" width="160px" height="160px" alt="CoreUI PRO hexagon"></div>
344+
<div class="col-md col-12 px-lg-4">
345+
Our Admin Panel isn’t just a mix of third-party components. It’s <strong>the only open-source Bootstrap dashboard built on a professional, enterprise-grade UI Components Library</strong>.
346+
This component is part of this library, and we present only the basic usage of it here. To explore extended examples, detailed API documentation, and customization options, refer to our docs.
347+
</div>
348+
<div class="col-md-auto col-12 mt-3 mt-lg-0"><a class="btn btn-primary text-nowrap text-white" href="https://coreui.io/docs/components/carousel/" target="_blank">Explore CoreUI Documentation</a></div>
349+
</div>
350+
</div>
341351
<div class="card mb-4">
342352
<div class="card-header"><strong>Carousel</strong><span class="small ms-1">Slides only</span></div>
343353
<div class="card-body">

src/views/base/collapse.html

+10
Original file line numberDiff line numberDiff line change
@@ -338,6 +338,16 @@
338338
</header>
339339
<div class="body flex-grow-1">
340340
<div class="container-lg px-4">
341+
<div class="bg-primary bg-opacity-10 border border-2 border-primary rounded mb-4">
342+
<div class="row d-flex align-items-center p-3 px-xl-4 flex-xl-nowrap">
343+
<div class="col-xl-auto col-12 d-none d-xl-block p-0"><img class="img-fluid" src="https://coreui.io/images/frameworks/core_blue_960px.png" width="160px" height="160px" alt="CoreUI PRO hexagon"></div>
344+
<div class="col-md col-12 px-lg-4">
345+
Our Admin Panel isn’t just a mix of third-party components. It’s <strong>the only open-source Bootstrap dashboard built on a professional, enterprise-grade UI Components Library</strong>.
346+
This component is part of this library, and we present only the basic usage of it here. To explore extended examples, detailed API documentation, and customization options, refer to our docs.
347+
</div>
348+
<div class="col-md-auto col-12 mt-3 mt-lg-0"><a class="btn btn-primary text-nowrap text-white" href="https://coreui.io/docs/components/collapse/" target="_blank">Explore CoreUI Documentation</a></div>
349+
</div>
350+
</div>
341351
<div class="card mb-4">
342352
<div class="card-header"><strong>Collapse</strong></div>
343353
<div class="card-body">

src/views/base/list-group.html

+10
Original file line numberDiff line numberDiff line change
@@ -338,6 +338,16 @@
338338
</header>
339339
<div class="body flex-grow-1">
340340
<div class="container-lg px-4">
341+
<div class="bg-primary bg-opacity-10 border border-2 border-primary rounded mb-4">
342+
<div class="row d-flex align-items-center p-3 px-xl-4 flex-xl-nowrap">
343+
<div class="col-xl-auto col-12 d-none d-xl-block p-0"><img class="img-fluid" src="https://coreui.io/images/frameworks/core_blue_960px.png" width="160px" height="160px" alt="CoreUI PRO hexagon"></div>
344+
<div class="col-md col-12 px-lg-4">
345+
Our Admin Panel isn’t just a mix of third-party components. It’s <strong>the only open-source Bootstrap dashboard built on a professional, enterprise-grade UI Components Library</strong>.
346+
This component is part of this library, and we present only the basic usage of it here. To explore extended examples, detailed API documentation, and customization options, refer to our docs.
347+
</div>
348+
<div class="col-md-auto col-12 mt-3 mt-lg-0"><a class="btn btn-primary text-nowrap text-white" href="https://coreui.io/docs/components/list-group/" target="_blank">Explore CoreUI Documentation</a></div>
349+
</div>
350+
</div>
341351
<div class="row">
342352
<div class="col-12">
343353
<div class="card mb-4">

src/views/base/navs-tabs.html

+10
Original file line numberDiff line numberDiff line change
@@ -338,6 +338,16 @@
338338
</header>
339339
<div class="body flex-grow-1">
340340
<div class="container-lg px-4">
341+
<div class="bg-primary bg-opacity-10 border border-2 border-primary rounded mb-4">
342+
<div class="row d-flex align-items-center p-3 px-xl-4 flex-xl-nowrap">
343+
<div class="col-xl-auto col-12 d-none d-xl-block p-0"><img class="img-fluid" src="https://coreui.io/images/frameworks/core_blue_960px.png" width="160px" height="160px" alt="CoreUI PRO hexagon"></div>
344+
<div class="col-md col-12 px-lg-4">
345+
Our Admin Panel isn’t just a mix of third-party components. It’s <strong>the only open-source Bootstrap dashboard built on a professional, enterprise-grade UI Components Library</strong>.
346+
This component is part of this library, and we present only the basic usage of it here. To explore extended examples, detailed API documentation, and customization options, refer to our docs.
347+
</div>
348+
<div class="col-md-auto col-12 mt-3 mt-lg-0"><a class="btn btn-primary text-nowrap text-white" href="https://coreui.io/docs/components/navs-tabs/" target="_blank">Explore CoreUI Documentation</a></div>
349+
</div>
350+
</div>
341351
<div class="row">
342352
<div class="col-12">
343353
<div class="card mb-4">

src/views/base/pagination.html

+10
Original file line numberDiff line numberDiff line change
@@ -338,6 +338,16 @@
338338
</header>
339339
<div class="body flex-grow-1">
340340
<div class="container-lg px-4">
341+
<div class="bg-primary bg-opacity-10 border border-2 border-primary rounded mb-4">
342+
<div class="row d-flex align-items-center p-3 px-xl-4 flex-xl-nowrap">
343+
<div class="col-xl-auto col-12 d-none d-xl-block p-0"><img class="img-fluid" src="https://coreui.io/images/frameworks/core_blue_960px.png" width="160px" height="160px" alt="CoreUI PRO hexagon"></div>
344+
<div class="col-md col-12 px-lg-4">
345+
Our Admin Panel isn’t just a mix of third-party components. It’s <strong>the only open-source Bootstrap dashboard built on a professional, enterprise-grade UI Components Library</strong>.
346+
This component is part of this library, and we present only the basic usage of it here. To explore extended examples, detailed API documentation, and customization options, refer to our docs.
347+
</div>
348+
<div class="col-md-auto col-12 mt-3 mt-lg-0"><a class="btn btn-primary text-nowrap text-white" href="https://coreui.io/docs/components/pagination/" target="_blank">Explore CoreUI Documentation</a></div>
349+
</div>
350+
</div>
341351
<div class="row">
342352
<div class="col-12">
343353
<div class="card mb-4">

0 commit comments

Comments
 (0)