networks.html.ep 2.01 KB
Newer Older
fv3rdugo's avatar
fv3rdugo committed
1
2
3
4
5
<!DOCTYPE html>
<html ng-app="ravada.app">
%= include 'bootstrap/header'
<body id="page-top" data-spy="scroll" data-target=".navbar-fixed-top" role="document">
    <div id="wrapper">
fv3rdugo's avatar
fv3rdugo committed
6
    <div ng-controller="networksPage">
fv3rdugo's avatar
fv3rdugo committed
7
    %= include 'bootstrap/navigation'
fv3rdugo's avatar
fv3rdugo committed
8
9
10
11
12
13
14
15
16
17
18
19
    <div id="page-wrapper">
      <div id="admin-content">
<div class="panel-body">
    <div class="col-lg-12">
        <div class="row">
            <div class="col-md-8"><h2><%=l 'Networks' %></h2></div>
            <div class="col-md-4" align="right">
                <h2>
                    <a type="button" class="btn btn-success" href="/admin/new_networks.html">
                        <b><%=l 'New Network' %></b>
                    </a>
                </h2>
fv3rdugo's avatar
fv3rdugo committed
20
21
            </div>
        </div>
fv3rdugo's avatar
fv3rdugo committed
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
%=      include 'bootstrap/navigation'

<div class="panel-body col-lg-12">
  <table class="table table-striped">
    <thead>
      <tr>
        <th><%=l 'Name' %></th>
        <th><%=l 'Address' %></th>
        <th><%=l 'Description' %></th>
        <th><%=l 'All Domains' %></th>
        <th><%=l 'No Domains' %></th>
      </tr>
    </thead>
    <tbody>
      <tr ng-repeat="networks in list_networks">
        <td>{{networks.name}}</td>
        <td>{{networks.address}}</td>
        <td>{{networks.description}}</td> 

          </a>
        </td>
      </tr>
    </tbody>
  </table>
</div>
</div>
</div>
</div>
</div>
%= include 'bootstrap/scripts'
%= include 'bootstrap/footer'
<div id="overNotifications" class="notifications" ng-controller="notifCrtl">
<script type="text/ng-template" id="alert.html">
<div ng-transclude></div>
</script>
<div uib-alert ng-repeat="alert in alerts"
 ng-class="'alert-' + (alert.type || 'warning')"
  ng-click="closeAlert($index)"
  ng-mouseover="alert.showMessage = false"
  ng-mouseleave="alert.showMessage = true"
  ng-bind-html="alert.subject">
  {{alert.subject}}
  <div ng-if="alert.message" ng-init="alert.showMessage = true" ng-hide="alert.showMessage" ng-bind-html="alert.message">
    {{alert.message}}
  </div>
</div>
</div>
fv3rdugo's avatar
fv3rdugo committed
69
</body>
fv3rdugo's avatar
fv3rdugo committed
70
</html>