2016-06-26 22:46:20 +02:00
|
|
|
<div class="_app<%= " #{app_layout}" if app_layout %>" role="application">
|
|
|
|
<header class="_header" role="banner">
|
2017-02-20 21:50:15 +01:00
|
|
|
<button type="button" aria-label="Toggle navigation" class="_header-btn" data-toggle-sidebar hidden>
|
2017-02-26 22:37:52 +01:00
|
|
|
<svg viewBox="0 0 24 24"><path d="M3 18h18v-2H3v2zm0-5h18v-2H3v2zm0-7v2h18V6H3z"></path></svg>
|
2017-02-20 21:50:15 +01:00
|
|
|
</button>
|
2016-06-26 22:46:20 +02:00
|
|
|
<form class="_search" role="search">
|
2017-02-19 15:34:59 +01:00
|
|
|
<input type="search" name="q" class="_search-input" placeholder="Search…" autocomplete="off" autocapitalize="off" autocorrect="off" spellcheck="false" maxlength="30" aria-label="Search">
|
2016-06-26 22:46:20 +02:00
|
|
|
<button type="reset" class="_search-clear" title="Clear search">Clear search</button>
|
2013-10-24 20:25:52 +02:00
|
|
|
<div class="_search-tag"></div>
|
|
|
|
</form>
|
2017-02-20 21:50:15 +01:00
|
|
|
<button type="button" aria-label="Back" class="_header-btn" data-back hidden>
|
2017-02-26 22:37:52 +01:00
|
|
|
<svg viewBox="0 0 24 24"><path d="M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7.83 13H20v-2z"></path></svg>
|
2017-02-20 21:50:15 +01:00
|
|
|
</button>
|
|
|
|
<button type="button" aria-label="Forward" class="_header-btn _forward-btn" data-forward hidden>
|
2017-02-26 22:37:52 +01:00
|
|
|
<svg viewBox="0 0 24 24"><path d="M12 4l-1.41 1.41L16.17 11H4v2h12.17l-5.58 5.59L12 20l8-8z"></path></svg>
|
2017-02-20 21:50:15 +01:00
|
|
|
</button>
|
|
|
|
<button type="button" aria-label="Toggle menu" title="Toggle menu" class="_header-btn _menu-btn" data-toggle-menu>
|
2017-02-26 22:37:52 +01:00
|
|
|
<svg viewBox="0 0 24 24"><path d="M12 8c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2zm0 2c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm0 6c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z"></path></svg>
|
2017-02-20 21:50:15 +01:00
|
|
|
</button>
|
|
|
|
<nav class="_menu" role="navigation">
|
|
|
|
<h1 class="_menu-title"><a href="/" class="_menu-title-link">DevDocs</a></h1>
|
2017-02-26 15:58:41 +01:00
|
|
|
<a href="/settings" class="_menu-link">Preferences</a>
|
|
|
|
<a href="/offline" class="_menu-link">Offline Data</a>
|
2017-02-20 21:50:15 +01:00
|
|
|
<a href="/news" class="_menu-link">Changelog</a>
|
|
|
|
<a href="/help" class="_menu-link">Help</a>
|
|
|
|
<a href="/about" class="_menu-link">About</a>
|
2013-10-24 20:25:52 +02:00
|
|
|
</nav>
|
|
|
|
</header>
|
2016-06-27 00:20:30 +02:00
|
|
|
<section class="_sidebar" tabindex="-1">
|
2016-06-26 22:46:20 +02:00
|
|
|
<div class="_list" role="navigation">
|
2014-04-20 03:25:07 +02:00
|
|
|
<% unless @doc %>
|
|
|
|
<% App.docs.each do |slug, doc| %>
|
2016-01-24 18:18:09 +01:00
|
|
|
<a href="/<%= slug %>/" class="_list-item"><span class="_list-arrow"></span><%= doc['full_name'] %></a>
|
2014-04-20 03:25:07 +02:00
|
|
|
<% end %>
|
|
|
|
<% end %>
|
|
|
|
</div>
|
2013-10-24 20:25:52 +02:00
|
|
|
</section>
|
2016-06-26 22:46:20 +02:00
|
|
|
<div class="_container" role="document">
|
2017-02-25 15:16:28 +01:00
|
|
|
<main class="_content _content-loading" role="main"></main>
|
2016-06-26 22:46:20 +02:00
|
|
|
</div>
|
2017-02-26 15:58:41 +01:00
|
|
|
<form class="_settings" id="settings">
|
|
|
|
<div class="_header">
|
|
|
|
<button type="button" aria-label="Back" class="_settings-btn" data-back>
|
2017-02-26 22:37:52 +01:00
|
|
|
<svg viewBox="0 0 24 24"><path d="M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7.83 13H20v-2z"></path></svg> Back
|
2017-02-26 15:58:41 +01:00
|
|
|
</button>
|
|
|
|
<nav class="_settings-tabs">
|
2017-02-26 17:56:30 +01:00
|
|
|
<a class="_settings-tab active" data-tab="doc-picker" hidden>Docs</a><a class="_settings-tab" data-tab="settings" hidden>Settings</a>
|
2017-02-26 15:58:41 +01:00
|
|
|
</nav>
|
|
|
|
</div>
|
2017-02-26 23:18:27 +01:00
|
|
|
<div class="_sidebar">
|
|
|
|
<div class="_sidebar-footer">
|
|
|
|
<button type="submit" class="_settings-btn">
|
|
|
|
<svg viewBox="0 0 24 24"><path d="M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z"></path></svg> Apply
|
|
|
|
</button>
|
|
|
|
</div>
|
2017-02-26 15:58:41 +01:00
|
|
|
</div>
|
|
|
|
</form>
|
2013-10-24 20:25:52 +02:00
|
|
|
</div>
|
2015-08-03 23:06:19 +02:00
|
|
|
<style data-size="<%= app_size %>" data-resizer>
|
|
|
|
._container { margin-left: <%= app_size %>; }
|
2017-02-26 23:18:27 +01:00
|
|
|
._header, ._list, ._sidebar-footer { width: <%= app_size %>; }
|
2015-08-03 23:06:19 +02:00
|
|
|
._list-hover.clone { min-width: <%= app_size %>; }
|
|
|
|
._notice, ._path, ._resizer { left: <%= app_size %>; }
|
2015-02-17 04:29:06 +01:00
|
|
|
</style>
|