Skip to content

Commit

Permalink
Model example with tabs
Browse files Browse the repository at this point in the history
  • Loading branch information
jmrenouard committed Sep 14, 2015
1 parent 8d98ead commit 31c671d
Showing 1 changed file with 47 additions and 7 deletions.
54 changes: 47 additions & 7 deletions template_example.tpl
Original file line number Diff line number Diff line change
@@ -1,15 +1,55 @@
<!DOCTYPE html>
<html>
<html lang="en">
<head>
<title>Report Example</title>
<meta charset="UTF-8">
<title>MySQL Tuner report</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="http://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script>
<script src="http://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/js/bootstrap.min.js"></script>
</head>
<body>

<h1>Result output</h1>
<pre>
{$data}
</pre>
<div class="container">
<h3>MysqLTuner Report</h3>
<ul class="nav nav-tabs">
<li class="active"><a href="#debug">Home</a></li>
<!--
<li class="dropdown">
<a class="dropdown-toggle" data-toggle="dropdown" href="#">Menu 1 <span class="caret"></span></a>
<ul class="dropdown-menu">
<li><a href="#">Submenu 1-1</a></li>
<li><a href="#">Submenu 1-2</a></li>
<li><a href="#">Submenu 1-3</a></li>
</ul>
</li>
<li><a href="#">Menu 2</a></li>
<li><a href="#">Menu 3</a></li>
-->
</ul>
<div class="tab-content">
<div id="debug" class="tab-pane fade active">
<h3>Raw Result Data Structure</h3>
<pre>
{$data}
</pre>
</div>
<!--
<div id="home" class="tab-pane fade in active">
<h3>HOME</h3>
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</p>
</div>
<div id="menu1" class="tab-pane fade">
<h3>Menu 1</h3>
<p>Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.</p>
</div>
<div id="menu2" class="tab-pane fade">
<h3>Menu 2</h3>
<p>Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam.</p>
</div>
-->
</div>
</div>

</body>
</html>

0 comments on commit 31c671d

Please sign in to comment.