blob: 3f9c01a8f4d986d4423cfa85dc5cebca8c952cc5 [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
10 /if ?>" itemscope itemtype="http://schema.org/Article">
11<a name="top"></a>
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
15?><?cs elif:design||tools||about||sdk||distribute
16?>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
Scott Maine4d8f1b2012-06-21 18:03:05 -070019<?cs if:(design||training||walkthru) ?><?cs # header logic for docs that provide previous/next buttons ?>
20 <?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">
30 <a href="#" class="prev-page-link hide">Previous</a>
31 <a href="#" class="next-page-link hide">Next</a>
32 <a href="#" class="start-class-link hide">Get started</a>
33 <a href="#" class="start-course-link hide">First class</a>
34 </div>
35 <?cs else ?>
36 <div class="paging-links layout-content-col span-4" itemscope itemtype="http://schema.org/SiteNavigationElement">
37 <a href="#" class="prev-page-link hide">Previous</a>
38 <a href="#" class="next-page-link hide">Next</a>
39 </div>
40 <?cs /if ?><?cs # end if training ?>
41 </div>
42 <?cs /if ?>
43<?cs else ?>
44 <?cs if:(!fullpage && !header.hide) ?>
45 <?cs if:page.landing ?><?cs # header logic for docs that are landing pages ?>
46 <div class="landing-banner">
Scott Main0e71cee2012-08-07 13:59:43 -070047 <?cs if:page.landing.image ?><?cs # use two-column layout only if there's an image ?>
Scott Maine4d8f1b2012-06-21 18:03:05 -070048 <div class="col-6">
Scott Maine4d8f1b2012-06-21 18:03:05 -070049 <img src="<?cs var:toroot ?><?cs var:page.landing.image ?>" alt="" />
Scott Maine4d8f1b2012-06-21 18:03:05 -070050 </div>
51 <div class="col-6">
Scott Main0e71cee2012-08-07 13:59:43 -070052 <?cs /if ?>
Scott Maine4d8f1b2012-06-21 18:03:05 -070053 <h1 itemprop="name" style="margin-bottom:0;"><?cs var:page.title ?></h1>
54 <p itemprop="description"><?cs var:page.landing.intro ?></p>
55
Scott Mainb505ca62012-07-26 18:00:14 -070056 <p><a class="next-page-link topic-start-link"></a></p>
Scott Main0e71cee2012-08-07 13:59:43 -070057 <?cs if:page.landing.image ?>
Scott Maine4d8f1b2012-06-21 18:03:05 -070058 </div>
Scott Main0e71cee2012-08-07 13:59:43 -070059 <?cs /if ?>
Scott Maine4d8f1b2012-06-21 18:03:05 -070060 </div>
61 <?cs else ?>
62 <h1 itemprop="name"><?cs var:page.title ?></h1>
Scott Mainadc61d62011-11-30 18:55:01 -080063 <?cs /if ?>
Scott Maine4d8f1b2012-06-21 18:03:05 -070064 <?cs /if ?>
65<?cs /if ?><?cs # end if design ?>
Scott Mainadc61d62011-11-30 18:55:01 -080066
67 <?cs # THIS IS THE MAIN DOC CONTENT ?>
68 <div id="jd-content">
Scott Mainadc61d62011-11-30 18:55:01 -080069
70
Scott Main3652a112012-01-30 13:03:08 -080071 <div class="jd-descr" itemprop="articleBody">
Scott Mainadc61d62011-11-30 18:55:01 -080072 <?cs call:tag_list(root.descr) ?>
73 </div>
Scott Maine4d8f1b2012-06-21 18:03:05 -070074
75 <div class="content-footer <?cs
76 if:fullpage ?>wrap<?cs
77 else ?>layout-content-row<?cs /if ?>"
78 itemscope itemtype="http://schema.org/SiteNavigationElement">
79 <div class="layout-content-col <?cs
80 if:fullpage ?>col-16<?cs
81 elif:training||guide ?>col-8<?cs
82 else ?>col-9<?cs /if ?>" style="padding-top:4px">
83 <?cs if:!page.noplus ?><?cs if:fullpage ?><style>#___plusone_0 {float:right !important;}</style><?cs /if ?>
84 <div class="g-plusone" data-size="medium"></div>
85 <?cs /if ?>
86 </div>
87 <?cs if:!fullscreen ?>
88 <div class="paging-links layout-content-col col-4">
89 <?cs if:(design||training||guide||walkthru) && !page.landing && !footer.hide ?>
90 <a href="#" class="prev-page-link hide">Previous</a>
91 <a href="#" class="next-page-link hide">Next</a>
92 <?cs /if ?>
93 </div>
94 <?cs /if ?>
95 </div>
96
97 <?cs # for training classes, provide a different kind of link when the next page is a different class ?>
98 <?cs if:training ?>
99 <div class="layout-content-row content-footer next-class" style="display:none" itemscope itemtype="http://schema.org/SiteNavigationElement">
100 <a href="#" class="next-class-link hide">Next class: </a>
Scott Mainadc61d62011-11-30 18:55:01 -0800101 </div>
102 <?cs /if ?>
103
Scott Mainadc61d62011-11-30 18:55:01 -0800104 </div> <!-- end jd-content -->
105
106<?cs include:"footer.cs" ?>
107</div><!-- end doc-content -->
108
109<?cs include:"trailer.cs" ?>
110
111</body>
112</html>
113
114
115