forked from LeaVerou/dabblet
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
245 lines (207 loc) · 8.35 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
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<title>bootstraplive</title>
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link rel="stylesheet" href="/style.css" />
<script src="/code/prefixfree.min.js"></script>
<script>window._gaq = [['_setAccount', 'UA-30119180-1'], ['_trackPageview']];</script>
<ascript src="http://www.google-analytics.com/ga.js" async></ascript>
</head>
<body>
<header>
<h1><a href="/">BootstrapLive</a></h1>
<a id="currentuser" target="_blank" class="user button">Log in</a>
<div class="with-dropdown">
<button class="with-symbol" title="Settings">⚙</button>
<form id="settings" class="dropdown">
<fieldset id="view">
<legend>View mode</legend>
<div class="segmented-control" style="display:none">
<input type="radio" name="view" value="split" id="view-split" data-scope="file" />
<label for="view-split" class="button" title="Horizontal split">Horizontal</label>
<input type="radio" name="view" value="split-vertical" id="view-split-vertical" data-scope="file" />
<label for="view-split-vertical" class="button" title="Vertical split">Vertical</label>
<input type="radio" name="view" value="separate" id="view-separate" checked data-scope="file" />
<label for="view-separate" class="button" title="Separate">Separate</label>
</div>
<label class="checkbox">
<input type="checkbox" name="seethrough" value="1" data-scope="file" />
See-through code
</label>
</fieldset>
<fieldset>
<legend>Libraries</legend>
<label class="checkbox">
<input type="checkbox" name="prefixfree" value="1" data-scope="file" checked />
Use -prefix-free
</label>
</fieldset>
</form>
</div>
<div class="with-dropdown">
<button id="save-button" class="with-symbol" title="Save">☁</button>
<menu class="dropdown">
<a href="/" onclick="Dabblet.wipe()" class="command" data-keyboard="⌘N">New dabblet</a>
<hr />
<a id="save-cmd" tabindex="0" class="command" data-keyboard="⌘S" data-disabled>Save</a>
<a onclick="gist.save({forceNew: true})" id="save-new-cmd" class="command" tabindex="0" data-disabled>Save as new</a>
<a onclick="gist.save({anon: true})" class="command" tabindex="0">Save anonymously</a>
<hr />
<a data-href="https://gist.github.com/{gist-id}/{gist-rev}" target="_blank" class="command" data-disabled>View gist</a>
<a data-href="/result/gist/{gist-id}/{gist-rev}" class="command" target="_blank" aria-hidden="true">View full page result</a>
<a class="user command" target="_blank" aria-hidden="true" id="gist-user"></a>
</menu>
</div>
<div class="controls-group">
<a href="/help/" class="button" title="Help & credits" target="_blank">?</a>
<div class="tabs">
<input type="radio" name="page" value="css" id="page-css" checked data-scope="file" />
<label for="page-css" title="⌘1">
<span class="title">CSS
<span class="if-not-separate"><i class="amp">&</i> Result</span>
</span>
</label>
<input type="radio" name="page" value="html" id="page-html" data-scope="file" />
<label for="page-html" title="⌘2">
<span class="title">HTML
<span class="if-not-separate"><i class="amp">&</i> Result</span>
</span>
</label>
<input type="radio" name="page" value="all" id="page-all" checked data-scope="file" />
<label for="page-all" title="⌘3">
<span class="title">All</span>
</label>
<input type="radio" name="page" value="result" id="page-result" data-scope="file" />
<label for="page-result" title="⌘4">
<span class="title">Result</span>
</label>
</div>
</div>
</header>
<iframe class="page" id="result" name="result" src="/result.html"></iframe>
<section id="html-container" class="editor page">
<pre id="css" lang="css" contenteditable spellcheck="false">/**
* The first commented line is your
* dabblet’s title
*
* Bootstrap CSS & JS is for you to command.
* But you can also add custom CSS here.
*/
body {
padding-top: 60px;
padding-bottom: 40px;
}
</section>
<section id="css-container" class="editor page">
<pre id="html" lang="html" contenteditable spellcheck="false"><!--
Twitter Bootstrap + Dabblet = Live prototyping your bootstrap site!
Edit HTML & CSS code to see changes in real time.
Check out /help for more information.
V Content to be placed inside <body>…</body> V
-->
<div class="navbar navbar-fixed-top">
<div class="navbar-inner">
<div class="container">
<a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</a>
<a class="brand" href="#">Project name</a>
<div class="nav-collapse">
<ul class="nav">
<li class="active"><a href="#">Home</a></li>
<li><a href="#about">About</a></li>
<li><a href="#contact">Contact</a></li>
</ul>
</div><!--/.nav-collapse -->
</div>
</div>
</div>
<div class="container">
<!-- Main hero unit for a primary marketing message or call to action -->
<div class="hero-unit">
<h1>Hello, world!</h1>
<p>This is a template for a simple marketing or informational website.
It includes a large callout called the hero unit and three supporting pieces
of content. Use it as a starting point to create something more unique.</p>
<p><a class="btn btn-primary btn-large">Learn more »</a></p>
</div>
<!-- Example row of columns -->
<div class="row">
<div class="span4">
<h2>Heading</h2>
<p>Donec id elit non mi porta gravida at eget metus. Fusce dapibus,
tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum
massa justo sit amet risus. Etiam porta sem malesuada magna mollis euismod.
Donec sed odio dui. </p>
<p><a class="btn" href="#">View details »</a></p>
</div>
<div class="span4">
<h2>Heading</h2>
<p>Donec id elit non mi porta gravida at eget metus. Fusce dapibus,
tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum
massa justo sit amet risus. Etiam porta sem malesuada magna mollis euismod.
Donec sed odio dui. </p>
<p><a class="btn" href="#">View details »</a></p>
</div>
<div class="span4">
<h2>Heading</h2>
<p>Donec sed odio dui. Cras justo odio, dapibus ac facilisis in,
egestas eget quam. Vestibulum id ligula porta felis euismod semper. Fusce
dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut
fermentum massa justo sit amet risus.</p>
<p><a class="btn" href="#">View details »</a></p>
</div>
</div>
<hr>
<footer>
<p>© Company 2012</p>
</footer>
</div> <!-- /container -->
</pre>
</section>
<div id="color" class="previewer"></div>
<div id="abslength" class="previewer"></div>
<div id="time" class="previewer">
<svg>
<circle cx="32" cy="32" r="15.9">
<animate attributeName="stroke-dasharray" values="0,500;100,500;0,500" dur="5s" repeatCount="indefinite" />
<animate attributeName="stroke-dashoffset" values="0;0;-100" dur="5s" repeatCount="indefinite" />
</circle>
</svg>
</div>
<div id="angle" class="previewer">
<svg>
<circle cx="32" cy="32" r="15.9" stroke-dasharray="0,500" />
</svg>
</div>
<div id="fontfamily" class="previewer">(ABCabc123&@%)
(ABCabc123&@%)</div>
<div id="gradient" class="previewer"><div></div></div>
<div id="easing" class="previewer">
<svg width="100" height="100" viewBox="-20 -20 140 140">
<defs>
<marker id="marker" viewBox="0 0 4 4" refX="2" refY="2" markerUnits="strokeWidth">
<circle cx="2" cy="2" r="1.5" />
</marker>
</defs>
<path d="M0,100 C20,50, 40,30, 100,0" />
<line x1="0" y1="100" x2="20" y2="50" />
<line x1="100" y1="0" x2="40" y2="30" />
</svg>
</div>
<div id="url" class="previewer"><img src="data:," alt="Loading…" /></div>
<div id="entity" class="previewer">f</div>
<div id="loader">Loading…</div>
<script src="/code/util.js"></script><!-- to be removed -->
<script src="/code/utopia.js"></script>
<script src="/code/selection.js"></script>
<script src="/code/code-highlight.js"></script>
<script src="/code/editor.js"></script>
<script src="/code/dabblet.js"></script>
<script src="/code/previewers.js" async defer></script>
</body>
</html>