make columns sortable using jQuery UI sortable
authorDobrica Pavlinusic <dpavlin@rot13.org>
Sat, 3 Apr 2010 20:30:23 +0000 (22:30 +0200)
committerDobrica Pavlinusic <dpavlin@rot13.org>
Sat, 3 Apr 2010 20:30:23 +0000 (22:30 +0200)
templates/layouts/ui.html.ep [new file with mode: 0644]

diff --git a/templates/layouts/ui.html.ep b/templates/layouts/ui.html.ep
new file mode 100644 (file)
index 0000000..5f463d1
--- /dev/null
@@ -0,0 +1,21 @@
+<!doctype html><html>
+<head>
+<meta charset=utf-8>
+<title><%= session('path') || 'Mojo Facets' %></title>
+<link type="text/css" href="/mojo_facets.css" rel="stylesheet" />
+
+<link type="text/css" href="/css/ui-lightness/jquery-ui-1.8.custom.css" rel="stylesheet" />    
+<script type="text/javascript" src="/js/jquery-1.4.2.min.js"></script>
+<script type="text/javascript" src="/js/jquery-ui-1.8.custom.min.js"></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>
+
+<%== content %>
+
+</body>
+</html>