aboutsummaryrefslogtreecommitdiffstats
path: root/lib/CatDap/View/Web.pm
diff options
context:
space:
mode:
Diffstat (limited to 'lib/CatDap/View/Web.pm')
-rw-r--r--lib/CatDap/View/Web.pm38
1 files changed, 38 insertions, 0 deletions
diff --git a/lib/CatDap/View/Web.pm b/lib/CatDap/View/Web.pm
new file mode 100644
index 0000000..f327443
--- /dev/null
+++ b/lib/CatDap/View/Web.pm
@@ -0,0 +1,38 @@
+package CatDap::View::Web;
+
+use strict;
+use warnings;
+
+use base 'Catalyst::View::TT';
+
+__PACKAGE__->config(
+ TEMPLATE_EXTENSION => '.tt',
+ render_die => 1,
+ WRAPPER => 'template/wrapper',
+ PRE_PROCESS => 'template/pre',
+);
+
+=head1 NAME
+
+CatDap::View::Web - Web View for CatDap
+
+=head1 DESCRIPTION
+
+Web View for CatDap.
+
+=head1 SEE ALSO
+
+L<CatDap>
+
+=head1 AUTHOR
+
+Buchan Milne
+
+=head1 LICENSE
+
+This library is free software. You can redistribute it and/or modify
+it under the same terms as Perl itself.
+
+=cut
+
+1;