-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathindex.html
150 lines (130 loc) · 4.62 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
<html>
<head>
<link rel="stylesheet/less" href="style.less" type="text/css">
<link rel="stylesheet" href="font-awesome-4.2.0/css/font-awesome.min.css">
<script src="jquery.js" type="text/javascript" charset="utf-8"></script>
<script src="hammer.js" type="text/javascript" charset="utf-8"></script>
<script src="jquery.hammer.js" type="text/javascript" charset="utf-8"></script>
<script src="app.js" type="text/javascript" charset="utf-8"></script>
<script>
less = {
env: "development",
async: false,
fileAsync: false,
poll: 1000,
functions: {},
dumpLineNumbers: "comments",
relativeUrls: false,
rootpath: ":/a.com/"
};
</script>
<script src="less.js"></script>
<meta name="viewport" content="width=320, user-scalable=no">
</head>
<body>
<div class="wrapper">
<div class="info">
<h1>Fancy Comments</h1>
<p>Inline HTML comments are often used by educators to annotate projects that they share with their students.</p>
<h2>BUT</h2>
<ul>
<li>Comments are ugly!</li>
<li>They clutter up the page!</li>
<li>They don't highlight what they're related to!</li>
<li>They don't guide a learner though a page.</li>
</ul>
<p>What if we had an automatic way to convert HMTL comments inside of an editor into a cool step-by-step walkthrough?
</p>
<p>Turn on fancy comments and try it out...</p>
<div class="editor-toggle"><span class="fa fa-flash"></span> Toggle Fancy Comments</div>
<p class="note"><strong>Note:</strong>
I'm faking the multi-line highlight but I've got some ideas for how to make it work automatically!
</p>
</div>
<div class="editor original">
<pre>
<t><html></t></pre>
<div class="comment">
<div class="comment-original">
<pre>
<!--
The head tag contains important information
about this web page, like the title, which appears
in the tab when a page is opened.
--></pre>
</div>
<div class="comment-text">
The head tag contains important information about this web page, like the title, which appears in the tab when a page is opened.
<div class="close-comment fa fa-remove"></div>
<div class="comment-ui">
Comment <span class="this-comment"></span>/<span class="total-comments"></span>
<a href="#" class="fa fa-chevron-up previous-comment"></a>
<a href="#" class="fa fa-chevron-down next-comment"></a>
</div>
<div class="arrow"></div>
</div>
<div class="comment-code"><div class="bubble fa fa-comment"></div>
<pre>
<t><head></t>
<t><title></t>Bramble<t></title></t>
<t></head></t></pre>
</div>
</div>
<pre>
<t> <body></t></pre>
<div class="comment">
<div class="comment-original">
<pre>
<!--
This is a paragraph, use it to add text!
--></pre>
</div>
<div class="comment-text">
This is a paragraph, use it to add text!
<div class="close-comment fa fa-remove"></div>
<div class="comment-ui">
Comment <span class="this-comment"></span>/<span class="total-comments"></span>
<a href="#" class="fa fa-chevron-up previous-comment"></a>
<a href="#" class="fa fa-chevron-down next-comment"></a>
</div>
<div class="arrow"></div>
</div>
<div class="comment-code"><div class="bubble fa fa-comment"></div>
<pre>
<t><p></t>Hello World<t></p></t></pre></div>
</div>
<div class="comment">
<div class="comment-original">
<pre>
<!--
This is an unordered list. You can add as many
items as you want! When viewed, bullets will be
added automatically!
--></pre>
</div>
<div class="comment-text">
This is an unordered list. It you can add as many items as you want, and HTML automatically adds bullet points!
<div class="close-comment fa fa-remove"></div>
<div class="comment-ui">
Comment <span class="this-comment"></span>/<span class="total-comments"></span>
<a href="#" class="fa fa-chevron-up previous-comment"></a>
<a href="#" class="fa fa-chevron-down next-comment"></a>
</div>
<div class="arrow"></div>
</div>
<div class="comment-code"><div class="bubble fa fa-comment"></div>
<pre>
<t> <ul></t>
<t> <li></t>List Item 1<t></li></t>
<t> <li></t>List Item 2<t></li></t>
<t> <li></t>List Item 2<t></li></t>
<t></ul></t></pre>
</div>
</div>
<pre>
<t> </body></t>
<t></html></t></pre>
</div>
</div>
</body>
</html>