Skip to content

Commit

Permalink
Better styleguide template
Browse files Browse the repository at this point in the history
  • Loading branch information
chillu committed Jul 11, 2019
1 parent 5b347c1 commit a4c28d0
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions app/templates/Layout/SimpleStyleguideController.ss
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
<div class="container">
<div class="row">
<section class="<% if $Children %>col-lg-12<% else %>col-lg-8 offset-lg-2<% end_if %>">
<header class="page-header">
$Breadcrumbs
<h1>$Title</h1>
</header>
</section>
</div>
<div class="row">
<section class="col-lg-8 offset-lg-2">
<div class="styleguide">
<p class="alert alert-warning">
This view is only accessible to developers and admin users.
It demonstrates styling variations, and can be used to
test styling changes.
</p>

<% include SimpleStyleguideNavigation %>

<div class="styleguide__content">
<% include SimpleStyleguideColorSwatches %>
<% include SimpleStyleguideTypography %>
<% include SimpleStyleguideHeadings %>
<% include SimpleStyleguideForm %>
</div>
</div>
</section>
</div>
</div>
<% include PageUtilities %>

0 comments on commit a4c28d0

Please sign in to comment.