Scott Main | adc61d6 | 2011-11-30 18:55:01 -0800 | [diff] [blame] | 1 | <?cs include:"doctype.cs" ?> |
| 2 | <?cs include:"macros.cs" ?> |
| 3 | <html> |
| 4 | <?cs include:"head_tag.cs" ?> |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 5 | <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 Main | adc61d6 | 2011-11-30 18:55:01 -0800 | [diff] [blame] | 12 | <?cs include:"header.cs" ?> |
| 13 | |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 14 | <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 Main | adc61d6 | 2011-11-30 18:55:01 -0800 | [diff] [blame] | 18 | |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 19 | <?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 ?> |
| 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 Main | 0e71cee | 2012-08-07 13:59:43 -0700 | [diff] [blame^] | 47 | <?cs if:page.landing.image ?><?cs # use two-column layout only if there's an image ?> |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 48 | <div class="col-6"> |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 49 | <img src="<?cs var:toroot ?><?cs var:page.landing.image ?>" alt="" /> |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 50 | </div> |
| 51 | <div class="col-6"> |
Scott Main | 0e71cee | 2012-08-07 13:59:43 -0700 | [diff] [blame^] | 52 | <?cs /if ?> |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 53 | <h1 itemprop="name" style="margin-bottom:0;"><?cs var:page.title ?></h1> |
| 54 | <p itemprop="description"><?cs var:page.landing.intro ?></p> |
| 55 | |
Scott Main | b505ca6 | 2012-07-26 18:00:14 -0700 | [diff] [blame] | 56 | <p><a class="next-page-link topic-start-link"></a></p> |
Scott Main | 0e71cee | 2012-08-07 13:59:43 -0700 | [diff] [blame^] | 57 | <?cs if:page.landing.image ?> |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 58 | </div> |
Scott Main | 0e71cee | 2012-08-07 13:59:43 -0700 | [diff] [blame^] | 59 | <?cs /if ?> |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 60 | </div> |
| 61 | <?cs else ?> |
| 62 | <h1 itemprop="name"><?cs var:page.title ?></h1> |
Scott Main | adc61d6 | 2011-11-30 18:55:01 -0800 | [diff] [blame] | 63 | <?cs /if ?> |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 64 | <?cs /if ?> |
| 65 | <?cs /if ?><?cs # end if design ?> |
Scott Main | adc61d6 | 2011-11-30 18:55:01 -0800 | [diff] [blame] | 66 | |
| 67 | <?cs # THIS IS THE MAIN DOC CONTENT ?> |
| 68 | <div id="jd-content"> |
Scott Main | adc61d6 | 2011-11-30 18:55:01 -0800 | [diff] [blame] | 69 | |
| 70 | |
Scott Main | 3652a11 | 2012-01-30 13:03:08 -0800 | [diff] [blame] | 71 | <div class="jd-descr" itemprop="articleBody"> |
Scott Main | adc61d6 | 2011-11-30 18:55:01 -0800 | [diff] [blame] | 72 | <?cs call:tag_list(root.descr) ?> |
| 73 | </div> |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 74 | |
| 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 Main | adc61d6 | 2011-11-30 18:55:01 -0800 | [diff] [blame] | 101 | </div> |
| 102 | <?cs /if ?> |
| 103 | |
Scott Main | adc61d6 | 2011-11-30 18:55:01 -0800 | [diff] [blame] | 104 | </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 | |