forked from OnsenUI/playground
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tabs.html
executable file
·195 lines (166 loc) · 7.05 KB
/
tabs.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="description" content="Learn how to develop awesome looking hybrid mobile apps with Onsen UI in this playground.">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Onsen UI Playground</title>
<link rel="canonical" href="https://onsen.io/playground/" />
<link rel="stylesheet" href="css/common.css">
<link rel="stylesheet" href="css/dark-skin.css">
<link rel="stylesheet" href="css/dropdown.css">
<link rel="stylesheet" href="css/tabs.css">
<link rel="stylesheet" href="vendor/highlight/chrome.css">
<link rel="stylesheet" href="vendor/highlight/monokai.css">
<script defer src="vendor/emmet/emmet.min.js"></script>
<script defer src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/9.9.0/highlight.min.js"></script>
<script defer src="https://cdnjs.cloudflare.com/ajax/libs/marked/0.3.6/marked.min.js"></script>
<script defer src="https://cdnjs.cloudflare.com/ajax/libs/ace/1.2.6/ace.js" type="text/javascript" charset="utf-8"></script>
<script defer src="https://cdnjs.cloudflare.com/ajax/libs/ace/1.2.6/ext-emmet.js"></script>
<script defer src="https://cdnjs.cloudflare.com/ajax/libs/ace/1.2.6/ext-language_tools.js" type="text/javascript" charset="utf-8"></script>
<script defer src="https://unpkg.com/srcdoc-polyfill@1.0.0/srcdoc-polyfill.min.js"></script>
<script src="js/app.js"></script>
<script src="js/util.js"></script>
<script src="js/config.js"></script>
<script src="js/services.js"></script>
<script src="js/setup.js"></script>
<script src="js/listeners.js"></script>
<script src="js/modules.js"></script>
</head>
<body class="tabbed">
<base target="_blank">
<section id="dropdown-section">
<label id="modules">
<div class="select">
<span class="select-thumbnail"></span>
<span class="select-item">Select Template</span>
<span class="select-arrow"></span>
</div>
<input type="checkbox">
<div class="menu">
<div class="menu-mask"></div>
<div class="menu-container">
<label class="menu-search">
<input id="search-input" type="search" placeholder="Filter by space-separated keywords (e.g. page push)" autocomplete="off">
</label>
<ul class="menu-list">
<li class="framework-item">
<input type="radio" id="r-vanilla" name="framework" checked>
<label for="r-vanilla" framework="vanilla">
<div class="framework-logo"></div>
</label>
<ul class="module-list"></ul>
</li>
<li class="framework-item">
<input type="radio" id="r-angular1" name="framework">
<label for="r-angular1" framework="angular1">
<div class="framework-logo"></div>
</label>
<ul class="module-list"></ul>
</li>
<li class="framework-item">
<input type="radio" id="r-angular2" name="framework">
<label for="r-angular2" framework="angular2">
<div class="framework-logo"></div>
</label>
<ul class="module-list"></ul>
</li>
<li class="framework-item">
<input type="radio" id="r-react" name="framework">
<label for="r-react" framework="react">
<div class="framework-logo"></div>
</label>
<ul class="module-list"></ul>
</li>
<li class="framework-item">
<input type="radio" id="r-vue" name="framework">
<label for="r-vue" framework="vue">
<div class="framework-logo"></div>
</label>
<ul class="module-list"></ul>
</li>
</ul>
<div>
</div>
</label>
</section>
<section id="tabs-section">
<ul class="tabs">
<li class="tab">
<input type="radio" id="tab-1" name="tab-group-1">
<label for="tab-1">HTML</label>
<div class="content">
<div id="html-input" class="frame input"></div>
</div>
</li>
<li class="tab">
<input type="radio" id="tab-2" name="tab-group-1">
<label for="tab-2">JS</label>
<div class="content">
<div id="js-input" class="frame input"></div>
</div>
</li>
<li class="tab">
<input type="radio" id="tab-3" name="tab-group-1" checked>
<label for="tab-3">Demo</label>
<div class="content">
<div id="output" class="frame">
<div class="preview-toolbar">
<div id="run" class="custom-button"><span><span>▶</span><span class="button-text"> Run</span></span></div>
<span id="styling">
<label class="custom-button">
<input type="radio" name="styling" checked>
<span platform="ios"><span class="styling-icon icon-ios"></span><span class="styling-label button-text">iOS View</span></span>
</label>
<label class="custom-button">
<input type="radio" name="styling">
<span platform="android"><span class="styling-icon icon-android"></span><span class="styling-label button-text">Android View</span></span>
</label>
</span>
</div>
<iframe frameborder="0" scrolling="no"></iframe>
</div>
</div>
</li>
<li class="tab">
<input type="radio" id="tab-4" name="tab-group-1">
<label for="tab-4">Docs</label>
<div class="content">
<div id="tutorial-content" class="frame"></div>
<div id="tutorial-pages">
<span id="pages-previous">◀</span>
<span id="pages-current">1</span>
/
<span id="pages-total">1</span>
<span id="pages-next">▶</span>
</div>
</div>
</li>
</ul>
</section>
<div class="settings-button" title="Show settings"></div>
<div class="icon-ios icon-android" style="display: none"></div>
<div id="placeholder">
<svg version="1.0" xmlns="http://www.w3.org/2000/svg"
width="86.000000pt" height="81.000000pt" viewBox="0 0 86.000000 81.000000"
preserveAspectRatio="xMidYMid meet">
<metadata>
</metadata>
<g transform="translate(0.000000,81.000000) scale(0.100000,-0.100000)"
fill="#000000" stroke="none">
<path style="fill: #FC3429;" d="M651 777 c-19 -7 -43 -24 -54 -38 -18 -25 -18 -33 -7 -137 14 -129 5
-204 -34 -282 -22 -45 -23 -49 -7 -40 35 18 84 74 103 118 14 31 21 80 27 187
6 107 12 150 24 169 10 14 17 28 17 31 0 8 -33 5 -69 -8z"/>
<path style="fill: #FC3429;" d="M478 705 c-23 -15 -47 -46 -65 -82 -26 -54 -28 -66 -29 -188 0 -72
-2 -136 -2 -142 -3 -23 -40 -13 -66 17 -32 38 -40 81 -34 178 5 80 26 135 68
180 26 27 20 28 -29 2 -111 -56 -141 -111 -146 -259 -2 -74 -8 -117 -19 -138
-15 -30 -15 -31 7 -37 12 -4 60 -9 108 -13 72 -5 92 -3 131 15 77 34 82 50 88
252 5 140 9 181 23 208 21 38 14 40 -35 7z"/>
<path style="fill: #FC3429;" d="M738 487 c62 -66 50 -156 -35 -248 -127 -137 -372 -191 -526 -115
-71 34 -98 71 -106 145 l-6 56 -13 -34 c-16 -46 -15 -116 3 -150 90 -174 483
-156 681 31 65 61 94 118 94 182 0 56 -18 94 -60 130 -39 32 -61 34 -32 3z"/>
</g>
</svg>
</div>
</body>
</html>