Annotation of embedaddon/strongswan/src/manager/templates/ikesa/list.cs, revision 1.1

1.1     ! misho       1: <?cs include:"templates/header.cs" ?>
        !             2: <?cs each:ikesa = ikesas ?>
        !             3:   <div class="expand" id="ikesa-<?cs name:ikesa ?>">
        !             4:   <h1>
        !             5:     <?cs var:ikesa.peerconfig ?> [IKE #<?cs name:ikesa ?>]:
        !             6:     <span><?cs var:ikesa.local.identification ?></span> &lt;-&gt;
        !             7:     <span><?cs var:ikesa.remote.identification ?></span>
        !             8:   </h1>
        !             9:   <div class="controls">
        !            10:     <a title="close IKE_SA" href="<?cs var:base ?>/control/terminateike/<?cs name:ikesa ?>">
        !            11:       <img src="<?cs var:base ?>/static/close.png"/>
        !            12:     </a>
        !            13:   </div>
        !            14:   <div class="expander">
        !            15:     <hr/>
        !            16:     <table class="drawing">
        !            17:       <tr>
        !            18:         <td class="left" colspan="3">
        !            19:           <?cs var:ikesa.local.identification ?>
        !            20:         </td>
        !            21:         <td>
        !            22:         </td>
        !            23:         <td class="right" colspan="3">
        !            24:           <?cs var:ikesa.remote.identification ?>
        !            25:         </td>
        !            26:       </tr>
        !            27:       <tr class="images">
        !            28:         <td>
        !            29:           <?cs if:ikesa.role == "initiator" ?>
        !            30:           <img title="Local host is the initiator" src="<?cs var:base ?>/static/client-left.png"></img>
        !            31:           <?cs else ?>
        !            32:           <img title="Local host is the responder" src="<?cs var:base ?>/static/gateway-left.png"></img>
        !            33:           <?cs /if ?>
        !            34:         </td>
        !            35:         <td style="background-image:url(<?cs var:base ?>/static/pipe.png)">
        !            36:         <?cs var:ikesa.local.spi ?><br/><br/><br/>
        !            37:         <?cs var:ikesa.local.address ?>
        !            38:         </td>
        !            39:         <td>
        !            40:           <?cs if:ikesa.local.nat == "true" ?>
        !            41:           <img title="Local host is behind NAT" src="<?cs var:base ?>/static/router.png"></img>
        !            42:           <?cs else ?>
        !            43:           <img title="Local host is not NATed" src="<?cs var:base ?>/static/pipe.png"></img>
        !            44:           <?cs /if ?>
        !            45:         </td>
        !            46:         <td>
        !            47:           <?cs if:ikesa.status == "established" ?>
        !            48:           <img title="IKE connection <?cs var:ikesa.status ?>" src="<?cs var:base ?>/static/pipe-good.png"></img>
        !            49:           <?cs else ?>
        !            50:           <img title="IKE connection in state <?cs var:ikesa.status ?>" src="<?cs var:base ?>/static/pipe-bad.png"></img>
        !            51:           <?cs /if ?>
        !            52:         </td>
        !            53:         <td>
        !            54:           <?cs if:ikesa.remote.nat == "true" ?>
        !            55:           <img title="Remote host is behind NAT" src="<?cs var:base ?>/static/router.png"></img>
        !            56:           <?cs else ?>
        !            57:           <img title="Remote host is not NATed" src="<?cs var:base ?>/static/pipe.png"></img>
        !            58:           <?cs /if ?>
        !            59:         </td>
        !            60:         <td class="right" style="background-image:url(<?cs var:base ?>/static/pipe.png)">
        !            61:         <?cs var:ikesa.remote.spi ?><br/><br/><br/>
        !            62:         <?cs var:ikesa.remote.address ?>
        !            63:         </td>
        !            64:         <td>
        !            65:           <?cs if:ikesa.role == "responder" ?>
        !            66:           <img title="Remote host is the initiator" src="<?cs var:base ?>/static/client-right.png"></img>
        !            67:           <?cs else ?>
        !            68:           <img title="Remote host is the responder" src="<?cs var:base ?>/static/gateway-right.png"></img>
        !            69:           <?cs /if ?>
        !            70:         </td>
        !            71:       </tr>
        !            72:       <?cs each:childsa = ikesa.childsas ?>
        !            73:       <tr>
        !            74:         <td colspan="6" class="expand">
        !            75:           <h1><?cs var:childsa.childconfig ?> [IPsec #<?cs name:childsa ?>]:</h1>
        !            76:         </td>
        !            77:         <td class="controls">
        !            78:         <a title="close CHILD_SA" href="<?cs var:base ?>/control/terminatechild/<?cs name:childsa ?>">
        !            79:             <img src="<?cs var:base ?>/static/close.png"/>
        !            80:           </a>
        !            81:         </td>
        !            82:       </tr>
        !            83:       <tr>
        !            84:         <td colspan="7"><hr/></td>
        !            85:       </tr>
        !            86:       <tr class="images">
        !            87:         <td colspan="2">
        !            88:           <?cs each:net = childsa.local.networks ?>
        !            89:             <p><?cs var:net ?></p>
        !            90:           <?cs /each ?>
        !            91:         </td>
        !            92:         <td style="background-image:url(<?cs var:base ?>/static/pipe-thin-left-green.png)">
        !            93:           <?cs var:childsa.local.spi ?> &lt;-<br/><br/><br/>
        !            94:         </td>
        !            95:         <td style="background-image:url(<?cs var:base ?>/static/pipe-thin-green.png)">
        !            96:         </td>
        !            97:         <td class="right" style="background-image:url(<?cs var:base ?>/static/pipe-thin-right-green.png)">
        !            98:           -&gt; <?cs var:childsa.remote.spi ?><br/><br/><br/>
        !            99:         </td>
        !           100:         <td class="right" colspan="2">
        !           101:           <?cs each:net = childsa.remote.networks ?>
        !           102:             <p><?cs var:net ?></p>
        !           103:           <?cs /each ?>
        !           104:         </td>
        !           105:       </tr>
        !           106:       <?cs /each ?>
        !           107:     </table>
        !           108:   </div>
        !           109:   </div>
        !           110: <?cs /each ?>
        !           111: <?cs include:"templates/footer.cs" ?>

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>