-
Notifications
You must be signed in to change notification settings - Fork 508
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
3647459
commit 46b8d85
Showing
5 changed files
with
37 additions
and
16 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,31 +1,52 @@ | ||
<!doctype html> | ||
<html lang="en"> | ||
<head> | ||
<script type="module" crossorigin src="/frontend-mini-challenges/css/assets/index-CYuyoGFL.js"></script> | ||
<script type="module" crossorigin src="/frontend-mini-challenges/css/assets/index-8EGzm9H_.js"></script> | ||
<link rel="modulepreload" crossorigin href="/frontend-mini-challenges/css/assets/navbar-C06kaaZr.js"> | ||
<link rel="modulepreload" crossorigin href="/frontend-mini-challenges/css/assets/header-DcLN6h1n.js"> | ||
<link rel="stylesheet" crossorigin href="/frontend-mini-challenges/css/assets/header-SfPwOZf3.css"> | ||
<link rel="stylesheet" crossorigin href="/frontend-mini-challenges/css/assets/navbar-B7973wg1.css"> | ||
<link rel="stylesheet" crossorigin href="/frontend-mini-challenges/css/assets/index-vtHAOOQM.css"> | ||
<link rel="stylesheet" crossorigin href="/frontend-mini-challenges/css/assets/index-9KvVqt_h.css"> | ||
</head> | ||
<body> | ||
<div class="container text-center"> | ||
<dialog id="dialogPopup"> | ||
<!-- Dialog Head --> | ||
<div><h4>Header</h4></div> | ||
<!-- Dialog Body --> | ||
<div> | ||
<section id="dialogContainer"> | ||
<!-- Dialog Header --> | ||
<header> | ||
<h2>Modal Heading</h2> | ||
<button class="closeDialog" id="closeIcon">✕</button> | ||
</header> | ||
<!-- Dialog Body --> | ||
<div class="dialogContent"> | ||
Lorem ipsum dolor sit amet consectetur adipisicing elit. Minus reprehenderit tempora | ||
exercitationem, hic vel iure deserunt? Tempore corporis eveniet architecto qui aliquid | ||
quam quis, voluptate | ||
This is modal content. You can put any content here. This has a groovy backdrop! | ||
<br /> | ||
You can also close this modal by clicking outside of it or pressing the escape key | ||
</div> | ||
<button id="closeDialog">Close Dialog</button> | ||
</div> | ||
<footer> | ||
<button class="closeDialog">Close</button> | ||
</footer> | ||
</section> | ||
</dialog> | ||
<p> | ||
<button id="showDialog">Show Dialog</button> | ||
</p> | ||
<div> | ||
<div class="option"> | ||
<label for="closeOnOutsideClick">Close dialog on outside click</label> | ||
<input type="checkbox" class="optionCheckbox" checked id="closeOnOutsideClick" /> | ||
</div> | ||
<div class="option"> | ||
<label for="closeOnEscape">Close dialog on escape</label> | ||
<input type="checkbox" class="optionCheckbox" checked id="closeOnEscape" /> | ||
</div> | ||
<div class="option"> | ||
<label for="hasCloseButton">Show close icon</label> | ||
<input type="checkbox" class="optionCheckbox" checked id="hasCloseButton" /> | ||
</div> | ||
<div class="option"> | ||
<label for="hasBackdrop">Show backdrop</label> | ||
<input type="checkbox" class="optionCheckbox" checked id="hasBackdrop" /> | ||
</div> | ||
</div> | ||
<button id="showDialog">Show Dialog</button> | ||
</div> | ||
</body> | ||
</html> |