blob: 00ca5e0f81cbedf693869a0a22f844b59343b9ec [file] [log] [blame]
Scott Mainadc61d62011-11-30 18:55:01 -08001<?cs include:"doctype.cs" ?>
2<?cs include:"macros.cs" ?>
3<html>
4<?cs include:"head_tag.cs" ?>
Scott Maine4d8f1b2012-06-21 18:03:05 -07005<body class="gc-documentation
6 <?cs if:(guide||develop||training||reference||tools||sdk) ?>develop<?cs if:guide ?> guide<?cs /if ?><?cs
7 elif:about ?>about<?cs
8 elif:design ?>design<?cs
9 elif:distribute ?>distribute<?cs
Scott Main5a1123e2012-09-26 12:51:28 -070010 /if ?><?cs
11 if:page.trainingcourse ?> trainingcourse<?cs /if ?>" itemscope itemtype="http://schema.org/Article">
Scott Maine4d8f1b2012-06-21 18:03:05 -070012<a name="top"></a>
Scott Mainadc61d62011-11-30 18:55:01 -080013<?cs include:"header.cs" ?>
14
Scott Maine4d8f1b2012-06-21 18:03:05 -070015<div <?cs if:fullpage
Scott Mainf5089842012-08-14 16:31:07 -070016?>class="fullpage"<?cs elif:design||tools||about||sdk||distribute
Scott Maine4d8f1b2012-06-21 18:03:05 -070017?>class="col-13" id="doc-col"<?cs else
18?>class="col-12" id="doc-col"<?cs /if ?> >
Scott Mainadc61d62011-11-30 18:55:01 -080019
Scott Main5a1123e2012-09-26 12:51:28 -070020<?cs if:(design||training||walkthru) && !page.trainingcourse ?><?cs # header logic for docs that provide previous/next buttons ?>
Scott Maine4d8f1b2012-06-21 18:03:05 -070021 <?cs if:header.hide ?>
22 <?cs else ?>
23 <div class="layout-content-row content-header <?cs if:header.justLinks ?>just-links<?cs /if ?>">
24 <div class="layout-content-col <?cs if:training ?>span-7<?cs else ?>span-9<?cs /if ?>">
25 <?cs if:header.justLinks ?>&nbsp;
26 <?cs else ?><h1 itemprop="name"><?cs var:page.title ?></h1>
27 <?cs /if ?>
28 </div>
29 <?cs if:training ?>
30 <div class="training-nav-top layout-content-col span-5" itemscope itemtype="http://schema.org/SiteNavigationElement">
Scott Main6eb95f12012-10-02 17:12:23 -070031 <a href="#" class="prev-page-link hide"
32 zh-TW-lang="上一堂課"
33 zh-CN-lang="上一课"
34 ru-lang="Предыдущий"
35 ko-lang="이전"
36 ja-lang="前へ"
37 es-lang="Anterior"
38 >Previous</a>
39 <a href="#" class="next-page-link hide"
40 zh-TW-lang="下一堂課"
41 zh-CN-lang="下一课"
42 ru-lang="Следующий"
43 ko-lang="다음"
44 ja-lang="次へ"
45 es-lang="Siguiente"
46 >Next</a>
47 <a href="#" class="start-class-link hide"
48 zh-TW-lang="開始上課"
49 zh-CN-lang="开始"
50 ru-lang="Начало работы"
51 ko-lang="시작하기"
52 ja-lang="開始する"
53 es-lang="Empezar"
54 >Get started</a>
Scott Maine4d8f1b2012-06-21 18:03:05 -070055 </div>
Scott Main5a1123e2012-09-26 12:51:28 -070056 <?cs elif:!page.trainingcourse ?>
Scott Maine4d8f1b2012-06-21 18:03:05 -070057 <div class="paging-links layout-content-col span-4" itemscope itemtype="http://schema.org/SiteNavigationElement">
Scott Main6eb95f12012-10-02 17:12:23 -070058 <a href="#" class="prev-page-link hide"
59 zh-TW-lang="上一堂課"
60 zh-CN-lang="上一课"
61 ru-lang="Предыдущий"
62 ko-lang="이전"
63 ja-lang="前へ"
64 es-lang="Anterior"
65 >Previous</a>
66 <a href="#" class="next-page-link hide"
67 zh-TW-lang="下一堂課"
68 zh-CN-lang="下一课"
69 ru-lang="Следующий"
70 ko-lang="다음"
71 ja-lang="次へ"
72 es-lang="Siguiente"
73 >Next</a>
Scott Maine4d8f1b2012-06-21 18:03:05 -070074 </div>
75 <?cs /if ?><?cs # end if training ?>
76 </div>
77 <?cs /if ?>
78<?cs else ?>
79 <?cs if:(!fullpage && !header.hide) ?>
80 <?cs if:page.landing ?><?cs # header logic for docs that are landing pages ?>
81 <div class="landing-banner">
Scott Main0e71cee2012-08-07 13:59:43 -070082 <?cs if:page.landing.image ?><?cs # use two-column layout only if there's an image ?>
Scott Maine4d8f1b2012-06-21 18:03:05 -070083 <div class="col-6">
Scott Maine4d8f1b2012-06-21 18:03:05 -070084 <img src="<?cs var:toroot ?><?cs var:page.landing.image ?>" alt="" />
Scott Maine4d8f1b2012-06-21 18:03:05 -070085 </div>
86 <div class="col-6">
Scott Main0e71cee2012-08-07 13:59:43 -070087 <?cs /if ?>
Scott Maine4d8f1b2012-06-21 18:03:05 -070088 <h1 itemprop="name" style="margin-bottom:0;"><?cs var:page.title ?></h1>
89 <p itemprop="description"><?cs var:page.landing.intro ?></p>
90
Scott Mainb505ca62012-07-26 18:00:14 -070091 <p><a class="next-page-link topic-start-link"></a></p>
Scott Main0e71cee2012-08-07 13:59:43 -070092 <?cs if:page.landing.image ?>
Scott Maine4d8f1b2012-06-21 18:03:05 -070093 </div>
Scott Main0e71cee2012-08-07 13:59:43 -070094 <?cs /if ?>
Scott Maine4d8f1b2012-06-21 18:03:05 -070095 </div>
96 <?cs else ?>
97 <h1 itemprop="name"><?cs var:page.title ?></h1>
Scott Mainadc61d62011-11-30 18:55:01 -080098 <?cs /if ?>
Scott Maine4d8f1b2012-06-21 18:03:05 -070099 <?cs /if ?>
100<?cs /if ?><?cs # end if design ?>
Scott Mainadc61d62011-11-30 18:55:01 -0800101
102 <?cs # THIS IS THE MAIN DOC CONTENT ?>
103 <div id="jd-content">
Scott Mainadc61d62011-11-30 18:55:01 -0800104
105
Scott Main3652a112012-01-30 13:03:08 -0800106 <div class="jd-descr" itemprop="articleBody">
Scott Mainadc61d62011-11-30 18:55:01 -0800107 <?cs call:tag_list(root.descr) ?>
108 </div>
Scott Maine4d8f1b2012-06-21 18:03:05 -0700109
110 <div class="content-footer <?cs
111 if:fullpage ?>wrap<?cs
112 else ?>layout-content-row<?cs /if ?>"
113 itemscope itemtype="http://schema.org/SiteNavigationElement">
114 <div class="layout-content-col <?cs
115 if:fullpage ?>col-16<?cs
116 elif:training||guide ?>col-8<?cs
117 else ?>col-9<?cs /if ?>" style="padding-top:4px">
118 <?cs if:!page.noplus ?><?cs if:fullpage ?><style>#___plusone_0 {float:right !important;}</style><?cs /if ?>
119 <div class="g-plusone" data-size="medium"></div>
120 <?cs /if ?>
121 </div>
122 <?cs if:!fullscreen ?>
123 <div class="paging-links layout-content-col col-4">
Scott Main5a1123e2012-09-26 12:51:28 -0700124 <?cs if:(design||training||guide||walkthru) && !page.landing && !page.trainingcourse && !footer.hide ?>
Scott Main6eb95f12012-10-02 17:12:23 -0700125 <a href="#" class="prev-page-link hide"
126 zh-TW-lang="上一堂課"
127 zh-CN-lang="上一课"
128 ru-lang="Предыдущий"
129 ko-lang="이전"
130 ja-lang="前へ"
131 es-lang="Anterior"
132 >Previous</a>
133 <a href="#" class="next-page-link hide"
134 zh-TW-lang="下一堂課"
135 zh-CN-lang="下一课"
136 ru-lang="Следующий"
137 ko-lang="다음"
138 ja-lang="次へ"
139 es-lang="Siguiente"
140 >Next</a>
Scott Maine4d8f1b2012-06-21 18:03:05 -0700141 <?cs /if ?>
142 </div>
143 <?cs /if ?>
144 </div>
145
146 <?cs # for training classes, provide a different kind of link when the next page is a different class ?>
147 <?cs if:training ?>
148 <div class="layout-content-row content-footer next-class" style="display:none" itemscope itemtype="http://schema.org/SiteNavigationElement">
149 <a href="#" class="next-class-link hide">Next class: </a>
Scott Mainadc61d62011-11-30 18:55:01 -0800150 </div>
151 <?cs /if ?>
152
Scott Mainadc61d62011-11-30 18:55:01 -0800153 </div> <!-- end jd-content -->
154
155<?cs include:"footer.cs" ?>
156</div><!-- end doc-content -->
157
158<?cs include:"trailer.cs" ?>
159
160</body>
161</html>
162
163
164