IF YOU WOULD LIKE TO GET AN ACCOUNT, please write an email to s dot adaszewski at gmail dot com. User accounts are meant only to report issues and/or generate pull requests. This is a purpose-specific Git hosting for ADARED projects. Thank you for your understanding!
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

wb-browse-dialog.js 1.1KB

1234567891011121314151617181920212223242526272829303132333435
  1. import { h, Component } from 'preact';
  2. class WBBrowseDialog extends Component {
  3. constructor(...args) {
  4. super(...args);
  5. }
  6. render({ id }) {
  7. return (
  8. <div class="modal" id={ id } tabindex="-1" role="dialog">
  9. <div class="modal-dialog modal-lg" role="document">
  10. <div class="modal-content">
  11. <div class="modal-header">
  12. <h5 class="modal-title">Browse</h5>
  13. <button type="button" class="close" data-dismiss="modal" aria-label="Close">
  14. <span aria-hidden="true">&times;</span>
  15. </button>
  16. </div>
  17. <div class="modal-body m-0 p-0">
  18. <iframe style="width: 100%;" src="/browse" />
  19. </div>
  20. <div class="modal-footer">
  21. <button type="button" class="btn btn-primary">Accept</button>
  22. <button type="button" class="btn btn-secondary" data-dismiss="modal">Cancel</button>
  23. </div>
  24. </div>
  25. </div>
  26. </div>
  27. );
  28. }
  29. }
  30. export default WBBrowseDialog;