forked from mozilla-b2g/platform_build
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge "docs: update template and css for android u Add a custom versi…
…on of docpage.cs to the droiddoc template, because it adds a good deal of custom design and behavior (instead of updating the doclava version of the file). Add CSS for next/previous links in android u lessons and revise style for download button." into ics-mr0
- Loading branch information
Showing
2 changed files
with
203 additions
and
35 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,108 @@ | ||
<?cs include:"doctype.cs" ?> | ||
<?cs include:"macros.cs" ?> | ||
<html> | ||
<?cs include:"head_tag.cs" ?> | ||
<body class="gc-documentation"> | ||
<?cs include:"header.cs" ?> | ||
|
||
<div class="g-unit" id="doc-content"><a name="top"></a> | ||
|
||
<div id="jd-header" class="guide-header"> | ||
<span class="crumb"> | ||
<?cs if:parent.link ?> | ||
<a href="<?cs var:parent.link ?>"><?cs var:parent.title ?></a>: | ||
<?cs else ?> | ||
<?cs /if ?> | ||
</span> | ||
<h1><?cs var:page.title ?></h1> | ||
</div> | ||
|
||
<?cs # THIS IS THE MAIN DOC CONTENT ?> | ||
<div id="jd-content"> | ||
|
||
<?cs if:trainingnavtop ?> | ||
<div class="training-nav-top"> | ||
|
||
<?cs if:next.link ?> | ||
<?cs if:startpage ?> | ||
<div class="training-nav-button-next"> | ||
<a href="<?cs var:next.link ?>"> | ||
Get started | ||
<span style="font-size:1.2em">›</span> | ||
<span class="training-nav-button-title"><?cs var:next.title ?></span> | ||
</a> | ||
</div> | ||
|
||
<?cs else ?><?cs # if not startpage ?> | ||
|
||
<div class="training-nav-button-next"> | ||
<a href="<?cs var:next.link ?>"> | ||
Next lesson | ||
<span style="font-size:1.2em">›</span> | ||
<span class="training-nav-button-title"><?cs var:next.title ?></span> | ||
</a> | ||
</div> | ||
<?cs /if ?><?cs # end if/else startpage ?> | ||
|
||
<?cs /if ?><?cs # end if next.link ?> | ||
|
||
<?cs if:previous.link ?> | ||
<div class="training-nav-button-previous"> | ||
<a href="<?cs var:previous.link ?>"> | ||
<span style="font-size:1.2em">‹</span> | ||
Previous lesson | ||
<span class="training-nav-button-title"><?cs var:previous.title ?></span> | ||
</a> | ||
</div> | ||
|
||
<?cs /if ?><?cs # end if previous.link ?> | ||
|
||
</div><!-- end training-nav-top --> | ||
<?cs /if ?><?cs # end if trainingnavtop ?> | ||
|
||
|
||
<div class="jd-descr"> | ||
<?cs call:tag_list(root.descr) ?> | ||
</div> | ||
|
||
<?cs if:!startpage && (previous.link || next.link) ?> | ||
<div class="training-nav-bottom"> | ||
<?cs if:next.link ?> | ||
<div class="training-nav-button-next"> | ||
<a href="<?cs var:next.link ?>"> | ||
Next lesson | ||
<span style="font-size:1.2em">›</span> | ||
<br/><span class="training-nav-button-title"><?cs var:next.title ?></span> | ||
</a> | ||
</div> | ||
<?cs /if ?> | ||
|
||
<?cs if:previous.link ?> | ||
<div class="training-nav-button-previous"> | ||
<a href="<?cs var:previous.link ?>"> | ||
<span style="font-size:1.2em">‹</span> | ||
Previous lesson | ||
<br/><span class="training-nav-button-title"><?cs var:previous.title ?></span> | ||
</a> | ||
</div> | ||
<?cs /if ?> | ||
</div> <!-- end training-nav --> | ||
<?cs /if ?> | ||
|
||
<a href="#top" style="float:right">↑ Go to top</a> | ||
<?cs if:parent.link ?> | ||
<p><a href="<?cs var:parent.link ?>">← Back to <?cs var:parent.title ?></a></p> | ||
<?cs /if ?> | ||
|
||
</div> <!-- end jd-content --> | ||
|
||
<?cs include:"footer.cs" ?> | ||
</div><!-- end doc-content --> | ||
|
||
<?cs include:"trailer.cs" ?> | ||
|
||
</body> | ||
</html> | ||
|
||
|
||
|