Annotation of embedaddon/strongswan/src/manager/templates/config/list.cs, revision 1.1.1.1
1.1 misho 1: <?cs include:"templates/header.cs" ?>
2: <?cs each:peercfg = peercfgs ?>
3: <div class="expand" id="peercfg-<?cs name:peercfg ?>">
4: <h1><?cs name:peercfg ?>:
5: <span><?cs var:peercfg.local ?></span> <->
6: <span><?cs var:peercfg.remote ?></span>
7: </h1>
8: <div class="controls">
9: <?cs if:peercfg.remote != "%any" ?>
10: <a title="initiate SA" href="<?cs var:base ?>/control/initiateike/<?cs name:peercfg ?>">
11: <img src="<?cs var:base ?>/static/initiate.png"/>
12: </a>
13: <?cs else ?>
14:
15: <?cs /if ?>
16: </div>
17: <div class="expander">
18: <hr/>
19: <table class="drawing">
20: <tr>
21: <td class="left" colspan="3">
22: <?cs var:peercfg.local ?>
23: </td>
24: <td>
25: </td>
26: <td class="right" colspan="3">
27: <?cs var:peercfg.remote ?>
28: </td>
29: </tr>
30: <tr class="images">
31: <td>
32: <?cs if:peercfg.remote != "%any" ?>
33: <img title="Local host can be the initiator" src="<?cs var:base ?>/static/client-left.png"></img>
34: <?cs else ?>
35: <img title="Local host must be the responder" src="<?cs var:base ?>/static/gateway-left.png"></img>
36: <?cs /if ?>
37: </td>
38: <td style="background-image:url(<?cs var:base ?>/static/pipe.png)">
39: <font color="#e5bf5e">0123456789abdcef</font><br/><br/><br/>
40: <?cs var:peercfg.ikecfg.local ?>
41: </td>
42: <td>
43: <img src="<?cs var:base ?>/static/pipe.png"></img>
44: </td>
45: <td>
46: <img title="IKE connection is down" src="<?cs var:base ?>/static/pipe.png"></img>
47: </td>
48: <td>
49: <img src="<?cs var:base ?>/static/pipe.png"></img>
50: </td>
51: <td class="right" style="background-image:url(<?cs var:base ?>/static/pipe.png)">
52: <font color="#e5bf5e">0123456789abcdef</font><br/><br/><br/>
53: <?cs var:peercfg.ikecfg.remote ?>
54: </td>
55: <td>
56: <?cs if:peercfg.remote == "%any" ?>
57: <img title="Remote host must be the initiator" src="<?cs var:base ?>/static/client-right.png"></img>
58: <?cs else ?>
59: <img title="Remote host can be the responder" src="<?cs var:base ?>/static/gateway-right.png"></img>
60: <?cs /if ?>
61: </td>
62: </tr>
63: <?cs each:childcfg = peercfg.childcfgs ?>
64: <tr>
65: <td colspan="6" class="expand">
66: <h1><?cs name:childcfg ?>:</h1>
67: </td>
68: <td class="controls">
69: <?cs if:peercfg.remote != "%any" ?>
70: <a title="initiate SA" href="<?cs var:base ?>/control/initiatechild/<?cs name:childcfg ?>">
71: <img src="<?cs var:base ?>/static/initiate.png"/>
72: </a>
73: <?cs /if ?>
74: </td>
75: </tr>
76: <tr>
77: <td colspan="7"><hr/></td>
78: </tr>
79: <tr class="images">
80: <td colspan="2">
81: <?cs each:net = childcfg.local.networks ?>
82: <p><?cs var:net ?></p>
83: <?cs /each ?>
84: </td>
85: <td style="background-image:url(<?cs var:base ?>/static/pipe-thin-left.png)">
86: <br/><br/><br/>
87: </td>
88: <td style="background-image:url(<?cs var:base ?>/static/pipe-thin.png)">
89: </td>
90: <td class="right" style="background-image:url(<?cs var:base ?>/static/pipe-thin-right.png)">
91: <br/><br/><br/>
92: </td>
93: <td class="right" colspan="2">
94: <?cs each:net = childcfg.remote.networks ?>
95: <p><?cs var:net ?></p>
96: <?cs /each ?>
97: </td>
98: </tr>
99: <?cs /each ?>
100: </table>
101: </div>
102: </div>
103: <?cs /each ?>
104: <?cs include:"templates/footer.cs" ?>
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>