/[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 20 - (show annotations)
Sun Dec 3 18:03:30 2006 UTC (17 years, 4 months ago) by dpavlin
Original Path: trunk/share/web/templates/index.html
File MIME type: text/html
File size: 415 byte(s)
loading of records from Model::Query now works
1 <%init>
2 my $queries = SQLSession::Model::QueryCollection->new();
3 $queries->unlimit();
4
5 </%init>
6
7 <&| /_elements/wrapper, title => "Available queries" &>
8 <dl>
9 % while (my $q = $queries->next) {
10 <dt><% Jifty->web->tangent(
11 url => '/sql/' . $q->id,
12 label => $q->name,
13 ) %></dt>
14 <dd>
15 on <% $q->on_database->name %> <tt>[<% $q->on_database->dsn %>]</tt>
16 <pre>
17 <% $q->sql_query %>
18 </pre>
19 </dd>
20 % }
21 </dl>
22 </&>

  ViewVC Help
Powered by ViewVC 1.1.26