blob: ea462c955adddeb9ba80e2287665319d2ced5c9a [file] [log] [blame]
Scott Mainadc61d62011-11-30 18:55:01 -08001<?cs include:"doctype.cs" ?>
2<?cs include:"macros.cs" ?>
Scott Maine05e6f92013-01-29 13:34:17 -08003<html<?cs if:devsite ?> devsite<?cs /if ?>>
Scott Mainadc61d62011-11-30 18:55:01 -08004<?cs include:"head_tag.cs" ?>
Robert Ly8acd75a2012-11-30 14:02:43 -08005<body class="gc-documentation <?cs if:(google || reference.gms || reference.gcm) ?>google<?cs /if ?>
Dirk Dougherty4f7e5152010-09-16 10:43:40 -07006 <?cs if:(guide||develop||training||reference||tools||sdk||samples) ?>develop<?cs if:guide ?> guide<?cs /if ?><?cs if:samples ?> samples<?cs /if ?><?cs
Scott Maine4d8f1b2012-06-21 18:03:05 -07007 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 Mainadc61d62011-11-30 18:55:01 -080012<?cs include:"header.cs" ?>
13
Scott Maine4d8f1b2012-06-21 18:03:05 -070014<div <?cs if:fullpage
Scott Mainf5089842012-08-14 16:31:07 -070015?>class="fullpage"<?cs elif:design||tools||about||sdk||distribute
Scott Main9ee0fae2014-01-23 10:50:57 -080016?>class="col-13" id="doc-col"<?cs else
Scott Maine4d8f1b2012-06-21 18:03:05 -070017?>class="col-12" id="doc-col"<?cs /if ?> >
Scott Mainadc61d62011-11-30 18:55:01 -080018
Dirk Dougherty18dca5d2012-11-30 12:44:40 -080019<?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 -070020 <?cs if:header.hide ?>
21 <?cs else ?>
22 <div class="layout-content-row content-header <?cs if:header.justLinks ?>just-links<?cs /if ?>">
23 <div class="layout-content-col <?cs if:training ?>span-7<?cs else ?>span-9<?cs /if ?>">
24 <?cs if:header.justLinks ?>&nbsp;
25 <?cs else ?><h1 itemprop="name"><?cs var:page.title ?></h1>
26 <?cs /if ?>
27 </div>
28 <?cs if:training ?>
29 <div class="training-nav-top layout-content-col span-5" itemscope itemtype="http://schema.org/SiteNavigationElement">
Scott Main235f4d42012-10-02 17:12:23 -070030 <a href="#" class="prev-page-link hide"
Dirk Dougherty0b026ce2013-05-04 13:13:21 -070031 zh-tw-lang="上一堂課"
32 zh-cn-lang="上一课"
Scott Main235f4d42012-10-02 17:12:23 -070033 ru-lang="Предыдущий"
34 ko-lang="이전"
35 ja-lang="前へ"
Scott Main9ee0fae2014-01-23 10:50:57 -080036 es-lang="Anterior"
Scott Main235f4d42012-10-02 17:12:23 -070037 >Previous</a>
38 <a href="#" class="next-page-link hide"
Dirk Dougherty0b026ce2013-05-04 13:13:21 -070039 zh-tw-lang="下一堂課"
40 zh-cn-lang="下一课"
Scott Main235f4d42012-10-02 17:12:23 -070041 ru-lang="Следующий"
42 ko-lang="다음"
43 ja-lang="次へ"
Scott Main9ee0fae2014-01-23 10:50:57 -080044 es-lang="Siguiente"
Scott Main235f4d42012-10-02 17:12:23 -070045 >Next</a>
46 <a href="#" class="start-class-link hide"
Dirk Dougherty0b026ce2013-05-04 13:13:21 -070047 zh-tw-lang="開始上課"
48 zh-cn-lang="开始"
Scott Main235f4d42012-10-02 17:12:23 -070049 ru-lang="Начало работы"
50 ko-lang="시작하기"
51 ja-lang="開始する"
Scott Main9ee0fae2014-01-23 10:50:57 -080052 es-lang="Empezar"
Scott Main235f4d42012-10-02 17:12:23 -070053 >Get started</a>
Scott Maine4d8f1b2012-06-21 18:03:05 -070054 </div>
Scott Main5a1123e2012-09-26 12:51:28 -070055 <?cs elif:!page.trainingcourse ?>
Scott Maine4d8f1b2012-06-21 18:03:05 -070056 <div class="paging-links layout-content-col span-4" itemscope itemtype="http://schema.org/SiteNavigationElement">
Scott Main235f4d42012-10-02 17:12:23 -070057 <a href="#" class="prev-page-link hide"
Dirk Dougherty0b026ce2013-05-04 13:13:21 -070058 zh-tw-lang="上一堂課"
59 zh-cn-lang="上一课"
Scott Main235f4d42012-10-02 17:12:23 -070060 ru-lang="Предыдущий"
61 ko-lang="이전"
62 ja-lang="前へ"
Scott Main9ee0fae2014-01-23 10:50:57 -080063 es-lang="Anterior"
Scott Main235f4d42012-10-02 17:12:23 -070064 >Previous</a>
65 <a href="#" class="next-page-link hide"
Dirk Dougherty0b026ce2013-05-04 13:13:21 -070066 zh-tw-lang="下一堂課"
67 zh-cn-lang="下一课"
Scott Main235f4d42012-10-02 17:12:23 -070068 ru-lang="Следующий"
69 ko-lang="다음"
70 ja-lang="次へ"
Scott Main9ee0fae2014-01-23 10:50:57 -080071 es-lang="Siguiente"
Scott Main235f4d42012-10-02 17:12:23 -070072 >Next</a>
Scott Maine4d8f1b2012-06-21 18:03:05 -070073 </div>
74 <?cs /if ?><?cs # end if training ?>
75 </div>
76 <?cs /if ?>
Dirk Doughertybb2b5532013-11-16 16:07:51 -080077<?cs elif:samplesProjectIndex ?>
78 <div id="api-info-block">
79 <div class="sum-details-links">
80 Overview
81 &#124; <a href="<?cs var:toroot ?>samples/<?cs var:projectDir ?>/project.html">Project</a>
82 &#124; <a href="<?cs var:toroot ?>downloads/samples/<?cs var:projectDir ?>.zip">Download</a>
83 </div><!-- end sum-details-links -->
84 </div><!-- end breadcurmb block -->
85 <h1 itemprop="name"><?cs var:projectDir ?></h1>
Scott Maine4d8f1b2012-06-21 18:03:05 -070086<?cs else ?>
87 <?cs if:(!fullpage && !header.hide) ?>
88 <?cs if:page.landing ?><?cs # header logic for docs that are landing pages ?>
89 <div class="landing-banner">
Dirk Doughertybb2b5532013-11-16 16:07:51 -080090 <?cs if:page.landing.image ?><?cs # use two-column layout only if there is an image ?>
Scott Maine4d8f1b2012-06-21 18:03:05 -070091 <div class="col-6">
Scott Maine4d8f1b2012-06-21 18:03:05 -070092 <img src="<?cs var:toroot ?><?cs var:page.landing.image ?>" alt="" />
Scott Maine4d8f1b2012-06-21 18:03:05 -070093 </div>
94 <div class="col-6">
Scott Main0e71cee2012-08-07 13:59:43 -070095 <?cs /if ?>
Scott Maine4d8f1b2012-06-21 18:03:05 -070096 <h1 itemprop="name" style="margin-bottom:0;"><?cs var:page.title ?></h1>
97 <p itemprop="description"><?cs var:page.landing.intro ?></p>
Scott Main9ee0fae2014-01-23 10:50:57 -080098
Scott Mainb505ca62012-07-26 18:00:14 -070099 <p><a class="next-page-link topic-start-link"></a></p>
Scott Main0e71cee2012-08-07 13:59:43 -0700100 <?cs if:page.landing.image ?>
Scott Maine4d8f1b2012-06-21 18:03:05 -0700101 </div>
Scott Main0e71cee2012-08-07 13:59:43 -0700102 <?cs /if ?>
Scott Maine4d8f1b2012-06-21 18:03:05 -0700103 </div>
104 <?cs else ?>
Scott Maine0c11a62012-11-13 07:47:50 -0800105 <?cs if:tab1 ?><div id="title-tabs-wrapper"><?cs /if ?>
Scott Mainbbffb4b2012-11-13 07:40:16 -0800106 <h1 itemprop="name" <?cs if:tab1 ?>class="with-title-tabs"<?cs /if ?>><?cs var:page.title ?></h1><?cs
107 if:tab1 ?><ul id="title-tabs">
108 <li class="selected"><a href="<?cs var:tab1.link ?>"><?cs var:tab1 ?></a></li>
109 <?cs if:tab2 ?>
110 <li><a href="<?cs var:tab2.link ?>"><?cs var:tab2 ?></a></li><?cs /if ?>
111 <?cs if:tab3 ?>
112 <li><a href="<?cs var:tab3.link ?>"><?cs var:tab3 ?></a></li><?cs /if ?>
113 </ul>
Scott Maine0c11a62012-11-13 07:47:50 -0800114 <?cs /if ?>
115 <?cs if:tab1 ?></div><!-- end tab-wrapper --><?cs /if ?>
Scott Mainadc61d62011-11-30 18:55:01 -0800116 <?cs /if ?>
Scott Maine4d8f1b2012-06-21 18:03:05 -0700117 <?cs /if ?>
118<?cs /if ?><?cs # end if design ?>
Scott Mainadc61d62011-11-30 18:55:01 -0800119
120 <?cs # THIS IS THE MAIN DOC CONTENT ?>
121 <div id="jd-content">
Scott Mainadc61d62011-11-30 18:55:01 -0800122
123
Scott Main3652a112012-01-30 13:03:08 -0800124 <div class="jd-descr" itemprop="articleBody">
Scott Mainadc61d62011-11-30 18:55:01 -0800125 <?cs call:tag_list(root.descr) ?>
126 </div>
Scott Main9ee0fae2014-01-23 10:50:57 -0800127
128 <div class="content-footer <?cs
Scott Maine4d8f1b2012-06-21 18:03:05 -0700129 if:fullpage ?>wrap<?cs
Scott Main9ee0fae2014-01-23 10:50:57 -0800130 else ?>layout-content-row<?cs /if ?>"
Scott Maine4d8f1b2012-06-21 18:03:05 -0700131 itemscope itemtype="http://schema.org/SiteNavigationElement">
Scott Main9ee0fae2014-01-23 10:50:57 -0800132 <div class="layout-content-col <?cs
133 if:fullpage ?>col-16<?cs
134 elif:training||guide ?>col-8<?cs
Scott Maine4d8f1b2012-06-21 18:03:05 -0700135 else ?>col-9<?cs /if ?>" style="padding-top:4px">
136 <?cs if:!page.noplus ?><?cs if:fullpage ?><style>#___plusone_0 {float:right !important;}</style><?cs /if ?>
137 <div class="g-plusone" data-size="medium"></div>
138 <?cs /if ?>
139 </div>
140 <?cs if:!fullscreen ?>
141 <div class="paging-links layout-content-col col-4">
Scott Main4a9cc382013-09-05 16:29:00 -0700142 <?cs if:(design||training||walkthru) && !page.landing && !page.trainingcourse && !footer.hide ?>
Scott Main235f4d42012-10-02 17:12:23 -0700143 <a href="#" class="prev-page-link hide"
Dirk Dougherty0b026ce2013-05-04 13:13:21 -0700144 zh-tw-lang="上一堂課"
145 zh-cn-lang="上一课"
Scott Main235f4d42012-10-02 17:12:23 -0700146 ru-lang="Предыдущий"
147 ko-lang="이전"
148 ja-lang="前へ"
Scott Main9ee0fae2014-01-23 10:50:57 -0800149 es-lang="Anterior"
Scott Main235f4d42012-10-02 17:12:23 -0700150 >Previous</a>
151 <a href="#" class="next-page-link hide"
Dirk Dougherty0b026ce2013-05-04 13:13:21 -0700152 zh-tw-lang="下一堂課"
153 zh-cn-lang="下一课"
Scott Main235f4d42012-10-02 17:12:23 -0700154 ru-lang="Следующий"
155 ko-lang="다음"
156 ja-lang="次へ"
Scott Main9ee0fae2014-01-23 10:50:57 -0800157 es-lang="Siguiente"
Scott Main235f4d42012-10-02 17:12:23 -0700158 >Next</a>
Scott Main9ee0fae2014-01-23 10:50:57 -0800159 <a href="#" class="start-class-link hide"
160 zh-tw-lang="開始上課"
161 zh-cn-lang="开始"
162 ru-lang="Начало работы"
163 ko-lang="시작하기"
164 ja-lang="開始する"
165 es-lang="Empezar"
166 >Get started</a>
Scott Maine4d8f1b2012-06-21 18:03:05 -0700167 <?cs /if ?>
168 </div>
169 <?cs /if ?>
170 </div>
Scott Main9ee0fae2014-01-23 10:50:57 -0800171
Scott Maine4d8f1b2012-06-21 18:03:05 -0700172 <?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 -0800173 <?cs if:training && !page.article ?>
Scott Maine4d8f1b2012-06-21 18:03:05 -0700174 <div class="layout-content-row content-footer next-class" style="display:none" itemscope itemtype="http://schema.org/SiteNavigationElement">
175 <a href="#" class="next-class-link hide">Next class: </a>
Scott Mainadc61d62011-11-30 18:55:01 -0800176 </div>
177 <?cs /if ?>
178
Scott Mainadc61d62011-11-30 18:55:01 -0800179 </div> <!-- end jd-content -->
180
181<?cs include:"footer.cs" ?>
182</div><!-- end doc-content -->
183
184<?cs include:"trailer.cs" ?>
185
Dirk Dougherty8f6949b2013-12-03 18:49:24 -0800186<!-- Start of Tag -->
187<script type="text/javascript">
188var axel = Math.random() + "";
189var a = axel * 10000000000000;
190document.write('<iframe src="https://2507573.fls.doubleclick.net/activityi;src=2507573;type=other026;cat=googl348;ord=' + a + '?" width="1" height="1" frameborder="0" style="display:none"></iframe>');
191</script>
192<noscript>
193<iframe src="https://2507573.fls.doubleclick.net/activityi;src=2507573;type=other026;cat=googl348;ord=1?" width="1" height="1" frameborder="0" style="display:none"></iframe>
194</noscript>
195<!-- End of Tag -->
Scott Mainadc61d62011-11-30 18:55:01 -0800196</body>
197</html>
198
199
200