added faceted links
[MojoFacets.git] / templates / layouts / ui.html.ep
index 6c604df..5d91ccb 100644 (file)
 <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script>
 <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.0/jquery-ui.min.js"></script>
 
+<script type="text/javascript">
+
+// mock console
+if(!window.console) {
+       window.console = new function() {
+               this.info = function(str) {};
+               this.debug = function(str) {};
+       };
+}
+
+</script>
+
 </head>
 <body>
 
-<a href="<%= url_for( action => 'index' ) %>">load</a>
-<a href="<%= url_for( action => 'columns' ) %>">columns</a>
-<a href="<%= url_for( action => 'table' ) %>">table</a>
+<%= include 'admin' %>
 
 <%== content %>