Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

forgotten files

  • Loading branch information...
commit 6240c7dc6a1d1b42655681a1e7e71332ab758d78 1 parent 5daba94
authored September 09, 2010
7  extensions/WebNano-Controller-CRUD/app.psgi
... ...
@@ -0,0 +1,7 @@
  1
+use lib 't/lib';
  2
+
  3
+use MyApp;
  4
+my $app = MyApp->new();
  5
+$app->psgi_callback;
  6
+
  7
+
10  extensions/WebNano-Controller-CRUD/lib/WebNano/Controller/CRUD/templates/delete.tt
... ...
@@ -0,0 +1,10 @@
  1
+<html>
  2
+<body>
  3
+<form method="post">
  4
+<fieldset class="widget_fieldset">
  5
+<input class="submit" id="widget_ok" name="ok" type="submit" value="Delete ?" />
  6
+</fieldset>
  7
+</form>
  8
+</body>
  9
+</html>
  10
+
6  extensions/WebNano-Controller-CRUD/lib/WebNano/Controller/CRUD/templates/edit.tt
... ...
@@ -0,0 +1,6 @@
  1
+<html>
  2
+<body>
  3
+[% form %]
  4
+</body>
  5
+</html>
  6
+
26  extensions/WebNano-Controller-CRUD/lib/WebNano/Controller/CRUD/templates/list.tt
... ...
@@ -0,0 +1,26 @@
  1
+<html>
  2
+<body>
  3
+<table>
  4
+<tr>
  5
+[% FOREACH col IN c.columns %]
  6
+<th>[% col %]</td>
  7
+[% END %]
  8
+<td></td>
  9
+<td></td>
  10
+<td></td>
  11
+</tr>
  12
+[% FOREACH record IN items %]
  13
+<tr>
  14
+[% FOREACH col IN c.columns %]
  15
+<td>
  16
+[% record.$col %]
  17
+</td>
  18
+[% END %]
  19
+<td><a href="[% c.self_url %][% record.id %]/view">View</a></td>
  20
+<td><a href="[% c.self_url %][% record.id %]/edit">Edit</a></td>
  21
+<td><a href="[% c.self_url %][% record.id %]/delete">Delete</a></td>
  22
+</tr>
  23
+[% END %]
  24
+</body>
  25
+</html>
  26
+
18  extensions/WebNano-Controller-CRUD/lib/WebNano/Controller/CRUD/templates/record.tt
... ...
@@ -0,0 +1,18 @@
  1
+<html>
  2
+<body>
  3
+Fields.
  4
+<table>
  5
+[% FOREACH col IN c.columns %]
  6
+<tr>
  7
+<td>
  8
+<strong>[% col %]</strong>
  9
+</td>
  10
+<td>
  11
+[% record.$col %]
  12
+</td>
  13
+</tr>
  14
+[% END %]
  15
+</table>
  16
+</body>
  17
+</html>
  18
+
1  extensions/WebNano-Renderer-TT/t/data/tt1/subdir2/some
... ...
@@ -0,0 +1 @@
  1
+This is 'some' template in 't/data/tt1/subdir2'

0 notes on commit 6240c7d

Please sign in to comment.
Something went wrong with that request. Please try again.