|
1234567891011121314151617181920212223242526272829303132333435 |
- import { h, Component } from 'preact';
-
- class WBBrowseDialog extends Component {
- constructor(...args) {
- super(...args);
- }
-
- render({ id }) {
- return (
- <div class="modal" id={ id } tabindex="-1" role="dialog">
- <div class="modal-dialog modal-lg" role="document">
- <div class="modal-content">
- <div class="modal-header">
- <h5 class="modal-title">Browse</h5>
- <button type="button" class="close" data-dismiss="modal" aria-label="Close">
- <span aria-hidden="true">×</span>
- </button>
- </div>
-
- <div class="modal-body m-0 p-0">
- <iframe style="width: 100%;" src="/browse" />
- </div>
-
- <div class="modal-footer">
- <button type="button" class="btn btn-primary">Accept</button>
- <button type="button" class="btn btn-secondary" data-dismiss="modal">Cancel</button>
- </div>
- </div>
- </div>
- </div>
- );
- }
- }
-
- export default WBBrowseDialog;
|