Bootstrap 2 html tests

pull/59/head
Michael Jett 2012-04-16 16:44:31 -04:00
parent 9c86a23ee1
commit 8ab1fc1b60
3 changed files with 202 additions and 52 deletions

View File

@ -0,0 +1,154 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Bootstrap, from Twitter</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="">
<meta name="author" content="">
<!-- Le styles -->
<link href="../boostrap2/css/bootstrap.css" rel="stylesheet">
<link href="../boostrap2/css/bootstrap-responsive.css" rel="stylesheet">
<style type="text/css">
body {
padding-top: 60px;
padding-bottom: 40px;
}
.sidebar-nav {
padding: 9px 0;
}
h1,label {
text-shadow: 1px 1px 1px #FFFFFF;
}
.brand {
background: url("../images/openid_small.png") no-repeat scroll 7px 7px transparent;
}
</style>
<!-- Le HTML5 shim, for IE6-8 support of HTML5 elements -->
<!--[if lt IE 9]>
<script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
<!-- Le fav and touch icons -->
<link rel="shortcut icon" href="../boostrap2/ico/favicon.ico">
<link rel="apple-touch-icon-precomposed" sizes="114x114" href="../boostrap2/ico/apple-touch-icon-114-precomposed.png">
<link rel="apple-touch-icon-precomposed" sizes="72x72" href="../boostrap2/ico/apple-touch-icon-72-precomposed.png">
<link rel="apple-touch-icon-precomposed" href="../boostrap2/ico/apple-touch-icon-57-precomposed.png">
</head>
<body>
<div class="navbar navbar-fixed-top">
<div class="navbar-inner">
<div class="container-fluid">
<a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</a>
<a class="brand" style="padding-left: 35px" href="#">OpenID Connect Server</a>
<div class="nav-collapse">
<ul class="nav">
<li class="active"><a href="#">Home</a></li>
<li><a href="#about">About</a></li>
<li><a href="#contact">Statistics</a></li>
<li><a href="#contact">Contact</a></li>
</ul>
<p class="navbar-text pull-right">Logged in as <a href="#">username</a></p>
</div><!--/.nav-collapse -->
</div>
</div>
</div>
<div class="container-fluid">
<div class="row-fluid">
<div class="span2">
<div class="well sidebar-nav">
<ul class="nav nav-list">
<li class="nav-header">Administrative</li>
<li><a href="#">Manage Clients</a></li>
<li><a href="#">White Lists</a></li>
<li><a href="#">Black Lists</a></li>
<li class="nav-header">Personal</li>
<li><a href="#">Manage Sites</a></li>
<li><a href="#">Manage Active Tokens</a></li>
<li><a href="#">Manage Profiles</a></li>
</ul>
</div><!--/.well -->
</div><!--/span-->
<div class="span10">
<div class="hero-unit">
<h1>Hello, world!</h1>
<p>This is a template for a simple marketing or informational website. It includes a large callout called the hero unit and three supporting pieces of content. Use it as a starting point to create something more unique.</p>
<p><a class="btn btn-primary btn-large">Learn more &raquo;</a></p>
</div>
<div class="row-fluid">
<div class="span4">
<h2>Heading</h2>
<p>Donec id elit non mi porta gravida at eget metus. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Etiam porta sem malesuada magna mollis euismod. Donec sed odio dui. </p>
<p><a class="btn" href="#">View details &raquo;</a></p>
</div><!--/span-->
<div class="span4">
<h2>Heading</h2>
<p>Donec id elit non mi porta gravida at eget metus. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Etiam porta sem malesuada magna mollis euismod. Donec sed odio dui. </p>
<p><a class="btn" href="#">View details &raquo;</a></p>
</div><!--/span-->
<div class="span4">
<h2>Heading</h2>
<p>Donec id elit non mi porta gravida at eget metus. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Etiam porta sem malesuada magna mollis euismod. Donec sed odio dui. </p>
<p><a class="btn" href="#">View details &raquo;</a></p>
</div><!--/span-->
</div><!--/row-->
<div class="row-fluid">
<div class="span4">
<h2>Heading</h2>
<p>Donec id elit non mi porta gravida at eget metus. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Etiam porta sem malesuada magna mollis euismod. Donec sed odio dui. </p>
<p><a class="btn" href="#">View details &raquo;</a></p>
</div><!--/span-->
<div class="span4">
<h2>Heading</h2>
<p>Donec id elit non mi porta gravida at eget metus. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Etiam porta sem malesuada magna mollis euismod. Donec sed odio dui. </p>
<p><a class="btn" href="#">View details &raquo;</a></p>
</div><!--/span-->
<div class="span4">
<h2>Heading</h2>
<p>Donec id elit non mi porta gravida at eget metus. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Etiam porta sem malesuada magna mollis euismod. Donec sed odio dui. </p>
<p><a class="btn" href="#">View details &raquo;</a></p>
</div><!--/span-->
</div><!--/row-->
</div><!--/span-->
</div><!--/row-->
<hr>
<footer>
<p>&copy; Company 2012</p>
</footer>
</div><!--/.fluid-container-->
<!-- Le javascript
================================================== -->
<!-- Placed at the end of the document so the pages load faster -->
<script src="../boostrap2/js/jquery.js"></script>
<script src="../boostrap2/js/bootstrap-transition.js"></script>
<script src="../boostrap2/js/bootstrap-alert.js"></script>
<script src="../boostrap2/js/bootstrap-modal.js"></script>
<script src="../boostrap2/js/bootstrap-dropdown.js"></script>
<script src="../boostrap2/js/bootstrap-scrollspy.js"></script>
<script src="../boostrap2/js/bootstrap-tab.js"></script>
<script src="../boostrap2/js/bootstrap-tooltip.js"></script>
<script src="../boostrap2/js/bootstrap-popover.js"></script>
<script src="../boostrap2/js/bootstrap-button.js"></script>
<script src="../boostrap2/js/bootstrap-collapse.js"></script>
<script src="../boostrap2/js/bootstrap-carousel.js"></script>
<script src="../boostrap2/js/bootstrap-typeahead.js"></script>
</body>
</html>

