projects
/
MojoFacets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
save selected column in views and load them
[MojoFacets.git]
/
templates
/
data
/
columns.html.ep
diff --git
a/templates/data/columns.html.ep
b/templates/data/columns.html.ep
index
0eb4e34
..
8c8c1e7
100644
(file)
--- a/
templates/data/columns.html.ep
+++ b/
templates/data/columns.html.ep
@@
-17,6
+17,16
@@
$(document).ready(function() {
</script>
</script>
+<div style="float:right">
+% if ( $views ) {
+Load view:
+<ul>
+% foreach my $view ( @$views ) {
+<li><a href="/data/columns/<%= $view %>"><%= $view %></a>
+% }
+</ul>
+% }
+</div>
<h2>Select and reorder columns</h2>
<h2>Select and reorder columns</h2>
@@
-46,7
+56,9
@@
$(document).ready(function() {
<input type=submit value="Select">
<input type=submit value="Select">
-from <input type=text name=path value="<%= session('path') %>" readonly>
+<input type=hidden name=path value="<%= session('path') %>" readonly>
+
+<input type=text name=view placeholder="save view">
<a href="<%= url_for( action => 'stats' ) %>">rebuild stats</a>
<a href="<%= url_for( action => 'stats' ) %>">rebuild stats</a>