[WIP] Refactor project
This commit is contained in:
15
resources/views/vendor/boilerplate/plugins/demo/bootbox.blade.php
vendored
Normal file
15
resources/views/vendor/boilerplate/plugins/demo/bootbox.blade.php
vendored
Normal file
@@ -0,0 +1,15 @@
|
||||
@component('boilerplate::card', ['color' => 'pink', 'title' => 'Bootbox'])
|
||||
<p><button class="btn btn-primary" onclick="bootbox.alert('Example')">bootbox.alert</button></p>
|
||||
<pre class="prettyprint">bootbox.alert('Example')</pre>
|
||||
<p><button class="btn btn-primary" onclick="bootbox.confirm('OK', function(result){ console.log('Result: ' + result); });">bootbox.confirm</button></p>
|
||||
<pre class="prettyprint">bootbox.confirm("OK ?", function(result){ console.log('Result: ' + result); });</pre>
|
||||
<p><button class="btn btn-primary" onclick="bootbox.prompt('Value', function(result){ console.log(result); });">bootbox.prompt</button></p>
|
||||
<pre class="prettyprint">bootbox.prompt("Value", function(result){ console.log(result); });</pre>
|
||||
<p><button class="btn btn-primary" onclick="bootbox.dialog({ message: '<h1>HTML message</h1><p>Hello there !</p>'})">bootbox.dialog</button></p>
|
||||
<pre class="prettyprint">bootbox.dialog({ message: '<h1>HTML message</h1><p>Hello there !</p>' });</pre>
|
||||
@slot('footer')
|
||||
<div class="small text-muted text-right">
|
||||
<a href="http://bootboxjs.com/documentation.html" target="_blank">bootbox</a>
|
||||
</div>
|
||||
@endslot
|
||||
@endcomponent
|
||||
Reference in New Issue
Block a user