blob: 941bddb805530464f132a8eafc99c232007d967c [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
Dirk Dougherty18dca5d2012-11-30 12:44:40 -080020<?cs if:(design||training||walkthru) && !page.trainingcourse && !page.article ?><?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 Main235f4d42012-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 Main235f4d42012-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 ?>
Scott Maine0c11a62012-11-13 07:47:50 -080097 <?cs if:tab1 ?><div id="title-tabs-wrapper"><?cs /if ?>
Scott Mainbbffb4b2012-11-13 07:40:16 -080098 <h1 itemprop="name" <?cs if:tab1 ?>class="with-title-tabs"<?cs /if ?>><?cs var:page.title ?></h1><?cs
99 if:tab1 ?><ul id="title-tabs">
100 <li class="selected"><a href="<?cs var:tab1.link ?>"><?cs var:tab1 ?></a></li>
101 <?cs if:tab2 ?>
102 <li><a href="<?cs var:tab2.link ?>"><?cs var:tab2 ?></a></li><?cs /if ?>
103 <?cs if:tab3 ?>
104 <li><a href="<?cs var:tab3.link ?>"><?cs var:tab3 ?></a></li><?cs /if ?>
105 </ul>
Scott Maine0c11a62012-11-13 07:47:50 -0800106 <?cs /if ?>
107 <?cs if:tab1 ?></div><!-- end tab-wrapper --><?cs /if ?>
Scott Mainadc61d62011-11-30 18:55:01 -0800108 <?cs /if ?>
Scott Maine4d8f1b2012-06-21 18:03:05 -0700109 <?cs /if ?>
110<?cs /if ?><?cs # end if design ?>
Scott Mainadc61d62011-11-30 18:55:01 -0800111
112 <?cs # THIS IS THE MAIN DOC CONTENT ?>
113 <div id="jd-content">
Scott Mainadc61d62011-11-30 18:55:01 -0800114
115
Scott Main3652a112012-01-30 13:03:08 -0800116 <div class="jd-descr" itemprop="articleBody">
Scott Mainadc61d62011-11-30 18:55:01 -0800117 <?cs call:tag_list(root.descr) ?>
118 </div>
Scott Maine4d8f1b2012-06-21 18:03:05 -0700119
120 <div class="content-footer <?cs
121 if:fullpage ?>wrap<?cs
122 else ?>layout-content-row<?cs /if ?>"
123 itemscope itemtype="http://schema.org/SiteNavigationElement">
124 <div class="layout-content-col <?cs
125 if:fullpage ?>col-16<?cs
126 elif:training||guide ?>col-8<?cs
127 else ?>col-9<?cs /if ?>" style="padding-top:4px">
128 <?cs if:!page.noplus ?><?cs if:fullpage ?><style>#___plusone_0 {float:right !important;}</style><?cs /if ?>
129 <div class="g-plusone" data-size="medium"></div>
130 <?cs /if ?>
131 </div>
132 <?cs if:!fullscreen ?>
133 <div class="paging-links layout-content-col col-4">
Scott Main5a1123e2012-09-26 12:51:28 -0700134 <?cs if:(design||training||guide||walkthru) && !page.landing && !page.trainingcourse && !footer.hide ?>
Scott Main235f4d42012-10-02 17:12:23 -0700135 <a href="#" class="prev-page-link hide"
136 zh-TW-lang="上一堂課"
137 zh-CN-lang="上一课"
138 ru-lang="Предыдущий"
139 ko-lang="이전"
140 ja-lang="前へ"
141 es-lang="Anterior"
142 >Previous</a>
143 <a href="#" class="next-page-link hide"
144 zh-TW-lang="下一堂課"
145 zh-CN-lang="下一课"
146 ru-lang="Следующий"
147 ko-lang="다음"
148 ja-lang="次へ"
149 es-lang="Siguiente"
150 >Next</a>
Scott Maine4d8f1b2012-06-21 18:03:05 -0700151 <?cs /if ?>
152 </div>
153 <?cs /if ?>
154 </div>
155
156 <?cs # for training classes, provide a different kind of link when the next page is a different class ?>
Dirk Dougherty18dca5d2012-11-30 12:44:40 -0800157 <?cs if:training && !page.article ?>
Scott Maine4d8f1b2012-06-21 18:03:05 -0700158 <div class="layout-content-row content-footer next-class" style="display:none" itemscope itemtype="http://schema.org/SiteNavigationElement">
159 <a href="#" class="next-class-link hide">Next class: </a>
Scott Mainadc61d62011-11-30 18:55:01 -0800160 </div>
161 <?cs /if ?>
162
Scott Mainadc61d62011-11-30 18:55:01 -0800163 </div> <!-- end jd-content -->
164
165<?cs include:"footer.cs" ?>
166</div><!-- end doc-content -->
167
168<?cs include:"trailer.cs" ?>
169
170</body>
171</html>
172
173
174