Home | History | Annotate | Download | only in templates-ds
      1 <?cs include:"doctype.cs" ?>
      2 <?cs include:"macros.cs" ?>
      3 <html devsite>
      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 ?>&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">
     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           
     91           <p><a class="next-page-link topic-start-link"></a></p>
     92         <?cs if:page.landing.image ?>
     93         </div>
     94         <?cs /if ?>
     95       </div>
     96     <?cs else ?>
     97       <?cs if:tab1 ?><div id="title-tabs-wrapper"><?cs /if ?>
     98         <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>
    106           <?cs /if ?>
    107       <?cs if:tab1 ?></div><!-- end tab-wrapper --><?cs /if ?>
    108     <?cs /if ?>
    109   <?cs /if ?>
    110 <?cs /if ?><?cs # end if design ?>
    111 
    112   <?cs # THIS IS THE MAIN DOC CONTENT ?>
    113   <div id="jd-content">
    114 
    115 
    116     <div class="jd-descr" itemprop="articleBody">
    117     <?cs call:tag_list(root.descr) ?>
    118     </div>
    119       
    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">
    134           <?cs if:(design||training||guide||walkthru) && !page.landing && !page.trainingcourse && !footer.hide ?>
    135             <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>
    151           <?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 ?>
    157       <?cs if:training && !page.article ?>
    158       <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>
    160       </div>
    161       <?cs /if ?>
    162 
    163   </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 
    175