devdocs/views/app.erb

40 lines
1.5 KiB
Text
Raw Normal View History

2013-10-24 20:25:52 +02:00
<div class="_app">
<header class="_header">
<a class="_home-link"></a>
<a class="_menu-link"></a>
<form class="_search">
2013-12-29 18:38:39 +01:00
<input type="search" class="_search-input" placeholder="Search&hellip;" autocomplete="off" autocapitalize="off" autocorrect="off" spellcheck="false" maxlength="20">
2013-10-24 20:25:52 +02:00
<a class="_search-clear"></a>
<div class="_search-tag"></div>
</form>
<h1 class="_logo">
<a href="/" class="_nav-link">DevDocs</a>
</h1>
<nav class="_nav">
<a href="/about" class="_nav-link">About</a>
<a href="/news" class="_nav-link">News</a>
<a href="/help" class="_nav-link">Help</a>
</nav>
</header>
<section class="_sidebar">
<div class="_list">
<% unless @doc %>
<% App.docs.each do |slug, doc| %>
<a href="/<%= slug %>/" class="_list-item _icon-<%= slug %> _list-dir"><span class="_list-arrow"></span><%= doc['name'] %></a>
<% end %>
<% end %>
</div>
2013-10-24 20:25:52 +02:00
</section>
<section class="_container">
<div class="_content _content-loading"></div>
</section>
</div>
<% if App.production? %><script>
2014-05-03 17:00:32 +02:00
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-5544833-12', 'devdocs.io');
ga('send', 'pageview');
2013-10-24 20:25:52 +02:00
</script><% end %>