| <!-- |
| Licensed to the Apache Software Foundation (ASF) under one |
| or more contributor license agreements. See the NOTICE file |
| distributed with this work for additional information |
| regarding copyright ownership. The ASF licenses this file |
| to you under the Apache License, Version 2.0 (the |
| "License"); you may not use this file except in compliance |
| with the License. You may obtain a copy of the License at |
| |
| http://www.apache.org/licenses/LICENSE-2.0 |
| |
| Unless required by applicable law or agreed to in writing, |
| software distributed under the License is distributed on an |
| "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY |
| KIND, either express or implied. See the License for the |
| specific language governing permissions and limitations |
| under the License. |
| --> |
| |
| <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"> |
| <head> |
| <title>Brooklyn Objects</title> |
| <meta http-equiv="content-type" content="text/html; charset=iso-8859-1"/> |
| <link rel="stylesheet" href="items.css" type="text/css" media="screen"/> |
| <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap.min.css"> |
| </head> |
| |
| <body> |
| <div id="container"> |
| <div id="header"> |
| <div id="identity"> |
| <a href="http://brooklyncentral.github.com/" rel="home">Brooklyn</a> |
| </div> |
| </div> |
| |
| <ul class="nav nav-tabs"> |
| <li class="active"><a href="#entities" data-toggle="tab">Entities</a></li> |
| <li><a href="#policies" data-toggle="tab">Policies</a></li> |
| <li><a href="#enrichers" data-toggle="tab">Enrichers</a></li> |
| </ul> |
| |
| <div class="tab-content"> |
| <div class="tab-pane active" id="entities"></div> |
| <div class="tab-pane" id="policies"></div> |
| <div class="tab-pane" id="enrichers"></div> |
| <div class="tab-pane" id="locations"></div> |
| <div class="tab-pane" id="locationResolvers"></div> |
| </div> |
| </div> |
| |
| <script src="http://underscorejs.org/underscore-min.js" type="text/javascript"></script> |
| <script src="http://code.jquery.com/jquery-1.11.1.min.js" type="text/javascript"></script> |
| <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.2.0/js/bootstrap.min.js"></script> |
| <script src="common.js" type="text/javascript"></script> |
| <script src="items.js" type="text/javascript"></script> |
| <script type="text/javascript"> |
| $(document).ready(function () { |
| items.entities.forEach(function (element) { $("#entities").append(brooklyn.entityCard(element)); }); |
| items.policies.forEach(function (element) { $("#policies").append(brooklyn.policyCard(element)); }); |
| items.enrichers.forEach(function (element) { $("#enrichers").append(brooklyn.enricherCard(element)); }); |
| //items.locations.forEach(function (element) { $("#locations").append(brooklyn.locationCard(element)); }); |
| //items.locationResolvers.forEach(function (element) { $("#locationResolvers").append("<tr><td>" + element + "</td></tr>"); }); |
| }); |
| </script> |
| </body> |
| </html> |