projects
/
APKPM.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
9564008
)
hide sql form
author
Dobrica Pavlinusic
<dpavlin@rot13.org>
Wed, 13 Apr 2011 09:12:59 +0000
(09:12 +0000)
committer
Dobrica Pavlinusic
<dpavlin@rot13.org>
Wed, 13 Apr 2011 09:12:59 +0000
(09:12 +0000)
templates/gnuplot.html.ep
patch
|
blob
|
history
diff --git
a/templates/gnuplot.html.ep
b/templates/gnuplot.html.ep
index
65435a4
..
3e1e50d
100644
(file)
--- a/
templates/gnuplot.html.ep
+++ b/
templates/gnuplot.html.ep
@@
-1,4
+1,7
@@
% layout 'default';
+
+% if ( ! param('hide') ) {
+
<%= form_for gnuplot => begin %>
<%= text_area 'sql', cols => 80, rows => 5 %>
<br>with <%= select_field with => [qw(dots points steps lines)], 'dots' %>
@@
-6,8
+9,12
@@
<%= submit_button 'execute' %>
<%= check_box 'include_gnuplot' => 1, title => 'include gnuplot dump' %>
<% end %>
+
+% }
+
% if ( $img ) {
<img src="<%= $img %>">
% }
+
<pre><%= $gnuplot %></pre>