-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathindex.html
More file actions
153 lines (150 loc) · 7 KB
/
Copy pathindex.html
File metadata and controls
153 lines (150 loc) · 7 KB
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
<!DOCTYPE html>
<html lang="en">
<head>
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-87806955-3"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag() {
dataLayer.push(arguments);
}
gtag('js', new Date());
gtag('config', 'UA-87806955-3');
</script>
<meta charset="utf-8" />
<title>Learn NativeScript Layouts - A tool for learning cross-platform iOS and Android layouts with NativeScript</title>
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta property="og:url" content="https://www.nslayouts.com" />
<meta property="og:type" content="website" />
<meta property="og:title" content="Learn NativeScript Layouts" />
<meta property="og:description" content="A tool for learning cross-platform iOS and Android layouts with NativeScript" />
<meta property="og:image" content="https://www.nslayouts.com/images/screenshot.png" />
<meta name="twitter:url" content="https://www.nslayouts.com" />
<meta name="twitter:title" content="Learn NativeScript Layouts" />
<meta name="twitter:description" content="A tool for learning cross-platform iOS and Android layouts with NativeScript" />
<meta name="twitter:image" content="https://www.nslayouts.com/images/screenshot.png" />
<link rel="stylesheet" type="text/css" href="https://fonts.googleapis.com/css?family=Source+Code+Pro" />
<link rel="stylesheet" type="text/css" href="css/style.css" />
<link rel="stylesheet" type="text/css" href="css/animate.min.css" />
<link rel="stylesheet" type="text/css" href="css/device-mockups.min.css" />
</head>
<body>
<div id="page-content">
<section id="sidebar">
<div>
<div id="level-counter">
<span class="arrow left">◀</span>
<span id="level-indicator">
<span id="labelLevel" class="translate">Level</span>
<span class="current">1</span>
<span id="labelOf" class="translate">of</span>
<span class="total">1</span>
<span class="caret">▾</span>
</span>
<span class="arrow right">▶</span>
<div id="levelsWrapper" class="tooltip">
<div id="levels"></div>
<div id="labelReset" class="translate">Reset</div>
</div>
</div>
<h1>Learn {N} Layouts</h1>
<p id="instructions"></p>
<p id="docs"></p>
</div>
<div id="editor">
<div id="css">
<div class="line-numbers">1 <br />2 <br />3 <br />4 <br />5 <br />6 <br />7 <br />8 <br />9 <br />10</div>
<pre id="before"></pre>
<textarea id="code" autofocus autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false"></textarea>
<pre id="after"></pre>
</div>
<button id="help" class="translate">Help!</button>
<button id="next" class="translate">Next</button>
</div>
<!-- <div id="share">
<p class="img-next">
<a href="http://cssgridgarden.com"><img src="images/next-gridgarden.png"></a>
<a href="http://treehouse.7eer.net/c/371033/228915/3944?subId1=flexboxfroggy"><img src="images/next-treehouse.png"></a>
</p>
<p class="social">
<span id="tweet">
<a href="https://twitter.com/share" class="twitter-share-button"{count} data-url="http://flexboxfroggy.com" data-via="playcodepip">Tweet</a>
<a href="https://twitter.com/playcodepip" class="twitter-follow-button" data-show-count="false">Follow @playcodepip</a>
</span>
</p>
</div> -->
<div class="credits">
<span id="labelFooter" class="translate">Try NativeScript in your browser: </span> <a href="https://play.nativescript.org/">Playground</a> <br /><br />
<span id="labelFooter" class="translate">Built with ❤️ by <a href="https://twitter.com/RobLauer">@RobLauer</a> • Report any issues on</span> <a href="https://github.com/rdlauer/nslayouts">GitHub</a> <br /><br />
<span id="labelFooter" class="translate">Find NativeScript on</span>
<a href="https://github.com/NativeScript">GitHub</a> • <a href="https://twitter.com/NativeScript">Twitter</a> • <a href="https://www.nativescript.org/slack-invitation-form">Slack</a> •
<a href="https://stackoverflow.com/questions/tagged/nativescript">Stack Overflow</a>
<!-- <span id="language">
<span id="languageActive" class="toggle translate">English</span>
<span class="tooltip">
<a href="#en">English</a>
<a href="#es">Español</a>
<a href="#fr">Français</a>
<a href="#de">Deutsch</a>
<a href="#nl">Nederlands</a>
<a href="#pt-br">Português</a>
<a href="#it">Italiano</a>
<a href="#sv">Svenska</a>
<a href="#pl">Polski</a>
<a href="#cs">Česky</a>
<a href="#hu">Magyar</a>
<a href="#ro">Română</a>
<a href="#bg">Български</a>
<a href="#lt">Lietuvių</a>
<a href="#uk">Українська</a>
<a href="#ru">Русский</a>
<a href="#sr">Српски</a>
<a href="#tr">Türkçe</a>
<a href="#fa">فارسی</a>
<a href="#hi">हिंदी</a>
<a href="#ta">தமிழ்</a>
<a href="#ml">മലയാളം</a>
<a href="#zh-cn">简体中文</a>
<a href="#zh-tw">繁體中文</a>
<a href="#ja">日本語</a>
<a href="#ko">한국어</a>
<a href="#vi">Tiếng Việt</a>
<a href="#eo">Esperanto</a>
</span>
</span> -->
</div>
<div class="credits">
<span id="gridGarden" class="translate">Want to learn <a href="https://www.nativescript.org/blog/a-quick-introduction-to-flexbox-in-nativescript" target="_blank">Flexbox for NativeScript</a>? Play</span>
<a href="http://flexboxfroggy.com" target="_blank">Flexbox Froggy</a>.
</div>
</section>
<section id="view">
<div id="board">
<div id="pond">
<div class="device-wrapper">
<div class="device" data-device="iPhoneX" data-orientation="portrait" data-color="black">
<!-- <div class="screen-actionbar">
</div> -->
<div class="screen">
<!-- PUT CONTENTS HERE -->
</div>
<div class="button">
<!-- You can hook the "home button" to some JavaScript events or just remove it -->
</div>
</div>
</div>
</div>
<div id="background"></div>
</div>
<div id="holding"></div>
<div id="holding-hidden"></div>
</section>
</div>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.2.4/jquery.min.js"></script>
<script src="https://ajax.googleapis.com/ajax/libs/jqueryui/1.12.1/jquery-ui.min.js"></script>
<!-- <script src="https://unpkg.com/parse@1.9.2/dist/parse.min.js"></script> -->
<script src="js/levels.js"></script>
<script src="js/docs.js"></script>
<script src="js/messages.js"></script>
<script src="js/game.js"></script>
</body>
</html>