File:  [ELWIX - Embedded LightWeight unIX -] / embedaddon / strongswan / src / medsrv / templates / peer / list.cs
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs - revision graph
Wed Jun 3 09:46:43 2020 UTC (4 years, 10 months ago) by misho
Branches: strongswan, MAIN
CVS tags: v5_9_2p0, v5_8_4p7, HEAD
Strongswan

<?cs include:"templates/header.cs" ?>
<div>
<?cs if subcount(peers) > 0 ?>
<table class="list">
  <tr>
    <th>Alias</th>
    <th>Key Identifier</th>
  </tr>
<?cs each:peer = peers ?>
  <tr>
    <td>
      <a href="<?cs var:base ?>/peer/edit/<?cs name:peer?>"><?cs var:peer.alias ?></a>
    </td>
    <td>
      <a href="<?cs var:base ?>/peer/edit/<?cs name:peer?>"><?cs var:peer.identifier ?></a>
    </td>
  </tr>
<?cs /each ?>
</table>
<?cs else ?>
No peers defined.
<?cs /if ?>
<div class="right">
<form action="<?cs var:base ?>/peer/add" method="get">
    <input type="submit" value="Add Peer"/></td>
</form>
</div>
<?cs include:"templates/footer.cs" ?>

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