5858 < link rel ="stylesheet "
5959 href ="demo/demo.css ">
6060 < script >
61- var version = '3.0.0 ' ;
61+ var version = '3.0.1 ' ;
6262 </ script >
6363 <!-- Add the minified version of files from the /dist/ folder. -->
6464 <!-- jquery-confirm files -->
112112 < span class ="caret "> </ span >
113113 </ a >
114114 < ul class ="dropdown-menu ">
115+ < li >
116+ < a href ="http://craftpip.github.io/jquery-confirm/v3.0.0 "> v3.0.0</ a >
117+ </ li >
115118 < li >
116119 < a href ="http://craftpip.github.io/jquery-confirm/v2.5.1 "> v2.5.1</ a >
117120 </ li >
204207 < div class ="row download-btns ">
205208 < div class ="col-md-12 ">
206209 < div style ="height: 15px; "> </ div >
207- < a href ="https://github.com/craftpip/jquery-confirm/releases/download/v3.0.0 /jquery-confirm-v3.0.0 .zip "
208- class ="btn btn-lg "> Download v3
210+ < a href ="https://github.com/craftpip/jquery-confirm/releases/download/v3.0.1 /jquery-confirm-v3.0.1 .zip "
211+ class ="btn btn-lg "> Download v3.0.1
209212 </ a >
210213 < a href ="https://github.com/craftpip/jquery-confirm "
211214 class ="btn btn-lg "> < i class ="fa fa-github "> </ i > View on GitHub
@@ -463,16 +466,20 @@ <h2>Features</h2>
463466 < button class ="btn btn-primary btn-block example-p-2 "> Confirmation</ button >
464467 < p class ="text-success "> Stacked Confirmations</ p >
465468 </ div >
469+ < div class ="col-md-3 ">
470+ < button class ="btn btn-primary btn-block example-p-70-type "> Alert types</ button >
471+ < p class ="text-success "> Success, error, warning</ p >
472+ </ div >
466473 < div class ="col-md-3 ">
467474 < button class ="btn btn-primary btn-block example-p-7-1 "> Prompt</ button >
468475 < p class ="text-success "> Need input?</ p >
469476 </ div >
477+ </ div >
478+ < div class ="row ">
470479 < div class ="col-md-3 ">
471480 < button class ="btn btn-primary btn-block example-p-4 "> Dialogs</ button >
472481 < p class ="text-success "> Its also a Dialog.</ p >
473482 </ div >
474- </ div >
475- < div class ="row ">
476483 < div class ="col-md-3 ">
477484 < button class ="btn btn-primary btn-block example-p-3 "> Background dismiss</ button >
478485 < p class ="text-success "> Not so important modal</ p >
@@ -485,12 +492,12 @@ <h2>Features</h2>
485492 < button class ="btn btn-primary btn-block example-p-6 "> Auto-close</ button >
486493 < p class ="text-success "> Some actions maybe critical</ p >
487494 </ div >
495+ </ div >
496+ < div class ="row ">
488497 < div class ="col-md-3 ">
489498 < button class ="btn btn-primary btn-block example-p-7 "> Keystrokes</ button >
490499 < p class ="text-success "> Responds to keystrokes</ p >
491500 </ div >
492- </ div >
493- < div class ="row ">
494501 < div class ="col-md-3 ">
495502 < button class ="btn btn-primary btn-block example-pc-1 "> Alignment</ button >
496503 < p class ="text-success "> Automatically centered</ p >
@@ -597,6 +604,15 @@ <h2>Features</h2>
597604 } ) ;
598605 } ) ;
599606
607+ // alert types
608+ $ ( '.example-p-70-type' ) . on ( 'click' , function ( ) {
609+ $ . alert ( {
610+ title : 'Oh no' ,
611+ type : 'red' ,
612+ content : 'Something bad, bad happened.' ,
613+ } ) ;
614+ } ) ;
615+
600616 // background dismiss
601617 $ ( '.example-p-3' ) . on ( 'click' , function ( ) {
602618 $ . alert ( {
@@ -767,7 +783,6 @@ <h2>Features</h2>
767783 } ) ;
768784
769785 // animations
770- // todo: im here
771786 $ ( ' .example-pc-3' ) . on ( 'click' , function ( ) {
772787 $ . alert ( {
773788 title : 'Animations' ,
@@ -800,7 +815,8 @@ <h2>Features</h2>
800815 < h2 > Whats new < span style ="color: #aaa "> in v3.0.1</ span > </ h2 >
801816 < ul >
802817 < li > Support for namespaced bootstrap classes</ li >
803- < li > Using bootstrap is an option now</ li >
818+ < li > Jconfirm can be used without bootstrap</ li >
819+ < li > Added type for modals (green/success, red/failure, orange/warning, etc)</ li >
804820 </ ul >
805821 </ section >
806822
0 commit comments