silverstripe-docsviewer/templates/DocumentationViewer.ss
Sean Harvey 6eca5af929 Improve default template of DocumentationViewer
class "container" was missing, so a bunch of CSS wasn't being applied.
The layout of the default docsviewer checkout now looks more like the
one on doc.silverstripe.org.
2013-01-24 10:02:18 +13:00

64 lines
1.4 KiB
Scheme
Executable File

<!DOCTYPE html>
<html>
<head>
<% base_tag %>
<meta charset="utf-8" />
<title>SilverStripe Documentation</title>
<% require css(docsviewer/css/DocumentationViewer.css) %>
</head>
<body>
<div id="container" class="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 clearfix">
<h2>Modules:</h2>
<ul>
<% control Entities %>
<li><a href="$Link" class="$LinkingMode">$Title</a></li>
<% end_control %>
</ul>
<div class="clear"><!-- --></div>
</div>
<% end_if %>
<% if Versions %>
<div id="versions-nav" class="documentation-nav clearfix">
<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>