Skip to content

Instantly share code, notes, and snippets.

@TechNickAI
Last active December 10, 2015 09:49
Show Gist options
  • Save TechNickAI/4416957 to your computer and use it in GitHub Desktop.
Save TechNickAI/4416957 to your computer and use it in GitHub Desktop.
Basic Template for AdSynth. It assumes the following files bootstrap are served from the root: /css/bootstrap.min.css /css/bootstrap-response.min.css /js/bootstrap.min.js /img/glyphicons-halflings-white.png /img/glyphicons-halflings.png These files are available from bootstrap: http://twitter.github.com/bootstrap/assets/bootstrap.zip
<!DOCTYPE html>
<html>
<title>AdSynth</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link href="/css/bootstrap.min.css" rel="stylesheet">
<link href="/css/bootstrap-responsive.min.css" rel="stylesheet">
<style type="text/css"> body { padding-top: 60px; padding-bottom: 40px; } </style>
<body>
<div class="navbar navbar-inverse navbar-fixed-top">
<div class="navbar-inner">
<div class="container">
<a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
<span class="icon-bar">&nbsp;</span>
<span class="icon-bar">&nbsp;</span>
<span class="icon-bar">&nbsp;</span>
</a>
<a class="brand">AdSynth</a>
<div class="nav-collapse collapse">
<ul class="nav">
<li class="dropdown">
<a href="/" class="dropdown-toggle" data-toggle="dropdown">Alert Server<b class="caret">&nbsp;</b></a>
<ul class="dropdown-menu">
<li><a href="/alerts">List Alerts</a></li>
<li><a href="/alerts/new">New Alert</a></li>
<li><a href="#">Event Log</a></li>
</ul>
</li>
<!-- Other projects here -->
</ul>
</div><!--/.nav-collapse -->
</div>
</div><!-- .navbar-inner-->
</div><!-- .navbar -->
<div id="content" class="container">
</div><!-- .container -->
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.8/jquery.min.js"></script>
<script src="/js/bootstrap.min.js"></script>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment