-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #31 from Patternslib/better-demo
maint: Create a better demo.
- Loading branch information
Showing
1 changed file
with
42 additions
and
23 deletions.
There are no files selected for viewing
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,26 +1,45 @@ | ||
<!DOCTYPE HTML> | ||
<html> | ||
<head> | ||
<meta http-equiv="content-type" content="text/html; charset=utf-8"> | ||
<title>Content-mirror pattern demo</title> | ||
<script src="/dist/bundle.js"></script> | ||
</head> | ||
<body class="sidebar-left-open generic application- "> | ||
<div id="content" class="application"> | ||
<h1>Content-mirror pattern demo</h1> | ||
<p class="my-mirror" | ||
><span class="text" | ||
><em class="placeholder">Leave a comment</em></span | ||
><em class="selected-users" id="selected-users"></em | ||
><em class="selected-tags" id="selected-tags"></em | ||
></p> | ||
<textarea class="pat-content-mirror" placeholder="Type some text" data-pat-content-mirror="target:.my-mirror .text"></textarea> | ||
<hr /> | ||
<p class="my-other-mirror" | ||
><span class="text" | ||
><em class="placeholder">I am the other mirror. Try me.</em></em | ||
></p> | ||
<textarea class="pat-content-mirror" placeholder="Say what's on your mind" data-pat-content-mirror="target:.my-other-mirror .text"></textarea> | ||
</div> | ||
</body> | ||
<head> | ||
<meta charset="utf-8" /> | ||
<title>Content-mirror pattern demo</title> | ||
<script src="/bundle.min.js"></script> | ||
</head> | ||
<body class="sidebar-left-open generic application-"> | ||
<div class="application" | ||
id="content" | ||
> | ||
<form> | ||
<h1>Content-mirror pattern demo</h1> | ||
<fieldset> | ||
<p class="my-mirror"> | ||
<span class="text"> | ||
<em class="placeholder"></em> | ||
</span> | ||
</p> | ||
<textarea class="pat-content-mirror" | ||
placeholder="Type some text" | ||
data-pat-content-mirror="target:.my-mirror .text" | ||
autocomplete="off" | ||
></textarea> | ||
</fieldset> | ||
<fieldset> | ||
<p class="my-other-mirror"> | ||
<span class="text"> | ||
<em class="placeholder"></em> | ||
</span> | ||
</p> | ||
<textarea class="pat-content-mirror" | ||
placeholder="Say what's on your mind" | ||
data-pat-content-mirror="target:.my-other-mirror .text" | ||
autocomplete="off" | ||
></textarea> | ||
</fieldset> | ||
<!-- Form reset --> | ||
<input type="reset" | ||
value="Reset" | ||
/> | ||
</form> | ||
</div> | ||
</body> | ||
</html> |