View File

@ -3,46 +3,31 @@
<head>
<meta charset="utf-8">
<title>OpenID Connect</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="">
<meta name="author" content="">
<!-- Le javascript -->
<script src="http://code.jquery.com/jquery-1.7.min.js"></script>
<script src="../bootstrap/js/bootstrap-modal.js"></script>
<script src="../bootstrap/js/bootstrap-alerts.js"></script>
<script src="../bootstrap/js/bootstrap-twipsy.js"></script>
<script src="../bootstrap/js/bootstrap-popover.js"></script>
<script src="../bootstrap/js/bootstrap-dropdown.js"></script>
<script src="../bootstrap/js/bootstrap-scrollspy.js"></script>
<script src="../bootstrap/js/bootstrap-tabs.js"></script>
<script src="../bootstrap/js/bootstrap-buttons.js"></script>
<script src="../js/tmpl.js"></script>
<!-- Le styles -->
<link href="../boostrap2/css/bootstrap.css" rel="stylesheet">
<style type="text/css">
body {
padding-top: 60px;
padding-bottom: 40px;
}
.sidebar-nav {
padding: 9px 0;
}
</style>
<link href="../boostrap2/css/bootstrap-responsive.css" rel="stylesheet">
<script>$(function () {
var ExampleOpenIdClient = {
name:"A name",
redirectURL:"http://myURL.domain",
grantType:["my grant type 1", "my grant type 2"],
scope:["scope 1", "scope 2"],
authority:"my authority",
description:"my description",
refreshTokens:false
};
console.log(tmpl('client_tmpl', ExampleOpenIdClient));
$('#client-table').append(tmpl('client_tmpl', ExampleOpenIdClient));
})</script>
<!-- Le HTML5 shim, for IE6-8 support of HTML elements -->
<!--[if lt IE 9]>
<script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
<!-- Le styles -->
<link href="../bootstrap/bootstrap.css" rel="stylesheet">
<style type="text/css">
body {
padding-top: 60px;
@ -52,7 +37,7 @@
text-shadow: 1px 1px 1px #FFFFFF;
}
.logo {
.brand {
background: url("../images/openid_small.png") no-repeat left center;
padding-left: 30px;
}
@ -68,23 +53,30 @@
<body>
<div class="topbar">
<div class="topbar-inner">
<div class="navbar navbar-fixed-top">
<div class="navbar-inner">
<div class="container-fluid">
<a class="brand" href="#"><span class="logo">OpenID Connect Server</span></a>
<ul class="nav">
<li class="active"><a href="#">Home</a></li>
<li><a href="#about">About</a></li>
<li><a href="#about">Statistics</a></li>
<li><a href="#contact">Contact</a></li>
</ul>
<p class="pull-right">Logged in as <a href="#">username</a></p>
<a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</a>
<a class="brand" href="#">Project name</a>
<div class="nav-collapse">
<ul class="nav">
<li class="active"><a href="#">Home</a></li>
<li><a href="#about">About</a></li>
<li><a href="#contact">Contact</a></li>
</ul>
<p class="navbar-text pull-right">Logged in as <a href="#">username</a></p>
</div><!--/.nav-collapse -->
</div>
</div>
</div>
<div class="container-fluid">
<div class="sidebar">
<div class="row-fluid">
<div class="sidebar span-3">
<div class="well">
<h5>Administrative</h5>
<ul>
@ -100,7 +92,10 @@
</ul>
</div>
</div>
<div class="content">
<div class="span-9">
<div class="">
<ul class="breadcrumb">
<li><a href="#">Home</a> <span class="divider">/</span></li>
@ -118,7 +113,7 @@
<fieldset>
<legend>OpenID Client</legend>
</fieldset>
<div class="clearfix">
<div class="control-group">
<label for="xlInput">Client Name</label>
<div class="input">
@ -126,7 +121,7 @@
</div>
</div>
<div class="clearfix">
<div class="control-group">
<label for="prependedInput">Redirect Url</label>
<div class="input">
@ -139,7 +134,7 @@
</div>
</div>
<div class="clearfix">
<div class="control-group">
<label id="optionsCheckboxes">Grant Types:</label>
<div class="input">
@ -169,7 +164,7 @@
</div>
</div>
<div class="clearfix">
<div class="control-group">
<label for="textarea2">Scope</label>
<div class="input">
@ -181,7 +176,7 @@
</div>
</div>
<div class="clearfix">
<div class="control-group">
<label id="authorities">Authorities:</label>
<div class="input">
@ -211,7 +206,7 @@
</div>
</div>
<div class="clearfix">
<div class="control-group">
<label for="appendedInput">Access Token Timeout</label>
<div class="input">
@ -222,7 +217,7 @@
</div>
</div>
<div class="clearfix">
<div class="control-group">
<label for="form-description">Description</label>
<div class="input">
@ -231,7 +226,7 @@
</div>
</div>
<div class="clearfix">
<div class="control-group">
<label id="form-allow-tokens">Allow refresh tokens?</label>
<div class="input">
@ -249,7 +244,7 @@
</div>
</div>
<div class="clearfix">
<div class="control-group">
<label for="appendedInput">Refresh Token Timeout</label>
<div class="input">
@ -276,6 +271,7 @@
<p>&copy; Company 2012</p>
</footer>
</div>
</div>
</div>
</body>

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.2 KiB