blob: 6faac04eebb8c5f4bc58053d2b2fb1ead4c8a51d [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 Maine4d8f1b2012-06-21 18:03:05 -070016?>class="col-13" id="doc-col"<?cs else
17?>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="前へ"
36 es-lang="Anterior"
37 >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="次へ"
44 es-lang="Siguiente"
45 >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="開始する"
52 es-lang="Empezar"
53 >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="前へ"
63 es-lang="Anterior"
64 >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="次へ"
71 es-lang="Siguiente"
72 >Next</a>
Scott Maine4d8f1b2012-06-21 18:03:05 -070073 </div>
74 <?cs /if ?><?cs # end if training ?>
75 </div>
76 <?cs /if ?>
77<?cs else ?>
78 <?cs if:(!fullpage && !header.hide) ?>
79 <?cs if:page.landing ?><?cs # header logic for docs that are landing pages ?>
80 <div class="landing-banner">
Scott Main0e71cee2012-08-07 13:59:43 -070081 <?cs if:page.landing.image ?><?cs # use two-column layout only if there's an image ?>
Scott Maine4d8f1b2012-06-21 18:03:05 -070082 <div class="col-6">
Scott Maine4d8f1b2012-06-21 18:03:05 -070083 <img src="<?cs var:toroot ?><?cs var:page.landing.image ?>" alt="" />
Scott Maine4d8f1b2012-06-21 18:03:05 -070084 </div>
85 <div class="col-6">
Scott Main0e71cee2012-08-07 13:59:43 -070086 <?cs /if ?>
Scott Maine4d8f1b2012-06-21 18:03:05 -070087 <h1 itemprop="name" style="margin-bottom:0;"><?cs var:page.title ?></h1>
88 <p itemprop="description"><?cs var:page.landing.intro ?></p>
89
Scott Mainb505ca62012-07-26 18:00:14 -070090 <p><a class="next-page-link topic-start-link"></a></p>
Scott Main0e71cee2012-08-07 13:59:43 -070091 <?cs if:page.landing.image ?>
Scott Maine4d8f1b2012-06-21 18:03:05 -070092 </div>
Scott Main0e71cee2012-08-07 13:59:43 -070093 <?cs /if ?>
Scott Maine4d8f1b2012-06-21 18:03:05 -070094 </div>
95 <?cs else ?>
Scott Maine0c11a62012-11-13 07:47:50 -080096 <?cs if:tab1 ?><div id="title-tabs-wrapper"><?cs /if ?>
Scott Mainbbffb4b2012-11-13 07:40:16 -080097 <h1 itemprop="name" <?cs if:tab1 ?>class="with-title-tabs"<?cs /if ?>><?cs var:page.title ?></h1><?cs
98 if:tab1 ?><ul id="title-tabs">
99 <li class="selected"><a href="<?cs var:tab1.link ?>"><?cs var:tab1 ?></a></li>
100 <?cs if:tab2 ?>
101 <li><a href="<?cs var:tab2.link ?>"><?cs var:tab2 ?></a></li><?cs /if ?>
102 <?cs if:tab3 ?>
103 <li><a href="<?cs var:tab3.link ?>"><?cs var:tab3 ?></a></li><?cs /if ?>
104 </ul>
Scott Maine0c11a62012-11-13 07:47:50 -0800105 <?cs /if ?>
106 <?cs if:tab1 ?></div><!-- end tab-wrapper --><?cs /if ?>
Scott Mainadc61d62011-11-30 18:55:01 -0800107 <?cs /if ?>
Scott Maine4d8f1b2012-06-21 18:03:05 -0700108 <?cs /if ?>
109<?cs /if ?><?cs # end if design ?>
Scott Mainadc61d62011-11-30 18:55:01 -0800110
111 <?cs # THIS IS THE MAIN DOC CONTENT ?>
112 <div id="jd-content">
Scott Mainadc61d62011-11-30 18:55:01 -0800113
114
Scott Main3652a112012-01-30 13:03:08 -0800115 <div class="jd-descr" itemprop="articleBody">
Scott Mainadc61d62011-11-30 18:55:01 -0800116 <?cs call:tag_list(root.descr) ?>
117 </div>
Scott Maine4d8f1b2012-06-21 18:03:05 -0700118
119 <div class="content-footer <?cs
120 if:fullpage ?>wrap<?cs
121 else ?>layout-content-row<?cs /if ?>"
122 itemscope itemtype="http://schema.org/SiteNavigationElement">
123 <div class="layout-content-col <?cs
124 if:fullpage ?>col-16<?cs
125 elif:training||guide ?>col-8<?cs
126 else ?>col-9<?cs /if ?>" style="padding-top:4px">
127 <?cs if:!page.noplus ?><?cs if:fullpage ?><style>#___plusone_0 {float:right !important;}</style><?cs /if ?>
128 <div class="g-plusone" data-size="medium"></div>
129 <?cs /if ?>
130 </div>
131 <?cs if:!fullscreen ?>
132 <div class="paging-links layout-content-col col-4">
Scott Main4a9cc382013-09-05 16:29:00 -0700133 <?cs if:(design||training||walkthru) && !page.landing && !page.trainingcourse && !footer.hide ?>
Scott Main235f4d42012-10-02 17:12:23 -0700134 <a href="#" class="prev-page-link hide"
Dirk Dougherty0b026ce2013-05-04 13:13:21 -0700135 zh-tw-lang="上一堂課"
136 zh-cn-lang="上一课"
Scott Main235f4d42012-10-02 17:12:23 -0700137 ru-lang="Предыдущий"
138 ko-lang="이전"
139 ja-lang="前へ"
140 es-lang="Anterior"
141 >Previous</a>
142 <a href="#" class="next-page-link hide"
Dirk Dougherty0b026ce2013-05-04 13:13:21 -0700143 zh-tw-lang="下一堂課"
144 zh-cn-lang="下一课"
Scott Main235f4d42012-10-02 17:12:23 -0700145 ru-lang="Следующий"
146 ko-lang="다음"
147 ja-lang="次へ"
148 es-lang="Siguiente"
149 >Next</a>
Scott Maine4d8f1b2012-06-21 18:03:05 -0700150 <?cs /if ?>
151 </div>
152 <?cs /if ?>
153 </div>
154
155 <?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 -0800156 <?cs if:training && !page.article ?>
Scott Maine4d8f1b2012-06-21 18:03:05 -0700157 <div class="layout-content-row content-footer next-class" style="display:none" itemscope itemtype="http://schema.org/SiteNavigationElement">
158 <a href="#" class="next-class-link hide">Next class: </a>
Scott Mainadc61d62011-11-30 18:55:01 -0800159 </div>
160 <?cs /if ?>
161
Scott Mainadc61d62011-11-30 18:55:01 -0800162 </div> <!-- end jd-content -->
163
164<?cs include:"footer.cs" ?>
165</div><!-- end doc-content -->
166
167<?cs include:"trailer.cs" ?>
168
169</body>
170</html>
171
172
173