1778 lines
104 KiB
PHP
Executable File
1778 lines
104 KiB
PHP
Executable File
@extends('layouts.master')
|
|
@section('title')
|
|
@lang('translation.alerts')
|
|
@endsection
|
|
@section('content')
|
|
@component('components.breadcrumb')
|
|
@slot('li_1')
|
|
Components
|
|
@endslot
|
|
@slot('title')
|
|
Alerts
|
|
@endslot
|
|
@endcomponent
|
|
<div class="row">
|
|
<div class="col-lg-12">
|
|
<div class="card">
|
|
<div class="card-header align-items-center d-flex">
|
|
<h4 class="card-title mb-0 flex-grow-1">Default Alerts</h4>
|
|
<div class="flex-shrink-0">
|
|
<div class="form-check form-switch form-switch-right form-switch-md">
|
|
<label for="default" class="form-label text-muted">Show Code</label>
|
|
<input class="form-check-input code-switcher" type="checkbox" id="default">
|
|
</div>
|
|
</div>
|
|
</div><!-- end card header -->
|
|
|
|
<div class="card-body">
|
|
<p class="text-muted">Use the <code>alert </code>class to show a default alert.</p>
|
|
<div class="live-preview">
|
|
<div class="row">
|
|
<div class="col-xl-6">
|
|
<h6>Primary Alert</h6>
|
|
<div class="alert alert-primary" role="alert">
|
|
<strong> Hi! </strong> A simple <b>Primary alert</b> —check it out!
|
|
</div>
|
|
|
|
<h6>Secondary Alert</h6>
|
|
<div class="alert alert-secondary" role="alert">
|
|
<strong> How are you! </strong> A simple <b>secondary alert</b> —check it out!
|
|
</div>
|
|
|
|
<h6>Success Alert</h6>
|
|
<div class="alert alert-success" role="alert">
|
|
<strong> Yey! Everything worked! </strong> A simple <b>success alert</b> —check it out!
|
|
</div>
|
|
|
|
<h6>Danger Alert</h6>
|
|
<div class="alert alert-danger mb-xl-0" role="alert">
|
|
<strong> Something is very wrong! </strong> A simple <b>danger alert</b> —check it out!
|
|
</div>
|
|
</div>
|
|
|
|
<div class="col-xl-6">
|
|
<h6>Warning Alert</h6>
|
|
<div class="alert alert-warning" role="alert">
|
|
<strong> Uh oh, something went wrong </strong> A simple <b>warning alert</b> —check it
|
|
out!
|
|
</div>
|
|
|
|
<h6>Info Alert</h6>
|
|
<div class="alert alert-info" role="alert">
|
|
<strong>Don't forget' it !</strong> A simple <b>info alert</b> —check it out!
|
|
</div>
|
|
|
|
<h6>Light Alert</h6>
|
|
<div class="alert alert-light" role="alert">
|
|
<strong>Mind Your Step!</strong> A simple <b>light alert</b> —check it out!
|
|
</div>
|
|
|
|
<h6>Dark Alert</h6>
|
|
<div class="alert alert-dark mb-0" role="alert">
|
|
<strong>Did you know?</strong> A simple <b>dark alert</b> —check it out!
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="d-none code-view">
|
|
<pre class="language-markup" style="height: 352px">
|
|
<code><!-- Primary Alert -->
|
|
<div class="alert alert-primary" role="alert">
|
|
<strong> Hi! </strong> A simple <b>Primary alert</b> —check it out!
|
|
</div>
|
|
</code>
|
|
<code><!-- Secondary Alert -->
|
|
<div class="alert alert-secondary" role="alert">
|
|
<strong> How are you! </strong> A simple <b>secondary alert</b> —check it out!
|
|
</div>
|
|
</code>
|
|
<code><!-- success Alert -->
|
|
<div class="alert alert-success" role="alert">
|
|
<strong> Yey! Everything worked! </strong> A simple <b>success alert</b> —check it out!
|
|
</div>
|
|
</code>
|
|
<code><!-- danger Alert -->
|
|
<div class="alert alert-danger" role="alert">
|
|
<strong> Something is very wrong! </strong> A simple <b>danger alert</b> —check it out!
|
|
</div>
|
|
</code>
|
|
<code><!-- warning Alert -->
|
|
<div class="alert alert-warning" role="alert">
|
|
<strong> Uh oh, something went wrong </strong> A simple <b>warning alert</b> —check it out!
|
|
</div>
|
|
</code>
|
|
<code><!-- Info Alert -->
|
|
<div class="alert alert-info" role="alert">
|
|
<strong> Don't forget' it ! </strong> A simple <b>info alert</b> —check it out!
|
|
</div>
|
|
</code>
|
|
<code><!-- Light Alert -->
|
|
<div class="alert alert-light" role="alert">
|
|
<strong> Mind Your Step! </strong> A simple <b>light alert</b> —check it out!
|
|
</div>
|
|
</code>
|
|
<code><!-- Dark Alert -->
|
|
<div class="alert alert-dark" role="alert">
|
|
<strong> Did you know? </strong> A simple <b>dark alert</b> —check it out!
|
|
</div>
|
|
</code></pre>
|
|
</div>
|
|
</div><!-- end card-body -->
|
|
</div><!-- end card -->
|
|
</div>
|
|
</div>
|
|
|
|
<div class="row">
|
|
<div class="col-lg-12">
|
|
<div class="card">
|
|
<div class="card-header align-items-center d-flex">
|
|
<h4 class="card-title mb-0 flex-grow-1">Borderless Alerts</h4>
|
|
<div class="flex-shrink-0">
|
|
<div class="form-check form-switch form-switch-right form-switch-md">
|
|
<label for="borderless-alerts" class="form-label text-muted">Show Code</label>
|
|
<input class="form-check-input code-switcher" type="checkbox" id="borderless-alerts">
|
|
</div>
|
|
</div>
|
|
</div><!-- end card header -->
|
|
|
|
<div class="card-body">
|
|
<p class="text-muted">Use the <code>alert-borderless</code> class to set alert without border.</p>
|
|
|
|
<div class="live-preview">
|
|
<div class="row">
|
|
<div class="col-xl-6">
|
|
<h6>Primary Alert</h6>
|
|
<div class="alert alert-primary alert-borderless" role="alert">
|
|
<strong> Hi! </strong> A simple <b>Primary alert</b> —check it out!
|
|
</div>
|
|
|
|
<h6>Secondary Alert</h6>
|
|
<div class="alert alert-secondary alert-borderless" role="alert">
|
|
<strong> How are you! </strong> A simple <b>secondary alert</b> —check it out!
|
|
</div>
|
|
|
|
<h6>Success Alert</h6>
|
|
<div class="alert alert-success alert-borderless" role="alert">
|
|
<strong> Yey! Everything worked! </strong> A simple <b>success alert</b> —check it out!
|
|
</div>
|
|
|
|
<h6>Danger Alert</h6>
|
|
<div class="alert alert-danger alert-borderless mb-xl-0" role="alert">
|
|
<strong> Something is very wrong! </strong> A simple danger alert—check it out!
|
|
</div>
|
|
</div>
|
|
|
|
<div class="col-xl-6">
|
|
<h6>Warning Alert</h6>
|
|
<div class="alert alert-warning alert-borderless" role="alert">
|
|
<strong> Uh oh, something went wrong </strong> A simple <b>warning alert</b> —check it
|
|
out!
|
|
</div>
|
|
|
|
<h6>Info Alert</h6>
|
|
<div class="alert alert-info alert-borderless" role="alert">
|
|
<strong>Don't forget' it !</strong> A simple <b>info alert</b> —check it out!
|
|
</div>
|
|
|
|
<h6>Light Alert</h6>
|
|
<div class="alert alert-light alert-borderless bg-light" role="alert">
|
|
<strong>Mind Your Step!</strong> A simple <b>light alert</b> —check it out!
|
|
</div>
|
|
|
|
<h6>Dark Alert</h6>
|
|
<div class="alert alert-dark alert-borderless mb-0" role="alert">
|
|
<strong>Did you know?</strong> A simple <b>dark alert</b> —check it out!
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="d-none code-view">
|
|
<pre class="language-markup" style="height: 352px">
|
|
<code><!-- Primary Alert -->
|
|
<div class="alert alert-borderless alert-primary" role="alert">
|
|
<strong> Hi! </strong> A simple <b>Primary alert</b> —check it out!
|
|
</div>
|
|
</code>
|
|
<code><!-- Secondary Alert -->
|
|
<div class="alert alert-borderless alert-secondary" role="alert">
|
|
<strong> How are you! </strong> A simple <b>secondary alert</b> —check it out!
|
|
</div>
|
|
</code>
|
|
<code><!-- Success Alert -->
|
|
<div class="alert alert-borderless alert-success" role="alert">
|
|
<strong> Yey! Everything worked! </strong> A simple <b>success alert</b> —check it out!
|
|
</div>
|
|
</code>
|
|
<code><!-- Danger Alert -->
|
|
<div class="alert alert-borderless alert-danger" role="alert">
|
|
<strong> Something is very wrong! </strong> A simple <b>danger alert</b> —check it out!
|
|
</div>
|
|
</code>
|
|
<code><!-- Warning Alert -->
|
|
<div class="alert alert-borderless alert-warning" role="alert">
|
|
<strong> Uh oh, something went wrong </strong> A simple <b>warning alert</b> —check it out!
|
|
</div>
|
|
</code>
|
|
<code><!-- Info Alert -->
|
|
<div class="alert alert-borderless alert-info" role="alert">
|
|
<strong> Don't forget' it ! </strong> A simple <b>info alert</b> —check it out!
|
|
</div>
|
|
</code>
|
|
<code><!-- Light Alert -->
|
|
<div class="alert alert-borderless alert-light" role="alert">
|
|
<strong> Mind Your Step! </strong> A simple <b>light alert</b> —check it out!
|
|
</div>
|
|
</code>
|
|
<code><!-- Dark Alert -->
|
|
<div class="alert alert-borderless alert-dark mb-0" role="alert">
|
|
<strong> Did you know? </strong> A simple <b>dark alert</b> —check it out!
|
|
</div>
|
|
</code></pre>
|
|
</div>
|
|
</div><!-- end card-body -->
|
|
</div><!-- end card -->
|
|
</div>
|
|
</div>
|
|
|
|
<div class="row">
|
|
<div class="col-lg-12">
|
|
<div class="card">
|
|
<div class="card-header align-items-center d-flex">
|
|
<h4 class="card-title mb-0 flex-grow-1">Dismissing Alerts</h4>
|
|
<div class="flex-shrink-0">
|
|
<div class="form-check form-switch form-switch-right form-switch-md">
|
|
<label for="1" class="form-label text-muted">Show Code</label>
|
|
<input class="form-check-input code-switcher" type="checkbox" id="1">
|
|
</div>
|
|
</div>
|
|
</div><!-- end card header -->
|
|
|
|
<div class="card-body">
|
|
<p class="text-muted">Use the <code>alert-dismissible</code> class to add dismissing button to the
|
|
alert.
|
|
</p>
|
|
<div class="live-preview">
|
|
|
|
<div class="row">
|
|
<div class="col-xl-6">
|
|
<h6>Primary Alert</h6>
|
|
<div class="alert alert-primary alert-dismissible fade show" role="alert">
|
|
<strong> Hi! </strong> A simple <b>Dismissible primary Alert </b>
|
|
— check it
|
|
out!
|
|
<button type="button" class="btn-close" data-bs-dismiss="alert"
|
|
aria-label="Close"></button>
|
|
</div>
|
|
|
|
<h6>Secondary Alert</h6>
|
|
<div class="alert alert-secondary alert-dismissible fade show" role="alert">
|
|
<strong> How are you! </strong> A simple <b>Dismissible secondary alert</b>
|
|
—check it
|
|
out!
|
|
<button type="button" class="btn-close" data-bs-dismiss="alert"
|
|
aria-label="Close"></button>
|
|
</div>
|
|
|
|
<h6>Success Alert</h6>
|
|
<div class="alert alert-success alert-dismissible fade show" role="alert">
|
|
<strong>Right Way !</strong> A simple <b>Dismissible success alert</b> —check
|
|
it out!
|
|
<button type="button" class="btn-close" data-bs-dismiss="alert"
|
|
aria-label="Close"></button>
|
|
</div>
|
|
|
|
<h6>Danger Alert</h6>
|
|
<div class="alert alert-danger alert-dismissible fade show mb-xl-0" role="alert">
|
|
<strong> Something is very wrong! </strong> A simple <b>Dismissible danger alert</b>
|
|
—check
|
|
it out!
|
|
<button type="button" class="btn-close" data-bs-dismiss="alert"
|
|
aria-label="Close"></button>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="col-xl-6">
|
|
<h6>Warning Alert</h6>
|
|
<div class="alert alert-warning alert-dismissible fade show" role="alert">
|
|
<strong>Welcome Back!</strong> A simple <b>Dismissible warning alert</b> —check it out!
|
|
<button type="button" class="btn-close" data-bs-dismiss="alert"
|
|
aria-label="Close"></button>
|
|
</div>
|
|
|
|
<h6>Info Alert</h6>
|
|
<div class="alert alert-info alert-dismissible fade show" role="alert">
|
|
<strong>Don't forget' it !</strong> A simple <b>Dismissible info alert</b>
|
|
—check it
|
|
out!
|
|
<button type="button" class="btn-close" data-bs-dismiss="alert"
|
|
aria-label="Close"></button>
|
|
</div>
|
|
|
|
<h6>Light Alert</h6>
|
|
<div class="alert alert-light alert-dismissible fade show" role="alert">
|
|
<strong>Mind Your Step!</strong> A simple <b>Dismissible light alert</b>
|
|
—check it out!
|
|
<button type="button" class="btn-close" data-bs-dismiss="alert"
|
|
aria-label="Close"></button>
|
|
</div>
|
|
|
|
<h6>Dark Alert</h6>
|
|
<div class="alert alert-dark alert-dismissible fade show mb-0" role="alert">
|
|
<strong>Did you know?</strong> A simple <b>Dismissible dark alert</b>
|
|
—check it out!
|
|
<button type="button" class="btn-close" data-bs-dismiss="alert"
|
|
aria-label="Close"></button>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="d-none code-view">
|
|
<pre class="language-markup" style="height: 352px">
|
|
<code><!-- Primary Alert -->
|
|
<div class="alert alert-primary alert-dismissible fade show" role="alert">
|
|
<strong> Hi! </strong> A simple <b>Dismissible primary Alert </b> — check it out!
|
|
<button type="button" class="btn-close" data-bs-dismiss="alert" aria-label="Close"></button>
|
|
</div>
|
|
</code>
|
|
<code><!-- Secondary Alert -->
|
|
<div class="alert alert-secondary alert-dismissible fade show" role="alert">
|
|
<strong> How are you! </strong> A simple <b>Dismissible secondary Alert </b> — check it out!
|
|
<button type="button" class="btn-close" data-bs-dismiss="alert" aria-label="Close"></button>
|
|
</div>
|
|
</code>
|
|
<code><!-- Success Alert -->
|
|
<div class="alert alert-success alert-dismissible fade show" role="alert">
|
|
<strong> Yey! Everything worked! </strong> A simple <b>Dismissible success Alert </b> — check it out!
|
|
<button type="button" class="btn-close" data-bs-dismiss="alert" aria-label="Close"></button>
|
|
</div>
|
|
</code>
|
|
<code><!-- Danger Alert -->
|
|
<div class="alert alert-danger alert-dismissible fade show" role="alert">
|
|
<strong> Something is very wrong! </strong> A simple <b>Dismissible danger Alert </b> — check it out!
|
|
<button type="button" class="btn-close" data-bs-dismiss="alert" aria-label="Close"></button>
|
|
</div>
|
|
</code>
|
|
<code><!-- Warning Alert -->
|
|
<div class="alert alert-warning alert-dismissible fade show" role="alert">
|
|
<strong> Welcome Back! </strong> A simple <b>Dismissible warning Alert </b> — check it out!
|
|
<button type="button" class="btn-close" data-bs-dismiss="alert" aria-label="Close"></button>
|
|
</div>
|
|
</code>
|
|
<code><!-- Info Alert -->
|
|
<div class="alert alert-info alert-dismissible fade show" role="alert">
|
|
<strong> Don't forget' it ! </strong> A simple <b>Dismissible info Alert </b> — check it out!
|
|
<button type="button" class="btn-close" data-bs-dismiss="alert" aria-label="Close"></button>
|
|
</div>
|
|
</code>
|
|
<code><!-- Light Alert -->
|
|
<div class="alert alert-light alert-dismissible fade show" role="alert">
|
|
<strong> Mind Your Step! </strong> A simple <b>Dismissible light Alert </b> — check it out!
|
|
<button type="button" class="btn-close" data-bs-dismiss="alert" aria-label="Close"></button>
|
|
</div>
|
|
</code>
|
|
<code><!-- Dark Alert -->
|
|
<div class="alert alert-dark alert-dismissible fade show" role="alert">
|
|
<strong> Did you know? </strong> A simple <b>Dismissible dark Alert </b> — check it out!
|
|
<button type="button" class="btn-close" data-bs-dismiss="alert" aria-label="Close"></button>
|
|
</div>
|
|
</code></pre>
|
|
</div>
|
|
</div><!-- end card-body -->
|
|
</div><!-- end card -->
|
|
</div>
|
|
</div>
|
|
|
|
<div class="row">
|
|
<div class="col-lg-12">
|
|
<div class="card">
|
|
<div class="card-header align-items-center d-flex">
|
|
<h4 class="card-title mb-0 flex-grow-1">Link Color Alerts</h4>
|
|
<div class="flex-shrink-0">
|
|
<div class="form-check form-switch form-switch-right form-switch-md">
|
|
<label for="2" class="form-label text-muted">Show Code</label>
|
|
<input class="form-check-input code-switcher" type="checkbox" id="2">
|
|
</div>
|
|
</div>
|
|
</div><!-- end card header -->
|
|
|
|
<div class="card-body">
|
|
<p class="text-muted">Use the <code>alert-link</code> class at <a> tag to show matching
|
|
colored links within the given alert.</p>
|
|
|
|
<div class="live-preview">
|
|
<div class="row">
|
|
<div class="col-xl-6">
|
|
<h6>Primary Alert</h6>
|
|
<div class="alert alert-primary" role="alert">
|
|
A simple Primary alert with <a href="#" class="alert-link">an example
|
|
link</a>. Give it a click if you like.
|
|
</div>
|
|
|
|
<h6>Secondary Alert</h6>
|
|
<div class="alert alert-secondary" role="alert">
|
|
A simple Secondary alert with <a href="#" class="alert-link">an example
|
|
link</a>. Give it a click if you like.
|
|
</div>
|
|
|
|
<h6>Success Alert</h6>
|
|
<div class="alert alert-success" role="alert">
|
|
A simple Success alert with <a href="#" class="alert-link">an example
|
|
link</a>. Give it a click if you like.
|
|
</div>
|
|
|
|
<h6>Danger Alert</h6>
|
|
<div class="alert alert-danger mb-xl-0" role="alert">
|
|
A simple Danger alert with <a href="#" class="alert-link">an example
|
|
link</a>. Give it a click if you like.
|
|
</div>
|
|
</div>
|
|
|
|
<div class="col-xl-6">
|
|
<h6>Warning Alert</h6>
|
|
<div class="alert alert-warning" role="alert">
|
|
A simple Warning alert with <a href="#" class="alert-link">an example
|
|
link</a>. Give it a click if you like.
|
|
</div>
|
|
|
|
<h6>Info Alert</h6>
|
|
<div class="alert alert-info" role="alert">
|
|
A simple Info alert with <a href="#" class="alert-link">an example
|
|
link</a>. Give it a click if you like.
|
|
</div>
|
|
|
|
<h6>Light Alert</h6>
|
|
<div class="alert alert-light" role="alert">
|
|
A simple Light alert with <a href="#" class="alert-link">an example
|
|
link</a>. Give it a click if you like.
|
|
</div>
|
|
|
|
<h6>Dark Alert</h6>
|
|
<div class="alert alert-dark mb-0" role="alert">
|
|
A simple Dark alert with <a href="#" class="alert-link">an example
|
|
link</a>. Give it a click if you like.
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="d-none code-view">
|
|
<pre class="language-markup" style="max-height: 260px;">
|
|
<code><!-- Primary Alert -->
|
|
<div class="alert alert-primary" role="alert">
|
|
A simple <b>Primary alert</b> with <a href="#" class="alert-link">an example link</a>. Give it a click if you like.
|
|
</div>
|
|
</code>
|
|
<code><!-- Secondary Alert -->
|
|
<div class="alert alert-secondary" role="alert">
|
|
A simple <b>Secondary alert</b> with <a href="#" class="alert-link">an example link</a>. Give it a click if you like.
|
|
</div>
|
|
</code>
|
|
<code><!-- Success Alert -->
|
|
<div class="alert alert-success" role="alert">
|
|
A simple <b>Success alert</b> with <a href="#" class="alert-link">an example link</a>. Give it a click if you like.
|
|
</div>
|
|
</code>
|
|
<code><!-- Danger Alert -->
|
|
<div class="alert alert-danger" role="alert">
|
|
A simple <b>Danger alert</b> with <a href="#" class="alert-link">an example link</a>. Give it a click if you like.
|
|
</div>
|
|
</code>
|
|
<code><!-- Warning Alert -->
|
|
<div class="alert alert-warning" role="alert">
|
|
A simple <b>Warning alert</b> with <a href="#" class="alert-link">an example link</a>. Give it a click if you like.
|
|
</div>
|
|
</code>
|
|
<code><!-- Info Alert -->
|
|
<div class="alert alert-info" role="alert">
|
|
A simple <b>Info alert</b> with <a href="#" class="alert-link">an example link</a>. Give it a click if you like.
|
|
</div>
|
|
</code>
|
|
<code><!-- Light Alert -->
|
|
<div class="alert alert-light" role="alert">
|
|
A simple <b>Light alert</b> with <a href="#" class="alert-link">an example link</a>. Give it a click if you like.
|
|
</div>
|
|
</code>
|
|
<code><!-- Dark Alert -->
|
|
<div class="alert alert-dark" role="alert">
|
|
A simple <b>Dark alert</b> with <a href="#" class="alert-link">an example link</a>. Give it a click if you like.
|
|
</div>
|
|
</code></pre>
|
|
</div>
|
|
</div><!-- end card-body -->
|
|
</div><!-- end card -->
|
|
</div>
|
|
</div>
|
|
|
|
<div class="row">
|
|
<div class="col-lg-12">
|
|
<div class="card">
|
|
<div class="card-header align-items-center d-flex">
|
|
<h4 class="card-title mb-0 flex-grow-1">Live Alert Example</h4>
|
|
<div class="flex-shrink-0">
|
|
<div class="form-check form-switch form-switch-right form-switch-md">
|
|
<label for="3" class="form-label text-muted">Show Code</label>
|
|
<input class="form-check-input code-switcher" type="checkbox" id="3">
|
|
</div>
|
|
</div>
|
|
</div><!-- end card header -->
|
|
|
|
<div class="card-body">
|
|
<p class="text-muted">Click the Show live alert button to show an alert on button click.</p>
|
|
<div class="live-preview">
|
|
<div id="liveAlertPlaceholder"></div>
|
|
<button type="button" class="btn btn-primary" id="liveAlertBtn">Show live alert</button>
|
|
</div>
|
|
|
|
<div class="d-none code-view">
|
|
<pre class="language-markup" style="max-height: 260px;">
|
|
<code><div id="liveAlertPlaceholder"></div>
|
|
<button type="button" class="btn btn-primary" id="liveAlertBtn">Show live alert</button>
|
|
</code></pre>
|
|
</div>
|
|
</div><!-- end card-body -->
|
|
</div><!-- end card -->
|
|
</div>
|
|
</div>
|
|
|
|
<div class="row">
|
|
<div class="col-lg-12">
|
|
<div class="card">
|
|
<div class="card-header align-items-center d-flex">
|
|
<h4 class="card-title mb-0 flex-grow-1">Outline Alerts</h4>
|
|
<div class="flex-shrink-0">
|
|
<div class="form-check form-switch form-switch-right form-switch-md">
|
|
<label for="4" class="form-label text-muted">Show Code</label>
|
|
<input class="form-check-input code-switcher" type="checkbox" id="4">
|
|
</div>
|
|
</div>
|
|
</div><!-- end card header -->
|
|
|
|
<div class="card-body">
|
|
<p class="text-muted">Use the <code>alert-outline</code> class to set an alert with outline.</p>
|
|
|
|
<div class="live-preview">
|
|
<div class="row">
|
|
<div class="col-xl-6">
|
|
<h6>Primary Outline Alert</h6>
|
|
<div class="alert alert-primary alert-dismissible alert-outline fade show" role="alert">
|
|
<strong> Hi! </strong> - Outline <b>primary alert</b> example
|
|
<button type="button" class="btn-close" data-bs-dismiss="alert"
|
|
aria-label="Close"></button>
|
|
</div>
|
|
|
|
<h6>Secondary Outline Alert</h6>
|
|
<div class="alert alert-secondary alert-dismissible alert-outline fade show" role="alert">
|
|
<strong> How are you! </strong> - Outline <b>secondary alert</b> example
|
|
<button type="button" class="btn-close" data-bs-dismiss="alert"
|
|
aria-label="Close"></button>
|
|
</div>
|
|
|
|
<h6>Success Outline Alert</h6>
|
|
<div class="alert alert-success alert-dismissible alert-outline fade show" role="alert">
|
|
<strong> Yey! Everything worked! </strong> - Outline <b>success alert</b> example
|
|
<button type="button" class="btn-close" data-bs-dismiss="alert"
|
|
aria-label="Close"></button>
|
|
</div>
|
|
|
|
<h6>Danger Outline Alert</h6>
|
|
<div class="alert alert-danger alert-dismissible alert-outline fade show mb-xl-0"
|
|
role="alert">
|
|
<strong> Something is very wrong! </strong> - Outline <b>danger alert</b> example
|
|
<button type="button" class="btn-close" data-bs-dismiss="alert"
|
|
aria-label="Close"></button>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="col-xl-6">
|
|
<h6>Warning Outline Alert</h6>
|
|
<div class="alert alert-warning alert-dismissible alert-outline fade show" role="alert">
|
|
<strong> Uh oh, something went wrong! </strong> - Outline <b>warning alert</b> example
|
|
<button type="button" class="btn-close" data-bs-dismiss="alert"
|
|
aria-label="Close"></button>
|
|
</div>
|
|
|
|
<h6>Info Outline Alert</h6>
|
|
<div class="alert alert-info alert-dismissible alert-outline fade show" role="alert">
|
|
<strong>Don't forget' it !</strong> - Outline <b>info alert</b> example
|
|
<button type="button" class="btn-close" data-bs-dismiss="alert"
|
|
aria-label="Close"></button>
|
|
</div>
|
|
|
|
<h6>Dark Alert</h6>
|
|
<div class="alert alert-dark alert-dismissible alert-outline fade show mb-0" role="alert">
|
|
<strong>Did you know?</strong> - Outline <b>dark alert</b> example
|
|
<button type="button" class="btn-close" data-bs-dismiss="alert"
|
|
aria-label="Close"></button>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="d-none code-view">
|
|
<pre class="language-markup" style="max-height: 260px;">
|
|
<code><!-- Primary Alert -->
|
|
<div class="alert alert-primary alert-dismissible alert-outline fade show" role="alert">
|
|
<strong> Hi! </strong> - Outline <b>primary alert</b> example
|
|
<button type="button" class="btn-close" data-bs-dismiss="alert" aria-label="Close"></button>
|
|
</div>
|
|
</code>
|
|
<code><!-- Secondary Alert -->
|
|
<div class="alert alert-secondary alert-dismissible alert-outline fade show" role="alert">
|
|
<strong> How are you! </strong> - Outline <b>secondary alert</b> example
|
|
<button type="button" class="btn-close" data-bs-dismiss="alert" aria-label="Close"></button>
|
|
</div>
|
|
</code>
|
|
<code><!-- Success Alert -->
|
|
<div class="alert alert-success alert-dismissible alert-outline fade show" role="alert">
|
|
<strong> Yey! Everything worked! </strong> - Outline <b>success alert</b> example
|
|
<button type="button" class="btn-close" data-bs-dismiss="alert" aria-label="Close"></button>
|
|
</div>
|
|
</code>
|
|
<code><!-- Danger Alert -->
|
|
<div class="alert alert-danger alert-dismissible alert-outline fade show" role="alert">
|
|
<strong> Something is very wrong! </strong> - Outline <b>danger alert</b> example
|
|
<button type="button" class="btn-close" data-bs-dismiss="alert" aria-label="Close"></button>
|
|
</div>
|
|
</code>
|
|
<code><!-- Warning Alert -->
|
|
<div class="alert alert-warning alert-dismissible alert-outline fade show" role="alert">
|
|
<strong> Uh oh, something went wrong! </strong> - Outline <b>warning alert</b> example
|
|
<button type="button" class="btn-close" data-bs-dismiss="alert" aria-label="Close"></button>
|
|
</div>
|
|
</code>
|
|
<code><!-- Info Alert -->
|
|
<div class="alert alert-info alert-dismissible alert-outline fade show" role="alert">
|
|
<strong> Don't forget' it ! </strong> - Outline <b>info alert</b> example
|
|
<button type="button" class="btn-close" data-bs-dismiss="alert" aria-label="Close"></button>
|
|
</div>
|
|
</code>
|
|
<code><!-- Dark Alert -->
|
|
<div class="alert alert-dark alert-dismissible alert-outline fade show" role="alert">
|
|
<strong> Did you know? </strong> - Outline <b>dark alert</b> example
|
|
<button type="button" class="btn-close" data-bs-dismiss="alert" aria-label="Close"></button>
|
|
</div>
|
|
</code></pre>
|
|
</div>
|
|
</div><!-- end card-body -->
|
|
</div><!-- end card -->
|
|
</div>
|
|
</div>
|
|
|
|
<div class="row">
|
|
<div class="col-lg-12">
|
|
<div class="card">
|
|
<div class="card-header align-items-center d-flex">
|
|
<h4 class="card-title mb-0 flex-grow-1">Left Border Alerts</h4>
|
|
<div class="flex-shrink-0">
|
|
<div class="form-check form-switch form-switch-right form-switch-md">
|
|
<label for="5" class="form-label text-muted">Show Code</label>
|
|
<input class="form-check-input code-switcher" type="checkbox" id="5">
|
|
</div>
|
|
</div>
|
|
</div><!-- end card header -->
|
|
|
|
<div class="card-body">
|
|
<p class="text-muted">Use the <code>alert-border-left </code> class to set an alert with the left
|
|
border & outline.</p>
|
|
|
|
<div class="live-preview">
|
|
<div class="row">
|
|
<div class="col-xl-6">
|
|
<h6>Primary Alert</h6>
|
|
<div class="alert alert-primary alert-border-left alert-dismissible fade show"
|
|
role="alert">
|
|
<i class="ri-user-smile-line me-3 align-middle fs-16"></i><strong>Primary</strong>
|
|
- Left border alert
|
|
<button type="button" class="btn-close" data-bs-dismiss="alert"
|
|
aria-label="Close"></button>
|
|
</div>
|
|
|
|
<h6>Secondary Alert</h6>
|
|
<div class="alert alert-secondary alert-border-left alert-dismissible fade show"
|
|
role="alert">
|
|
<i class="ri-check-double-line me-3 align-middle fs-16"></i><strong>Secondary</strong>
|
|
- Left border alert
|
|
<button type="button" class="btn-close" data-bs-dismiss="alert"
|
|
aria-label="Close"></button>
|
|
</div>
|
|
|
|
<h6>Success Alert</h6>
|
|
<div class="alert alert-success alert-border-left alert-dismissible fade show"
|
|
role="alert">
|
|
<i
|
|
class="ri-notification-off-line me-3 align-middle fs-16"></i><strong>Success</strong>
|
|
- Left border alert
|
|
<button type="button" class="btn-close" data-bs-dismiss="alert"
|
|
aria-label="Close"></button>
|
|
</div>
|
|
|
|
<h6>Danger Alert</h6>
|
|
<div class="alert alert-danger alert-border-left alert-dismissible fade show mb-xl-0"
|
|
role="alert">
|
|
<i class="ri-error-warning-line me-3 align-middle fs-16"></i><strong>Danger</strong>
|
|
- Left border alert
|
|
<button type="button" class="btn-close" data-bs-dismiss="alert"
|
|
aria-label="Close"></button>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="col-xl-6">
|
|
<h6>Warning Alert</h6>
|
|
<div class="alert alert-warning alert-border-left alert-dismissible fade show"
|
|
role="alert">
|
|
<i class="ri-alert-line me-3 align-middle fs-16"></i><strong>Warning</strong>
|
|
- Left border alert
|
|
<button type="button" class="btn-close" data-bs-dismiss="alert"
|
|
aria-label="Close"></button>
|
|
</div>
|
|
|
|
<h6>Info Alert</h6>
|
|
<div class="alert alert-info alert-border-left alert-dismissible fade show" role="alert">
|
|
<i class="ri-airplay-line me-3 align-middle fs-16"></i><strong>Info</strong>
|
|
- Left border alert
|
|
<button type="button" class="btn-close" data-bs-dismiss="alert"
|
|
aria-label="Close"></button>
|
|
</div>
|
|
|
|
<h6>Light Alert</h6>
|
|
<div class="alert alert-light alert-border-left alert-dismissible fade show" role="alert">
|
|
<i class="ri-mail-line me-3 align-middle fs-16"></i><strong>Light</strong>
|
|
- Left border alert
|
|
<button type="button" class="btn-close" data-bs-dismiss="alert"
|
|
aria-label="Close"></button>
|
|
</div>
|
|
|
|
<h6>Dark Alert</h6>
|
|
<div class="alert alert-dark alert-border-left alert-dismissible fade show mb-0"
|
|
role="alert">
|
|
<i class="ri-refresh-line me-3 align-middle fs-16"></i><strong>Dark</strong>
|
|
- Left border alert
|
|
<button type="button" class="btn-close" data-bs-dismiss="alert"
|
|
aria-label="Close"></button>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="d-none code-view">
|
|
<pre class="language-markup" style="max-height: 260px;">
|
|
<code><!-- Primary Alert -->
|
|
<div class="alert alert-primary alert-border-left alert-dismissible fade show" role="alert">
|
|
<i class="ri-user-smile-line me-3 align-middle"></i> <strong>Primary</strong> - Left border alert
|
|
<button type="button" class="btn-close" data-bs-dismiss="alert" aria-label="Close"></button>
|
|
</div>
|
|
</code>
|
|
<code><!-- Secondary Alert -->
|
|
<div class="alert alert-secondary alert-border-left alert-dismissible fade show" role="alert">
|
|
<i class="ri-check-double-line me-3 align-middle"></i> <strong>Secondary</strong> - Left border alert
|
|
<button type="button" class="btn-close" data-bs-dismiss="alert" aria-label="Close"></button>
|
|
</div>
|
|
</code>
|
|
<code><!-- Success Alert -->
|
|
<div class="alert alert-success alert-border-left alert-dismissible fade show" role="alert">
|
|
<i class="ri-notification-off-line me-3 align-middle"></i> <strong>Success</strong> - Left border alert
|
|
<button type="button" class="btn-close" data-bs-dismiss="alert" aria-label="Close"></button>
|
|
</div>
|
|
</code>
|
|
<code><!-- Danger Alert -->
|
|
<div class="alert alert-danger alert-border-left alert-dismissible fade show" role="alert">
|
|
<i class="ri-error-warning-line me-3 align-middle"></i> <strong>Danger</strong> - Left border alert
|
|
<button type="button" class="btn-close" data-bs-dismiss="alert" aria-label="Close"></button>
|
|
</div>
|
|
</code>
|
|
<code><!-- Warning Alert -->
|
|
<div class="alert alert-warning alert-border-left alert-dismissible fade show" role="alert">
|
|
<i class="ri-alert-line me-3 align-middle"></i> <strong>Warning</strong> - Left border alert
|
|
<button type="button" class="btn-close" data-bs-dismiss="alert" aria-label="Close"></button>
|
|
</div>
|
|
</code>
|
|
<code><!-- Info Alert -->
|
|
<div class="alert alert-info alert-border-left alert-dismissible fade show" role="alert">
|
|
<i class="ri-airplay-line me-3 align-middle"></i> <strong>Info</strong> - Left border alert
|
|
<button type="button" class="btn-close" data-bs-dismiss="alert" aria-label="Close"></button>
|
|
</div>
|
|
</code>
|
|
<code><!-- Light Alert -->
|
|
<div class="alert alert-light alert-border-left alert-dismissible fade show" role="alert">
|
|
<i class="ri-mail-line me-3 align-middle"></i> <strong>Light</strong> - Left border alert
|
|
<button type="button" class="btn-close" data-bs-dismiss="alert" aria-label="Close"></button>
|
|
</div>
|
|
</code>
|
|
<code><!-- Dark Alert -->
|
|
<div class="alert alert-dark alert-border-left alert-dismissible fade show" role="alert">
|
|
<i class="ri-refresh-line me-3 align-middle"></i> <strong>Dark</strong> - Left border alert
|
|
<button type="button" class="btn-close" data-bs-dismiss="alert" aria-label="Close"></button>
|
|
</div>
|
|
</code></pre>
|
|
</div>
|
|
</div><!-- end card-body -->
|
|
</div><!-- end card -->
|
|
</div>
|
|
</div>
|
|
|
|
<div class="row">
|
|
<div class="col-lg-12">
|
|
<div class="card">
|
|
<div class="card-header align-items-center d-flex">
|
|
<h4 class="card-title mb-0 flex-grow-1">Label Icon Alerts</h4>
|
|
<div class="flex-shrink-0">
|
|
<div class="form-check form-switch form-switch-right form-switch-md">
|
|
<label for="6" class="form-label text-muted">Show Code</label>
|
|
<input class="form-check-input code-switcher" type="checkbox" id="6">
|
|
</div>
|
|
</div>
|
|
</div><!-- end card header -->
|
|
|
|
<div class="card-body">
|
|
<p class="text-muted">Use the <code>alert-label-icon</code> class to set an alert with a label
|
|
icon.</p>
|
|
<div class="live-preview">
|
|
<div class="row">
|
|
<div class="col-xl-6">
|
|
<h6>Primary Alert</h6>
|
|
<div class="alert alert-primary alert-dismissible alert-solid alert-label-icon fade show"
|
|
role="alert">
|
|
<i class="ri-user-smile-line label-icon"></i><strong>Primary</strong> -
|
|
Label icon alert
|
|
<button type="button" class="btn-close btn-close-white" data-bs-dismiss="alert"
|
|
aria-label="Close"></button>
|
|
</div>
|
|
|
|
<h6>Secondary Alert</h6>
|
|
<div class="alert alert-secondary alert-dismissible alert-solid alert-label-icon fade show"
|
|
role="alert">
|
|
<i class="ri-check-double-line label-icon"></i><strong>Secondary</strong>
|
|
- Label icon
|
|
alert
|
|
<button type="button" class="btn-close btn-close-white" data-bs-dismiss="alert"
|
|
aria-label="Close"></button>
|
|
</div>
|
|
|
|
<h6>Success Alert</h6>
|
|
<div class="alert alert-success alert-dismissible alert-solid alert-label-icon fade show"
|
|
role="alert">
|
|
<i class="ri-notification-off-line label-icon"></i><strong>Success</strong>
|
|
- Label
|
|
icon alert
|
|
<button type="button" class="btn-close btn-close-white" data-bs-dismiss="alert"
|
|
aria-label="Close"></button>
|
|
</div>
|
|
|
|
<h6>Danger Alert</h6>
|
|
<div class="alert alert-danger alert-dismissible alert-solid alert-label-icon fade show mb-xl-0"
|
|
role="alert">
|
|
<i class="ri-error-warning-line label-icon"></i><strong>Danger</strong>
|
|
- Label
|
|
icon alert
|
|
<button type="button" class="btn-close btn-close-white" data-bs-dismiss="alert"
|
|
aria-label="Close"></button>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="col-xl-6">
|
|
<h6>Warning Alert</h6>
|
|
<div class="alert alert-warning alert-dismissible alert-solid alert-label-icon fade show"
|
|
role="alert">
|
|
<i class="ri-alert-line label-icon"></i><strong>warning</strong> - Label
|
|
icon alert
|
|
<button type="button" class="btn-close btn-close-white" data-bs-dismiss="alert"
|
|
aria-label="Close"></button>
|
|
</div>
|
|
|
|
<h6>Info Alert</h6>
|
|
<div class="alert alert-info alert-dismissible alert-solid alert-label-icon fade show"
|
|
role="alert">
|
|
<i class="ri-airplay-line label-icon"></i><strong>Info</strong> - Label
|
|
icon alert
|
|
<button type="button" class="btn-close btn-close-white" data-bs-dismiss="alert"
|
|
aria-label="Close"></button>
|
|
</div>
|
|
|
|
<h6>Light Alert</h6>
|
|
<div class="alert alert-light alert-dismissible alert-solid alert-label-icon fade show"
|
|
role="alert">
|
|
<i class="ri-mail-line label-icon"></i><strong>Light</strong> -
|
|
Label icon alert
|
|
<button type="button" class="btn-close btn-close-white" data-bs-dismiss="alert"
|
|
aria-label="Close"></button>
|
|
</div>
|
|
|
|
<h6>Dark Alert</h6>
|
|
<div class="alert alert-dark alert-dismissible alert-solid alert-label-icon fade show mb-0"
|
|
role="alert">
|
|
<i class="ri-refresh-line label-icon"></i><strong>Dark</strong> -
|
|
Label icon alert
|
|
<button type="button" class="btn-close btn-close-white" data-bs-dismiss="alert"
|
|
aria-label="Close"></button>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="d-none code-view">
|
|
<pre class="language-markup" style="max-height: 260px;">
|
|
<code><!-- Primary Alert -->
|
|
<div class="alert alert-primary alert-dismissible alert-solid alert-label-icon fade show" role="alert">
|
|
<i class="ri-user-smile-line label-icon"></i><strong>Primary</strong> - Label icon alert
|
|
<button type="button" class="btn-close btn-close-white" data-bs-dismiss="alert" aria-label="Close"></button>
|
|
</div>
|
|
</code>
|
|
<code><!-- Secondary Alert -->
|
|
<div class="alert alert-secondary alert-dismissible alert-solid alert-label-icon fade show" role="alert">
|
|
<i class="ri-check-double-line label-icon"></i><strong>Secondary</strong> - Label icon alert
|
|
<button type="button" class="btn-close btn-close-white" data-bs-dismiss="alert" aria-label="Close"></button>
|
|
</div>
|
|
</code>
|
|
<code><!-- Success Alert -->
|
|
<div class="alert alert-success alert-dismissible alert-solid alert-label-icon fade show" role="alert">
|
|
<i class="ri-notification-off-line label-icon"></i><strong>Success</strong> - Label icon alert
|
|
<button type="button" class="btn-close btn-close-white" data-bs-dismiss="alert" aria-label="Close"></button>
|
|
</div>
|
|
</code>
|
|
<code><!-- Danger Alert -->
|
|
<div class="alert alert-danger alert-dismissible alert-solid alert-label-icon fade show" role="alert">
|
|
<i class="ri-error-warning-line label-icon"></i><strong>Danger</strong> - Label icon alert
|
|
<button type="button" class="btn-close btn-close-white" data-bs-dismiss="alert" aria-label="Close"></button>
|
|
</div>
|
|
</code>
|
|
<code><!-- Warning Alert -->
|
|
<div class="alert alert-warning alert-dismissible alert-solid alert-label-icon fade show" role="alert">
|
|
<i class="ri-alert-line label-icon"></i><strong>Warning</strong> - Label icon alert
|
|
<button type="button" class="btn-close btn-close-white" data-bs-dismiss="alert" aria-label="Close"></button>
|
|
</div>
|
|
</code>
|
|
<code><!-- Info Alert -->
|
|
<div class="alert alert-info alert-dismissible alert-solid alert-label-icon fade show" role="alert">
|
|
<i class="ri-airplay-line label-icon"></i><strong>Info</strong> - Label icon alert
|
|
<button type="button" class="btn-close btn-close-white" data-bs-dismiss="alert" aria-label="Close"></button>
|
|
</div>
|
|
</code>
|
|
<code><!-- Light Alert -->
|
|
<div class="alert alert-light alert-dismissible alert-solid alert-label-icon fade show" role="alert">
|
|
<i class="ri-mail-line label-icon"></i><strong>Light</strong> - Label icon alert
|
|
<button type="button" class="btn-close btn-close-white" data-bs-dismiss="alert" aria-label="Close"></button>
|
|
</div>
|
|
</code>
|
|
<code><!-- Dark Alert -->
|
|
<div class="alert alert-dark alert-dismissible alert-solid alert-label-icon fade show mb-0" role="alert">
|
|
<i class="ri-refresh-line label-icon"></i><strong>Dark</strong> - Label icon alert
|
|
<button type="button" class="btn-close btn-close-white" data-bs-dismiss="alert" aria-label="Close"></button>
|
|
</div>
|
|
</code></pre>
|
|
|
|
</div>
|
|
</div><!-- end card-body -->
|
|
</div><!-- end card -->
|
|
</div>
|
|
</div>
|
|
|
|
<div class="row">
|
|
<div class="col-lg-12">
|
|
<div class="card">
|
|
<div class="card-header align-items-center d-flex">
|
|
<h4 class="card-title mb-0 flex-grow-1">Additional Content Alerts</h4>
|
|
<div class="flex-shrink-0">
|
|
<div class="form-check form-switch form-switch-right form-switch-md">
|
|
<label for="7" class="form-label text-muted">Show Code</label>
|
|
<input class="form-check-input code-switcher" type="checkbox" id="7">
|
|
</div>
|
|
</div>
|
|
</div><!-- end card header -->
|
|
|
|
<div class="card-body">
|
|
<p class="text-muted">Use the <code>alert-additional</code> class and Use the <code>alert-</code>
|
|
class to HTML elements like headings, paragraphs, dividers etc.</p>
|
|
<div class="live-preview">
|
|
<div class="row">
|
|
<div class="col-xl-6">
|
|
<h6>Primary Alert</h6>
|
|
<div class="alert alert-primary alert-dismissible alert-additional fade show" role="alert">
|
|
<div class="alert-body">
|
|
<button type="button" class="btn-close" data-bs-dismiss="alert"
|
|
aria-label="Close"></button>
|
|
<div class="d-flex">
|
|
<div class="flex-shrink-0 me-3">
|
|
<i class="ri-error-warning-line fs-16 align-middle"></i>
|
|
</div>
|
|
<div class="flex-grow-1">
|
|
<h5 class="alert-heading">Well done !</h5>
|
|
<p class="mb-0">Aww yeah, you successfully read this important
|
|
alert message. </p>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="alert-content">
|
|
<p class="mb-0">Whenever you need to, be sure to use margin
|
|
utilities to keep things nice and tidy.</p>
|
|
</div>
|
|
</div>
|
|
|
|
<h6>Danger Alert</h6>
|
|
<div class="alert alert-danger alert-dismissible alert-additional fade show mb-xl-0"
|
|
role="alert">
|
|
<div class="alert-body">
|
|
<button type="button" class="btn-close" data-bs-dismiss="alert"
|
|
aria-label="Close"></button>
|
|
<div class="d-flex">
|
|
<div class="flex-shrink-0 me-3">
|
|
<i class="ri-alert-line fs-16 align-middle"></i>
|
|
</div>
|
|
<div class="flex-grow-1">
|
|
<h5 class="alert-heading">Something is very wrong!</h5>
|
|
<p class="mb-0">Change a few things up and try submitting again.
|
|
</p>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="alert-content">
|
|
<p class="mb-0">Whenever you need to, be sure to use margin
|
|
utilities to keep things nice and tidy.</p>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="col-xl-6">
|
|
|
|
<h6>Success Alert</h6>
|
|
<div class="alert alert-success alert-dismissible alert-additional fade show" role="alert">
|
|
<div class="alert-body">
|
|
<button type="button" class="btn-close" data-bs-dismiss="alert"
|
|
aria-label="Close"></button>
|
|
<div class="d-flex">
|
|
<div class="flex-shrink-0 me-3">
|
|
<i class="ri-notification-off-line fs-16 align-middle"></i>
|
|
</div>
|
|
<div class="flex-grow-1">
|
|
<h5 class="alert-heading">Yey! Everything worked!</h5>
|
|
<p class="mb-0">This alert needs your attention, but it's not
|
|
super important.</p>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="alert-content">
|
|
<p class="mb-0">Whenever you need to, be sure to use margin
|
|
utilities to keep things nice and tidy.</p>
|
|
</div>
|
|
</div>
|
|
|
|
<h6>Warning Alert</h6>
|
|
<div class="alert alert-warning alert-dismissible alert-additional fade show mb-0"
|
|
role="alert">
|
|
<div class="alert-body">
|
|
<button type="button" class="btn-close" data-bs-dismiss="alert"
|
|
aria-label="Close"></button>
|
|
<div class="d-flex">
|
|
<div class="flex-shrink-0 me-3">
|
|
<i class="ri-alert-line fs-16 align-middle"></i>
|
|
</div>
|
|
<div class="flex-grow-1">
|
|
<h5 class="alert-heading">Uh oh, something went wrong!</h5>
|
|
<p class="mb-0">Better check yourself, you're not looking too
|
|
good.</p>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="alert-content">
|
|
<p class="mb-0">Whenever you need to, be sure to use margin
|
|
utilities to keep things nice and tidy.</p>
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="d-none code-view">
|
|
<pre class="language-markup" style="max-height: 260px;">
|
|
<code><!-- Primary Alert -->
|
|
<div class="alert alert-primary alert-dismissible alert-additional fade show" role="alert">
|
|
<div class="alert-body">
|
|
<button type="button" class="btn-close" data-bs-dismiss="alert" aria-label="Close"></button>
|
|
<div class="d-flex">
|
|
<div class="flex-shrink-0 me-3">
|
|
<i class="ri-user-smile-line fs-16 align-middle"></i>
|
|
</div>
|
|
<div class="flex-grow-1">
|
|
<h5 class="alert-heading">Well done !</h5>
|
|
<p class="mb-0">Aww yeah, you successfully read this important alert message. </p>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="alert-content">
|
|
<p class="mb-0">Whenever you need to, be sure to use margin utilities to keep things nice and tidy.</p>
|
|
</div>
|
|
</div></code>
|
|
|
|
<code><!-- Danger Alert -->
|
|
<div class="alert alert-danger alert-dismissible alert-additional fade show" role="alert">
|
|
<div class="alert-body">
|
|
<button type="button" class="btn-close" data-bs-dismiss="alert" aria-label="Close"></button>
|
|
<div class="d-flex">
|
|
<div class="flex-shrink-0 me-3">
|
|
<i class="ri-error-warning-line fs-16 align-middle"></i>
|
|
</div>
|
|
<div class="flex-grow-1">
|
|
<h5 class="alert-heading">Something is very wrong!</h5>
|
|
<p class="mb-0">Change a few things up and try submitting again. </p>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="alert-content">
|
|
<p class="mb-0">Whenever you need to, be sure to use margin utilities to keep things nice and tidy.</p>
|
|
</div>
|
|
</div></code>
|
|
|
|
<code><!-- Success Alert -->
|
|
<div class="alert alert-success alert-dismissible alert-additional fade show" role="alert">
|
|
<div class="alert-body">
|
|
<button type="button" class="btn-close" data-bs-dismiss="alert" aria-label="Close"></button>
|
|
<div class="d-flex">
|
|
<div class="flex-shrink-0 me-3">
|
|
<i class="ri-notification-off-line fs-16 align-middle"></i>
|
|
</div>
|
|
<div class="flex-grow-1">
|
|
<h5 class="alert-heading">Yey! Everything worked!</h5>
|
|
<p class="mb-0">This alert needs your attention, but it's not super important. </p>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="alert-content">
|
|
<p class="mb-0">Whenever you need to, be sure to use margin utilities to keep things nice and tidy.</p>
|
|
</div>
|
|
</div></code>
|
|
|
|
<code><!-- Warning Alert -->
|
|
<div class="alert alert-warning alert-dismissible alert-additional fade show mb-0" role="alert">
|
|
<div class="alert-body">
|
|
<button type="button" class="btn-close" data-bs-dismiss="alert" aria-label="Close"></button>
|
|
<div class="d-flex">
|
|
<div class="flex-shrink-0 me-3">
|
|
<i class="ri-alert-line fs-16 align-middle"></i>
|
|
</div>
|
|
<div class="flex-grow-1">
|
|
<h5 class="alert-heading">Uh oh, something went wrong!</h5>
|
|
<p class="mb-0">Better check yourself, you're not looking too good. </p>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="alert-content">
|
|
<p class="mb-0">Whenever you need to, be sure to use margin utilities to keep things nice and tidy.</p>
|
|
</div>
|
|
</div></code></pre>
|
|
</div>
|
|
</div><!-- end card-body -->
|
|
</div><!-- end card -->
|
|
</div>
|
|
</div>
|
|
|
|
<div class="row">
|
|
<div class="col-lg-12">
|
|
<div class="card">
|
|
<div class="card-header align-items-center d-flex">
|
|
<h4 class="card-title mb-0 flex-grow-1">Top Border with Outline Alerts</h4>
|
|
<div class="flex-shrink-0">
|
|
<div class="form-check form-switch form-switch-right form-switch-md">
|
|
<label for="8" class="form-label text-muted">Show Code</label>
|
|
<input class="form-check-input code-switcher" type="checkbox" id="8">
|
|
</div>
|
|
</div>
|
|
</div><!-- end card header -->
|
|
|
|
<div class="card-body">
|
|
<p class="text-muted">Use the <code>alert-top-border</code> class to set an alert with the top
|
|
border and outline.</p>
|
|
<div class="live-preview">
|
|
<div class="row">
|
|
<div class="col-xl-6">
|
|
<h6>Primary Alert</h6>
|
|
<div class="alert alert-primary alert-top-border alert-dismissible fade show" role="alert">
|
|
<i
|
|
class="ri-user-smile-line me-3 align-middle fs-16 text-primary"></i><strong>Primary</strong>
|
|
- Top border alert
|
|
<button type="button" class="btn-close" data-bs-dismiss="alert"
|
|
aria-label="Close"></button>
|
|
</div>
|
|
|
|
|
|
<h6>Secondary Alert</h6>
|
|
<div class="alert alert-secondary alert-top-border alert-dismissible fade show"
|
|
role="alert">
|
|
<i
|
|
class="ri-check-double-line me-3 align-middle fs-16 text-secondary"></i><strong>Secondary</strong>
|
|
- Top border alert
|
|
<button type="button" class="btn-close" data-bs-dismiss="alert"
|
|
aria-label="Close"></button>
|
|
</div>
|
|
|
|
<h6>Success Alert</h6>
|
|
<div class="alert alert-success alert-top-border alert-dismissible fade show" role="alert">
|
|
<i
|
|
class="ri-notification-off-line me-3 align-middle fs-16 text-success"></i><strong>Success</strong>
|
|
- Top border alert
|
|
<button type="button" class="btn-close" data-bs-dismiss="alert"
|
|
aria-label="Close"></button>
|
|
</div>
|
|
|
|
<h6>Danger Alert</h6>
|
|
<div class="alert alert-danger alert-top-border alert-dismissible fade show mb-xl-0"
|
|
role="alert">
|
|
<i
|
|
class="ri-error-warning-line me-3 align-middle fs-16 text-danger "></i><strong>Danger</strong>
|
|
- Top border alert
|
|
<button type="button" class="btn-close" data-bs-dismiss="alert"
|
|
aria-label="Close"></button>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="col-xl-6">
|
|
<h6>Warning Alert</h6>
|
|
<div class="alert alert-warning alert-top-border alert-dismissible fade show" role="alert">
|
|
<i
|
|
class="ri-alert-line me-3 align-middle fs-16 text-warning"></i><strong>Warning</strong>
|
|
- Top border alert
|
|
<button type="button" class="btn-close" data-bs-dismiss="alert"
|
|
aria-label="Close"></button>
|
|
</div>
|
|
|
|
<h6>Info Alert</h6>
|
|
<div class="alert alert-info alert-top-border alert-dismissible fade show" role="alert">
|
|
<i class="ri-airplay-line me-3 align-middle fs-16 text-info"></i><strong>Info</strong>
|
|
- Top border alert
|
|
<button type="button" class="btn-close" data-bs-dismiss="alert"
|
|
aria-label="Close"></button>
|
|
</div>
|
|
|
|
<h6>Light Alert</h6>
|
|
<div class="alert alert-light alert-top-border alert-dismissible fade show" role="alert">
|
|
<i class="ri-mail-line me-3 align-middle fs-16 text-dark"></i><strong>Light</strong>
|
|
- Top border alert
|
|
<button type="button" class="btn-close" data-bs-dismiss="alert"
|
|
aria-label="Close"></button>
|
|
</div>
|
|
|
|
<h6>Dark Alert</h6>
|
|
<div class="alert alert-dark alert-top-border alert-dismissible fade show mb-0"
|
|
role="alert">
|
|
<i class="ri-refresh-line me-3 align-middle fs-16 text-dark"></i><strong>Dark</strong>
|
|
- Top border alert
|
|
<button type="button" class="btn-close" data-bs-dismiss="alert"
|
|
aria-label="Close"></button>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="d-none code-view">
|
|
<pre class="language-markup" style="max-height: 260px;">
|
|
<code><!-- Primary Alert -->
|
|
<div class="alert alert-primary alert-top-border alert-dismissible fade show" role="alert">
|
|
<i class="ri-user-smile-line me-3 align-middle fs-16 text-primary"></i><strong>Primary</strong> - Top border alert
|
|
<button type="button" class="btn-close" data-bs-dismiss="alert" aria-label="Close"></button>
|
|
</div>
|
|
</code>
|
|
<code><!-- Secondary Alert -->
|
|
<div class="alert alert-secondary alert-top-border alert-dismissible fade show" role="alert">
|
|
<i class="ri-check-double-line me-3 align-middle fs-16 text-secondary"></i><strong>Secondary</strong> - Top border alert
|
|
<button type="button" class="btn-close" data-bs-dismiss="alert" aria-label="Close"></button>
|
|
</div>
|
|
</code>
|
|
<code><!-- Success Alert -->
|
|
<div class="alert alert-success alert-top-border alert-dismissible fade show" role="alert">
|
|
<i class="ri-notification-off-line me-3 align-middle fs-16 text-success"></i><strong>Success</strong> - Top border alert
|
|
<button type="button" class="btn-close" data-bs-dismiss="alert" aria-label="Close"></button>
|
|
</div>
|
|
</code>
|
|
<code><!-- Danger Alert -->
|
|
<div class="alert alert-danger alert-top-border alert-dismissible fade show" role="alert">
|
|
<i class="ri-error-warning-line me-3 align-middle fs-16 text-danger"></i><strong>Danger</strong> - Top border alert
|
|
<button type="button" class="btn-close" data-bs-dismiss="alert" aria-label="Close"></button>
|
|
</div>
|
|
</code>
|
|
<code><!-- Warning Alert -->
|
|
<div class="alert alert-warning alert-top-border alert-dismissible fade show" role="alert">
|
|
<i class="ri-alert-line me-3 align-middle fs-16 text-warning"></i><strong>Warning</strong> - Top border alert
|
|
<button type="button" class="btn-close" data-bs-dismiss="alert" aria-label="Close"></button>
|
|
</div>
|
|
</code>
|
|
<code><!-- Info Alert -->
|
|
<div class="alert alert-info alert-top-border alert-dismissible fade show" role="alert">
|
|
<i class="ri-airplay-line me-3 align-middle fs-16 text-info"></i><strong>Info</strong> - Top border alert
|
|
<button type="button" class="btn-close" data-bs-dismiss="alert" aria-label="Close"></button>
|
|
</div>
|
|
</code>
|
|
<code><!-- Light Alert -->
|
|
<div class="alert alert-light alert-top-border alert-dismissible fade show" role="alert">
|
|
<i class="ri-mail-line me-3 align-middle fs-16 text-light"></i><strong>Light</strong> - Top border alert
|
|
<button type="button" class="btn-close" data-bs-dismiss="alert" aria-label="Close"></button>
|
|
</div>
|
|
</code>
|
|
<code><!-- Dark Alert -->
|
|
<div class="alert alert-dark alert-top-border alert-dismissible fade show mb-0" role="alert">
|
|
<i class="ri-refresh-line me-3 align-middle fs-16 text-dark"></i><strong>Dark</strong> - Top border alert
|
|
<button type="button" class="btn-close" data-bs-dismiss="alert" aria-label="Close"></button>
|
|
</div>
|
|
</code></pre>
|
|
</div>
|
|
</div><!-- end card-body -->
|
|
</div><!-- end card -->
|
|
</div>
|
|
</div>
|
|
|
|
<div class="row">
|
|
<div class="col-lg-12">
|
|
<div class="card">
|
|
<div class="card-header align-items-center d-flex">
|
|
<h4 class="card-title mb-0 flex-grow-1">Label Icon Arrow Alerts</h4>
|
|
<div class="flex-shrink-0">
|
|
<div class="form-check form-switch form-switch-right form-switch-md">
|
|
<label for="9" class="form-label text-muted">Show Code</label>
|
|
<input class="form-check-input code-switcher" type="checkbox" id="9">
|
|
</div>
|
|
</div>
|
|
</div><!-- end card header -->
|
|
|
|
<div class="card-body">
|
|
<p class="text-muted">Use the <code>alert-label-icon label-arrow</code> class to show an alert with
|
|
label icon and arrow.</p>
|
|
<div class="live-preview">
|
|
|
|
<div class="row">
|
|
<div class="col-xl-6">
|
|
<h6>Primary Alert</h6>
|
|
<div class="alert alert-primary alert-dismissible alert-label-icon label-arrow fade show"
|
|
role="alert">
|
|
<i class="ri-user-smile-line label-icon"></i><strong>Primary</strong> -
|
|
Label icon arrow alert
|
|
<button type="button" class="btn-close" data-bs-dismiss="alert"
|
|
aria-label="Close"></button>
|
|
</div>
|
|
|
|
<h6>Secondary Alert</h6>
|
|
<div class="alert alert-secondary alert-dismissible alert-label-icon label-arrow fade show"
|
|
role="alert">
|
|
<i class="ri-check-double-line label-icon"></i><strong>Secondary</strong> -
|
|
Label icon
|
|
arrow alert
|
|
<button type="button" class="btn-close" data-bs-dismiss="alert"
|
|
aria-label="Close"></button>
|
|
</div>
|
|
|
|
<h6>Success Alert</h6>
|
|
<div class="alert alert-success alert-dismissible alert-label-icon label-arrow fade show"
|
|
role="alert">
|
|
<i class="ri-notification-off-line label-icon"></i><strong>Success</strong>
|
|
- Label
|
|
icon arrow alert
|
|
<button type="button" class="btn-close" data-bs-dismiss="alert"
|
|
aria-label="Close"></button>
|
|
</div>
|
|
|
|
<h6>Danger Alert</h6>
|
|
<div class="alert alert-danger alert-dismissible alert-label-icon label-arrow fade show mb-xl-0"
|
|
role="alert">
|
|
<i class="ri-error-warning-line label-icon"></i><strong>Danger</strong>
|
|
- Label
|
|
icon arrow alert
|
|
<button type="button" class="btn-close" data-bs-dismiss="alert"
|
|
aria-label="Close"></button>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="col-xl-6">
|
|
<h6>Warning Alert</h6>
|
|
<div class="alert alert-warning alert-dismissible alert-label-icon label-arrow fade show"
|
|
role="alert">
|
|
<i class="ri-alert-line label-icon"></i><strong>Warning</strong> -
|
|
Label icon arrow alert
|
|
<button type="button" class="btn-close" data-bs-dismiss="alert"
|
|
aria-label="Close"></button>
|
|
</div>
|
|
|
|
<h6>info Alert</h6>
|
|
<div class="alert alert-info alert-dismissible alert-label-icon label-arrow fade show"
|
|
role="alert">
|
|
<i class="ri-airplay-line label-icon"></i><strong>Info</strong> -
|
|
Label icon arrow alert
|
|
<button type="button" class="btn-close" data-bs-dismiss="alert"
|
|
aria-label="Close"></button>
|
|
</div>
|
|
|
|
<h6>Light Alert</h6>
|
|
<div class="alert alert-light alert-dismissible alert-label-icon label-arrow fade show"
|
|
role="alert">
|
|
<i class="ri-mail-line label-icon"></i><strong>Light</strong>
|
|
- Label icon arrow alert
|
|
<button type="button" class="btn-close" data-bs-dismiss="alert"
|
|
aria-label="Close"></button>
|
|
</div>
|
|
|
|
<h6>Dark Alert</h6>
|
|
<div class="alert alert-dark alert-dismissible alert-label-icon label-arrow fade show mb-0"
|
|
role="alert">
|
|
<i class="ri-refresh-line label-icon"></i><strong>Dark</strong>
|
|
- Label icon arrow alert
|
|
<button type="button" class="btn-close" data-bs-dismiss="alert"
|
|
aria-label="Close"></button>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="d-none code-view">
|
|
<pre class="language-markup" style="max-height: 260px;">
|
|
<code><!-- Primary Alert -->
|
|
<div class="alert alert-primary alert-dismissible alert-label-icon label-arrow fade show" role="alert">
|
|
<i class="ri-user-smile-line label-icon"></i><strong>Primary</strong> - Label icon arrow alert
|
|
<button type="button" class="btn-close" data-bs-dismiss=" alert" aria-label="Close"></button>
|
|
</div>
|
|
</code>
|
|
<code><!-- Secondary Alert -->
|
|
<div class="alert alert-secondary alert-dismissible alert-label-icon label-arrow fade show" role="alert">
|
|
<i class="ri-check-double-line label-icon"></i><strong>Secondary</strong> - Label icon arrow alert
|
|
<button type="button" class="btn-close" data-bs-dismiss=" alert" aria-label="Close"></button>
|
|
</div>
|
|
</code>
|
|
<code><!-- Success Alert -->
|
|
<div class="alert alert-success alert-dismissible alert-label-icon label-arrow fade show" role="alert">
|
|
<i class="ri-notification-off-line label-icon"></i><strong>Success</strong> - Label icon arrow alert
|
|
<button type="button" class="btn-close" data-bs-dismiss=" alert" aria-label="Close"></button>
|
|
</div>
|
|
</code>
|
|
<code><!-- Danger Alert -->
|
|
<div class="alert alert-danger alert-dismissible alert-label-icon label-arrow fade show" role="alert">
|
|
<i class="ri-error-warning-line label-icon"></i><strong>Danger</strong> - Label icon arrow alert
|
|
<button type="button" class="btn-close" data-bs-dismiss=" alert" aria-label="Close"></button>
|
|
</div>
|
|
</code>
|
|
<code><!-- Warning Alert -->
|
|
<div class="alert alert-warning alert-dismissible alert-label-icon label-arrow fade show" role="alert">
|
|
<i class="ri-alert-line label-icon"></i><strong>Warning</strong> - Label icon arrow alert
|
|
<button type="button" class="btn-close" data-bs-dismiss=" alert" aria-label="Close"></button>
|
|
</div>
|
|
</code>
|
|
<code><!-- Info Alert -->
|
|
<div class="alert alert-info alert-dismissible alert-label-icon label-arrow fade show" role="alert">
|
|
<i class="ri-airplay-line label-icon"></i><strong>Info</strong> - Label icon arrow alert
|
|
<button type="button" class="btn-close" data-bs-dismiss=" alert" aria-label="Close"></button>
|
|
</div>
|
|
</code>
|
|
<code><!-- Light Alert -->
|
|
<div class="alert alert-light alert-dismissible alert-label-icon label-arrow fade show" role="alert">
|
|
<i class="ri-mail-line label-icon"></i><strong>Light</strong> - Label icon arrow alert
|
|
<button type="button" class="btn-close" data-bs-dismiss=" alert" aria-label="Close"></button>
|
|
</div>
|
|
</code>
|
|
<code><!-- Dark Alert -->
|
|
<div class="alert alert-dark alert-dismissible alert-label-icon label-arrow fade show mb-0" role="alert">
|
|
<i class="ri-refresh-line label-icon"></i><strong>Dark</strong> - Label icon arrow alert
|
|
<button type="button" class="btn-close" data-bs-dismiss=" alert" aria-label="Close"></button>
|
|
</div>
|
|
</code></pre>
|
|
</div>
|
|
</div><!-- end card-body -->
|
|
</div><!-- end card -->
|
|
</div>
|
|
</div>
|
|
|
|
<div class="row">
|
|
<div class="col-lg-12">
|
|
<div class="card">
|
|
<div class="card-header align-items-center d-flex">
|
|
<h4 class="card-title mb-0 flex-grow-1">Rounded Label Icon Alerts</h4>
|
|
<div class="flex-shrink-0">
|
|
<div class="form-check form-switch form-switch-right form-switch-md">
|
|
<label for="10" class="form-label text-muted">Show Code</label>
|
|
<input class="form-check-input code-switcher" type="checkbox" id="10">
|
|
</div>
|
|
</div>
|
|
</div><!-- end card header -->
|
|
|
|
<div class="card-body">
|
|
<p class="text-muted">Use the <code>alert-label-icon rounded-label</code> class to set an alert
|
|
with a rounded label icon.</p>
|
|
<div class="live-preview">
|
|
|
|
<div class="row">
|
|
<div class="col-xl-6">
|
|
<h6>Primary Alert</h6>
|
|
<div class="alert alert-primary alert-dismissible alert-label-icon rounded-label fade show"
|
|
role="alert">
|
|
<i class="ri-user-smile-line label-icon"></i><strong>Primary</strong> -
|
|
Rounded label alert
|
|
<button type="button" class="btn-close" data-bs-dismiss="alert"
|
|
aria-label="Close"></button>
|
|
</div>
|
|
|
|
<h6>Secondary Alert</h6>
|
|
<div class="alert alert-secondary alert-dismissible alert-label-icon rounded-label fade show"
|
|
role="alert">
|
|
<i class="ri-check-double-line label-icon"></i><strong>Secondary</strong>
|
|
- Rounded
|
|
label alert
|
|
<button type="button" class="btn-close" data-bs-dismiss="alert"
|
|
aria-label="Close"></button>
|
|
</div>
|
|
|
|
<h6>Success Alert</h6>
|
|
<div class="alert alert-success alert-dismissible alert-label-icon rounded-label fade show"
|
|
role="alert">
|
|
<i class="ri-notification-off-line label-icon"></i><strong>Success</strong>
|
|
- Rounded
|
|
label alert
|
|
<button type="button" class="btn-close" data-bs-dismiss="alert"
|
|
aria-label="Close"></button>
|
|
</div>
|
|
|
|
<h6>Danger Alert</h6>
|
|
<div class="alert alert-danger alert-dismissible alert-label-icon rounded-label fade show mb-xl-0"
|
|
role="alert">
|
|
<i class="ri-error-warning-line label-icon"></i><strong>Danger</strong>
|
|
- Rounded
|
|
label alert
|
|
<button type="button" class="btn-close" data-bs-dismiss="alert"
|
|
aria-label="Close"></button>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="col-xl-6">
|
|
<h6>Warning Alert</h6>
|
|
<div class="alert alert-warning alert-dismissible alert-label-icon rounded-label fade show"
|
|
role="alert">
|
|
<i class="ri-alert-line label-icon"></i><strong>Warning</strong> - Rounded
|
|
label alert
|
|
<button type="button" class="btn-close" data-bs-dismiss="alert"
|
|
aria-label="Close"></button>
|
|
</div>
|
|
|
|
<h6>Info Alert</h6>
|
|
<div class="alert alert-info alert-dismissible alert-label-icon rounded-label fade show"
|
|
role="alert">
|
|
<i class="ri-airplay-line label-icon"></i><strong>Info</strong> -
|
|
Rounded label
|
|
alert
|
|
<button type="button" class="btn-close" data-bs-dismiss="alert"
|
|
aria-label="Close"></button>
|
|
</div>
|
|
|
|
<h6>Light Alert</h6>
|
|
<div class="alert alert-light alert-dismissible alert-label-icon rounded-label fade show"
|
|
role="alert">
|
|
<i class="ri-mail-line label-icon"></i><strong>Light</strong> -
|
|
Rounded label
|
|
alert
|
|
<button type="button" class="btn-close" data-bs-dismiss="alert"
|
|
aria-label="Close"></button>
|
|
</div>
|
|
|
|
<h6>Dark Alert</h6>
|
|
<div class="alert alert-dark alert-dismissible alert-label-icon rounded-label fade show mb-0"
|
|
role="alert">
|
|
<i class="ri-refresh-line label-icon"></i><strong>Dark</strong> -
|
|
Rounded label
|
|
alert
|
|
<button type="button" class="btn-close" data-bs-dismiss="alert"
|
|
aria-label="Close"></button>
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
</div>
|
|
|
|
<div class="d-none code-view">
|
|
<pre class="language-markup" style="max-height: 260px;">
|
|
<code><!-- Primary Alert -->
|
|
<div class="alert alert-primary alert-dismissible alert-label-icon rounded-label fade show" role="alert">
|
|
<i class="ri-user-smile-line label-icon"></i><strong>Primary</strong> - Rounded label alert
|
|
<button type="button" class="btn-close" data-bs-dismiss="alert" aria-label="Close"></button>
|
|
</div>
|
|
</code>
|
|
<code><!-- Secondary Alert -->
|
|
<div class="alert alert-secondary alert-dismissible alert-label-icon rounded-label fade show" role="alert">
|
|
<i class="ri-check-double-line label-icon"></i><strong>Secondary</strong> - Rounded label alert
|
|
<button type="button" class="btn-close" data-bs-dismiss="alert" aria-label="Close"></button>
|
|
</div>
|
|
</code>
|
|
<code><!-- Success Alert -->
|
|
<div class="alert alert-success alert-dismissible alert-label-icon rounded-label fade show" role="alert">
|
|
<i class="ri-notification-off-line label-icon"></i><strong>Success</strong> - Rounded label alert
|
|
<button type="button" class="btn-close" data-bs-dismiss="alert" aria-label="Close"></button>
|
|
</div>
|
|
</code>
|
|
<code><!-- Danger Alert -->
|
|
<div class="alert alert-danger alert-dismissible alert-label-icon rounded-label fade show" role="alert">
|
|
<i class="ri-error-warning-line label-icon"></i><strong>Danger</strong> - Rounded label alert
|
|
<button type="button" class="btn-close" data-bs-dismiss="alert" aria-label="Close"></button>
|
|
</div>
|
|
</code>
|
|
<code><!-- Warning Alert -->
|
|
<div class="alert alert-warning alert-dismissible alert-label-icon rounded-label fade show" role="alert">
|
|
<i class="ri-alert-line label-icon"></i><strong>Warning</strong> - Rounded label alert
|
|
<button type="button" class="btn-close" data-bs-dismiss="alert" aria-label="Close"></button>
|
|
</div>
|
|
</code>
|
|
<code><!-- Info Alert -->
|
|
<div class="alert alert-info alert-dismissible alert-label-icon rounded-label fade show" role="alert">
|
|
<i class="ri-airplay-line label-icon"></i><strong>Info</strong> - Rounded label alert
|
|
<button type="button" class="btn-close" data-bs-dismiss="alert" aria-label="Close"></button>
|
|
</div>
|
|
</code>
|
|
<code><!-- Light Alert -->
|
|
<div class="alert alert-light alert-dismissible alert-label-icon rounded-label fade show" role="alert">
|
|
<i class="ri-mail-line label-icon"></i><strong>Light</strong> - Rounded label alert
|
|
<button type="button" class="btn-close" data-bs-dismiss="alert" aria-label="Close"></button>
|
|
</div>
|
|
</code>
|
|
<code><!-- Dark Alert -->
|
|
<div class="alert alert-dark alert-dismissible alert-label-icon rounded-label fade show" role="alert">
|
|
<i class="ri-refresh-line label-icon"></i><strong>Dark</strong> - Rounded label alert
|
|
<button type="button" class="btn-close" data-bs-dismiss="alert" aria-label="Close"></button>
|
|
</div>
|
|
</code></pre>
|
|
</div>
|
|
</div><!-- end card-body -->
|
|
</div><!-- end card -->
|
|
</div>
|
|
</div>
|
|
|
|
<div class="row">
|
|
<div class="col-lg-12">
|
|
<div class="card">
|
|
<div class="card-header align-items-center d-flex">
|
|
<h4 class="card-title mb-0 flex-grow-1">Solid Alerts</h4>
|
|
<div class="flex-shrink-0">
|
|
<div class="form-check form-switch form-switch-right form-switch-md">
|
|
<label for="solid-alerts-code" class="form-label text-muted">Show Code</label>
|
|
<input class="form-check-input code-switcher" type="checkbox" id="solid-alerts-code">
|
|
</div>
|
|
</div>
|
|
</div><!-- end card header -->
|
|
|
|
<div class="card-body">
|
|
<p class="text-muted">Use the <code>alert-solid</code> class to set an alert with solid style.</p>
|
|
|
|
<div class="live-preview">
|
|
<div class="row">
|
|
<div class="col-xl-6">
|
|
<h6>Primary Solid Alert</h6>
|
|
<div class="alert alert-primary alert-solid" role="alert">
|
|
<strong>Hi!</strong> - Solid <b>primary alert</b> example
|
|
</div>
|
|
|
|
<h6>Secondary Solid Alert</h6>
|
|
<div class="alert alert-secondary alert-solid" role="alert">
|
|
<strong>How are you!</strong> - Solid <b>secondary alert</b> example
|
|
</div>
|
|
|
|
<h6>Success Solid Alert</h6>
|
|
<div class="alert alert-success alert-solid" role="alert">
|
|
<strong>Yey! Everything worked! </strong> - Solid <b>success alert</b> example
|
|
</div>
|
|
|
|
<h6>Danger Solid Alert</h6>
|
|
<div class="alert alert-danger alert-solid mb-xl-0" role="alert">
|
|
<strong>Something is very wrong!</strong> - Solid <b>danger alert</b> example
|
|
</div>
|
|
</div>
|
|
|
|
<div class="col-xl-6">
|
|
<h6>Warning Solid Alert</h6>
|
|
<div class="alert alert-warning alert-solid" role="alert">
|
|
<strong>Uh oh, something went wrong!</strong> - Solid <b>warning alert</b> example
|
|
</div>
|
|
|
|
<h6>Info Solid Alert</h6>
|
|
<div class="alert alert-info alert-solid" role="alert">
|
|
<strong>Don't forget' it !</strong> - Solid <b>info alert</b> example
|
|
</div>
|
|
|
|
|
|
<h6>Light Solid Alert</h6>
|
|
<div class="alert alert-light alert-solid" role="alert">
|
|
<strong>Mind Your Step!</strong> - Solid <b>secondary alert</b> example
|
|
</div>
|
|
|
|
<h6>Dark Solid Alert</h6>
|
|
<div class="alert alert-dark alert-solid mb-0" role="alert">
|
|
<strong>Did you know?</strong> - Solid <b>dark alert</b> example
|
|
</div>
|
|
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="d-none code-view">
|
|
<pre class="language-markup" style="max-height: 260px;">
|
|
<code><!-- Primary Alert -->
|
|
<div class="alert alert-primary alert-solid" role="alert">
|
|
<strong>Hi!</strong> - Solid <b>primary alert</b> example
|
|
</div>
|
|
</code>
|
|
<code><!-- Secondary Alert -->
|
|
<div class="alert alert-secondary alert-solid" role="alert">
|
|
<strong>How are you!</strong> - Solid <b>secondary alert</b> example
|
|
</div>
|
|
</code>
|
|
<code><!-- Success Alert -->
|
|
<div class="alert alert-success alert-solid" role="alert">
|
|
<strong>Yey! Everything worked!</strong> - Solid <b>success alert</b> example
|
|
</div>
|
|
</code>
|
|
<code><!-- Danger Alert -->
|
|
<div class="alert alert-danger alert-solid" role="alert">
|
|
<strong>Something is very wrong!</strong> - Solid <b>danger alert</b> example
|
|
</div>
|
|
</code>
|
|
<code><!-- Warning Alert -->
|
|
<div class="alert alert-warning alert-solid" role="alert">
|
|
<strong>Uh oh, something went w rong!</strong> - Solid <b>warning alert</b> example
|
|
</div>
|
|
</code>
|
|
<code><!-- Info Alert -->
|
|
<div class="alert alert-info alert-solid" role="alert">
|
|
<strong>Don't forget' it !</strong> - Solid <b>info alert</b> example
|
|
</div>
|
|
</code>
|
|
<code><!-- Light Alert -->
|
|
<div class="alert alert-light alert-solid" role="alert">
|
|
<strong>Mind Your Step!</strong> - Solid <b>light alert</b> example
|
|
</div>
|
|
</code>
|
|
<code><!-- Dark Alert -->
|
|
<div class="alert alert-dark alert-solid mb-0" role="alert">
|
|
<strong>Did you know?</strong> - Solid <b>dark alert</b> example
|
|
</div>
|
|
</code></pre>
|
|
</div>
|
|
</div><!-- end card-body -->
|
|
</div><!-- end card -->
|
|
</div>
|
|
</div>
|
|
@endsection
|
|
@section('script')
|
|
<script src="{{ URL::asset('assets/libs/prismjs/prismjs.min.js') }}"></script>
|
|
|
|
<script>
|
|
var alertPlaceholder = document.getElementById('liveAlertPlaceholder')
|
|
var alertTrigger = document.getElementById('liveAlertBtn')
|
|
|
|
function alert(message, type) {
|
|
var wrapper = document.createElement('div')
|
|
wrapper.innerHTML = '<div class="alert alert-' + type + ' alert-dismissible" role="alert">' + message +
|
|
'<button type="button" class="btn-close" data-bs-dismiss="alert" aria-label="Close"></button></div>'
|
|
|
|
alertPlaceholder.append(wrapper)
|
|
}
|
|
|
|
if (alertTrigger) {
|
|
alertTrigger.addEventListener('click', function() {
|
|
alert('Nice, you triggered this alert message!', 'success')
|
|
})
|
|
}
|
|
</script>
|
|
|
|
<script src="{{ URL::asset('/assets/js/app.min.js') }}"></script>
|
|
@endsection
|