
<!--
Copyright 2017-present Open Networking Foundation

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->


<div style="display: table;">
  <div class="vpn-row">
    <h1 class="vpn-cell">VPN List</h1>
  </div>
  <div class="vpn-row">
    <div class="vpn-cell vpn-header">ID</div>
    <div class="vpn-cell vpn-header">VPN Network</div>
    <div class="vpn-cell vpn-header">VPN Subnet</div>
    <div class="vpn-cell vpn-header">Script Link</div>
  </div>
  <div class="vpn-row" ng-repeat="vpn in vm.vpns">
    <div class="vpn-cell">{{ vpn.id }}</div>
    <div class="vpn-cell">{{ vpn.server_network }}</div>
    <div class="vpn-cell">{{ vpn.vpn_subnet }}</div>
    <div class="vpn-cell">
      <a download="connect-{{ vpn.id }}.vpn" ng-href="{{ vpn.script_text }}">Script</a>
    </div>
  </div>
</div>
