This repository was archived by the owner on Mar 26, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathtutorial.html
197 lines (188 loc) · 8.08 KB
/
tutorial.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
<div id="tutorial-navigator" data-ui="{apptype ? apptypeName : ''}">
<!-- Header -->
<div class="tutorial-header" data-hidden="{!apptype}">
<!-- Step 1 -->
<div class="step-circle active">
<a href="#" on-click="clear">
<div class="mask">
<!-- icon -->
<i class="sprite sprite-{apptype ? apptypeName : ''}-mask"></i>
</div>
</a>
</div>
<!-- Step 2 -->
<div class="step-circle {nativePlatform || hybridPlatform || clientPlatform || serverPlatform ? 'active' : ''}">
<a href="#" on-click="clearTwo" >
<div class="mask icons">
<!-- icon -->
<i style="background-image:url({nativePlatform || hybridPlatform || clientPlatform || serverPlatform ? platformIcon : ''});"></i>
</div>
</a>
</div>
<!-- Step 3 -->
<div class="step-circle {serverApi ? 'active' : ''}">
<a href="#" on-click="noop" >
<div class="mask icons">
<!-- icon -->
<i style="background-image:url({serverApi ? apiIcon : ''});"></i>
</div>
</a>
</div>
</div>
<!-- Body -->
<div class="tutorial-body">
<!-- Aplication Type -->
<div class="row step select-app-type" data-hidden="apptype" keyboard-navigate="{!apptype}" >
<h2>Select an application type</h2>
<div each="apptypes" class="app-type col-xs-3" data-type="{name}" on-click="apptypeselect" on-hover="{!apptype}" keynav-item>
<a href="#" class="app-type-item {name}">
<div class="grafic">
<i class="sprite sprite-{name}"></i>
</div>
<h3 class="label" data-text="title"></h3>
<div class="description">
<div class="inline-middle">
<span data-text="description"></span>
<span data-text="example"></span>
</div>
</div>
</a>
</div>
</div>
<!-- Cliente -->
<div class="row step select-platform-native-mobile" data-hidden="{apptype !== 'native-mobile' || nativePlatform}" keyboard-navigate="{!(apptype !== 'native-mobile' || nativePlatform)}" >
<h2>Select your native SDK</h2>
<!-- items -->
<div each="nativeplatforms" data-name="{name}" class="tutorial-item" on-click="nativeplatformselect" keynav-item >
<a data-href="url" class="logo-tutorial">
<div class="grafic">
<i style="background-image:url({image});"></i>
</div>
<div class="description">
<div class="inline-middle">
<span data-text="title"></span>
</div>
</div>
</a>
</div>
</div>
<div class="row step select-platform-client" data-hidden="{apptype !== 'spa' || clientPlatform}" keyboard-navigate="{!(apptype !== 'spa' || clientPlatform)}" >
<h2>What will you use in the FrontEnd?</h2>
<!-- items -->
<div each="clientplatforms" data-name="{name}" class="tutorial-item" on-click="clientplatformselect" keynav-item >
<a data-href="url" class="logo-tutorial">
<div class="grafic">
<i style="background-image:url({image});"></i>
</div>
<div class="description">
<div class="inline-middle">
<span data-text="title"></span>
</div>
</div>
</a>
</div>
</div>
<div class="row step select-platform-hybrid" data-hidden="{apptype !== 'hybrid' || hybridPlatform}" keyboard-navigate="{!(apptype !== 'hybrid' || hybridPlatform)}">
<h2>Select your hybrid SDK</h2>
<!-- items -->
<div each="hybridplatforms" data-name="{name}" class="tutorial-item" on-click="hybridplatformselect" keynav-item >
<a data-href="url" class="logo-tutorial">
<div class="grafic">
<i style="background-image:url({image});"></i>
</div>
<div class="description">
<div class="inline-middle">
<span data-text="title"></span>
</div>
</div>
</a>
</div>
</div>
<!-- Backend -->
<div class="row step select-platform-api" data-visible="{!(!apptype || apptype === 'webapp' || serverApi || codevisible || !(clientPlatform || nativePlatform || hybridPlatform))}" keyboard-navigate="{!(!apptype || apptype === 'webapp' || serverApi || codevisible || !(clientPlatform || nativePlatform || hybridPlatform))}">
<h2>Will you use an API Server <br>with your {'spa' === apptype ? 'javascript' : 'mobile'} application?</h2>
<!-- Search & Skip -->
<div class="text-center">
<div class="inputs">
<button on-click="showCode" class="skip visible" keynav-item >Skip</button>
</div>
</div>
<!-- items -->
<h3>Backend Platform</h3>
<div class="clearfix">
<div each="serverapis" data-name="{name}" class="tutorial-item" on-click="serverapiselect" data-hidden="thirdParty" keynav-item >
<a data-href="url" class="logo-tutorial">
<div class="grafic">
<i style="background-image:url({image});"></i>
</div>
<div class="description">
<div class="inline-middle">
<span data-text="title"></span>
</div>
</div>
</a>
</div>
</div>
<h3>3rd Party API</h3>
<div class="clearfix">
<div each="serverapis" data-name="{name}" class="tutorial-item" on-click="serverapiselect" data-hidden="{!thirdParty}" keynav-item >
<a data-href="url" class="logo-tutorial">
<div class="grafic">
<i style="background-image:url({image});"></i>
</div>
<div class="description">
<div class="inline-middle">
<span data-text="title"></span>
</div>
</div>
</a>
</div>
</div>
</div>
<!-- Server -->
<div class="row step select-platform-server" data-hidden="{apptype !== 'webapp' || serverPlatform}" keyboard-navigate="{!(apptype !== 'webapp' || serverPlatform)}">
<h3>What technology are you using for your WebApp?</h3>
<div each="serverplatforms" data-name="{name}" class="tutorial-item" on-click="serverplatformselect" keynav-item >
<a data-href="url" class="logo-tutorial">
<div class="grafic">
<i style="background-image:url({image});"></i>
</div>
<div class="description">
<div class="inline-middle">
<span data-text="title"></span>
</div>
</div>
</a>
</div>
<p>Are you using a FrontEnd technology like AngularJS? If so, check the <a on-click="apptypeselect" data-type="spa">Single Page App</a> tutorial.</p>
</div>
<!-- Snippets Documentation -->
<div class="row code-snippets" data-visible="codevisible" keyboard-navigate="codevisible" >
<h2>Let's code! Enjoy :)</h2>
<div class="snippet-tabs" data-hidden="{!serverApi}">
<div class="snippet-tab" on-click="showNative" data-hidden="{!nativePlatform}" >
<a class="{nativevisible ? 'active' : ''}"><span>{nativePlatform ? platformTitle : ''}</span></a>
</div>
<div class="snippet-tab" on-click="showHybrid" data-hidden="{!hybridPlatform}" >
<a class="{hybridvisible ? 'active' : ''}" ><span>{hybridPlatform ? platformTitle: ''}</span></a>
</div>
<div class="snippet-tab" on-click="showClient" data-hidden="{!clientPlatform}" >
<a class="{clientvisible ? 'active' : ''}"><span>{clientPlatform ? platformTitle : ''}</span></a>
</div>
<div class="snippet-tab" on-click="showServerApi" >
<a class="{serverapivisible ? 'active' : ''}"><span>{serverApi ? apiTitle : ''}</span></a>
</div>
</div>
<div class="snippet" tutorial-fetch="{nativePlatform && codevisible ? nativePlatform : '' }" empty-if="{!nativePlatform}" data-visible="{nativevisible}"></div>
<div class="snippet" tutorial-fetch="{hybridPlatform && codevisible ? hybridPlatform : ''}" empty-if="{!hybridPlatform}" data-visible="{hybridvisible}"></div>
<div class="snippet" tutorial-fetch="{clientPlatform && codevisible ? clientPlatform : ''}" empty-if="{!clientPlatform}" data-visible="{clientvisible}"></div>
<div class="snippet" tutorial-fetch="{serverApi && codevisible ? serverApi : ''}" scroll-on="serverapivisible" empty-if="{!serverApi}" data-visible="{serverapivisible}"></div>
<div class="snippet" tutorial-fetch="{serverPlatform && codevisible ? serverPlatform : ''}" empty-if="{!serverPlatform}" data-visible="{apptype === 'webapp'}"></div>
<div class="snippet-tabs" data-hidden="{serverapivisible || !serverApi}">
<div class="snippet-tab center" on-click="showServerApi" >
<a class="{serverapivisible ? 'active' : ''}"><span>Continue with {serverApi ? apiTitle : ''}</span></a>
</div>
</div>
</div>
</div>
</div>