doc.silverstripe.org/themes/docs/templates/DocumentationViewer.ss
Will Rossiter 94e5af025b Added search form
git-svn-id: http://svn.silverstripe.com/projects/ss2doc/branches/v2@115268 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-12-21 10:04:15 +00:00

62 lines
1.6 KiB
Scheme

<!DOCTYPE html>
<html>
<head>
<% base_tag %>
<meta charset="utf-8" />
<title><% if Title %>$Title<% end_if %> SilverStripe Documentation</title>
<% require javascript(sapphire/thirdparty/jquery/jquery.js) %>
<% require javascript(toolbar/javascript/toolbar.js?site=doc) %>
<% require css(toolbar/css/toolbar.css) %>
<% require css(themes/ssorgsites/css/ss.screen.min.css, screen) %>
<% require css(themes/ssorgsites/css/ss.print.min.css, print) %>
<% require themedCSS(DocumentationViewer) %>
</head>
<body>
<div id="container">
<div id="header">
<h1><a href="$Link"><% _t('SILVERSTRIPEDOCUMENTATION', 'SilverStripe Documentation') %></a></h1>
<div id="language">
$LanguageForm
</div>
<div id="breadcrumbs">
<% include DocBreadcrumbs %>
</div>
<div id="search">
$DocumentationSearchForm
</div>
</div>
<div id="layout">
<div id="versions-nav">
<h2>Versions:</h2>
<ul>
<% control Versions %>
<% if MajorRelease %>
<li class="major-release"><a href="$Link" class="$LinkingMode">$Title</a></li>
<% else %>
<li class="module-only"><a href="$Link" class="$LinkingMode">$Title</a></li>
<% end_if %>
<% end_control %>
</ul>
</div>
<div id="content" class="typography">
$Layout
</div>
</div>
</div>
<div id="footer">
<p>Documentation powered by <a href="http://www.silverstripe.org">SilverStripe</a>. Found a typo? <a href="http://github.com/chillu/silverstripe-doc-restructuring">Contribute to the Documentation Project</a>.</p>
</div>
</body>
</html>