Last change
on this file since 861 was
861,
checked in by nanardon, 13 years ago
|
- reimport missing files from previous svn
|
File size:
1.1 KB
|
Line | |
---|
1 | <!-- $Id: default.tt 3673 2010-09-17 16:57:32Z nanardon $ --> |
---|
2 | [% IF NOT netzone %] |
---|
3 | No group [% netzonename | html %] found. |
---|
4 | [% ELSE %] |
---|
5 | |
---|
6 | <div class="objectformleft" id="objectform"> |
---|
7 | [% INCLUDE 'netzones/menu.tt' %] |
---|
8 | |
---|
9 | [% INCLUDE 'includes/form.tt' |
---|
10 | form = form |
---|
11 | form_uri = c.uri_for(netzonename) %] |
---|
12 | </div> |
---|
13 | |
---|
14 | <div class="oform"> |
---|
15 | <table border=1> |
---|
16 | [% FOREACH host = netzone.get_attributes('hostsExclude').sort %] |
---|
17 | [% IF loop.first %] |
---|
18 | <tr> |
---|
19 | <th>Hosts excluded</th> |
---|
20 | </tr> |
---|
21 | <tr> |
---|
22 | <td> |
---|
23 | [% END %] |
---|
24 | [% ohost = c.model('Accounts').db.get_object('nethost', host) %] |
---|
25 | <a href="[% c.uri_for('/nethosts', host) %]">[% host | html %]</a><br> |
---|
26 | [% INCLUDE object_flag object = ohost %] |
---|
27 | [% IF loop.last %] |
---|
28 | </td> |
---|
29 | </tr> |
---|
30 | [% END %] |
---|
31 | [% END %] |
---|
32 | [% FOREACH host = netzone.get_attributes('hosts').sort %] |
---|
33 | [% IF loop.first %] |
---|
34 | <tr> |
---|
35 | <th>Hosts</th> |
---|
36 | </tr> |
---|
37 | <tr> |
---|
38 | <td> |
---|
39 | [% END %] |
---|
40 | [% ohost = c.model('Accounts').db.get_object('nethost', host) %] |
---|
41 | <a href="[% c.uri_for('/nethosts', host) %]">[% host | html %]</a> |
---|
42 | [% INCLUDE object_flag object = ohost %] |
---|
43 | <br> |
---|
44 | [% IF loop.last %] |
---|
45 | </td></tr> |
---|
46 | [% END %] |
---|
47 | [% END %] |
---|
48 | </table> |
---|
49 | </div> |
---|
50 | |
---|
51 | [% END %] |
---|
Note: See
TracBrowser
for help on using the repository browser.