1<?cs include:"doctype.cs" ?> 2<?cs include:"macros.cs" ?> 3<html<?cs if:devsite ?> devsite<?cs /if ?>> 4<?cs include:"head_tag.cs" ?> 5<body class="gc-documentation <?cs if:(google || reference.gms || reference.gcm) ?>google<?cs /if ?> 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 10 /if ?><?cs 11 if:page.trainingcourse ?> trainingcourse<?cs /if ?>" itemscope itemtype="http://schema.org/Article"> 12<a name="top"></a> 13<?cs include:"header.cs" ?> 14 15<div <?cs if:fullpage 16?>class="fullpage"<?cs elif:design||tools||about||sdk||distribute 17?>class="col-13" id="doc-col"<?cs else 18?>class="col-12" id="doc-col"<?cs /if ?> > 19 20<?cs if:(design||training||walkthru) && !page.trainingcourse && !page.article ?><?cs # header logic for docs that provide previous/next buttons ?> 21 <?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 ?> 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"> 31 <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> 55 </div> 56 <?cs elif:!page.trainingcourse ?> 57 <div class="paging-links layout-content-col span-4" itemscope itemtype="http://schema.org/SiteNavigationElement"> 58 <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> 74 </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"> 82 <?cs if:page.landing.image ?><?cs # use two-column layout only if there's an image ?> 83 <div class="col-6"> 84 <img src="<?cs var:toroot ?><?cs var:page.landing.image ?>" alt="" /> 85 </div> 86 <div class="col-6"> 87 <?cs /if ?> 88 <h1 itemprop="name" style="margin-bottom:0;"><?cs var:page.title ?></h1> 89 <p itemprop="description"><?cs var:page.landing.intro ?></p> 90 <p><a class="next-page-link topic-start-link"></a></p> 91 <?cs if:page.landing.image ?> 92 </div> 93 <?cs /if ?> 94 </div> 95 <?cs else ?> 96 <?cs if:tab1 ?><div id="title-tabs-wrapper"><?cs /if ?> 97 <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> 105 <?cs /if ?> 106 <?cs if:tab1 ?></div><!-- end tab-wrapper --><?cs /if ?> 107 <?cs /if ?> 108 <?cs /if ?> 109<?cs /if ?><?cs # end if design ?> 110 111 <?cs # THIS IS THE MAIN DOC CONTENT ?> 112 <div id="jd-content"> 113 114 <div class="jd-descr" itemprop="articleBody"> 115 <?cs call:tag_list(root.descr) ?> 116 </div> 117 118 <div class="content-footer-sac" 119 itemscope itemtype="http://schema.org/SiteNavigationElement"> 120 <div class="layout-content-col <?cs 121 if:fullpage ?>col-16<?cs 122 elif:training||guide ?>col-8<?cs 123 else ?>col-9<?cs /if ?>" style="padding-top:4px"> 124 </div> 125 <?cs if:!fullscreen ?> 126 <div class="paging-links layout-content-col col-4"> 127 <?cs if:(design||training||guide||walkthru) && !page.landing && !page.trainingcourse && !footer.hide ?> 128 <a href="#" class="prev-page-link hide" 129 zh-TW-lang="上一堂課" 130 zh-CN-lang="上一课" 131 ru-lang="Предыдущий" 132 ko-lang="이전" 133 ja-lang="前へ" 134 es-lang="Anterior" 135 >Previous</a> 136 <a href="#" class="next-page-link hide" 137 zh-TW-lang="下一堂課" 138 zh-CN-lang="下一课" 139 ru-lang="Следующий" 140 ko-lang="다음" 141 ja-lang="次へ" 142 es-lang="Siguiente" 143 >Next</a> 144 <?cs /if ?> 145 </div> 146 <?cs /if ?> 147 </div> 148 <?cs # for training classes, provide a different kind of link when the next page is a different class ?> 149 <?cs if:training && !page.article ?> 150 <div class="layout-content-row content-footer next-class" style="display:none" itemscope itemtype="http://schema.org/SiteNavigationElement"> 151 <a href="#" class="next-class-link hide">Next class: </a> 152 </div> 153 <?cs /if ?> 154 </div> <!-- end jd-content --> 155 <?cs include:"footer.cs" ?> 156</div><!-- end doc-content --> 157 158<?cs include:"trailer.cs" ?> 159 160</body> 161</html> 162 163 164 165