silverstripe-docsviewer/templates/DocumentationViewer.ss
martimiz 62dd4e92f7 Relocate breadcrumbs to the top of the document
Remove breadcrumbs from the searchbar to the top of the page content,
and make sure they only display if there is more then the current link.
Wrap the module and version selectors to fill the gap in the searchbar.
2012-11-10 09:27:27 +13:00

59 lines
1.2 KiB
Scheme
Executable File

<!DOCTYPE html>
<html>
<head>
<% base_tag %>
<meta charset="utf-8" />
<title>SilverStripe Documentation</title>
</head>
<body>
<div id="container">
<div id="header">
<h1><a href="$Link"><% _t('SILVERSTRIPEDOCUMENTATION', 'SilverStripe Documentation') %></a></h1>
<div id="language">
$LanguageForm
</div>
</div>
<div id="layout">
<div id="search-bar">
<div id="search">
$DocumentationSearchForm
</div>
<div id="top-nav">
<% if Entities %>
<div id="entities-nav" class="documentation-nav">
<h2>Modules:</h2>
<ul>
<% control Entities %>
<li><a href="$Link" class="$LinkingMode">$Title</a></li>
<% end_control %>
</ul>
</div>
<% end_if %>
<% if Versions %>
<div id="versions-nav" class="documentation-nav">
<h2>Versions:</h2>
<ul>
<% control Versions %>
<li><a href="$Link" class="$LinkingMode">$Title</a></li>
<% end_control %>
</ul>
</div>
<% end_if %>
</div>
</div>
<div id="content" class="typography">
$Layout
</div>
</div>
</div>
<% include DocumentationFooter %>
</body>
</html>