1+ <link rel =" stylesheet" href =" tutorials.css" >
2+
3+ <style >
4+ #light {
5+ width :60% ;
6+ }
7+ #light img {
8+ width :100% ;
9+ display :none ;
10+ }
11+ #light .off img :first-child {
12+ display :inline-block ;
13+ }
14+ #light .on img :last-child {
15+ display :inline-block ;
16+ }
17+ </style >
18+
19+ <div id =" demoArea" >
20+ <div id =" demoTitle" >{{ demoTitle }} </div >
21+ <div id =" demoDescription" >{{ demoDescription }} </div >
22+ <div id =" light" class =" off" >
23+ <img src =' http://i.imgur.com/T5H4MHE.png' ></img >
24+ <img src =' http://i.imgur.com/8qFj2Ou.png' ></img >
25+ </div >
26+ </div >
27+ <table width =" 60%" height =" 100%" >
28+ <tr >
29+ <td >
30+ <h1 >
31+ <a href =" index-tutorials.html" ><span id =" backIndex" >{{ backIndex }} </span ></a > >
32+ <span id =" title" >...</span ><span id =" subTitle" >{{ subTitle }} </span >
33+ </h1 >
34+ </td >
35+ <td class =" farSide" >
36+ <select id =" languageMenu" ></select >
37+ </td >
38+ </tr >
39+ <tr >
40+ <td colspan = 2>
41+ <table width =" 100%" >
42+ <tr id =" tabRow" height =" 1em" >
43+ <td id =" tab_blocks" class =" tabon" >{{ blocks }} </td >
44+ <td class =" tabmin" > </td >
45+ <td id =" tab_javascript" class =" taboff" >JavaScript</td >
46+ <td class =" tabmin" > </td >
47+ <td id =" tab_xml" class =" taboff" style =" display:none;" >XML</td >
48+ <td class =" tabmax" >
49+ <button id =" trashButton" class =" notext" title =" {{ trashTooltip }} " >
50+ <img src =' media/1x1.gif' class =" trash icon21" >
51+ </button >
52+ <button id =" linkButton" class =" notext" title =" {{ linkTooltip }} " >
53+ <img src =' media/1x1.gif' class =" link icon21" >
54+ </button >
55+ <button id =" runButton" class =" notext primary" title =" {{ runTooltip }} " >
56+ <img src =' media/1x1.gif' class =" run icon21" >
57+ </button >
58+ </td >
59+ </tr >
60+ </table >
61+ </td >
62+ </tr >
63+ <tr >
64+ <td height =" 99%" colspan = 2 id =" content_area" >
65+ </td >
66+ </tr >
67+ </table >
68+
69+ <div id =" content_blocks" class =" content" ></div >
70+ <pre id =" content_javascript" class =" content" ></pre >
71+ <textarea id =" content_xml" class =" content" wrap =" off" ></textarea >
72+
73+ <xml id =" toolbox" style =" display: none" >
74+ <category id =" catVariables" custom =" VARIABLE" ></category >
75+ <category id =" catMath" >
76+ <block type =" math_number" ></block >
77+ </category >
78+ <sep ></sep >
79+ <category id =" catBoard" >
80+ <block type =" board_ready" >
81+ <value name =" device_" >
82+ <block type =" text" ></block >
83+ </value >
84+ </block >
85+ </category >
86+ <category id =" catLed" >
87+ <block type =" variables_set" >
88+ <field name =" VAR" >led</field >
89+ <value name =" VALUE" >
90+ <block type =" led_new" >
91+ <field name =" pin_" >10</field >
92+ </block >
93+ </value >
94+ </block >
95+ <block type =" led_state" >
96+ <field name =" led_" >led</field >
97+ </block >
98+ </category >
99+ <category id =" catSound" >
100+ <block type =" variables_set" >
101+ <field name =" VAR" >sound</field >
102+ <value name =" VALUE" >
103+ <block type =" sound_new" >
104+ <field name =" pin_" >10</field >
105+ </block >
106+ </value >
107+ </block >
108+ <block type =" sound_status" ></block >
109+ </category >
110+ <category id =" catTutorials" >
111+ <block type =" light" ></block >
112+ <block type =" timer" ></block >
113+ </category >
114+ <sep ></sep >
115+ </xml >
0 commit comments