%PDF- %PDF-
Direktori : /home/silvzytp/dsr.silveroak.website/assets/vendors/summernote/examples/ |
Current File : //home/silvzytp/dsr.silveroak.website/assets/vendors/summernote/examples/ondialog-multitab.html |
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" /> <title>summernote</title> <!-- include jquery --> <script src="//code.jquery.com/jquery-1.11.3.min.js"></script> <!-- include libraries --> <link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/bootstrap/4.0.0-beta/css/bootstrap.css" /> <script src="//cdnjs.cloudflare.com/ajax/libs/popper.js/1.12.3/umd/popper.js"></script> <script src="//maxcdn.bootstrapcdn.com/bootstrap/4.0.0-beta/js/bootstrap.js"></script> <!-- include summernote --> <link rel="stylesheet" href="../dist/summernote-bs4.css"> <script type="text/javascript" src="../dist/summernote-bs4.js"></script> <script> $(function () { $('#dropper').on('shown.bs.modal', function() { $('.dropping').summernote({ height: 300, focus: true }); }).on('hidden.bs.modal', function () { $('.dropping').summernote('destroy'); }); $('.nav.nav-tabs a').click(function (e) { e.preventDefault() $(this).tab('show') }) }); </script> </head> <body> <button class="btn btn-primary btn-lg" data-toggle="modal" data-target="#dropper">Show Dialog</button> <div id="dropper" class="modal fade" tabindex="-1" data-backdrop="static" role="dialog" aria-hidden="true"> <div class="modal-dialog"> <div class="modal-content"> <div class="modal-body"> <div role="tabpanel"> <!-- Nav tabs --> <ul class="nav nav-tabs" role="tablist"> <li role="presentation" class="active"><a href="#tab1" aria-controls="tab1" role="tab" data-toggle="tab">Tab 1</a></li> <li role="presentation"><a href="#tab2" aria-controls="tab2" role="tab" data-toggle="tab">Tab 2</a></li> </ul> <!-- Tab panes --> <div class="tab-content"> <div role="tabpanel" class="tab-pane active" id="tab1"> <div class="dropping">text...</div> </div> <div role="tabpanel" class="tab-pane" id="tab2"> <div class="dropping">text...</div> </div> </div> </div> </div> <div class="modal-footer"> <button type="button" class="btn btn-default pull-left"> <span class="fa fa-paperclip"></span> Attach Digital Assets </button> <div class="btn-group"> <button type="button" class="btn btn-default opacity75" class="close" data-dismiss="modal"> × Cancel </button> <button type="button" class="btn btn-warning" href="javascript:postDrop()"> Post Status Update <span class="fa fa-bullhorn"></span> </button> </div> </div> </div> </div> </div> </body> </html>