diff options
author | Skyler Kaufman <skyler@google.com> | 2011-04-07 12:30:41 -0700 |
---|---|---|
committer | Dan Morrill <morrildl@google.com> | 2011-04-07 13:03:00 -0700 |
commit | 991ae4d81f940d665370e3217ec7cf3d7285ec8d (patch) | |
tree | 7b3c7e0d492e6940ce2d84ffb0660474bef5ee93 /templates | |
parent | 3ce332f8590920442232fb0a1da9b2fa18be5842 (diff) | |
download | source.android.com-991ae4d81f940d665370e3217ec7cf3d7285ec8d.tar.gz |
Adding a slightly reorganized version of skyler's revamped s.a.c.
Change-Id: I19439883c25d887fa4409b33a70c235af3a78eaf
Diffstat (limited to 'templates')
-rw-r--r-- | templates/footer | 27 | ||||
-rw-r--r-- | templates/header | 30 | ||||
-rw-r--r-- | templates/includes | 20 | ||||
-rw-r--r-- | templates/main | 5 | ||||
-rw-r--r-- | templates/sidebar | 5 |
5 files changed, 87 insertions, 0 deletions
diff --git a/templates/footer b/templates/footer new file mode 100644 index 00000000..f41abcd5 --- /dev/null +++ b/templates/footer @@ -0,0 +1,27 @@ +<div id="footer"> + <div id="copyright"> + </div> + + <div id="footerLeft"> + <p> + <a href="http://www.android.com/terms.html">Site Terms of Service</a> - + <a href="http://www.android.com/privacy.html">Privacy Policy</a> + </p> + </div> + + <div id="footerRight"> + <p> + <a href="#top">Go to Top</a> + </p> + </div> +</div> + +<!-- script type="text/javascript"> + init(); /* initialize android-developer-docs.js */ + var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www."); + document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E")); +</script> +<script type="text/javascript"> + var pageTracker = _gat._getTracker("UA-5831155-1"); + pageTracker._trackPageview(); +</script --> diff --git a/templates/header b/templates/header new file mode 100644 index 00000000..6ec42dad --- /dev/null +++ b/templates/header @@ -0,0 +1,30 @@ +<!-- looks like: +Home | Source | Porting | Compatibility | Community | About --> + +<a name="top"/> + +<div id="header"> + <div id="headerLeft"> + <a href="/" tabindex="-1"><img src="/images/open_source.png" alt="Android Open Source Project" /></a> + <ul class="$category"> + <li id="home-link"><a href="/index.html"><span>Home</span></a></li> + <li id="source-link"><a href="/source/index.html" + onClick="return loadLast('source')"><span>Source</span></a></li> + <li id="porting-link"><a href="/porting/index.html" + onClick="return loadLast('porting')"><span>Porting</span></a></li> + <li id="compatibility-link"><a href="/compatibility/index.html" + onClick="return loadLast('compatibility')"><span>Compatibility</span></a></li> + <li id="community-link"><a href="/community/index.html" + onClick="return loadLast('community')"><span>Community</span></a></li> + <li id="about-link"><a href="/about/index.html" + onClick="return loadLast('about')"><span>About</span></a></li> + </ul> + </div> + <div id="headerRight"> + <div id="headerLinks"> + <span class="text"> + <a href="http://www.android.com">Android.com</a> + </span> + </div> + </div> +</div> diff --git a/templates/includes b/templates/includes new file mode 100644 index 00000000..686f609d --- /dev/null +++ b/templates/includes @@ -0,0 +1,20 @@ +<head> + <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> + <link rel="shortcut icon" type="image/x-icon" href="/assets/favicon.ico" /> + <title>$title | Android Open Source</title> + + <link href="/assets/main.css" rel="stylesheet" type="text/css" /> + +<!-- <noscript> + <style type="text/css"> + body{overflow:auto;} + #body-content{position:relative; top:0;} + #doc-content{overflow:visible;border-left:3px solid #666;} + #side-nav{padding:0;} + #side-nav .toggle-list ul {display:block;} + #resize-packages-nav{border-bottom:3px solid #666;} + </style> + </noscript> --> +</head> + + diff --git a/templates/main b/templates/main new file mode 100644 index 00000000..8698c794 --- /dev/null +++ b/templates/main @@ -0,0 +1,5 @@ +<div id=main> + $main +</div> + + diff --git a/templates/sidebar b/templates/sidebar new file mode 100644 index 00000000..de0c0288 --- /dev/null +++ b/templates/sidebar @@ -0,0 +1,5 @@ +<div id=sidebar> + $sidebar +</div> + + |