Skip to content

Commit 215346e

Browse files
committed
Include html in component docs
1 parent 059e37c commit 215346e

File tree

6 files changed

+122
-43
lines changed

6 files changed

+122
-43
lines changed

examples/components/forms/sign_in/1/index.html

+27
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,33 @@ <h4>Stats</h4>
4242
bytes | selectors | declarations
4343
</pre>
4444

45+
<h1>HTML used</h1>
46+
<pre>
47+
&lt;form action=&quot;index_submit&quot; method=&quot;get&quot; accept-charset=&quot;utf-8&quot; class=&quot;pv4 mv5&quot;&gt;
48+
&lt;fieldset class=&quot;center mw6-ns ph3 ph4-ns bn&quot;&gt;
49+
&lt;legend class=&quot;bold ttu tracked-mega pl3 pl0-ns pv3 f3-ns lightest-purple dn&quot;&gt;Sign In&lt;/legend&gt;
50+
&lt;div class=&quot;mtm&quot;&gt;
51+
&lt;label class=&quot;f6 mb2 pl3 pl0-ns ttu tracked-mega db&quot; for=&quot;Username&quot;&gt;Username&lt;/label&gt;
52+
&lt;input class=&quot;f3 fw6 input-reset pl3 pv3 db ba white-80 b--white-20 w-100 bg-white-05 bg-white-10-focus&quot; type=&quot;text&quot; name=&quot;Username&quot; value=&quot;&quot; id=&quot;Username&quot; &gt;
53+
&lt;/div&gt;
54+
&lt;div class=&quot;mtl&quot;&gt;
55+
&lt;label class=&quot;f6 mb2 pl3 pl0-ns ttu tracked-mega db&quot; for=&quot;Username&quot;&gt;Password&lt;/label&gt;
56+
&lt;input class=&quot;f3 fw6 input-reset pl3 pv3 db ba b--white-20 w-100 white-60 bg-white-05 bg-white-10-focus&quot; type=&quot;password&quot; name=&quot;password&quot; value=&quot;&quot; id=&quot;password&quot; &gt;
57+
&lt;/div&gt;
58+
&lt;div class=&quot;mtl dt&quot;&gt;
59+
&lt;div class=&quot;dtc w-50 wi-25-ns v-mid&quot;&gt;
60+
&lt;input class=&quot;input-reset bg-white-05 lightest-purple pa3 brs fw6 ba b--white-20 ttu tracked-mega bg-white-10-focus&quot; type=&quot;submit&quot; value=&quot;Sign In&quot;&gt;
61+
&lt;/div&gt;
62+
&lt;div class=&quot;dtc w-50 wi-75-ns v-mid&quot;&gt;
63+
&lt;a class=&quot;link dim db lightest-purple pv1&quot; href=&quot;#&quot;&gt;Sign Up&lt;/a&gt;
64+
&lt;a class=&quot;link dim db lightest-purple pv1&quot; href=&quot;#&quot;&gt;Forgot Password?&lt;/a&gt;
65+
&lt;/div&gt;
66+
67+
&lt;/div&gt;
68+
&lt;/fieldset&gt;
69+
&lt;/form&gt;
70+
71+
</pre>
4572
<h1>Classes used</h1>
4673
<ul class="list pl0 lh-copy">
4774

examples/components/forms/sign_up/1/index.html

+45
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,51 @@ <h4>Stats</h4>
6060
bytes | selectors | declarations
6161
</pre>
6262

