mirror of
https://github.com/silverstripe/silverstripe-docsviewer
synced 2024-10-22 09:05:56 +00:00
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.
This commit is contained in:
parent
927e1b0724
commit
6eca5af929
@ -9,7 +9,7 @@
|
|||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
<div id="container">
|
<div id="container" class="container">
|
||||||
<div id="header">
|
<div id="header">
|
||||||
<h1><a href="$Link"><% _t('SILVERSTRIPEDOCUMENTATION', 'SilverStripe Documentation') %></a></h1>
|
<h1><a href="$Link"><% _t('SILVERSTRIPEDOCUMENTATION', 'SilverStripe Documentation') %></a></h1>
|
||||||
|
|
||||||
@ -26,19 +26,21 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="top-nav">
|
<div id="top-nav">
|
||||||
<% if Entities %>
|
<% if Entities %>
|
||||||
<div id="entities-nav" class="documentation-nav">
|
<div id="entities-nav" class="documentation-nav clearfix">
|
||||||
<h2>Modules:</h2>
|
<h2>Modules:</h2>
|
||||||
<ul>
|
<ul>
|
||||||
<% control Entities %>
|
<% control Entities %>
|
||||||
<li><a href="$Link" class="$LinkingMode">$Title</a></li>
|
<li><a href="$Link" class="$LinkingMode">$Title</a></li>
|
||||||
<% end_control %>
|
<% end_control %>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
|
<div class="clear"><!-- --></div>
|
||||||
</div>
|
</div>
|
||||||
<% end_if %>
|
<% end_if %>
|
||||||
|
|
||||||
<% if Versions %>
|
<% if Versions %>
|
||||||
<div id="versions-nav" class="documentation-nav">
|
<div id="versions-nav" class="documentation-nav clearfix">
|
||||||
<h2>Versions:</h2>
|
<h2>Versions:</h2>
|
||||||
<ul>
|
<ul>
|
||||||
<% control Versions %>
|
<% control Versions %>
|
||||||
@ -46,7 +48,7 @@
|
|||||||
<% end_control %>
|
<% end_control %>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
<% end_if %>
|
<% end_if %>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@ -58,4 +60,4 @@
|
|||||||
|
|
||||||
<% include DocumentationFooter %>
|
<% include DocumentationFooter %>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user