/[SQLSession]/trunk/share/web/templates/list
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Contents of /trunk/share/web/templates/list

Parent Directory Parent Directory | Revision Log Revision Log


Revision 84 - (show annotations)
Tue Jan 30 14:08:47 2007 UTC (17 years, 3 months ago) by dpavlin
File size: 514 byte(s)
use on_database parameter for database id throughout all code,
implement save query using tangents and continuations
1 <%args>
2 $on_database => undef
3 $order => 'name'
4 </%args>
5 <%init>
6 my $queries_region = Jifty::Web::PageRegion->new(
7 name => 'queries',
8 path => '/fragments/queries',
9 defaults => {
10 on_database => $on_database,
11 order => $order
12 },
13 );
14 </%init>
15
16
17 <&| /_elements/wrapper, title => "Available queries" &>
18
19 <% $queries_region->render %>
20
21 </&>
22
23 % if ( Jifty->web->current_user->role('edit') ) {
24 <% Jifty->web->tangent(
25 url => '/new',
26 parameters => { database => $on_database },
27 label => 'New SQL query',
28 ) %>
29
30
31 % }

  ViewVC Help
Powered by ViewVC 1.1.26