63+
<h1>HTML used</h1>
64+
<pre>
65+
&lt;form action=&quot;index_submit&quot; method=&quot;get&quot; accept-charset=&quot;utf-8&quot; class=&quot;pvl mvxl&quot;&gt;
66+
&lt;fieldset class=&quot;center mw6-ns phm phl-ns bn&quot;&gt;
67+
&lt;legend class=&quot;semibold ttu tracked-mega plm pln-ns pvm f3-ns black-80&quot;&gt;Sign Up&lt;/legend&gt;
68+
&lt;p class=&quot;f4 measure lh-copy mbl black-40 mtn&quot;&gt;
69+
Enroll in this because it&#39;s a great idea. You&#39;ll receive an confirmation email with a link
70+
to activate your account.
71+
&lt;/p&gt;
72+
&lt;div class=&quot;mtm&quot;&gt;
73+
&lt;label class=&quot;f4 bold mbs plm pln-ns ttu tracked-mega db black-50&quot; for=&quot;Username&quot;&gt;Username
74+
&lt;/label&gt;
75+
&lt;input class=&quot;f3 bold input-text plm pvm db ba b--white-20 w-100 bg-white-60 bg-white-80-focus&quot; type=&quot;text&quot; name=&quot;Username&quot; value=&quot;&quot; id=&quot;Username&quot; &gt;
76+
&lt;/div&gt;
77+
&lt;div class=&quot;mtl&quot;&gt;
78+
&lt;label class=&quot;f4 bold mbs plm pln-ns ttu tracked-mega db black-50&quot; for=&quot;Username&quot;&gt;Email
79+
&lt;/label&gt;
80+
81+
&lt;input class=&quot;f3 bold input-text plm pvm db ba b--white-20 w-100 black-40 bg-white-60 bg-white-80-focus&quot; type=&quot;email&quot; name=&quot;password&quot; value=&quot;&quot; id=&quot;password&quot; &gt;
82+
&lt;/div&gt;
83+
&lt;div class=&quot;mtl&quot;&gt;
84+
&lt;label class=&quot;f4 bold mbs plm pln-ns ttu tracked-mega db black-50&quot; for=&quot;Username&quot;&gt;Password
85+
&lt;/label&gt;
86+
87+
&lt;input class=&quot;f3 bold input-text plm pvm db ba b--white-20 w-100 black-40 bg-white-60 bg-white-80-focus&quot; type=&quot;password&quot; name=&quot;password&quot; value=&quot;&quot; id=&quot;password&quot; &gt;
88+
&lt;/div&gt;
89+
&lt;div class=&quot;mtl mw4 dib mrl&quot;&gt;
90+
&lt;label class=&quot;f4 bold mbs plm pln-ns ttu tracked-mega db black-50&quot; for=&quot;Username&quot;&gt;Zipcode
91+
&lt;/label&gt;
92+
93+
&lt;input class=&quot;f3 bold input-text plm pvm db ba b--white-20 w-100 black-40 bg-white-60 bg-white-80-focus&quot; type=&quot;text&quot; name=&quot;text&quot; value=&quot;&quot; id=&quot;text&quot; &gt;
94+
&lt;/div&gt;
95+
&lt;div class=&quot;dib&quot;&gt;
96+
&lt;input class=&quot;input-text bg-white-05 black-50 pam semibold ba b--black-10 ttu tracked-mega bg-white-80-focus&quot; type=&quot;submit&quot; value=&quot;Sign Up&quot;&gt;
97+
&lt;/div&gt;
98+
&lt;div class=&quot;db bt ptl mtl bt b--black-10&quot;&gt;
99+
&lt;a class=&quot;link dim black-40 pvxs ttu tracked bold&quot; href=&quot;#&quot;&gt;Sign In&lt;/a&gt;
100+
&lt;small class=&quot;ttu tracked black-30 phxs&quot;&gt;- or - &lt;/small&gt;
101+
&lt;a class=&quot;link dim black-40 pvxs ttu tracked bold&quot;href=&quot;#&quot;&gt;Forgot Password?&lt;/a&gt;
102+
&lt;/div&gt;
103+
104+
&lt;/fieldset&gt;
105+
&lt;/form&gt;
106+
107+
</pre>
63108
<h1>Classes used</h1>
64109
<ul class="list pl0 lh-copy">
65110

0 commit comments

Comments
 (0)