1+ {% set title = 'Toast' %}
2+ {% set filename = 'component-toasts.html' %}
3+
4+ {% extends 'layouts/master.html' %}
5+ {% block content %}
6+ < div class ="page-heading ">
7+ < div class ="page-title ">
8+ < div class ="row ">
9+ < div class ="col-12 col-md-6 order-md-1 order-last ">
10+ < h3 > Toast</ h3 >
11+ < p class ="text-subtitle text-muted "> Push notifications to your visitors with a toast, a lightweight and easily customizable alert message.</ p >
12+ </ div >
13+ < div class ="col-12 col-md-6 order-md-2 order-first ">
14+ < nav aria-label ="breadcrumb " class ="breadcrumb-header float-start float-lg-end ">
15+ < ol class ="breadcrumb ">
16+ < li class ="breadcrumb-item "> < a href ="index.html "> Dashboard</ a > </ li >
17+ < li class ="breadcrumb-item active " aria-current ="page "> Toasts</ li >
18+ </ ol >
19+ </ nav >
20+ </ div >
21+ </ div >
22+ </ div >
23+ < section class ="section ">
24+ < div class ="row ">
25+ < div class ="col-md-6 col-12 ">
26+ < div class ="card ">
27+ < div class ="card-header ">
28+ < h5 > Basic Toasts</ h5 >
29+ </ div >
30+ < div class ="card-body ">
31+ < div class ="toast show " role ="alert " aria-live ="assertive " aria-atomic ="true ">
32+ < div class ="toast-header ">
33+ < svg class ="bd-placeholder-img rounded me-2 " width ="20 " height ="20 " xmlns ="http://www.w3.org/2000/svg " aria-hidden ="true " preserveAspectRatio ="xMidYMid slice " focusable ="false "> < rect width ="100% " height ="100% " fill ="#007aff "> </ rect > </ svg >
34+ < strong class ="me-auto "> Bootstrap</ strong >
35+ < small > 11 mins ago</ small >
36+ < button type ="button " class ="btn-close " data-bs-dismiss ="toast " aria-label ="Close "> </ button >
37+ </ div >
38+ < div class ="toast-body ">
39+ Hello, world! This is a toast message.
40+ </ div >
41+ </ div >
42+ </ div >
43+ </ div >
44+ </ div >
45+ < div class ="col-md-6 col-12 ">
46+ < div class ="card ">
47+ < div class ="card-header ">
48+ < h5 > Open Toast Buttons</ h5 >
49+ </ div >
50+ < div class ="card-body ">
51+ < p > Click the button to show toasts.</ p >
52+ < button type ="button " class ="btn btn-primary " id ="liveToastBtn "> Show live toast</ button >
53+ < div class ="toast-container position-fixed bottom-0 end-0 p-3 ">
54+ < div id ="liveToast " class ="toast " role ="alert " aria-live ="assertive " aria-atomic ="true ">
55+ < div class ="toast-header ">
56+ < svg class ="bd-placeholder-img rounded me-2 " width ="20 " height ="20 " xmlns ="http://www.w3.org/2000/svg " aria-hidden ="true " preserveAspectRatio ="xMidYMid slice " focusable ="false "> < rect width ="100% " height ="100% " fill ="#007aff "> </ rect > </ svg >
57+ < strong class ="me-auto "> Bootstrap</ strong >
58+ < small > 11 mins ago</ small >
59+ < button type ="button " class ="btn-close " data-bs-dismiss ="toast " aria-label ="Close "> </ button >
60+ </ div >
61+ < div class ="toast-body ">
62+ Hello, world! This is a toast message.
63+ </ div >
64+ </ div >
65+ </ div >
66+ </ div >
67+ </ div >
68+ </ div >
69+ </ div >
70+ </ section >
71+ </ div >
72+ {% endblock %}
73+ {% block js %}
74+ < script src ="assets/js/pages/component-toasts.js "> </ script >
75+ {% endblock %}
0 commit comments