Parent Directory | Revision Log
experimental ExtJS 2.1 integration
1 | dpavlin | 159 | package ExtJS::Portal; |
2 | use Moose; | ||
3 | |||
4 | extends 'Frey'; | ||
5 | with 'Frey::Web'; | ||
6 | |||
7 | our $ext = '/static/js/ext-2.1'; | ||
8 | |||
9 | sub depends { | ||
10 | my $self = shift; | ||
11 | |||
12 | $self->add_head( "$ext/resources/css/ext-all.css" ); | ||
13 | $self->add_head( "$ext/$_" ) foreach ( qw{ | ||
14 | adapter/ext/ext-base.js | ||
15 | ext-all.js | ||
16 | }); | ||
17 | |||
18 | $self->add_head( "$ext/examples/portal/$_" ) foreach ( qw{ | ||
19 | Portal.js | ||
20 | PortalColumn.js | ||
21 | Portlet.js | ||
22 | sample.js | ||
23 | sample-grid.js | ||
24 | portal.css | ||
25 | sample.css | ||
26 | }); | ||
27 | |||
28 | } | ||
29 | |||
30 | sub markup { | ||
31 | my $self = shift; | ||
32 | $self->page( | ||
33 | title => "Custom Layouts and Containers - Portal Sample", | ||
34 | body => qq| | ||
35 | <script type="text/javascript" src="$ext/examples/shared/examples.js"></script><!-- EXAMPLES --> | ||
36 | |, | ||
37 | ); | ||
38 | } |
ViewVC Help | |
Powered by ViewVC 1.1.26 |