Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
61 lines (52 sloc) 2.26 KB
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8">
<title>Partition - Icicle</title>
<script type="text/javascript" src="lib/jquery.js"></script>
<script type="text/javascript" src="lib/d3.js"></script>
<script type="text/javascript" src="lib/d3.layout.js"></script>
<script type="text/javascript" src="lib/underscore.js"></script>
<script type="text/javascript" src="lib/data.js"></script>
<script type="text/javascript" src="lib/backbone.js"></script>
<script type="text/javascript" src="javascripts/helpers.js"></script>
<script type="text/javascript" src="fixtures/countries.js"></script>
<script type="text/javascript" src="javascripts/matrix_plot.js"></script>
<script type="text/javascript" src="javascripts/application.js"></script>
<script type="text/x-ejs-template" name="project">
<div id="facets"></div>
<div id="canvas"></div>
</script>
<script type="text/x-ejs-template" name="facets">
<h1>Filter criteria</h1>
<% filters.each(function(f, key) { %>
<div class="filter">
<div><h3><%= f.property.name %></h3></div>
<div class="values">
<% f.property.all('values').each(function(value, key) { %>
<% color = f.selectedValues.get(key); %>
<% if (color) { %>
<a class="remove-value" style="background: <%= color %>;" href="#" property="<%= f.property.key %>" val="<%= value.val %>"><%= value.val %> (<%= value.referencedObjects.length %>)</a>
<% } else { %>
<a class="add-value" href="#" property="<%= f.property.key %>" val="<%= value.val %>"><%= value.val %> (<%= value.referencedObjects.length %>)</a>
<% } %>
<% }); %>
</div>
</div>
<% }); %>
</script>
<script type="text/javascript">
$(function() {
var app = new Application();
app.render();
});
</script>
<link rel="stylesheet" type="text/css" media="all" href="stylesheets/reset.css"/>
<link rel="stylesheet" type="text/css" media="all" href="stylesheets/style.css"/>
</head>
<body>
<div id="header"></div>
<div id="project">
</div>
</body>
</html>
Jump to Line
Something went wrong with that request. Please try again.