Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(230)

Unified Diff: src/site/_includes/header.html

Issue 10788006: new site (Closed) Base URL: https://code.google.com/p/dartlang-site/@master
Patch Set: final patch Created 8 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/site/_includes/footer.html ('k') | src/site/_includes/language-tour/2-variables/index.markdown » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/site/_includes/header.html
diff --git a/src/site/_includes/header.html b/src/site/_includes/header.html
index 11f074433bcba8e72831fcf40a33b723a3ca83d2..694bf6397e3c51a474be38ace1723d9497fb5e6e 100644
--- a/src/site/_includes/header.html
+++ b/src/site/_includes/header.html
@@ -1,33 +1,26 @@
<!DOCTYPE html>
-<!--[if lt IE 7 ]> <html lang="en" class="no-js ie6"
- itemscope itemtype="http://schema.org/Product"> <![endif]-->
-<!--[if IE 7 ]> <html lang="en" class="no-js ie7"
- itemscope itemtype="http://schema.org/Product"> <![endif]-->
-<!--[if IE 8 ]> <html lang="en" class="no-js ie8"
- itemscope itemtype="http://schema.org/Product"> <![endif]-->
-<!--[if IE 9 ]> <html lang="en" class="no-js ie9"
- itemscope itemtype="http://schema.org/Product"> <![endif]-->
-<!--[if (gt IE 9)|!(IE)]><!--> <html lang="en" class="no-js"
- itemscope itemtype="http://schema.org/Product"> <!--<![endif]-->
+<html lang="en" itemscope itemtype="http://schema.org/Product">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <!-- Title & Google+ description -->
{% capture page_title %}{% if page.title %}{{ page.title }} | {%endif%}Dart: Structured web apps{% endcapture %}
<title>{{ page_title }}</title>
<meta itemprop="name" content="{{ page_title }}">
<meta itemprop="description" content="{% if page.description %}{{ page.description }}{% else %}Dart is a new platform for building structured web apps for modern browsers. It includes a language, a VM, libraries, tools, and a compiler to JavaScript. Try Dart today!{% endif %}">
<link rel="stylesheet" href="/css/style.css">
- <link rel="stylesheet" href="/css/syntax.css">
- <link href='http://fonts.googleapis.com/css?family=Open+Sans:400,700' rel='stylesheet' type='text/css'>
{% if page.header and page.header.css %}{% for css in page.header.css %}<link href="{{ css }}" rel="stylesheet" type="text/css">{% endfor %}{% endif %}
{% if page.rel.author %}<link rel="author" href="/authors/{{ page.rel.author }}.html">{% endif %}
{% if page.rel.me %}<link rel="me" href="{{ page.rel.me }}">{% endif %}
<link rel="alternate" type="application/atom+xml" href="http://news.dartlang.org/feeds/posts/default" title="Atom feed">
<link href="https://plus.google.com/109866369054280216564" rel="publisher">
- <script src="/js/modernizr.custom.02548.js"></script>
+
+ <!-- Le HTML5 shim, for IE6-8 support of HTML5 elements -->
+ <!--[if lt IE 9]>
+ <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
+ <![endif]-->
{% include analytics.html %}
@@ -40,11 +33,110 @@
s.parentNode.insertBefore(po, s);
})();
</script>
+
+ <script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src="//platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>
</head>
<body>
- <div id="container">
- <header>
- <div id="plus1"><div class="g-plusone" data-size="standard" data-count="true"></div></div>
- <a href="/"><img src="/imgs/dart-logo.png" width="268" height="116" alt="Dart"></a>
- <span id="tagline">Structured web apps</span>
- </header>
+
+ <nav>
+ <div class="navbar navbar-fixed-top">
+ <div class="navbar-inner">
+ <div class="container">
+ <!-- required for collapseable bar -->
+ <a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
+ <span class="icon-bar"></span>
+ <span class="icon-bar"></span>
+ <span class="icon-bar"></span>
+ </a>
+ <a class="brand" href="/" title="Dart Homepage">
+ <img src="/imgs/Dart_Logo_21.png" width="21" height="21" alt="Dart">
+ </a>
+ <ul class="nav">
+ <li>
+ <form class="navbar-search pull-right" action="/search.html" id="cse-search-box">
+ <input type="hidden" name="cx" value="011220921317074318178:i4mscbaxtru" />
+ <input type="hidden" name="ie" value="UTF-8" />
+ <input type="hidden" name="hl" value="en" />
+ <input type="search" name="q" class="search-query" id="q" autocomplete="off" placeholder="Search"/>
+ </form>
+ </li>
+ <li class="dropdown">
+ <a href="#"
+ class="dropdown-toggle"
+ data-toggle="dropdown">
+ Docs
+ <b class="caret"></b>
+ </a>
+ <ul class="dropdown-menu">
+ <li class="nav-header">Language</li>
+ <li><a href="/docs/language-tour/">Language Tour</a></li>
+ <li><a href="/docs/spec/">Language Spec</a></li>
+ <li class="nav-header">Libraries</li>
+ <li><a href="/docs/library-tour/">Library Tour</a></li>
+ <li><a href="http://api.dartlang.org" title="Dart API docs">Library Reference</a></li>
+ <li class="nav-header">Usage</li>
+ <li><a href="/articles/">Articles and Tutorials</a></li>
+ <li><a href="/support/faq.html">FAQ</a></li>
+ </ul>
+ </li>
+ <li class="dropdown">
+ <a href="#"
+ class="dropdown-toggle"
+ data-toggle="dropdown">
+ Tools
+ <b class="caret"></b>
+ </a>
+ <ul class="dropdown-menu">
+ <li><a href="/docs/editor/">Editor</a></li>
+ <li><a href="/dartium/">Chromium + Dart VM</a></li>
+ <li><a href="/docs/sdk/">SDK</a></li>
+ <li><a href="/docs/pub-package-manager/">Pub Package Manager</a></li>
+ <li><a href="/docs/dart2js/">Dart2js</a></li>
+ <li><a href="/docs/standalone-dart-vm/">Dart VM</a></li>
+ </ul>
+ </li>
+ </ul>
+ <div class="nav-collapse">
+ <ul class="nav">
+ <li class="dropdown">
+ <a href="#"
+ class="dropdown-toggle"
+ data-toggle="dropdown">
+ Resources
+ <b class="caret"></b>
+ </a>
+ <ul class="dropdown-menu">
+ <li><a href="/samples/">Code Samples</a></li>
+ <li><a href="http://synonym.dartlang.org/">Translations from JavaScript</a></li>
+ <li><a href="/slides/">Presentations</a></li>
+ <li><a href="/hangouts/">Hangout Videos</a></li>
+ <li><a href="/community/">Community</a></li>
+ </ul>
+ </li>
+ <li class="dropdown">
+ <a href="#"
+ class="dropdown-toggle"
+ data-toggle="dropdown">
+ Development
+ <b class="caret"></b>
+ </a>
+ <ul class="dropdown-menu">
+ <li><a href="http://code.google.com/p/dart/issues/list">Bugs and Feature Requests</a></li>
+ <li><a href="http://www.dartlang.org/mailing-list">Mailing List</a></li>
+ <li><a href="https://code.google.com/p/dart/wiki/GettingTheSource?tm=4">Source Code</a></li>
+ <li><a href="http://code.google.com/p/dart/wiki/Contributing">Submitting Patches</a></li>
+ </ul>
+ </li>
+ <li><a href="http://news.dartlang.org/" title="The latest news about Dart">News</a></li>
+ </ul>
+ <ul class="nav pull-right">
+ <li class="share-button gplus"><div class="g-plusone" data-size="medium" data-annotation="none"></div></li>
+ <li class="share-button twitter"><a href="https://twitter.com/share" class="twitter-share-button" data-count="none" data-hashtags="dartlang">Tweet</a></li>
+ </ul>
+ </div><!--/.nav-collapse -->
+ </div>
+ </div>
+ </div>
+ </nav>
+
+ <div class="container">
« no previous file with comments | « src/site/_includes/footer.html ('k') | src/site/_includes/language-tour/2-variables/index.markdown » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698