forked from Olical/jsFiddle-extension
-
Notifications
You must be signed in to change notification settings - Fork 0
/
popup.html
116 lines (91 loc) · 3.78 KB
/
popup.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
<link rel='stylesheet' type='text/css' href='style.css' />
<div class='wrapper'>
<div class='banner'>
<a href='http://jsfiddle.net/' target='_blank'>
<img src='icon-inverted.png' alt='jsFiddle' />
<h1>jsFiddle</h1>
</a>
</div>
<div id='viewFiddle'>
<p><a href='javascript:void(0)' id='openCreateFiddle'>Click here to create a new fiddle</a></p>
<ul></ul>
</div>
<div id='createFiddle'>
<p><a href='javascript:void(0)' id='openViewFiddle'>Click here to view your fiddles</a></p>
<form action='http://jsfiddle.net/api/post/mootools/1.3/' method='post' target='check'>
<p>Framework</p>
<select name='framework' onchange='changeAction(this.form.framework.options[this.form.framework.selectedIndex].value, this.form.dependency_list.value)'>
<optgroup label='Mootools'>
<option value='mootools/1.3'>Mootools 1.3</option>
<option value='mootools/1.2.5'>Mootools 1.2.5</option>
<option value='mootools/1.1.2'>Mootools 1.1.2</option>
</optgroup>
<optgroup label='jQuery'>
<option value='jquery/1.5'>jQuery 1.5</option>
<option value='jquery/1.4.4'>jQuery 1.4.4</option>
<option value='jquery/1.4.3'>jQuery 1.4.3</option>
<option value='jquery/1.3.2'>jQuery 1.3.2</option>
<option value='jquery/1.2.6'>jQuery 1.2.6</option>
</optgroup>
<optgroup label='Prototype'>
<option value='prototype/1.7'>Prototype 1.7</option>
<option value='prototype/1.6.1.0'>Prototype 1.6.1.0</option>
</optgroup>
<optgroup label='YUI'>
<option value='yui/3.3.0'>YUI 3.3.0</option>
<option value='yui/3.2.0'>YUI 3.2.0</option>
<option value='yui/2.8.0'>YUI 2.8.0</option>
</optgroup>
<optgroup label='Glow'>
<option value='glow/1.7.0'>Glow core 1.7.0</option>
</optgroup>
<optgroup label='No Library'>
<option value='library/pure'>No Library (pure JS)</option>
</optgroup>
<optgroup label='Dojo'>
<option value='dojo/1.5'>Dojo 1.5</option>
<option value='dojo/1.4'>Dojo 1.4</option>
<option value='dojo/1.3'>Dojo 1.3</option>
</optgroup>
<optgroup label='Processing.js'>
<option value='processing.js/1.0.0'>Processing.js 1.0.0</option>
<option value='processing.js/0.9.7'>Processing.js 0.9.7</option>
<option value='processing.js/0.6'>Processing.js 0.6</option>
</optgroup>
<optgroup label='ExtJS'>
<option value='extjs/3.1.0'>ExtJS 3.1.0</option>
<option value='extjs/3.0.0'>ExtJS 3.0.0</option>
</optgroup>
<optgroup label='Raphael'>
<option value='raphael/1.5.2'>Raphael 1.5.2</option>
<option value='raphael/1.4'>Raphael 1.4</option>
</optgroup>
<optgroup label='RightJS'>
<option value='rightjs/1.5.2'>RightJS 2.1.1</option>
</optgroup>
</select>
<p>Dependencies (No spaces, comma separated)</p>
<input type='text' name='dependency_list' onchange='changeAction(this.form.framework.options[this.form.framework.selectedIndex].value, this.form.dependency_list.value)' />
<p>Resources (No spaces, comma separated)</p>
<textarea name='resources' class='small'></textarea>
<p>Title</p>
<input type='text' name='title' />
<p>Description</p>
<input type='text' name='description' />
<p>Doctype</p>
<input type='text' name='dtd' value='html 5' />
<p>HTML</p>
<textarea name='html'></textarea>
<p>CSS</p>
<textarea name='css'></textarea>
<p>JavaScript</p>
<textarea name='js'></textarea>
<input type='submit' value='Send to jsFiddle!' />
</form>
</div>
<div id='configure'>
<p>Please configure the extension first by right clicking the icon and clicking <strong>Options</strong>.</p>
</div>
</div>
<script type='text/javascript' src='spark.js'></script>
<script type='text/javascript' src='main.js'></script>